aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Cooper <josh@puppet.com>2018-06-28 00:11:30 -0700
committerJosh Cooper <josh@puppet.com>2018-06-28 00:11:30 -0700
commit3f7335673485221c012f712b603ff9fde9dcf512 (patch)
tree2a3687a5c48611765fbdec5c018425d4fba1e51d
parenta1923b83b6b25de62d5618d933dc6b70bd7c2441 (diff)
downloadpuppet-augeas_core-3f7335673485221c012f712b603ff9fde9dcf512.tar.gz
puppet-augeas_core-3f7335673485221c012f712b603ff9fde9dcf512.tar.bz2
Run pdk update
Update rubocop rules and Gemfile
-rw-r--r--.rubocop.yml19
-rw-r--r--Gemfile10
2 files changed, 29 insertions, 0 deletions
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)