foodcritic-rackspace-rules 1.3.0 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/foodcritic-rackspace-rules.gemspec +2 -2
- data/lib/foodcritic/rackspace/rules/version.rb +1 -1
- data/lib/foodcritic/rules/rules.rb +9 -1
- metadata +16 -17
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
ZTViNTY4ZTM0YmQ4ZGY0YzIxNDBjOGEzZDBmNTU0ODJjZGEyZmY1Yw==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 28817c337c8ca445b12015ec6778e1c83ed7729e
|
4
|
+
data.tar.gz: 26e11890f84c1a63749dad2a87edbe9b20db1b78
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
MDlhZGUzOWM3NTQ1Y2E1MGUwNzc0Njg3Yjc3N2QzZTU2YmJkNWNlZmE4MjVm
|
11
|
-
YmFlZDhmZDgwMmI5YmY3MTNlYTMzODk1Mjc4MWMxYjAzMzY1OTU=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ODJiYjQyNzJmZTI3MWRiODYxNWFlYzhkM2M1YTk4ZmI0YzdkZGYyNjQ5YTVh
|
14
|
-
NzI5ZDM1OWQyOTJhNzA4YzkzM2ZmZWZkMTdhZjgyN2JhNGM4MDBjZjZjMDUx
|
15
|
-
ZDViM2Y4NTAyNDdjYjJhNmJmY2M1OTJmZTEwNWYwOGM5OGZiNTM=
|
6
|
+
metadata.gz: a6206aec9cb7f3fdb68b762986d1798d32e7afcacfb3f70a6bdd73c4a6be8ae03d44959cfea62be09dd2c6a0c6d7d3e029534706f21fd58eb8a1ef8699948bf0
|
7
|
+
data.tar.gz: a8690d39632c38a3850e7a25007392e4c3adaf061ad30509020f88fe76cd062061b4a6d333f9ce88f77794ec871e8671a839254ac501efb7fe3537394ba71516
|
@@ -19,6 +19,6 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_runtime_dependency 'bundler', '~> 1.6'
|
22
|
-
spec.add_runtime_dependency 'rake'
|
23
|
-
spec.add_runtime_dependency 'foodcritic'
|
22
|
+
spec.add_runtime_dependency 'rake', '>= 10'
|
23
|
+
spec.add_runtime_dependency 'foodcritic', '>= 3'
|
24
24
|
end
|
@@ -102,7 +102,15 @@ rule 'RACK004', 'Cookbook is missing a default test suite' do
|
|
102
102
|
search_files.each do |f|
|
103
103
|
next unless File.exist?("#{path}/#{f}")
|
104
104
|
|
105
|
-
|
105
|
+
# if we can't parse .kitchen.yml for some reason, don't fail on it
|
106
|
+
# we may just be seeing ERB used in it. if it's a true error, test-kitchen
|
107
|
+
# will blow up on it anyway
|
108
|
+
begin
|
109
|
+
kitchen_config = YAML.load_file("#{path}/#{f}")
|
110
|
+
rescue
|
111
|
+
default_suite_found = true # don't blow up
|
112
|
+
next
|
113
|
+
end
|
106
114
|
|
107
115
|
next if !kitchen_config.has_key?('suites')
|
108
116
|
|
metadata
CHANGED
@@ -1,57 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foodcritic-rackspace-rules
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.6'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '10'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '10'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: foodcritic
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '3'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '3'
|
55
55
|
description: See README.md
|
56
56
|
email:
|
57
57
|
- martin@mbs3.org
|
@@ -59,7 +59,7 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
-
- .gitignore
|
62
|
+
- ".gitignore"
|
63
63
|
- Gemfile
|
64
64
|
- README.md
|
65
65
|
- Rakefile
|
@@ -76,19 +76,18 @@ require_paths:
|
|
76
76
|
- lib
|
77
77
|
required_ruby_version: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- -
|
79
|
+
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
|
-
- -
|
84
|
+
- - ">="
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
88
|
rubyforge_project:
|
89
|
-
rubygems_version: 2.
|
89
|
+
rubygems_version: 2.2.2
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: Foodcritic rules for rackops cookbooks or stacks
|
93
93
|
test_files: []
|
94
|
-
has_rdoc:
|