diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-27 12:07:22 +0200 |
|---|---|---|
| committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-27 12:07:22 +0200 |
| commit | 35876b08bc3746fe98baf5b0b7f2c056d9c17548 (patch) | |
| tree | 35ed4c26c7343352d746af8c664b91e598fbb2e6 /lib | |
| parent | 671c78db49ee2157e1996f1a9b9e36d97a96b3ae (diff) | |
| download | bundler-35876b08bc3746fe98baf5b0b7f2c056d9c17548.tar.gz | |
Remove unnecessary backport of rubygems method
It's available since rubygems 2.0.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/bundler/rubygems_integration.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/bundler/rubygems_integration.rb b/lib/bundler/rubygems_integration.rb index ea9d25b192..4ecec39af2 100644 --- a/lib/bundler/rubygems_integration.rb +++ b/lib/bundler/rubygems_integration.rb @@ -463,15 +463,6 @@ module Bundler Gem.clear_paths end - # This backport fixes the marshaling of @segments. - def backport_yaml_initialize - redefine_method(Gem::Version, :yaml_initialize) do |_, map| - @version = map["version"] - @segments = nil - @hash = nil - end - end - # This backports base_dir which replaces installation path # RubyGems 1.8+ def backport_base_dir |
