berkshelf 3.0.0.beta1 → 3.0.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +7 -0
  2. data/.ruby-version +1 -1
  3. data/CONTRIBUTING.md +2 -0
  4. data/LICENSE +1 -1
  5. data/README.md +1 -1
  6. data/Thorfile +2 -2
  7. data/berkshelf.gemspec +3 -3
  8. data/features/install_command.feature +36 -8
  9. data/features/json_formatter.feature +93 -3
  10. data/features/licenses.feature +1 -1
  11. data/features/lockfile.feature +0 -12
  12. data/features/outdated_command.feature +124 -0
  13. data/features/show_command.feature +44 -25
  14. data/features/step_definitions/chef/config_steps.rb +2 -2
  15. data/features/step_definitions/chef_server_steps.rb +9 -1
  16. data/features/step_definitions/config_steps.rb +1 -1
  17. data/features/step_definitions/filesystem_steps.rb +7 -0
  18. data/features/support/env.rb +2 -1
  19. data/features/update_command.feature +11 -21
  20. data/features/upload_command.feature +45 -1
  21. data/features/vendor_command.feature +83 -0
  22. data/lib/berkshelf.rb +5 -4
  23. data/lib/berkshelf/api_client/remote_cookbook.rb +13 -0
  24. data/lib/berkshelf/berksfile.rb +155 -23
  25. data/lib/berkshelf/chef.rb +0 -1
  26. data/lib/berkshelf/cli.rb +40 -31
  27. data/lib/berkshelf/dependency.rb +14 -4
  28. data/lib/berkshelf/errors.rb +74 -3
  29. data/lib/berkshelf/formatters.rb +12 -1
  30. data/lib/berkshelf/formatters/human_readable.rb +44 -5
  31. data/lib/berkshelf/formatters/json.rb +50 -8
  32. data/lib/berkshelf/installer.rb +8 -8
  33. data/lib/berkshelf/location.rb +17 -0
  34. data/lib/berkshelf/locations/git_location.rb +7 -17
  35. data/lib/berkshelf/locations/mercurial_location.rb +112 -0
  36. data/lib/berkshelf/lockfile.rb +1 -1
  37. data/lib/berkshelf/mercurial.rb +146 -0
  38. data/lib/berkshelf/version.rb +1 -1
  39. data/spec/config/knife.rb +2 -4
  40. data/spec/fixtures/lockfiles/default.lock +0 -1
  41. data/spec/support/chef_api.rb +9 -2
  42. data/spec/support/mercurial.rb +122 -0
  43. data/spec/support/path_helpers.rb +2 -2
  44. data/spec/unit/berkshelf/berksfile_spec.rb +34 -8
  45. data/spec/unit/berkshelf/dependency_spec.rb +0 -7
  46. data/spec/unit/berkshelf/formatters/null_spec.rb +1 -1
  47. data/spec/unit/berkshelf/locations/mercurial_location_spec.rb +150 -0
  48. data/spec/unit/berkshelf/lockfile_spec.rb +0 -12
  49. data/spec/unit/berkshelf/mercurial_spec.rb +173 -0
  50. metadata +32 -110
  51. data/lib/berkshelf/chef/config.rb +0 -68
  52. data/lib/berkshelf/mixin/config.rb +0 -172
  53. data/spec/fixtures/cookbooks/example_metadata_name/metadata.rb +0 -2
  54. data/spec/fixtures/cookbooks/example_metadata_no_name/metadata.rb +0 -1
  55. data/spec/fixtures/cookbooks/example_no_metadata/recipes/default.rb +0 -1
  56. data/spec/fixtures/cookbooks/nginx-0.100.5/README.md +0 -77
  57. data/spec/fixtures/cookbooks/nginx-0.100.5/attributes/default.rb +0 -65
  58. data/spec/fixtures/cookbooks/nginx-0.100.5/definitions/nginx_site.rb +0 -35
  59. data/spec/fixtures/cookbooks/nginx-0.100.5/files/default/mime.types +0 -73
  60. data/spec/fixtures/cookbooks/nginx-0.100.5/files/ubuntu/mime.types +0 -73
  61. data/spec/fixtures/cookbooks/nginx-0.100.5/libraries/nginxlib.rb +0 -1
  62. data/spec/fixtures/cookbooks/nginx-0.100.5/metadata.rb +0 -91
  63. data/spec/fixtures/cookbooks/nginx-0.100.5/providers/defprovider.rb +0 -1
  64. data/spec/fixtures/cookbooks/nginx-0.100.5/recipes/default.rb +0 -59
  65. data/spec/fixtures/cookbooks/nginx-0.100.5/resources/defresource.rb +0 -1
  66. data/spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb +0 -15
  67. data/spec/fixtures/cookbooks/nginx-0.100.5/templates/default/plugins/nginx.rb.erb +0 -66
  68. data/spec/fixtures/lockfile_spec/with_lock/Berksfile +0 -1
  69. data/spec/fixtures/lockfile_spec/without_lock/.gitkeep +0 -0
  70. data/spec/fixtures/reset.pem +0 -27
  71. data/spec/unit/chef/config_spec.rb +0 -81
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: berkshelf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.beta1
5
- prerelease: 6
4
+ version: 3.0.0.beta2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jamie Winsor
@@ -13,12 +12,11 @@ authors:
13
12
  autorequire:
14
13
  bindir: bin
15
14
  cert_chain: []
16
- date: 2013-07-12 00:00:00.000000000 Z
15
+ date: 2013-07-19 00:00:00.000000000 Z
17
16
  dependencies:
18
17
  - !ruby/object:Gem::Dependency
19
18
  name: addressable
20
19
  requirement: !ruby/object:Gem::Requirement
21
- none: false
22
20
  requirements:
23
21
  - - ~>
24
22
  - !ruby/object:Gem::Version
@@ -26,7 +24,6 @@ dependencies:
26
24
  type: :runtime
27
25
  prerelease: false
28
26
  version_requirements: !ruby/object:Gem::Requirement
29
- none: false
30
27
  requirements:
31
28
  - - ~>
32
29
  - !ruby/object:Gem::Version
@@ -34,23 +31,20 @@ dependencies:
34
31
  - !ruby/object:Gem::Dependency
35
32
  name: buff-config
36
33
  requirement: !ruby/object:Gem::Requirement
37
- none: false
38
34
  requirements:
39
35
  - - ~>
40
36
  - !ruby/object:Gem::Version
41
- version: '0.1'
37
+ version: '0.2'
42
38
  type: :runtime
43
39
  prerelease: false
44
40
  version_requirements: !ruby/object:Gem::Requirement
45
- none: false
46
41
  requirements:
47
42
  - - ~>
48
43
  - !ruby/object:Gem::Version
49
- version: '0.1'
44
+ version: '0.2'
50
45
  - !ruby/object:Gem::Dependency
51
46
  name: buff-extensions
52
47
  requirement: !ruby/object:Gem::Requirement
53
- none: false
54
48
  requirements:
55
49
  - - ~>
56
50
  - !ruby/object:Gem::Version
@@ -58,7 +52,6 @@ dependencies:
58
52
  type: :runtime
59
53
  prerelease: false
60
54
  version_requirements: !ruby/object:Gem::Requirement
61
- none: false
62
55
  requirements:
63
56
  - - ~>
64
57
  - !ruby/object:Gem::Version
@@ -66,7 +59,6 @@ dependencies:
66
59
  - !ruby/object:Gem::Dependency
67
60
  name: buff-shell_out
68
61
  requirement: !ruby/object:Gem::Requirement
69
- none: false
70
62
  requirements:
71
63
  - - ~>
72
64
  - !ruby/object:Gem::Version
@@ -74,7 +66,6 @@ dependencies:
74
66
  type: :runtime
75
67
  prerelease: false
76
68
  version_requirements: !ruby/object:Gem::Requirement
77
- none: false
78
69
  requirements:
79
70
  - - ~>
80
71
  - !ruby/object:Gem::Version
@@ -82,55 +73,48 @@ dependencies:
82
73
  - !ruby/object:Gem::Dependency
83
74
  name: celluloid
84
75
  requirement: !ruby/object:Gem::Requirement
85
- none: false
86
76
  requirements:
87
- - - ! '>='
77
+ - - '>='
88
78
  - !ruby/object:Gem::Version
89
79
  version: 0.14.0
90
80
  type: :runtime
91
81
  prerelease: false
92
82
  version_requirements: !ruby/object:Gem::Requirement
93
- none: false
94
83
  requirements:
95
- - - ! '>='
84
+ - - '>='
96
85
  - !ruby/object:Gem::Version
97
86
  version: 0.14.0
98
87
  - !ruby/object:Gem::Dependency
99
88
  name: faraday
100
89
  requirement: !ruby/object:Gem::Requirement
101
- none: false
102
90
  requirements:
103
- - - ! '>='
91
+ - - '>='
104
92
  - !ruby/object:Gem::Version
105
93
  version: 0.8.5
106
94
  type: :runtime
107
95
  prerelease: false
108
96
  version_requirements: !ruby/object:Gem::Requirement
109
- none: false
110
97
  requirements:
111
- - - ! '>='
98
+ - - '>='
112
99
  - !ruby/object:Gem::Version
113
100
  version: 0.8.5
114
101
  - !ruby/object:Gem::Dependency
115
102
  name: hashie
116
103
  requirement: !ruby/object:Gem::Requirement
117
- none: false
118
104
  requirements:
119
- - - ! '>='
105
+ - - '>='
120
106
  - !ruby/object:Gem::Version
121
107
  version: 2.0.2
122
108
  type: :runtime
123
109
  prerelease: false
124
110
  version_requirements: !ruby/object:Gem::Requirement
125
- none: false
126
111
  requirements:
127
- - - ! '>='
112
+ - - '>='
128
113
  - !ruby/object:Gem::Version
129
114
  version: 2.0.2
130
115
  - !ruby/object:Gem::Dependency
131
116
  name: minitar
132
117
  requirement: !ruby/object:Gem::Requirement
133
- none: false
134
118
  requirements:
135
119
  - - ~>
136
120
  - !ruby/object:Gem::Version
@@ -138,7 +122,6 @@ dependencies:
138
122
  type: :runtime
139
123
  prerelease: false
140
124
  version_requirements: !ruby/object:Gem::Requirement
141
- none: false
142
125
  requirements:
143
126
  - - ~>
144
127
  - !ruby/object:Gem::Version
@@ -146,7 +129,6 @@ dependencies:
146
129
  - !ruby/object:Gem::Dependency
147
130
  name: retryable
148
131
  requirement: !ruby/object:Gem::Requirement
149
- none: false
150
132
  requirements:
151
133
  - - ~>
152
134
  - !ruby/object:Gem::Version
@@ -154,7 +136,6 @@ dependencies:
154
136
  type: :runtime
155
137
  prerelease: false
156
138
  version_requirements: !ruby/object:Gem::Requirement
157
- none: false
158
139
  requirements:
159
140
  - - ~>
160
141
  - !ruby/object:Gem::Version
@@ -162,39 +143,34 @@ dependencies:
162
143
  - !ruby/object:Gem::Dependency
163
144
  name: ridley
164
145
  requirement: !ruby/object:Gem::Requirement
165
- none: false
166
146
  requirements:
167
147
  - - ~>
168
148
  - !ruby/object:Gem::Version
169
- version: 1.3.0
149
+ version: 1.4.0
170
150
  type: :runtime
171
151
  prerelease: false
172
152
  version_requirements: !ruby/object:Gem::Requirement
173
- none: false
174
153
  requirements:
175
154
  - - ~>
176
155
  - !ruby/object:Gem::Version
177
- version: 1.3.0
156
+ version: 1.4.0
178
157
  - !ruby/object:Gem::Dependency
179
158
  name: solve
180
159
  requirement: !ruby/object:Gem::Requirement
181
- none: false
182
160
  requirements:
183
- - - ! '>='
161
+ - - '>='
184
162
  - !ruby/object:Gem::Version
185
163
  version: 0.5.0
186
164
  type: :runtime
187
165
  prerelease: false
188
166
  version_requirements: !ruby/object:Gem::Requirement
189
- none: false
190
167
  requirements:
191
- - - ! '>='
168
+ - - '>='
192
169
  - !ruby/object:Gem::Version
193
170
  version: 0.5.0
194
171
  - !ruby/object:Gem::Dependency
195
172
  name: thor
196
173
  requirement: !ruby/object:Gem::Requirement
197
- none: false
198
174
  requirements:
199
175
  - - ~>
200
176
  - !ruby/object:Gem::Version
@@ -202,7 +178,6 @@ dependencies:
202
178
  type: :runtime
203
179
  prerelease: false
204
180
  version_requirements: !ruby/object:Gem::Requirement
205
- none: false
206
181
  requirements:
207
182
  - - ~>
208
183
  - !ruby/object:Gem::Version
@@ -210,7 +185,6 @@ dependencies:
210
185
  - !ruby/object:Gem::Dependency
211
186
  name: aruba
212
187
  requirement: !ruby/object:Gem::Requirement
213
- none: false
214
188
  requirements:
215
189
  - - ~>
216
190
  - !ruby/object:Gem::Version
@@ -218,7 +192,6 @@ dependencies:
218
192
  type: :development
219
193
  prerelease: false
220
194
  version_requirements: !ruby/object:Gem::Requirement
221
- none: false
222
195
  requirements:
223
196
  - - ~>
224
197
  - !ruby/object:Gem::Version
@@ -226,7 +199,6 @@ dependencies:
226
199
  - !ruby/object:Gem::Dependency
227
200
  name: cane
228
201
  requirement: !ruby/object:Gem::Requirement
229
- none: false
230
202
  requirements:
231
203
  - - ~>
232
204
  - !ruby/object:Gem::Version
@@ -234,7 +206,6 @@ dependencies:
234
206
  type: :development
235
207
  prerelease: false
236
208
  version_requirements: !ruby/object:Gem::Requirement
237
- none: false
238
209
  requirements:
239
210
  - - ~>
240
211
  - !ruby/object:Gem::Version
@@ -242,7 +213,6 @@ dependencies:
242
213
  - !ruby/object:Gem::Dependency
243
214
  name: chef-zero
244
215
  requirement: !ruby/object:Gem::Requirement
245
- none: false
246
216
  requirements:
247
217
  - - ~>
248
218
  - !ruby/object:Gem::Version
@@ -250,7 +220,6 @@ dependencies:
250
220
  type: :development
251
221
  prerelease: false
252
222
  version_requirements: !ruby/object:Gem::Requirement
253
- none: false
254
223
  requirements:
255
224
  - - ~>
256
225
  - !ruby/object:Gem::Version
@@ -258,7 +227,6 @@ dependencies:
258
227
  - !ruby/object:Gem::Dependency
259
228
  name: fuubar
260
229
  requirement: !ruby/object:Gem::Requirement
261
- none: false
262
230
  requirements:
263
231
  - - ~>
264
232
  - !ruby/object:Gem::Version
@@ -266,7 +234,6 @@ dependencies:
266
234
  type: :development
267
235
  prerelease: false
268
236
  version_requirements: !ruby/object:Gem::Requirement
269
- none: false
270
237
  requirements:
271
238
  - - ~>
272
239
  - !ruby/object:Gem::Version
@@ -274,7 +241,6 @@ dependencies:
274
241
  - !ruby/object:Gem::Dependency
275
242
  name: rake
276
243
  requirement: !ruby/object:Gem::Requirement
277
- none: false
278
244
  requirements:
279
245
  - - ~>
280
246
  - !ruby/object:Gem::Version
@@ -282,7 +248,6 @@ dependencies:
282
248
  type: :development
283
249
  prerelease: false
284
250
  version_requirements: !ruby/object:Gem::Requirement
285
- none: false
286
251
  requirements:
287
252
  - - ~>
288
253
  - !ruby/object:Gem::Version
@@ -290,7 +255,6 @@ dependencies:
290
255
  - !ruby/object:Gem::Dependency
291
256
  name: rspec
292
257
  requirement: !ruby/object:Gem::Requirement
293
- none: false
294
258
  requirements:
295
259
  - - ~>
296
260
  - !ruby/object:Gem::Version
@@ -298,7 +262,6 @@ dependencies:
298
262
  type: :development
299
263
  prerelease: false
300
264
  version_requirements: !ruby/object:Gem::Requirement
301
- none: false
302
265
  requirements:
303
266
  - - ~>
304
267
  - !ruby/object:Gem::Version
@@ -306,7 +269,6 @@ dependencies:
306
269
  - !ruby/object:Gem::Dependency
307
270
  name: spork
308
271
  requirement: !ruby/object:Gem::Requirement
309
- none: false
310
272
  requirements:
311
273
  - - ~>
312
274
  - !ruby/object:Gem::Version
@@ -314,7 +276,6 @@ dependencies:
314
276
  type: :development
315
277
  prerelease: false
316
278
  version_requirements: !ruby/object:Gem::Requirement
317
- none: false
318
279
  requirements:
319
280
  - - ~>
320
281
  - !ruby/object:Gem::Version
@@ -322,23 +283,20 @@ dependencies:
322
283
  - !ruby/object:Gem::Dependency
323
284
  name: test-kitchen
324
285
  requirement: !ruby/object:Gem::Requirement
325
- none: false
326
286
  requirements:
327
- - - ! '>='
287
+ - - '>='
328
288
  - !ruby/object:Gem::Version
329
289
  version: 1.0.0.alpha7
330
290
  type: :development
331
291
  prerelease: false
332
292
  version_requirements: !ruby/object:Gem::Requirement
333
- none: false
334
293
  requirements:
335
- - - ! '>='
294
+ - - '>='
336
295
  - !ruby/object:Gem::Version
337
296
  version: 1.0.0.alpha7
338
297
  - !ruby/object:Gem::Dependency
339
298
  name: vcr
340
299
  requirement: !ruby/object:Gem::Requirement
341
- none: false
342
300
  requirements:
343
301
  - - ~>
344
302
  - !ruby/object:Gem::Version
@@ -346,7 +304,6 @@ dependencies:
346
304
  type: :development
347
305
  prerelease: false
348
306
  version_requirements: !ruby/object:Gem::Requirement
349
- none: false
350
307
  requirements:
351
308
  - - ~>
352
309
  - !ruby/object:Gem::Version
@@ -354,7 +311,6 @@ dependencies:
354
311
  - !ruby/object:Gem::Dependency
355
312
  name: webmock
356
313
  requirement: !ruby/object:Gem::Requirement
357
- none: false
358
314
  requirements:
359
315
  - - ~>
360
316
  - !ruby/object:Gem::Version
@@ -362,7 +318,6 @@ dependencies:
362
318
  type: :development
363
319
  prerelease: false
364
320
  version_requirements: !ruby/object:Gem::Requirement
365
- none: false
366
321
  requirements:
367
322
  - - ~>
368
323
  - !ruby/object:Gem::Version
@@ -370,7 +325,6 @@ dependencies:
370
325
  - !ruby/object:Gem::Dependency
371
326
  name: yard
372
327
  requirement: !ruby/object:Gem::Requirement
373
- none: false
374
328
  requirements:
375
329
  - - ~>
376
330
  - !ruby/object:Gem::Version
@@ -378,7 +332,6 @@ dependencies:
378
332
  type: :development
379
333
  prerelease: false
380
334
  version_requirements: !ruby/object:Gem::Requirement
381
- none: false
382
335
  requirements:
383
336
  - - ~>
384
337
  - !ruby/object:Gem::Version
@@ -388,7 +341,7 @@ email:
388
341
  - jamie@vialstudios.com
389
342
  - jkiehl@riotgames.com
390
343
  - michael.ivey@riotgames.com
391
- - justin.campbell@riotgames.com
344
+ - justin@justincampbell.me
392
345
  - sethvargo@gmail.com
393
346
  executables:
394
347
  - berks
@@ -444,6 +397,7 @@ files:
444
397
  - features/support/env.rb
445
398
  - features/update_command.feature
446
399
  - features/upload_command.feature
400
+ - features/vendor_command.feature
447
401
  - generator_files/Berksfile.erb
448
402
  - generator_files/Gemfile.erb
449
403
  - generator_files/README.md.erb
@@ -467,7 +421,6 @@ files:
467
421
  - lib/berkshelf/berksfile.rb
468
422
  - lib/berkshelf/cached_cookbook.rb
469
423
  - lib/berkshelf/chef.rb
470
- - lib/berkshelf/chef/config.rb
471
424
  - lib/berkshelf/chef/cookbook.rb
472
425
  - lib/berkshelf/chef/cookbook/chefignore.rb
473
426
  - lib/berkshelf/cli.rb
@@ -495,11 +448,12 @@ files:
495
448
  - lib/berkshelf/location.rb
496
449
  - lib/berkshelf/locations/git_location.rb
497
450
  - lib/berkshelf/locations/github_location.rb
451
+ - lib/berkshelf/locations/mercurial_location.rb
498
452
  - lib/berkshelf/locations/path_location.rb
499
453
  - lib/berkshelf/lockfile.rb
500
454
  - lib/berkshelf/logger.rb
455
+ - lib/berkshelf/mercurial.rb
501
456
  - lib/berkshelf/mixin.rb
502
- - lib/berkshelf/mixin/config.rb
503
457
  - lib/berkshelf/mixin/dsl_eval.rb
504
458
  - lib/berkshelf/mixin/logging.rb
505
459
  - lib/berkshelf/resolver.rb
@@ -540,25 +494,7 @@ files:
540
494
  - spec/fixtures/cookbooks/example_cookbook/README.md
541
495
  - spec/fixtures/cookbooks/example_cookbook/metadata.rb
542
496
  - spec/fixtures/cookbooks/example_cookbook/recipes/default.rb
543
- - spec/fixtures/cookbooks/example_metadata_name/metadata.rb
544
- - spec/fixtures/cookbooks/example_metadata_no_name/metadata.rb
545
- - spec/fixtures/cookbooks/example_no_metadata/recipes/default.rb
546
- - spec/fixtures/cookbooks/nginx-0.100.5/README.md
547
- - spec/fixtures/cookbooks/nginx-0.100.5/attributes/default.rb
548
- - spec/fixtures/cookbooks/nginx-0.100.5/definitions/nginx_site.rb
549
- - spec/fixtures/cookbooks/nginx-0.100.5/files/default/mime.types
550
- - spec/fixtures/cookbooks/nginx-0.100.5/files/ubuntu/mime.types
551
- - spec/fixtures/cookbooks/nginx-0.100.5/libraries/nginxlib.rb
552
- - spec/fixtures/cookbooks/nginx-0.100.5/metadata.rb
553
- - spec/fixtures/cookbooks/nginx-0.100.5/providers/defprovider.rb
554
- - spec/fixtures/cookbooks/nginx-0.100.5/recipes/default.rb
555
- - spec/fixtures/cookbooks/nginx-0.100.5/resources/defresource.rb
556
- - spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
557
- - spec/fixtures/cookbooks/nginx-0.100.5/templates/default/plugins/nginx.rb.erb
558
- - spec/fixtures/lockfile_spec/with_lock/Berksfile
559
- - spec/fixtures/lockfile_spec/without_lock/.gitkeep
560
497
  - spec/fixtures/lockfiles/default.lock
561
- - spec/fixtures/reset.pem
562
498
  - spec/spec_helper.rb
563
499
  - spec/support/chef_api.rb
564
500
  - spec/support/chef_server.rb
@@ -566,6 +502,7 @@ files:
566
502
  - spec/support/kitchen.rb
567
503
  - spec/support/matchers/file_system_matchers.rb
568
504
  - spec/support/matchers/filepath_matchers.rb
505
+ - spec/support/mercurial.rb
569
506
  - spec/support/path_helpers.rb
570
507
  - spec/unit/berkshelf/api_client/remote_cookbook_spec.rb
571
508
  - spec/unit/berkshelf/api_client_spec.rb
@@ -587,9 +524,11 @@ files:
587
524
  - spec/unit/berkshelf/installer_spec.rb
588
525
  - spec/unit/berkshelf/location_spec.rb
589
526
  - spec/unit/berkshelf/locations/git_location_spec.rb
527
+ - spec/unit/berkshelf/locations/mercurial_location_spec.rb
590
528
  - spec/unit/berkshelf/locations/path_location_spec.rb
591
529
  - spec/unit/berkshelf/lockfile_spec.rb
592
530
  - spec/unit/berkshelf/logger_spec.rb
531
+ - spec/unit/berkshelf/mercurial_spec.rb
593
532
  - spec/unit/berkshelf/mixin/dsl_eval_spec.rb
594
533
  - spec/unit/berkshelf/mixin/logging_spec.rb
595
534
  - spec/unit/berkshelf/resolver/graph_spec.rb
@@ -598,31 +537,29 @@ files:
598
537
  - spec/unit/berkshelf/source_uri_spec.rb
599
538
  - spec/unit/berkshelf/ui_spec.rb
600
539
  - spec/unit/berkshelf_spec.rb
601
- - spec/unit/chef/config_spec.rb
602
540
  homepage: http://berkshelf.com
603
541
  licenses:
604
542
  - Apache 2.0
543
+ metadata: {}
605
544
  post_install_message:
606
545
  rdoc_options: []
607
546
  require_paths:
608
547
  - lib
609
548
  required_ruby_version: !ruby/object:Gem::Requirement
610
- none: false
611
549
  requirements:
612
- - - ! '>='
550
+ - - '>='
613
551
  - !ruby/object:Gem::Version
614
552
  version: 1.9.2
615
553
  required_rubygems_version: !ruby/object:Gem::Requirement
616
- none: false
617
554
  requirements:
618
- - - ! '>='
555
+ - - '>='
619
556
  - !ruby/object:Gem::Version
620
557
  version: 1.8.0
621
558
  requirements: []
622
559
  rubyforge_project:
623
- rubygems_version: 1.8.23
560
+ rubygems_version: 2.0.3
624
561
  signing_key:
625
- specification_version: 3
562
+ specification_version: 4
626
563
  summary: Manages a Cookbook's, or an Application's, Cookbook dependencies
627
564
  test_files:
628
565
  - features/apply_command.feature
@@ -659,6 +596,7 @@ test_files:
659
596
  - features/support/env.rb
660
597
  - features/update_command.feature
661
598
  - features/upload_command.feature
599
+ - features/vendor_command.feature
662
600
  - spec/config/berkshelf.pem
663
601
  - spec/config/knife.rb
664
602
  - spec/config/validator.pem
@@ -687,25 +625,7 @@ test_files:
687
625
  - spec/fixtures/cookbooks/example_cookbook/README.md
688
626
  - spec/fixtures/cookbooks/example_cookbook/metadata.rb
689
627
  - spec/fixtures/cookbooks/example_cookbook/recipes/default.rb
690
- - spec/fixtures/cookbooks/example_metadata_name/metadata.rb
691
- - spec/fixtures/cookbooks/example_metadata_no_name/metadata.rb
692
- - spec/fixtures/cookbooks/example_no_metadata/recipes/default.rb
693
- - spec/fixtures/cookbooks/nginx-0.100.5/README.md
694
- - spec/fixtures/cookbooks/nginx-0.100.5/attributes/default.rb
695
- - spec/fixtures/cookbooks/nginx-0.100.5/definitions/nginx_site.rb
696
- - spec/fixtures/cookbooks/nginx-0.100.5/files/default/mime.types
697
- - spec/fixtures/cookbooks/nginx-0.100.5/files/ubuntu/mime.types
698
- - spec/fixtures/cookbooks/nginx-0.100.5/libraries/nginxlib.rb
699
- - spec/fixtures/cookbooks/nginx-0.100.5/metadata.rb
700
- - spec/fixtures/cookbooks/nginx-0.100.5/providers/defprovider.rb
701
- - spec/fixtures/cookbooks/nginx-0.100.5/recipes/default.rb
702
- - spec/fixtures/cookbooks/nginx-0.100.5/resources/defresource.rb
703
- - spec/fixtures/cookbooks/nginx-0.100.5/templates/default/nginx.pill.erb
704
- - spec/fixtures/cookbooks/nginx-0.100.5/templates/default/plugins/nginx.rb.erb
705
- - spec/fixtures/lockfile_spec/with_lock/Berksfile
706
- - spec/fixtures/lockfile_spec/without_lock/.gitkeep
707
628
  - spec/fixtures/lockfiles/default.lock
708
- - spec/fixtures/reset.pem
709
629
  - spec/spec_helper.rb
710
630
  - spec/support/chef_api.rb
711
631
  - spec/support/chef_server.rb
@@ -713,6 +633,7 @@ test_files:
713
633
  - spec/support/kitchen.rb
714
634
  - spec/support/matchers/file_system_matchers.rb
715
635
  - spec/support/matchers/filepath_matchers.rb
636
+ - spec/support/mercurial.rb
716
637
  - spec/support/path_helpers.rb
717
638
  - spec/unit/berkshelf/api_client/remote_cookbook_spec.rb
718
639
  - spec/unit/berkshelf/api_client_spec.rb
@@ -734,9 +655,11 @@ test_files:
734
655
  - spec/unit/berkshelf/installer_spec.rb
735
656
  - spec/unit/berkshelf/location_spec.rb
736
657
  - spec/unit/berkshelf/locations/git_location_spec.rb
658
+ - spec/unit/berkshelf/locations/mercurial_location_spec.rb
737
659
  - spec/unit/berkshelf/locations/path_location_spec.rb
738
660
  - spec/unit/berkshelf/lockfile_spec.rb
739
661
  - spec/unit/berkshelf/logger_spec.rb
662
+ - spec/unit/berkshelf/mercurial_spec.rb
740
663
  - spec/unit/berkshelf/mixin/dsl_eval_spec.rb
741
664
  - spec/unit/berkshelf/mixin/logging_spec.rb
742
665
  - spec/unit/berkshelf/resolver/graph_spec.rb
@@ -745,5 +668,4 @@ test_files:
745
668
  - spec/unit/berkshelf/source_uri_spec.rb
746
669
  - spec/unit/berkshelf/ui_spec.rb
747
670
  - spec/unit/berkshelf_spec.rb
748
- - spec/unit/chef/config_spec.rb
749
671
  has_rdoc: