[rubygems/rubygems] Move required_ruby_version gemspec attribute to recommended section.

https://github.com/rubygems/rubygems/commit/de6552ac30
This commit is contained in:
Josef Šimánek 2021-12-02 20:44:30 +01:00 коммит произвёл git
Родитель 9f0c6f20c5
Коммит 1f4af99383
1 изменённых файлов: 9 добавлений и 5 удалений

Просмотреть файл

@ -287,6 +287,15 @@ class Gem::Specification < Gem::BasicSpecification
######################################################################
# :section: Recommended gemspec attributes
##
# The version of Ruby required by this gem
#
# Usage:
#
# spec.required_ruby_version = '>= 2.7.0'
attr_reader :required_ruby_version
##
# A long description of this gem
#
@ -522,11 +531,6 @@ class Gem::Specification < Gem::BasicSpecification
@require_paths = Array(val)
end
##
# The version of Ruby required by this gem
attr_reader :required_ruby_version
##
# The RubyGems version required by this gem