vendorificator 0.5.git.v0.4.0.63.g8e9d54d → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +9 -9
  2. data/.travis.yml +2 -2
  3. data/CHANGELOG.md +10 -0
  4. data/Gemfile +5 -12
  5. data/README.md +27 -1
  6. data/Rakefile +2 -8
  7. data/features/chef_cookbook.feature +4 -4
  8. data/features/download.feature +1 -1
  9. data/features/edgecases.feature +15 -0
  10. data/features/environment.feature +3 -2
  11. data/features/fake_mode.feature +15 -0
  12. data/features/git.feature +4 -4
  13. data/features/overlay.feature +99 -0
  14. data/features/step_definitions/basic.rb +22 -0
  15. data/features/step_definitions/git.rb +16 -0
  16. data/features/step_definitions/vendorificator.rb +9 -4
  17. data/features/support/aruba_ext.rb +4 -0
  18. data/features/support/env.rb +3 -0
  19. data/features/tarball.feature +2 -2
  20. data/features/tarball_edit.feature +3 -3
  21. data/features/tool.feature +6 -4
  22. data/features/tool_shortcuts.feature +3 -3
  23. data/features/tool_specs.feature +62 -0
  24. data/features/vendor.feature +4 -3
  25. data/lib/vendorificator.rb +7 -1
  26. data/lib/vendorificator/cli.rb +12 -11
  27. data/lib/vendorificator/config.rb +32 -1
  28. data/lib/vendorificator/environment.rb +23 -27
  29. data/lib/vendorificator/hooks/chef_cookbook.rb +2 -2
  30. data/lib/vendorificator/overlay.rb +17 -0
  31. data/lib/vendorificator/segment.rb +376 -0
  32. data/lib/vendorificator/segment/overlay.rb +114 -0
  33. data/lib/vendorificator/segment/vendor.rb +115 -0
  34. data/lib/vendorificator/vendor.rb +25 -279
  35. data/lib/vendorificator/vendor/tool.rb +40 -23
  36. data/lib/vendorificator/version.rb +1 -1
  37. data/spec/vendorificator/config_spec.rb +66 -0
  38. data/spec/vendorificator/environment_spec.rb +7 -7
  39. data/spec/vendorificator/fixtures/vendorfiles/overlay.rb +4 -0
  40. data/spec/vendorificator/segment/vendor_spec.rb +19 -0
  41. data/spec/vendorificator/segment_spec.rb +106 -0
  42. data/spec/vendorificator/vendor_spec.rb +0 -89
  43. data/vendorificator.gemspec +5 -5
  44. metadata +45 -29
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vendorificator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.git.v0.4.0.63.g8e9d54d
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Pasternacki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-15 00:00:00.000000000 Z
11
+ date: 2014-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: escape
@@ -70,14 +70,14 @@ dependencies:
70
70
  name: aruba
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '='
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
75
  version: 0.5.3
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.5.3
83
83
  - !ruby/object:Gem::Dependency
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - ~>
88
88
  - !ruby/object:Gem::Version
89
- version: '2.0'
89
+ version: 1.3.10
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ~>
95
95
  - !ruby/object:Gem::Version
96
- version: '2.0'
96
+ version: 1.3.10
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: mocha
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -108,20 +108,6 @@ dependencies:
108
108
  - - ! '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: 0.14.0
111
- - !ruby/object:Gem::Dependency
112
- name: chef
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ! '>='
116
- - !ruby/object:Gem::Version
117
- version: 10.16.0
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ! '>='
123
- - !ruby/object:Gem::Version
124
- version: 10.16.0
125
111
  - !ruby/object:Gem::Dependency
126
112
  name: berkshelf
127
113
  requirement: !ruby/object:Gem::Requirement
@@ -168,16 +154,16 @@ dependencies:
168
154
  name: wrong
169
155
  requirement: !ruby/object:Gem::Requirement
170
156
  requirements:
171
- - - ! '>='
157
+ - - ~>
172
158
  - !ruby/object:Gem::Version
173
- version: 0.7.0
159
+ version: '0.7'
174
160
  type: :development
175
161
  prerelease: false
176
162
  version_requirements: !ruby/object:Gem::Requirement
177
163
  requirements:
178
- - - ! '>='
164
+ - - ~>
179
165
  - !ruby/object:Gem::Version
180
- version: 0.7.0
166
+ version: '0.7'
181
167
  - !ruby/object:Gem::Dependency
182
168
  name: rake
183
169
  requirement: !ruby/object:Gem::Requirement
@@ -206,20 +192,34 @@ dependencies:
206
192
  - - ! '>='
207
193
  - !ruby/object:Gem::Version
208
194
  version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: tee
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ~>
200
+ - !ruby/object:Gem::Version
201
+ version: '1.0'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ~>
207
+ - !ruby/object:Gem::Version
208
+ version: '1.0'
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: minitest
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - ~>
214
214
  - !ruby/object:Gem::Version
215
- version: 5.0.0
215
+ version: '5.2'
216
216
  type: :development
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - ~>
221
221
  - !ruby/object:Gem::Version
222
- version: 5.0.0
222
+ version: '5.2'
223
223
  description: Vendor everything. Stay sane.
224
224
  email:
225
225
  - maciej@pasternacki.net
@@ -245,6 +245,7 @@ files:
245
245
  - features/download.feature
246
246
  - features/edgecases.feature
247
247
  - features/environment.feature
248
+ - features/fake_mode.feature
248
249
  - features/fixtures/git/testrepo/HEAD
249
250
  - features/fixtures/git/testrepo/config
250
251
  - features/fixtures/git/testrepo/description
@@ -288,6 +289,7 @@ files:
288
289
  - features/fixtures/vcr/vendorificator.yml
289
290
  - features/git.feature
290
291
  - features/needed.feature
292
+ - features/overlay.feature
291
293
  - features/smoke.feature
292
294
  - features/status.feature
293
295
  - features/step_definitions/aruba_ext.rb
@@ -302,6 +304,7 @@ files:
302
304
  - features/tarball_edit.feature
303
305
  - features/tool.feature
304
306
  - features/tool_shortcuts.feature
307
+ - features/tool_specs.feature
305
308
  - features/vendor.feature
306
309
  - lib/vendorificator.rb
307
310
  - lib/vendorificator/cli.rb
@@ -311,6 +314,10 @@ files:
311
314
  - lib/vendorificator/errors.rb
312
315
  - lib/vendorificator/hooks/chef_cookbook.rb
313
316
  - lib/vendorificator/io_proxy.rb
317
+ - lib/vendorificator/overlay.rb
318
+ - lib/vendorificator/segment.rb
319
+ - lib/vendorificator/segment/overlay.rb
320
+ - lib/vendorificator/segment/vendor.rb
314
321
  - lib/vendorificator/vendor.rb
315
322
  - lib/vendorificator/vendor/archive.rb
316
323
  - lib/vendorificator/vendor/chef_cookbook.rb
@@ -322,6 +329,9 @@ files:
322
329
  - spec/spec_helper.rb
323
330
  - spec/vendorificator/config_spec.rb
324
331
  - spec/vendorificator/environment_spec.rb
332
+ - spec/vendorificator/fixtures/vendorfiles/overlay.rb
333
+ - spec/vendorificator/segment/vendor_spec.rb
334
+ - spec/vendorificator/segment_spec.rb
325
335
  - spec/vendorificator/vendor/chef_cookbook_spec.rb
326
336
  - spec/vendorificator/vendor/git_spec.rb
327
337
  - spec/vendorificator/vendor_spec.rb
@@ -340,12 +350,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
340
350
  version: '0'
341
351
  required_rubygems_version: !ruby/object:Gem::Requirement
342
352
  requirements:
343
- - - ! '>'
353
+ - - ! '>='
344
354
  - !ruby/object:Gem::Version
345
- version: 1.3.1
355
+ version: '0'
346
356
  requirements: []
347
357
  rubyforge_project:
348
- rubygems_version: 2.0.5
358
+ rubygems_version: 2.1.11
349
359
  signing_key:
350
360
  specification_version: 4
351
361
  summary: Integrate third-party vendor modules into your git repository
@@ -355,6 +365,7 @@ test_files:
355
365
  - features/download.feature
356
366
  - features/edgecases.feature
357
367
  - features/environment.feature
368
+ - features/fake_mode.feature
358
369
  - features/fixtures/git/testrepo/HEAD
359
370
  - features/fixtures/git/testrepo/config
360
371
  - features/fixtures/git/testrepo/description
@@ -398,6 +409,7 @@ test_files:
398
409
  - features/fixtures/vcr/vendorificator.yml
399
410
  - features/git.feature
400
411
  - features/needed.feature
412
+ - features/overlay.feature
401
413
  - features/smoke.feature
402
414
  - features/status.feature
403
415
  - features/step_definitions/aruba_ext.rb
@@ -412,11 +424,15 @@ test_files:
412
424
  - features/tarball_edit.feature
413
425
  - features/tool.feature
414
426
  - features/tool_shortcuts.feature
427
+ - features/tool_specs.feature
415
428
  - features/vendor.feature
416
429
  - spec/smoke_spec.rb
417
430
  - spec/spec_helper.rb
418
431
  - spec/vendorificator/config_spec.rb
419
432
  - spec/vendorificator/environment_spec.rb
433
+ - spec/vendorificator/fixtures/vendorfiles/overlay.rb
434
+ - spec/vendorificator/segment/vendor_spec.rb
435
+ - spec/vendorificator/segment_spec.rb
420
436
  - spec/vendorificator/vendor/chef_cookbook_spec.rb
421
437
  - spec/vendorificator/vendor/git_spec.rb
422
438
  - spec/vendorificator/vendor_spec.rb