mirror of
https://github.com/genebean/dots.git
synced 2026-03-28 01:47:42 -04:00
RuboCop & Ruby 2.7 updates
This commit is contained in:
parent
96f564b460
commit
540ffab179
7 changed files with 44 additions and 31 deletions
6
Gemfile
6
Gemfile
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue