diff options
author | Dennis Suratna <dennis.suratna@gmail.com> | 2017-02-27 15:06:53 -0800 |
---|---|---|
committer | Dennis Suratna <dennis.suratna@gmail.com> | 2017-02-27 15:06:53 -0800 |
commit | 124fa10713903dd814bd721799dbf6fa7a305bb1 (patch) | |
tree | 02ffcb531b0a7d3e716d433fa4547cd57b0a5142 | |
parent | 815200c1a5831710ba3422bf1dcedc5a90c99d2f (diff) | |
download | bundler-124fa10713903dd814bd721799dbf6fa7a305bb1.tar.gz |
Fix disable.checksum_validation to disable_checksum_validation
-rw-r--r-- | lib/bundler/rubygems_gem_installer.rb | 2 | ||||
-rw-r--r-- | spec/install/gems/compact_index_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/rubygems_gem_installer.rb b/lib/bundler/rubygems_gem_installer.rb index 356e2e4470..977e13d948 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_validation 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 bdcb56d71e..3ba858ed08 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_validation 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 |