knife-skeleton 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MTJjMWU5MDYzM2JkZjE5MzExZDY4MDlhOTI4ZWZiZTgzODhmOTdiOQ==
4
+ NzdhOWI5ZTQ0NjgzNDFmOTM5M2MwNzI0Njc1Mjc0YTI0ZTk4MDdmZA==
5
5
  data.tar.gz: !binary |-
6
- OGY3NjAwYzNhZmZhZjU1NWE1NjExZDdkZDU4ODhkYWZkNjliNTA3Zg==
6
+ NjE0YzIxZTE0MDQ5NjQwMDU3MDNhNjNjZWI3NzdlNTljMTdiZWU5MQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YmY2ZTgxYjBmNDlhYzhhM2QxOTJhODY0YzVjZWRlOWUwN2E2YjBmOWFiNzky
10
- YjVhZjA3YWQyOGQ0OWMxMmQ3NjE3MWQ3OThkOTg3MDhmMjRjYTYyOWRmZGIw
11
- MWIwOWJjOTQ1MjJhYTljMDY0NmI3MDQ2MjVhYzMyYWYyYzIwNzY=
9
+ ODEyZGEzNDM4OWJlMzhkYWYxYzMzYTM2ZjAzOTFhYjcxNDBiYmQ1MThlZWEz
10
+ MTlkOTRmZTBjMzJkODUyNjc1NThlMWZlNzE2MGI4NWRmZDQ3NzJjOWFmNTI5
11
+ NWUzYWNmNzFiNDM3Nzc1ODYxZjdhNzUxOTNmNjYxZTMzZDc2Y2I=
12
12
  data.tar.gz: !binary |-
13
- MDZjZTU1YzU1OTI2YjE5YmMwMTJhOWU0ZjIxZmFjZTI1NmI2NTJiYWExN2I0
14
- NzU2Yzc0YmY4Yzk5MzBiMjU2MjI2MWU3OWY4ZjhkMjQ0ZjJjNDRmMGQ1OTBm
15
- MDgxMDdkODVkNWJiYjgzNTk3NzBjY2JlZTY1OWY4ZGIyOGVkNjk=
13
+ MGMwOTIxYWRkNDY1OGQxNjM1MTA0MmZmOWY0MzBlZjJjZWFmYzc1ODdhYjYy
14
+ MGU3Mzk5NjRkMjRkOTY4ODQ1NWIzZDQzYmU1Yjc3YmE2ZGNiZDRjZTNlY2E2
15
+ OWRjMGZjZDNjY2UwMGMwYzgwYTk0ZjE5YTY5Y2I0NTU1ZWJkMTU=
@@ -126,6 +126,7 @@ eos
126
126
  ui.msg("** Create cookbook #{cookbook_name} into #{cookbook_path}")
127
127
 
128
128
  %w(
129
+ attributes
129
130
  definitions
130
131
  libraries
131
132
  providers
@@ -170,6 +171,7 @@ eos
170
171
  CHANGELOG.#{params[:readme_format]}
171
172
  README.#{params[:readme_format]}
172
173
  .kitchen.yml
174
+ attributes/default.rb
173
175
  recipes/default.rb
174
176
  spec/default_spec.rb
175
177
  spec/spec_helper.rb
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Knife skeleton version
3
3
  module KnifeSkeleton
4
- VERSION = '0.0.3'
4
+ VERSION = '0.0.4'
5
5
  MAJOR, MINOR, TINY = VERSION.split('.')
6
6
  end
@@ -174,6 +174,7 @@ describe Knife::SkeletonCreate do
174
174
  @knife.ui.should_receive(:msg).with("** Create 'CHANGELOG.md'")
175
175
  @knife.ui.should_receive(:msg).with("** Create 'metadata.rb'")
176
176
  @knife.ui.should_receive(:msg).with("** Create 'README.md'")
177
+ @knife.ui.should_receive(:msg).with("** Create 'attributes/default.rb'")
177
178
  @knife.ui.should_receive(:msg).with("** Create 'recipes/default.rb'")
178
179
  @knife.ui.should_receive(:msg).with("** Create 'spec/default_spec.rb'")
179
180
  @knife.ui.should_receive(:msg).with("** Create 'spec/spec_helper.rb'")
@@ -194,6 +195,8 @@ describe Knife::SkeletonCreate do
194
195
  @knife.ui.should_receive(:warn).with("'metadata.rb' already exists")
195
196
  @knife.ui.should_receive(:warn).with("'CHANGELOG.md' already exists")
196
197
  @knife.ui.should_receive(:warn).with("'README.md' already exists")
198
+ @knife.ui.should_receive(:warn).with(
199
+ "'attributes/default.rb' already exists")
197
200
  @knife.ui.should_receive(:warn).with(
198
201
  "'recipes/default.rb' already exists")
199
202
  @knife.ui.should_receive(:warn).with(
@@ -207,6 +210,7 @@ describe Knife::SkeletonCreate do
207
210
  @knife.run
208
211
 
209
212
  %w(
213
+ attributes
210
214
  definitions
211
215
  libraries
212
216
  providers
@@ -230,6 +234,7 @@ describe Knife::SkeletonCreate do
230
234
  Strainerfile
231
235
  CHANGELOG.md
232
236
  README.md
237
+ attributes/default.rb
233
238
  recipes/default.rb
234
239
  spec/default_spec.rb
235
240
  spec/spec_helper.rb
@@ -0,0 +1,8 @@
1
+ # -*- coding: utf-8 -*-
2
+ #
3
+ # Cookbook Name:: <%= cookbook_name %>
4
+ # Attributes:: default
5
+ #
6
+ # Copyright <%= Time.now.year %>, <%= copyright %>
7
+ #
8
+ <%= license_content %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-skeleton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre Rambaud
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-26 00:00:00.000000000 Z
12
+ date: 2014-08-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef
@@ -152,6 +152,7 @@ files:
152
152
  - templates/README.md.erb
153
153
  - templates/README.rdoc.erb
154
154
  - templates/README.txt.erb
155
+ - templates/attributes/default.rb.erb
155
156
  - templates/metadata.rb.erb
156
157
  - templates/recipes/default.rb.erb
157
158
  - templates/spec/default_spec.rb.erb