diff --git a/lib/cookbook-omnifetch.rb b/lib/cookbook-omnifetch.rb index 95e0ef6..1e992f7 100644 --- a/lib/cookbook-omnifetch.rb +++ b/lib/cookbook-omnifetch.rb @@ -20,7 +20,7 @@ module CookbookOmnifetch # is returned. # # @example Create a git location - # Location.init(dependency, git: 'git://github.com/berkshelf/berkshelf.git') + # Location.init(dependency, git: 'https://github.com/berkshelf/berkshelf.git') # # @example Create a GitHub location # Location.init(dependency, github: 'berkshelf/berkshelf') diff --git a/lib/cookbook-omnifetch/github.rb b/lib/cookbook-omnifetch/github.rb index f3dadc3..928f453 100644 --- a/lib/cookbook-omnifetch/github.rb +++ b/lib/cookbook-omnifetch/github.rb @@ -1,7 +1,7 @@ module CookbookOmnifetch class GithubLocation < GitLocation def initialize(dependency, options = {}) - options[:git] = "git://github.com/#{options.delete(:github)}.git" + options[:git] = "https://github.com/#{options.delete(:github)}.git" super end end