Gemfile in puppet-strings-2.2.0 vs Gemfile in puppet-strings-2.3.0

- old
+ new

@@ -21,18 +21,27 @@ gem 'rspec', '~> 3.1' gem 'json_spec', '~> 1.1', '>= 1.1.5' end group :acceptance do - gem 'beaker', '< 3.0' - gem 'beaker-rspec' - gem 'beaker-hostgenerator' - gem 'beaker-abs' + # Litmus has dependencies which require Ruby 2.5 (Puppet 6) or above. + gem 'puppet_litmus' if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.5.0') end group :development do gem 'github_changelog_generator', git: 'https://github.com/skywinder/github-changelog-generator', ref: '20ee04ba1234e9e83eb2ffb5056e23d641c7a018' if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.2.2') gem 'pry' gem 'pry-byebug' end -gem 'rubocop', '~> 0.49' +gem 'rubocop-rspec' +gem 'rubocop', '~> 0.57.2' + +# Evaluate Gemfile.local if it exists +if File.exists? "#{__FILE__}.local" + eval(File.read("#{__FILE__}.local"), binding) +end + +# Evaluate ~/.gemfile if it exists +if File.exists?(File.join(Dir.home, '.gemfile')) + eval(File.read(File.join(Dir.home, '.gemfile')), binding) +end