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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f389cb9756b7c955888e0673f9b7cace261b3fc
4
- data.tar.gz: b933fd4654ddcf8e27082a1ad0af50678f603ff6
3
+ metadata.gz: 762ec92b492ff5b729fc32c65c2c09033b4bf4bf
4
+ data.tar.gz: 1106d542f20dfe7435c3b7e4a0c77290e65e9849
5
5
  SHA512:
6
- metadata.gz: 9816746e63bc7714ea9c6b17f599b39685cbdc120abb74c7bd36c2fed268e0a221144192334de78f2ed049f2cf9b23939d6781a742cee66bdfefea8c4b4a233b
7
- data.tar.gz: 434e4dd1d91d7a73d1ea4d08c25042e34b958184415561baea1df6f24b6218f0d32b99722507b04b7a70d340c4ad52a5bdf3ec2ddf10468803ef12d5c98f50b2
6
+ metadata.gz: 7fe01291031397c8335511196243ff8dffe104b092d2f044af898921bbaae6edf3643157240044c5ec5f2972bcb9a6c2b7917712719c52780c1cb6b6b89e5ee8
7
+ data.tar.gz: ee419d9a1756340bfecffa235b6828d8591ddd6fe3924944616123e941497c9d2ac7e94c76b4083cddb97fa15fbd1aaecc877130491c62fa213d9f6179bf709c
@@ -0,0 +1,14 @@
1
+ driver:
2
+ name: vagrant
3
+
4
+ provisioner:
5
+ name: chef_zero
6
+ require_chef_omnibus: 11.8.0
7
+
8
+ platforms:
9
+ - name: ubuntu-12.04
10
+ - name: centos-6.4
11
+
12
+ suites:
13
+ - name: default
14
+ run_list: chef-sugar::default
@@ -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` - fetch a nested attribute, raising a more semantic error if the key does not exist.
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
@@ -1,3 +1,4 @@
1
+ require 'bundler/setup'
1
2
  require 'bundler/gem_tasks'
2
3
 
3
4
  require 'stove/rake_task'
@@ -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', '~> 3.0'
32
- spec.add_development_dependency 'coveralls', '~> 0.7'
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
@@ -16,6 +16,6 @@
16
16
 
17
17
  class Chef
18
18
  module Sugar
19
- VERSION = '1.2.0.beta.1'
19
+ VERSION = '1.2.0'
20
20
  end
21
21
  end
@@ -5,4 +5,4 @@ license 'Apache 2.0'
5
5
  description 'Installs chef-sugar. Please see the chef-sugar ' \
6
6
  'Ruby gem for more information.'
7
7
  long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
8
- version '1.1.0'
8
+ version '1.2.0'
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.beta.1
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-01-13 00:00:00.000000000 Z
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
- - .travis.yml
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-extensions.gemspec
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: 1.3.1
184
+ version: '0'
156
185
  requirements: []
157
186
  rubyforge_project:
158
- rubygems_version: 2.2.1
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: