RuboCop & Ruby 2.7 updates

This commit is contained in:
Gene Liverman 2020-07-03 14:49:20 -04:00
parent 96f564b460
commit 540ffab179
No known key found for this signature in database
GPG key ID: 66D794FE7043CBCA
7 changed files with 44 additions and 31 deletions

View file

@ -3,13 +3,13 @@
# vim:ft=ruby
source 'https://rubygems.org'
# rubocop:disable ConditionalAssignment
# rubocop:disable Style/ConditionalAssignment
if ENV.key?('PUPPET_VERSION')
puppetversion = ENV['PUPPET_VERSION'].to_s
else
puppetversion = ['>= 5', '< 6']
puppetversion = ['>= 6', '< 7']
end
# rubocop:enable ConditionalAssignment
# rubocop:enable Style/ConditionalAssignment
group :production do
gem 'os', '~> 1.1'