diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-08-08 17:15:17 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-08-22 11:57:30 -0500 |
commit | 689aff2244c80f8246035a839e7d83bb26915a4d (patch) | |
tree | cca8f17178c645b48ac9b42d470a27e2ebb6fb59 /lib/bundler/source | |
parent | cdd286377909e8f1c116ce176a2a4c78105ab2fd (diff) | |
download | bundler-689aff2244c80f8246035a839e7d83bb26915a4d.tar.gz |
[RubyGemsGemInstaller] Validate checksums from the compact index
Diffstat (limited to 'lib/bundler/source')
-rw-r--r-- | lib/bundler/source/rubygems.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bundler/source/rubygems.rb b/lib/bundler/source/rubygems.rb index aedad708..89f7673e 100644 --- a/lib/bundler/source/rubygems.rb +++ b/lib/bundler/source/rubygems.rb @@ -140,7 +140,8 @@ module Bundler :bin_dir => bin_path.to_s, :ignore_dependencies => true, :wrappers => true, - :env_shebang => true + :env_shebang => true, + :bundler_expected_checksum => spec.respond_to?(:checksum) && spec.checksum ).install end spec.full_gem_path = installed_spec.full_gem_path |