diff options
author | Dimitris Zorbas <zorbash@skroutz.gr> | 2015-10-10 15:23:13 +0300 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-07-05 15:11:19 -0300 |
commit | 65e2ecf9142159a50213f36e274d38afe63de310 (patch) | |
tree | 07de759ce5c0c029f301d0b220d4263d1b0f686b | |
parent | 5b4ea54e56aaca8120ad18df618e4a5dd6fbec29 (diff) | |
download | bundler-65e2ecf9142159a50213f36e274d38afe63de310.tar.gz |
Fix typo in deprecation wording
-rw-r--r-- | lib/bundler/dsl.rb | 2 | ||||
-rw-r--r-- | spec/deprecation_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/dsl.rb b/lib/bundler/dsl.rb index 564e3e9ef0..d377125d49 100644 --- a/lib/bundler/dsl.rb +++ b/lib/bundler/dsl.rb @@ -434,7 +434,7 @@ module Bundler def warn_github_source_change(repo_name) # TODO: 2.0 remove deprecation Bundler.ui.deprecate "The :github option uses the git: protocol, which is not secure. " \ - "Bundler 2.0 will use the https: protcol, which is secure. Enable this change now by " \ + "Bundler 2.0 will use the https: protocol, which is secure. Enable this change now by " \ "running `bundle config github.https true`." end diff --git a/spec/deprecation_spec.rb b/spec/deprecation_spec.rb index 25bc348563..959f6bec00 100644 --- a/spec/deprecation_spec.rb +++ b/spec/deprecation_spec.rb @@ -88,7 +88,7 @@ describe "Bundler version 1.99" do it "warns about the https change" do allow(Bundler.ui).to receive(:deprecate) msg = "The :github option uses the git: protocol, which is not secure. " \ - "Bundler 2.0 will use the https: protcol, which is secure. Enable this change now by " \ + "Bundler 2.0 will use the https: protocol, which is secure. Enable this change now by " \ "running `bundle config github.https true`." expect(Bundler.ui).to receive(:deprecate).with(msg) subject.gem("sparks", :github => "indirect/sparks") |