File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,7 @@ Gem::Specification.new do |s|
21
21
s . version = mdata ? mdata [ 1 ] : version
22
22
23
23
s . required_rubygems_version = Gem ::Requirement . new ( "> 1.3.1" )
24
- # Bump this in PUP-11716
25
- s . required_ruby_version = Gem ::Requirement . new ( ">= 2.5.0" )
24
+ s . required_ruby_version = Gem ::Requirement . new ( ">= 3.1.0" )
26
25
s . authors = [ "Puppet Labs" ]
27
26
s . date = "2012-08-17"
28
27
s . description = "Puppet, an automated configuration management tool"
Original file line number Diff line number Diff line change 1
1
require_relative 'puppet/version'
2
2
require_relative 'puppet/concurrent/synchronized'
3
3
4
- # Update JRuby version constraints in PUP-11716
5
- if ! defined? ( JRUBY_VERSION ) && Gem ::Version . new ( RUBY_VERSION . dup ) < Gem ::Version . new ( "2.7.0" )
6
- raise LoadError , "Puppet #{ Puppet . version } requires Ruby 2.7.0 or greater, found Ruby #{ RUBY_VERSION . dup } ."
4
+ Puppet :: OLDEST_RECOMMENDED_RUBY_VERSION = '3.1.0'
5
+ if Gem ::Version . new ( RUBY_VERSION . dup ) < Gem ::Version . new ( Puppet :: OLDEST_RECOMMENDED_RUBY_VERSION )
6
+ raise LoadError , "Puppet #{ Puppet . version } requires Ruby #{ Puppet :: OLDEST_RECOMMENDED_RUBY_VERSION } or greater, found Ruby #{ RUBY_VERSION . dup } ."
7
7
end
8
8
9
- Puppet ::OLDEST_RECOMMENDED_RUBY_VERSION = '2.7.0'
10
-
11
9
$LOAD_PATH. extend ( Puppet ::Concurrent ::Synchronized )
12
10
13
11
# see the bottom of the file for further inclusions
You can’t perform that action at this time.
0 commit comments