From 3f7335673485221c012f712b603ff9fde9dcf512 Mon Sep 17 00:00:00 2001 From: Josh Cooper Date: Thu, 28 Jun 2018 00:11:30 -0700 Subject: Run pdk update Update rubocop rules and Gemfile --- .rubocop.yml | 19 +++++++++++++++++++ Gemfile | 10 ++++++++++ 2 files changed, 29 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 40a58e0..f97abb8 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -16,6 +16,7 @@ AllCops: Metrics/LineLength: Description: People have wide screens, use them. Max: 200 + Enabled: false RSpec/BeforeAfterAll: Description: Beware of using after(:all) as it may cause state to leak between tests. A necessary evil in acceptance testing. @@ -63,6 +64,24 @@ Style/TrailingCommaInLiteral: Style/SymbolArray: Description: Using percent style obscures symbolic intent of array's contents. EnforcedStyle: brackets +Style/SignalException: + Enabled: false +Layout/IndentHeredoc: + Enabled: false +Metrics/BlockNesting: + Enabled: false +Style/AccessorMethodName: + Enabled: false +Style/DoubleNegation: + Enabled: false +Style/MultipleComparison: + Enabled: false +Style/NumericPredicate: + Enabled: false +Style/PredicateName: + Enabled: false +Style/VariableName: + Enabled: false RSpec/MessageSpies: EnforcedStyle: receive Style/CollectionMethods: diff --git a/Gemfile b/Gemfile index ce6db39..fb800e2 100644 --- a/Gemfile +++ b/Gemfile @@ -35,6 +35,16 @@ group :development do gem "puppet-module-win-dev-r#{minor_version}", require: false, platforms: [:mswin, :mingw, :x64_mingw] gem "puppet-blacksmith", '~> 3.4', require: false, platforms: [:ruby] end +group :system_tests do + gem "puppet-module-posix-system-r#{minor_version}", require: false, platforms: [:ruby] + gem "puppet-module-win-system-r#{minor_version}", require: false, platforms: [:mswin, :mingw, :x64_mingw] + gem "beaker", *location_for(ENV['BEAKER_VERSION'] || '~> 3.34') + gem "beaker-abs", *location_for(ENV['BEAKER_ABS_VERSION'] || '~> 0.5') + gem "beaker-pe", require: false + gem "beaker-hostgenerator" + gem "beaker-rspec" + gem "beaker-puppet", *location_for(ENV['BEAKER_PUPPET_VERSION'] || '~> 0.14') +end puppet_version = ENV['PUPPET_GEM_VERSION'] puppet_type = gem_type(puppet_version) -- cgit v1.2.3