summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Arko <mail@arko.net>2015-10-24 04:35:35 -0700
committerAndré Arko <mail@arko.net>2015-10-24 04:35:35 -0700
commitd53b7689a48c7febd42b4edfd7429dd70a31d0f0 (patch)
tree5c6340819a26bca929602dc4749df7f509762b29
parent60c29051298403f7ba9ac7150fbca766846f9654 (diff)
parent6619345381ad8655b2f670474dc3c604f1dbb5b4 (diff)
downloadbundler-d53b7689a48c7febd42b4edfd7429dd70a31d0f0.tar.gz
Merge pull request #4048 from Zorbash/fix-protocol-typo
Fix typo in deprecation wording
-rw-r--r--lib/bundler/dsl.rb2
-rw-r--r--spec/deprecation_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/dsl.rb b/lib/bundler/dsl.rb
index 6ebac5cb47..49d3b4bc8e 100644
--- a/lib/bundler/dsl.rb
+++ b/lib/bundler/dsl.rb
@@ -380,7 +380,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 48cec3ae04..8bd036c4b1 100644
--- a/spec/deprecation_spec.rb
+++ b/spec/deprecation_spec.rb
@@ -87,7 +87,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")