foodcritic-rackspace-rules 1.4.1 → 1.5.0

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: b78b87efb36e5c6370ccb0eba7e56be1c21367ae
4
- data.tar.gz: 6ff8bc4ba3befccd47df1226fbe63eb9117317e8
3
+ metadata.gz: 175f01b330bb7de9440ad9dcbbdc7a4bcea08a81
4
+ data.tar.gz: 83db7c542016ebb75f460f543fac54c87f2a879f
5
5
  SHA512:
6
- metadata.gz: c4d74ca325c3c0a0bd7c66bdc2583f0803884dcbfbc6942e97ad25776232229f6d3110512af61d966d7824c132cc02d2a62502e6c69e3b54def04aee230b9bf0
7
- data.tar.gz: 6fb1e0161c28704c6707ba06f1c9bdec3aa1e9dc417ea50d105c2c461dc9e0f488df0e68a5c195e52cf84103585416e93bc5c8b643cb7e0a1ecb0828498a59d9
6
+ metadata.gz: 909c7ffec2b0944f56e1a6be330140215bca706603607dfbb00af8f09d47f05aa650315889b0dd0ecd06bedb2aef128f67b9fb25d838372fbacf4f6c35ce4e8c
7
+ data.tar.gz: 25afb977b0df40a7665c53511077b5077cfe1b8229f23cfbb5f76734eebb9868ad6ea257b3e390afeaf395bb29535164d4a5b15c9bf19946a4fe1f7d011533e1
@@ -1,7 +1,7 @@
1
1
  module Foodcritic
2
2
  module Rackspace
3
3
  module Rules
4
- VERSION = "1.4.1"
4
+ VERSION = "1.5.0"
5
5
  end
6
6
  end
7
7
  end
@@ -72,7 +72,7 @@ end # rule
72
72
  rule 'RACK003', 'Cookbook is missing a standard file' do
73
73
  tags %w(style rackspace)
74
74
 
75
- expected_files = %w(README.md metadata.rb LICENSE Gemfile Berksfile Rakefile Thorfile Guardfile .kitchen.yml .rubocop.yml CHANGELOG.md )
75
+ expected_files = %w(README.md metadata.rb Gemfile Berksfile Rakefile .kitchen.yml .rubocop.yml CHANGELOG.md )
76
76
 
77
77
  cookbook do |path|
78
78
  matches = []
@@ -224,3 +224,20 @@ rule 'RACK009', 'Berksfile.lock must not be in .gitignore' do
224
224
  matches
225
225
  end
226
226
  end # rule
227
+
228
+ rule 'RACK010', 'Cookbook contains dummy encrypted_data_bag_secret' do
229
+ tags %w(style rackspace-support)
230
+
231
+ cookbook do |path|
232
+ matches = []
233
+ if File.exist?("#{path}/test/integration/encrypted_data_bag_secret")
234
+ matches << {
235
+ filename: 'test/integration/encrypted_data_bag_secret',
236
+ matched: 'exists',
237
+ line: 0,
238
+ column: 0
239
+ }
240
+ end
241
+ matches
242
+ end # cookbook
243
+ end # rule
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foodcritic-rackspace-rules
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-12 00:00:00.000000000 Z
11
+ date: 2015-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -91,3 +91,4 @@ signing_key:
91
91
  specification_version: 4
92
92
  summary: Foodcritic rules for rackops cookbooks or stacks
93
93
  test_files: []
94
+ has_rdoc: