chef-sugar 1.2.0.beta.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kitchen.yml +14 -0
- data/CHANGELOG.md +9 -0
- data/README.md +1 -1
- data/Rakefile +1 -0
- data/{chef-extensions.gemspec → chef-sugar.gemspec} +4 -2
- data/lib/chef/sugar/version.rb +1 -1
- data/metadata.rb +1 -1
- metadata +48 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 762ec92b492ff5b729fc32c65c2c09033b4bf4bf
|
4
|
+
data.tar.gz: 1106d542f20dfe7435c3b7e4a0c77290e65e9849
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fe01291031397c8335511196243ff8dffe104b092d2f044af898921bbaae6edf3643157240044c5ec5f2972bcb9a6c2b7917712719c52780c1cb6b6b89e5ee8
|
7
|
+
data.tar.gz: ee419d9a1756340bfecffa235b6828d8591ddd6fe3924944616123e941497c9d2ac7e94c76b4083cddb97fa15fbd1aaecc877130491c62fa213d9f6179bf709c
|
data/.kitchen.yml
ADDED
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,15 @@ Chef Sugar Changelog
|
|
2
2
|
=========================
|
3
3
|
This file is used to list changes made in each version of the chef-sugar cookbook and gem.
|
4
4
|
|
5
|
+
v1.2.0 (2014-03-09)
|
6
|
+
-------------------
|
7
|
+
- Add `namespace` functionality for specifying attributes in a DSL
|
8
|
+
- Add constraints helpers for comparing version strings
|
9
|
+
- Add `require_chef_gem` to safely require and degrade if a gem is not installed
|
10
|
+
- Add `deep_fetch` and `deep_fetch` to fetch deeply nested keys
|
11
|
+
- Accept an optional secret key in `encrypted_data_bag_item` helper and raise a helpful error if one is not set (NOTE: this changes the airity of the method, but it's backward-compatible because Ruby is magic)
|
12
|
+
- Add Stove for releasing
|
13
|
+
- Updated copyrights for 2014
|
5
14
|
|
6
15
|
v1.1.0 (2013-12-10)
|
7
16
|
-------------------
|
data/README.md
CHANGED
@@ -219,7 +219,7 @@ end
|
|
219
219
|
|
220
220
|
### Node
|
221
221
|
- `deep_fetch` - safely fetch a nested attribute.
|
222
|
-
- `deep_fetch
|
222
|
+
- `deep_fetch!` - fetch a nested attribute, raising a more semantic error if the key does not exist.
|
223
223
|
- `in?` - determine if the node is in the given Chef environment.
|
224
224
|
- `includes_recipe?`
|
225
225
|
|
data/Rakefile
CHANGED
@@ -28,6 +28,8 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.add_development_dependency 'rake'
|
29
29
|
spec.add_development_dependency 'stove', '~> 2.0.0.beta'
|
30
30
|
|
31
|
-
spec.add_development_dependency 'chefspec',
|
32
|
-
spec.add_development_dependency 'coveralls',
|
31
|
+
spec.add_development_dependency 'chefspec', '~> 3.0'
|
32
|
+
spec.add_development_dependency 'coveralls', '~> 0.7'
|
33
|
+
spec.add_development_dependency 'test-kitchen', '~> 1.1'
|
34
|
+
spec.add_development_dependency 'kitchen-vagrant', '~> 0.14'
|
33
35
|
end
|
data/lib/chef/sugar/version.rb
CHANGED
data/metadata.rb
CHANGED
metadata
CHANGED
@@ -1,85 +1,113 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-sugar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.0
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seth Vargo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-03-09 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.3'
|
20
20
|
type: :development
|
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.3'
|
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
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: stove
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 2.0.0.beta
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 2.0.0.beta
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: chefspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '3.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '3.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: coveralls
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0.7'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0.7'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: test-kitchen
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.1'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.1'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: kitchen-vagrant
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.14'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.14'
|
83
111
|
description: A series of helpful sugar of the Chef core and other resources to make
|
84
112
|
a cleaner, more lean recipe DSL, enforce DRY principles, and make writing Chef recipes
|
85
113
|
an awesome experience!
|
@@ -89,15 +117,16 @@ executables: []
|
|
89
117
|
extensions: []
|
90
118
|
extra_rdoc_files: []
|
91
119
|
files:
|
92
|
-
- .gitignore
|
93
|
-
- .
|
120
|
+
- ".gitignore"
|
121
|
+
- ".kitchen.yml"
|
122
|
+
- ".travis.yml"
|
94
123
|
- CHANGELOG.md
|
95
124
|
- CONTRIBUTING.md
|
96
125
|
- Gemfile
|
97
126
|
- LICENSE
|
98
127
|
- README.md
|
99
128
|
- Rakefile
|
100
|
-
- chef-
|
129
|
+
- chef-sugar.gemspec
|
101
130
|
- lib/chef/sugar.rb
|
102
131
|
- lib/chef/sugar/architecture.rb
|
103
132
|
- lib/chef/sugar/cloud.rb
|
@@ -145,17 +174,17 @@ require_paths:
|
|
145
174
|
- lib
|
146
175
|
required_ruby_version: !ruby/object:Gem::Requirement
|
147
176
|
requirements:
|
148
|
-
- -
|
177
|
+
- - ">="
|
149
178
|
- !ruby/object:Gem::Version
|
150
179
|
version: '1.9'
|
151
180
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
152
181
|
requirements:
|
153
|
-
- -
|
182
|
+
- - ">="
|
154
183
|
- !ruby/object:Gem::Version
|
155
|
-
version:
|
184
|
+
version: '0'
|
156
185
|
requirements: []
|
157
186
|
rubyforge_project:
|
158
|
-
rubygems_version: 2.2.
|
187
|
+
rubygems_version: 2.2.2
|
159
188
|
signing_key:
|
160
189
|
specification_version: 4
|
161
190
|
summary: A collection of helper methods and modules that make working with Chef recipes
|
@@ -178,4 +207,3 @@ test_files:
|
|
178
207
|
- spec/unit/chef/sugar/shell_spec.rb
|
179
208
|
- spec/unit/chef/sugar/vagrant_spec.rb
|
180
209
|
- spec/unit/recipes/default_spec.rb
|
181
|
-
has_rdoc:
|