Skip to content

Commit 86d17ba

Browse files
Merge pull request #378 from ekohl/remove-old-ruby-checks
Drop outdate Ruby version checks
2 parents 6891e66 + 3cbed72 commit 86d17ba

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

lib/puppet-strings/markdown.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ def self.render(path = nil)
7676
# @param [String] path The full path to the template file.
7777
# @return [ERB] Template
7878
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
8279
ERB.new(File.read(path), trim_mode: '-')
8380
end
8481
end

lib/puppet/face/strings.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@
144144
def check_required_features
145145
raise "The 'yard' gem must be installed in order to use this face." unless Puppet.features.yard?
146146
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/)
148147
end
149148

150149
# Builds the options to PuppetStrings.generate.

0 commit comments

Comments
 (0)