diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-08 16:24:47 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-09 11:56:24 +0200 |
commit | 57b06c0ff671a647fbc61c87d4f36418426659dc (patch) | |
tree | 205f30263baa3329fee631ff8411290af1d442d6 | |
parent | 02b1b0adad2f2f48a70752c55739f0a07da43f0d (diff) | |
download | bundler-remove_old_rubygems_compatibility_code.tar.gz |
Remove more unnecessary coderemove_old_rubygems_compatibility_code
The `full_gem_path` writer has been there since rubygems 2.2
-rw-r--r-- | lib/bundler/rubygems_ext.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/bundler/rubygems_ext.rb b/lib/bundler/rubygems_ext.rb index 3488c536fd..beed6372a3 100644 --- a/lib/bundler/rubygems_ext.rb +++ b/lib/bundler/rubygems_ext.rb @@ -23,8 +23,6 @@ module Gem alias_method :rg_full_gem_path, :full_gem_path alias_method :rg_loaded_from, :loaded_from - attr_writer :full_gem_path unless instance_methods.include?(:full_gem_path=) - def full_gem_path # this cannot check source.is_a?(Bundler::Plugin::API::Source) # because that _could_ trip the autoload, and if there are unresolved |