[rubygems/rubygems] Unconditionally set installed_by_version

It has been supported since RubyGems 2.2.0 via 4525e45a4d

Signed-off-by: Samuel Giddins <segiddins@segiddins.me>

bf39c583e8
This commit is contained in:
Samuel Giddins 2024-09-19 15:10:40 -07:00 committed by git
parent 7836626f92
commit 43e3416b70
6 changed files with 5 additions and 10 deletions

View file

@ -2368,7 +2368,7 @@ Gem::Specification.new do |s|
s.rubygems_version = "#{Gem::VERSION}".freeze
s.summary = "this is a summary".freeze
s.installed_by_version = "#{Gem::VERSION}".freeze if s.respond_to? :installed_by_version
s.installed_by_version = "#{Gem::VERSION}".freeze
s.specification_version = #{Gem::Specification::CURRENT_SPECIFICATION_VERSION}