From c59679419522a837d2fa323e9df5d1605bf7b888 Mon Sep 17 00:00:00 2001 From: Pranay Singh Date: Tue, 7 Jun 2022 16:30:40 +0530 Subject: [PATCH 1/2] changing protocol from git to https Signed-off-by: Pranay Singh --- lib/cookbook-omnifetch/github.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From f8724e0bc313bc0ee9bc16266eebe28ae9370ce2 Mon Sep 17 00:00:00 2001 From: Pranay Singh Date: Tue, 7 Jun 2022 16:32:18 +0530 Subject: [PATCH 2/2] updating comments from git to https protocol Signed-off-by: Pranay Singh --- lib/cookbook-omnifetch.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')