knife-skeleton 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzU0M2VlMTE1OGM1ZWJkZjQ1MDU5MjcyOTUxYzk1NjMxZmY4Zjc4MQ==
4
+ MTJjMWU5MDYzM2JkZjE5MzExZDY4MDlhOTI4ZWZiZTgzODhmOTdiOQ==
5
5
  data.tar.gz: !binary |-
6
- YTE2NjM3NzlmZjc3MjdjMDU1MGFjYjZmMzQzNzZiNmI1OTQwYWE0MA==
6
+ OGY3NjAwYzNhZmZhZjU1NWE1NjExZDdkZDU4ODhkYWZkNjliNTA3Zg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjlhYzlkZDE1OGQwZDMwMWY5ZDg5MDUxYmJiOTY4MmYzMGEyOGFiMjUyODVh
10
- ODQxMDM0ODkyNjM5N2IyYmE3NGY0NGU1ZDdiNjYwMWNlM2E2ZDE2MGE5NDZl
11
- YjhlOWJhNGEwZjM2MjI5ZDNjZjk3ZDJmOGI3MzYxZmIxZWMwZDg=
9
+ YmY2ZTgxYjBmNDlhYzhhM2QxOTJhODY0YzVjZWRlOWUwN2E2YjBmOWFiNzky
10
+ YjVhZjA3YWQyOGQ0OWMxMmQ3NjE3MWQ3OThkOTg3MDhmMjRjYTYyOWRmZGIw
11
+ MWIwOWJjOTQ1MjJhYTljMDY0NmI3MDQ2MjVhYzMyYWYyYzIwNzY=
12
12
  data.tar.gz: !binary |-
13
- NjY4YmFkY2I1MTZkOWM3NGFjMDMwYjlkMDU1NTJjNWI4MTU2NjRjMmYyZmY5
14
- ZjM5NWU3YWQxNWI3OGJkNmRiNDRlNDlkZGRhYTk0MTU1NDQ5NzZjOWMwMTY4
15
- OGI0NDViZTNiZjdkM2IzYmI3M2ZmMzA3NGYyY2E0NzY2ZDA2MzI=
13
+ MDZjZTU1YzU1OTI2YjE5YmMwMTJhOWU0ZjIxZmFjZTI1NmI2NTJiYWExN2I0
14
+ NzU2Yzc0YmY4Yzk5MzBiMjU2MjI2MWU3OWY4ZjhkMjQ0ZjJjNDRmMGQ1OTBm
15
+ MDgxMDdkODVkNWJiYjgzNTk3NzBjY2JlZTY1OWY4ZGIyOGVkNjk=
@@ -19,12 +19,12 @@ eos
19
19
  s.require_paths = ['lib']
20
20
  s.version = KnifeSkeleton::VERSION
21
21
 
22
- s.add_dependency 'chef', '~> 0.10'
22
+ s.add_dependency 'chef', '~> 11'
23
23
  s.add_dependency 'erubis', '~> 2.7'
24
24
 
25
25
  s.add_development_dependency 'rake', '~> 10'
26
26
  s.add_development_dependency 'rspec', '~> 2.14'
27
27
  s.add_development_dependency 'rubocop', '~> 0.25'
28
28
  s.add_development_dependency 'simplecov', '~> 0.9'
29
- s.add_development_dependency 'fakefs', '~> 0.5'
29
+ s.add_development_dependency 'fakefs', '>= 0.5.3'
30
30
  end
@@ -112,9 +112,7 @@ eos
112
112
  end
113
113
  end
114
114
 
115
- protected
116
-
117
- # Protected: Create cookbook directories
115
+ # Create cookbook directories
118
116
  #
119
117
  # Examples:
120
118
  #
@@ -147,7 +145,7 @@ eos
147
145
  end
148
146
  end
149
147
 
150
- # Protected: Create cookbook files from templates
148
+ # Create cookbook files from templates
151
149
  #
152
150
  # Examples:
153
151
  #
@@ -182,7 +180,7 @@ eos
182
180
  end
183
181
  end
184
182
 
185
- # Protected: Copy all files into the cookbook
183
+ # Copy all files into the cookbook
186
184
  #
187
185
  # Examples:
188
186
  #
@@ -208,7 +206,7 @@ eos
208
206
  end
209
207
  end
210
208
 
211
- # Protected: Copy files
209
+ # Copy files
212
210
  #
213
211
  # Examples:
214
212
  #
@@ -240,7 +238,7 @@ eos
240
238
  end
241
239
  end
242
240
 
243
- # Protected: Render template
241
+ # Render template
244
242
  #
245
243
  # Examples:
246
244
  #
@@ -280,7 +278,7 @@ eos
280
278
  end
281
279
  end
282
280
 
283
- # Protected: Test if parameter is empty
281
+ # Test if parameter is empty
284
282
  #
285
283
  # Examples:
286
284
  #
@@ -296,7 +294,7 @@ eos
296
294
  parameter.nil? || parameter.empty?
297
295
  end
298
296
 
299
- # Protected: Get cookbook copyright
297
+ # Get cookbook copyright
300
298
  #
301
299
  # @return [String]
302
300
  #
@@ -304,7 +302,7 @@ eos
304
302
  config[:cookbook_copyright] || 'YOUR_COMPANY_NAME'
305
303
  end
306
304
 
307
- # Protected: Get maintener email
305
+ # Get maintener email
308
306
  #
309
307
  # @return [String]
310
308
  #
@@ -312,7 +310,7 @@ eos
312
310
  config[:cookbook_email] || 'YOUR_EMAIL'
313
311
  end
314
312
 
315
- # Protected: Get license name
313
+ # Get license name
316
314
  #
317
315
  # @return [String]
318
316
  #
@@ -321,7 +319,7 @@ eos
321
319
  config[:cookbook_license]) || 'none'
322
320
  end
323
321
 
324
- # Protected: Get readme format
322
+ # Get readme format
325
323
  #
326
324
  # @return [String]
327
325
  #
@@ -329,7 +327,7 @@ eos
329
327
  ((config[:readme_format] != 'false') && config[:readme_format]) || 'md'
330
328
  end
331
329
 
332
- # Protected: Get files directory
330
+ # Get files directory
333
331
  #
334
332
  # @return [String]
335
333
  #
@@ -340,7 +338,7 @@ eos
340
338
  )
341
339
  end
342
340
 
343
- # Protected: Get templates directory
341
+ # Get templates directory
344
342
  #
345
343
  # @return [String]
346
344
  #
@@ -8,7 +8,7 @@ module KnifeSkeleton
8
8
  #
9
9
  # Examples:
10
10
  #
11
- # create_cookbook_directories('Hello <%= title %>', {title: 'GoT'})
11
+ # KnifeSkeleton::Template.render('Hello <%= title %>', {title: 'GoT'})
12
12
  # # => "Hello GoT"
13
13
  #
14
14
  # @param [String] template Template string to used for rendering
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Knife skeleton version
3
3
  module KnifeSkeleton
4
- VERSION = '0.0.2'
4
+ VERSION = '0.0.3'
5
5
  MAJOR, MINOR, TINY = VERSION.split('.')
6
6
  end
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.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre Rambaud
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - ~>
19
19
  - !ruby/object:Gem::Version
20
- version: '0.10'
20
+ version: '11'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ~>
26
26
  - !ruby/object:Gem::Version
27
- version: '0.10'
27
+ version: '11'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: erubis
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -99,16 +99,16 @@ dependencies:
99
99
  name: fakefs
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - ~>
102
+ - - ! '>='
103
103
  - !ruby/object:Gem::Version
104
- version: '0.5'
104
+ version: 0.5.3
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - ~>
109
+ - - ! '>='
110
110
  - !ruby/object:Gem::Version
111
- version: '0.5'
111
+ version: 0.5.3
112
112
  description: ! 'Knife plugin to create skeleton with rubocop, chefspec, kitchen,
113
113
 
114
114
  strainer, etc...
@@ -187,4 +187,3 @@ test_files:
187
187
  - spec/chef/knife/knife_skeleton_create_spec.rb
188
188
  - spec/knife_skeleton/template_spec.rb
189
189
  - spec/spec_helper.rb
190
- has_rdoc: