mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
[rubygems/rubygems] Unconditionally set installed_by_version
It has been supported since RubyGems 2.2.0 via4525e45a4d
Signed-off-by: Samuel Giddins <segiddins@segiddins.me>bf39c583e8
This commit is contained in:
parent
7836626f92
commit
43e3416b70
6 changed files with 5 additions and 10 deletions
|
@ -2472,7 +2472,7 @@ class Gem::Specification < Gem::BasicSpecification
|
|||
|
||||
if @installed_by_version
|
||||
result << nil
|
||||
result << " s.installed_by_version = #{ruby_code Gem::VERSION} if s.respond_to? :installed_by_version"
|
||||
result << " s.installed_by_version = #{ruby_code Gem::VERSION}"
|
||||
end
|
||||
|
||||
unless dependencies.empty?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue