Skip to content

Commit

Permalink
Move required_ruby_version gemspec attribute to recommended section.
Browse files Browse the repository at this point in the history
  • Loading branch information
simi committed Dec 2, 2021
1 parent a5a1c7f commit de6552a
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions lib/rubygems/specification.rb
Expand Up @@ -287,6 +287,15 @@ def authors=(value)
######################################################################
# :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
#
Expand Down Expand Up @@ -522,11 +531,6 @@ def require_paths=(val)
@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

Expand Down

0 comments on commit de6552a

Please sign in to comment.