(maint) - Pdk Update
authorDavid Swan <david.swan@puppet.co.uk>
Tue, 12 May 2020 14:39:45 +0000 (15:39 +0100)
committerDavid Swan <david.swan@puppet.co.uk>
Tue, 12 May 2020 14:39:45 +0000 (15:39 +0100)
.rubocop.yml
.vscode/extensions.json
Gemfile
metadata.json
spec/spec_helper.rb

index 33688a79ec1d068a47484b3bd878a725a7bf9f93..200675437fbaa0152047d3ac1ef079b7beb5f254 100644 (file)
@@ -40,6 +40,10 @@ Style/BlockDelimiters:
   Description: Prefer braces for chaining. Mostly an aesthetical choice. Better to
     be consistent then.
   EnforcedStyle: braces_for_chaining
+Style/BracesAroundHashParameters:
+  Description: Braces are required by Ruby 2.7. Cop removed from RuboCop v0.80.0.
+    See https://github.com/rubocop-hq/rubocop/pull/7643
+  Enabled: true
 Style/ClassAndModuleChildren:
   Description: Compact style reduces the required amount of indentation.
   EnforcedStyle: compact
index 6177782746993899cff3bba9ca165f39f9d4004e..2f1e4f73a56f0d7cec69242da71c204461ceeee5 100644 (file)
@@ -1,6 +1,6 @@
 {
   "recommendations": [
-    "jpogran.puppet-vscode",
+    "puppet.puppet-vscode",
     "rebornix.Ruby"
   ]
 }
diff --git a/Gemfile b/Gemfile
index 902e0497058e795dea97de345abb7cd8005dc828..582e584673a2ca031057a1a1b7051446221859b0 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -30,8 +30,6 @@ group :development do
   gem "puppet-module-win-dev-r#{minor_version}", '~> 0.4',       require: false, platforms: [:mswin, :mingw, :x64_mingw]
   gem "github_changelog_generator",                              require: false, git: 'https://github.com/skywinder/github-changelog-generator', ref: '20ee04ba1234e9e83eb2ffb5056e23d641c7a018' if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.2.2')
   gem "puppet-lint-i18n",                                        require: false
-  gem 'ed25519', '>= 1.2', '< 2.0'
-  gem 'bcrypt_pbkdf', '>= 1.0', '< 2.0'
 end
 
 puppet_version = ENV['PUPPET_GEM_VERSION']
index e370dab162f8bac4f27d4d10d9bea4dd9e7c433a..6018278a24868ad267e40cb113ec04e83f3d455d 100644 (file)
@@ -42,6 +42,6 @@
     }
   ],
   "template-url": "https://github.com/puppetlabs/pdk-templates#master",
-  "template-ref": "1.17.0-0-gd3a4319",
+  "template-ref": "heads/master-0-g095317c",
   "pdk-version": "1.17.0"
 }
index bc023f51affdd6ac272aeb1b58ae847fd8213304..16764b6ff147ab99bf87cf2f9a86af7fdb864ac2 100644 (file)
@@ -42,6 +42,7 @@ RSpec.configure do |c|
     # set to strictest setting for testing
     # by default Puppet runs at warning level
     Puppet.settings[:strict] = :warning
+    Puppet.settings[:strict_variables] = true
   end
   c.filter_run_excluding(bolt: true) unless ENV['GEM_BOLT']
   c.after(:suite) do