puppet-lint-variable_contains_upcase 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d27375f6f6f5fb91f815c57489cd0a526e79eefe
4
- data.tar.gz: f5518ef64795b9aba7a821144bbf507ed594005a
3
+ metadata.gz: 39554932c521c1f42fc75d6da016a85386221eea
4
+ data.tar.gz: 4bcff0bd60853ecc26115cd4ac57c00bf0b907a5
5
5
  SHA512:
6
- metadata.gz: 6eb48ef2d0c38d2b9dcb5a2b07ae47a9256326dc40baae990e6117f08b4c06d95658fb6b46f036df9cc9f9074f8eb9a89d204b47bb09848c468eb847c175b8a7
7
- data.tar.gz: c0608de5a69096375407d00441bd8e1eeb240d130230cac4bac2f769424b4bc1129e8949583291de75fe62d9f2e1b22a7dc8e29f7537248d17740a36105441dc
6
+ metadata.gz: bb55819703cce72b77b63ee168b30d0dfcfe3459dd0dce86d54db538cffba0cf78c37d011bf7e4924de77f438c6c3206bc0954420deafc4bf19b958c7db22d9e
7
+ data.tar.gz: 3b962fdd599a186590602dc200c169a66068c7ee322a4904825a10fe49d722f08aab8f079efd00716b67a758e8115e2a190086afbb563d353acdbc292a7df483
@@ -1,7 +1,7 @@
1
1
  PuppetLint.new_check(:variable_contains_upcase) do
2
2
  def check
3
3
  tokens.select { |r|
4
- VARIABLE_TYPES.include? r.type
4
+ Set[:VARIABLE, :UNENC_VARIABLE].include? r.type
5
5
  }.each do |token|
6
6
  if token.value.match(/[A-Z]/)
7
7
  notify :warning, {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-lint-variable_contains_upcase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Spence
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-11 00:00:00.000000000 Z
11
+ date: 2016-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: puppet-lint