summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiren mistry <hiren.mistry@chai-monsters.com>2016-11-17 11:31:10 -0800
committerhiren mistry <hiren.mistry@chai-monsters.com>2016-11-17 11:32:32 -0800
commitda6dcf4c2f89cfc6b15f1078104c2929fb2ef954 (patch)
tree1194ee7e2fdaa977280ac1c1b5d9d145fcb56d9c
parent3fe56839d85b3f706858cc4697303b7118178ac6 (diff)
downloadbundler-da6dcf4c2f89cfc6b15f1078104c2929fb2ef954.tar.gz
Fixed typos
-rw-r--r--lib/bundler/rubygems_gem_installer.rb2
-rw-r--r--spec/install/gems/compact_index_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/rubygems_gem_installer.rb b/lib/bundler/rubygems_gem_installer.rb
index 6ef6b3606b..356e2e4470 100644
--- a/lib/bundler/rubygems_gem_installer.rb
+++ b/lib/bundler/rubygems_gem_installer.rb
@@ -43,7 +43,7 @@ module Bundler
If you wish to continue installing the downloaded gem, and are certain it does not pose a \
security issue despite the mismatching checksum, do the following:
- 1. run `bundle config disable.checksum_validaiton true` to turn off checksum verification
+ 1. run `bundle config disable.checksum_validation true` to turn off checksum verification
2. run `bundle install`
(More info: The expected SHA256 checksum was #{checksum.inspect}, but the \
diff --git a/spec/install/gems/compact_index_spec.rb b/spec/install/gems/compact_index_spec.rb
index 3c5fc54cf6..257a2590a8 100644
--- a/spec/install/gems/compact_index_spec.rb
+++ b/spec/install/gems/compact_index_spec.rb
@@ -723,7 +723,7 @@ The checksum of /versions does not match the checksum provided by the server! So
and include("1. delete the downloaded gem located at: `#{system_gem_path}/gems/rack-1.0.0/rack-1.0.0.gem`").
and include("2. run `bundle install`").
and include("If you wish to continue installing the downloaded gem, and are certain it does not pose a security issue despite the mismatching checksum, do the following:").
- and include("1. run `bundle config disable.checksum_validaiton true` to turn off checksum verification").
+ and include("1. run `bundle config disable.checksum_validation true` to turn off checksum verification").
and include("2. run `bundle install`").
and match(/\(More info: The expected SHA256 checksum was "#{"ab" * 22}", but the checksum for the downloaded gem was ".+?"\.\)/)
end