File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -76,9 +76,6 @@ def self.render(path = nil)
76
76
# @param [String] path The full path to the template file.
77
77
# @return [ERB] Template
78
78
def self . erb ( path )
79
- unless Gem ::Version . new ( RUBY_VERSION ) >= Gem ::Version . new ( '2.6.0' )
80
- # This outputs warnings in Ruby 2.6+.
81
- end
82
79
ERB . new ( File . read ( path ) , trim_mode : '-' )
83
80
end
84
81
end
Original file line number Diff line number Diff line change 144
144
def check_required_features
145
145
raise "The 'yard' gem must be installed in order to use this face." unless Puppet . features . yard?
146
146
raise "The 'rgen' gem must be installed in order to use this face." unless Puppet . features . rgen?
147
- raise 'This face requires Ruby 1.9 or greater.' if RUBY_VERSION . match? ( /^1\. 8/ )
148
147
end
149
148
150
149
# Builds the options to PuppetStrings.generate.
You can’t perform that action at this time.
0 commit comments