mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	[rubygems/rubygems] Move required_ruby_version gemspec attribute to recommended section.
de6552ac30
			
			
This commit is contained in:
		
							parent
							
								
									9f0c6f20c5
								
							
						
					
					
						commit
						1f4af99383
					
				
					 1 changed files with 9 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue