Skip to content

Commit

Permalink
Fix for Ruby 2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
silug committed Oct 18, 2023
1 parent 902e880 commit 8031b56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simp-cli.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Gem::Specification.new do |s|
### When the environment variable $SIMP_RPM_BUILD is set, the following
### dependencies will not be included in the .gemspec dependencies:
#### ------------
unless ['yes', 'true'].intersect?([ENV['SIMP_RPM_BUILD'], ENV['SIMP_CLI_GEMSPEC_NO_PUPPET_VERSION']])
unless ['yes', 'true'].include?(ENV['SIMP_RPM_BUILD']) || ['yes', 'true'].include?(ENV['SIMP_CLI_GEMSPEC_NO_PUPPET_VERSION'])
s.add_runtime_dependency 'puppet', '>= 7', '< 9'
end
#### ------------
Expand Down

0 comments on commit 8031b56

Please sign in to comment.