Merge pull request #933 from puppetlabs/pdksync_PDK_UPDATE
authorsanfrancrisko <55992494+sanfrancrisko@users.noreply.github.com>
Thu, 14 May 2020 09:14:28 +0000 (10:14 +0100)
committerGitHub <noreply@github.com>
Thu, 14 May 2020 09:14:28 +0000 (10:14 +0100)
pdksync - (maint) - Pdk Update

.rubocop.yml
.vscode/extensions.json
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"
   ]
 }
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