Skip to content

Commit 8882f8b

Browse files
eliotsykessebjacobs
authored andcommitted
Favor https: over git: protocol remotes
From Bundler docs on Security: > http:// and git:// URLs are insecure. A man-in-the-middle attacker could tamper with the code as you check it out, and potentially supply you with malicious code instead of the code you meant to check out. Because the :github shortcut uses a git:// URL in Bundler 1.x versions, we recommend using using HTTPS URLs or overriding the :github shortcut with your own HTTPS git source. Source: http://bundler.io/git.html
1 parent 7dd0096 commit 8882f8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RSpec repos as well. Add the following to your `Gemfile`:
2020

2121
```ruby
2222
%w[rspec-core rspec-expectations rspec-mocks rspec-rails rspec-support].each do |lib|
23-
gem lib, :git => "git://github.com/rspec/#{lib}.git", :branch => 'master'
23+
gem lib, :git => "https://github.com/rspec/#{lib}.git", :branch => 'master'
2424
end
2525
```
2626

0 commit comments

Comments
 (0)