berkshelf 1.4.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MDQ2MDFjODA3YzIzNTA3OGNmMWEyZTBlZDk5ZGRhZTgzYjEzNWM4Nw==
5
+ data.tar.gz: !binary |-
6
+ YTc4NzQ0NGVmZWExNmY5ZTJhNzQwZDdjZWUyNjc1NDY1MWU4NmRlZA==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ MjY4ZjliOTJjOTQ1NTY4OGJjN2VjNDUyNTJlMzlmODUyN2E4OGFlMmNhMGY1
10
+ MzRhZDBlNWExM2Y3MTA1NDc2NmY3YzQyZGU1MWRjM2RjMWZkMzEzZGZiOTcx
11
+ Mjc3YjAyYWVkOGVkZTkxYThmYzdmMzU3NzQ1YjYxYTdjMmJkOGE=
12
+ data.tar.gz: !binary |-
13
+ MWNmY2YxZjdlZTA1NTE1N2I4MjU5Y2Q4M2IzMzNkZjMxNDExZDI0MzVkOTJk
14
+ N2ViODM1Yzk0ZjA2N2NmMzU1ZGFjMGQ5NjIzNWZhMTFhYmI2ODRkNzdmZDZj
15
+ MGJlMzU1ZTVkNGEzMzgyMDc2YWZmNWI5OTA3MzQ5MzM1Zjg3MmQ=
@@ -1,3 +1,8 @@
1
+ # 1.4.2
2
+
3
+ - Fix git caching bug for huge speedups in Berksfiles with lots of git
4
+ paths. Thanks to @tylerflint and @jasondunsmore.
5
+
1
6
  # 1.4.1
2
7
 
3
8
  - Berksfile#upload will now honor the given server_url option
@@ -84,13 +84,28 @@ Feature: install cookbooks from a Berksfile
84
84
  And the exit status should be 0
85
85
 
86
86
  Scenario: installing a Berksfile that contains a Git location
87
+ Given I write to "Berksfile" with:
88
+ """
89
+ cookbook "artifact", git: "git://github.com/RiotGames/artifact-cookbook.git"
90
+ """
91
+ When I successfully run `berks install`
92
+ Then the cookbook store should have the git cookbooks:
93
+ | artifact | 1.5.0 | master |
94
+ And the output should contain:
95
+ """
96
+ Installing artifact (1.5.0) from git: 'git://github.com/RiotGames/artifact-cookbook.git' with branch: 'master'
97
+ """
98
+ And the exit status should be 0
99
+
100
+
101
+ Scenario: installing a Berksfile that contains a Git location with a ref
87
102
  Given I write to "Berksfile" with:
88
103
  """
89
104
  cookbook "artifact", git: "git://github.com/RiotGames/artifact-cookbook.git", ref: "0.9.8"
90
105
  """
91
106
  When I successfully run `berks install`
92
107
  Then the cookbook store should have the git cookbooks:
93
- | artifact | 0.9.8 | c0a0b456a4716a81645bef1369f5fd1a4e62ce6d |
108
+ | artifact | 0.9.8 | 0.9.8 |
94
109
  And the output should contain:
95
110
  """
96
111
  Installing artifact (0.9.8) from git: 'git://github.com/RiotGames/artifact-cookbook.git' with branch: '0.9.8'
@@ -104,7 +119,7 @@ Feature: install cookbooks from a Berksfile
104
119
  """
105
120
  When I successfully run `berks install`
106
121
  Then the cookbook store should have the git cookbooks:
107
- | artifact | 0.9.8 | c0a0b456a4716a81645bef1369f5fd1a4e62ce6d |
122
+ | artifact | 0.9.8 | 0.9.8 |
108
123
  And the output should contain:
109
124
  """
110
125
  Installing artifact (0.9.8) from github: 'RiotGames/artifact-cookbook' with branch: '0.9.8'
@@ -118,7 +133,7 @@ Feature: install cookbooks from a Berksfile
118
133
  """
119
134
  When I successfully run `berks install`
120
135
  Then the cookbook store should have the git cookbooks:
121
- | artifact | 0.9.8 | c0a0b456a4716a81645bef1369f5fd1a4e62ce6d |
136
+ | artifact | 0.9.8 | 0.9.8 |
122
137
  And the output should contain:
123
138
  """
124
139
  Installing artifact (0.9.8) from github: 'RiotGames/artifact-cookbook' with branch: '0.9.8' over protocol: 'git'
@@ -132,7 +147,7 @@ Feature: install cookbooks from a Berksfile
132
147
  """
133
148
  When I successfully run `berks install`
134
149
  Then the cookbook store should have the git cookbooks:
135
- | artifact | 0.9.8 | c0a0b456a4716a81645bef1369f5fd1a4e62ce6d |
150
+ | artifact | 0.9.8 | 0.9.8 |
136
151
  And the output should contain:
137
152
  """
138
153
  Installing artifact (0.9.8) from github: 'RiotGames/artifact-cookbook' with branch: '0.9.8' over protocol: '<protocol>'
@@ -314,7 +329,7 @@ Feature: install cookbooks from a Berksfile
314
329
  Then the output should contain:
315
330
  """
316
331
  Installing ohai (1.1.4) from site: 'http://cookbooks.opscode.com/api/v1/cookbooks'
317
- Failed to download 'doesntexist' from git: 'git://github.com/asdjhfkljashflkjashfakljsf'
332
+ Failed to download 'doesntexist' from git: 'git://github.com/asdjhfkljashflkjashfakljsf' with branch: 'master'
318
333
  An error occured during Git execution:
319
334
  """
320
335
  And the CLI should exit with the status code for error "GitError"
@@ -20,6 +20,7 @@ module Berkshelf
20
20
  attr_accessor :uri
21
21
  attr_accessor :branch
22
22
  attr_accessor :rel
23
+ attr_accessor :branch_name
23
24
  attr_reader :options
24
25
 
25
26
  alias_method :ref, :branch
@@ -43,8 +44,9 @@ module Berkshelf
43
44
  @name = name
44
45
  @version_constraint = version_constraint
45
46
  @uri = options[:git]
46
- @branch = options[:branch] || options[:ref] || options[:tag]
47
+ @branch = options[:branch] || options[:ref] || options[:tag] || "master"
47
48
  @rel = options[:rel]
49
+ @branch_name = @branch.gsub("-", "_").gsub("/", "__") # In case the remote is specified
48
50
 
49
51
  Git.validate_uri!(@uri)
50
52
  end
@@ -61,21 +63,23 @@ module Berkshelf
61
63
  end
62
64
 
63
65
  tmp_path = rel ? File.join(clone, rel) : clone
66
+ puts "File.chef_cookbook?(tmp_path): #{File.chef_cookbook?(tmp_path)}"
64
67
  unless File.chef_cookbook?(tmp_path)
65
68
  msg = "Cookbook '#{name}' not found at git: #{uri}"
66
69
  msg << " with branch '#{branch}'" if branch
67
70
  msg << " at path '#{rel}'" if rel
68
71
  raise CookbookNotFound, msg
69
72
  end
70
-
71
- cb_path = File.join(destination, "#{self.name}-#{Git.rev_parse(clone)}")
73
+
74
+ cb_path = File.join(destination, "#{name}-#{branch_name}")
72
75
  FileUtils.rm_rf(cb_path)
73
76
  FileUtils.mv(tmp_path, cb_path)
74
-
77
+
75
78
  cached = CachedCookbook.from_store_path(cb_path)
76
79
  validate_cached(cached)
77
80
 
78
81
  set_downloaded_status(true)
82
+ puts "cached.class: #{cached.class}"
79
83
  cached
80
84
  end
81
85
 
@@ -121,7 +125,7 @@ module Berkshelf
121
125
 
122
126
  def revision_path(destination)
123
127
  return unless branch
124
- File.join(destination, "#{name}-#{branch}")
128
+ File.join(destination, "#{name}-#{branch_name}")
125
129
  end
126
130
  end
127
131
  end
@@ -1,3 +1,3 @@
1
1
  module Berkshelf
2
- VERSION = "1.4.1"
2
+ VERSION = "1.4.2"
3
3
  end
@@ -44,9 +44,10 @@ describe Berkshelf::GitLocation do
44
44
 
45
45
  it "downloads the cookbook to the given destination" do
46
46
  cached_cookbook = subject.download(tmp_path)
47
+ branch_name = subject.branch_name
47
48
 
48
49
  tmp_path.should have_structure {
49
- directory "#{cached_cookbook.cookbook_name}-#{Berkshelf::Git.rev_parse(cached_cookbook.path)}" do
50
+ directory "#{cached_cookbook.cookbook_name}-#{branch_name}" do
50
51
  file "metadata.rb"
51
52
  end
52
53
  }
@@ -122,11 +123,9 @@ describe Berkshelf::GitLocation do
122
123
  end
123
124
  let(:cached_cookbook) { subject.download(tmp_path) }
124
125
  let(:commit_hash) { "d7be334b094f497f5cce4169a8b3012bf7b27bc3" }
125
- let(:expected_path) { tmp_path.join("#{cached_cookbook.cookbook_name}-#{commit_hash}") }
126
+ let(:expected_path) { tmp_path.join("#{cached_cookbook.cookbook_name}-#{ref}") }
126
127
 
127
- before(:each) { Berkshelf::Git.should_receive(:rev_parse).and_return(commit_hash) }
128
-
129
- it "returns a cached cookbook with a path that contains the commit hash it is pointing to" do
128
+ it "returns a cached cookbook with a path that contains the ref and not the commit hash it is pointing to" do
130
129
  cached_cookbook.path.should eql(expected_path)
131
130
  end
132
131
  end
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: 1.4.1
5
- prerelease:
4
+ version: 1.4.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jamie Winsor
@@ -12,12 +11,11 @@ authors:
12
11
  autorequire:
13
12
  bindir: bin
14
13
  cert_chain: []
15
- date: 2013-04-30 00:00:00.000000000 Z
14
+ date: 2013-05-02 00:00:00.000000000 Z
16
15
  dependencies:
17
16
  - !ruby/object:Gem::Dependency
18
17
  name: celluloid
19
18
  requirement: !ruby/object:Gem::Requirement
20
- none: false
21
19
  requirements:
22
20
  - - ! '>='
23
21
  - !ruby/object:Gem::Version
@@ -25,7 +23,6 @@ dependencies:
25
23
  type: :runtime
26
24
  prerelease: false
27
25
  version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
26
  requirements:
30
27
  - - ! '>='
31
28
  - !ruby/object:Gem::Version
@@ -33,7 +30,6 @@ dependencies:
33
30
  - !ruby/object:Gem::Dependency
34
31
  name: yajl-ruby
35
32
  requirement: !ruby/object:Gem::Requirement
36
- none: false
37
33
  requirements:
38
34
  - - ! '>='
39
35
  - !ruby/object:Gem::Version
@@ -41,7 +37,6 @@ dependencies:
41
37
  type: :runtime
42
38
  prerelease: false
43
39
  version_requirements: !ruby/object:Gem::Requirement
44
- none: false
45
40
  requirements:
46
41
  - - ! '>='
47
42
  - !ruby/object:Gem::Version
@@ -49,7 +44,6 @@ dependencies:
49
44
  - !ruby/object:Gem::Dependency
50
45
  name: activesupport
51
46
  requirement: !ruby/object:Gem::Requirement
52
- none: false
53
47
  requirements:
54
48
  - - ! '>='
55
49
  - !ruby/object:Gem::Version
@@ -57,7 +51,6 @@ dependencies:
57
51
  type: :runtime
58
52
  prerelease: false
59
53
  version_requirements: !ruby/object:Gem::Requirement
60
- none: false
61
54
  requirements:
62
55
  - - ! '>='
63
56
  - !ruby/object:Gem::Version
@@ -65,7 +58,6 @@ dependencies:
65
58
  - !ruby/object:Gem::Dependency
66
59
  name: mixlib-shellout
67
60
  requirement: !ruby/object:Gem::Requirement
68
- none: false
69
61
  requirements:
70
62
  - - ~>
71
63
  - !ruby/object:Gem::Version
@@ -73,7 +65,6 @@ dependencies:
73
65
  type: :runtime
74
66
  prerelease: false
75
67
  version_requirements: !ruby/object:Gem::Requirement
76
- none: false
77
68
  requirements:
78
69
  - - ~>
79
70
  - !ruby/object:Gem::Version
@@ -81,7 +72,6 @@ dependencies:
81
72
  - !ruby/object:Gem::Dependency
82
73
  name: mixlib-config
83
74
  requirement: !ruby/object:Gem::Requirement
84
- none: false
85
75
  requirements:
86
76
  - - ~>
87
77
  - !ruby/object:Gem::Version
@@ -89,7 +79,6 @@ dependencies:
89
79
  type: :runtime
90
80
  prerelease: false
91
81
  version_requirements: !ruby/object:Gem::Requirement
92
- none: false
93
82
  requirements:
94
83
  - - ~>
95
84
  - !ruby/object:Gem::Version
@@ -97,7 +86,6 @@ dependencies:
97
86
  - !ruby/object:Gem::Dependency
98
87
  name: faraday
99
88
  requirement: !ruby/object:Gem::Requirement
100
- none: false
101
89
  requirements:
102
90
  - - ! '>='
103
91
  - !ruby/object:Gem::Version
@@ -105,7 +93,6 @@ dependencies:
105
93
  type: :runtime
106
94
  prerelease: false
107
95
  version_requirements: !ruby/object:Gem::Requirement
108
- none: false
109
96
  requirements:
110
97
  - - ! '>='
111
98
  - !ruby/object:Gem::Version
@@ -113,7 +100,6 @@ dependencies:
113
100
  - !ruby/object:Gem::Dependency
114
101
  name: ridley
115
102
  requirement: !ruby/object:Gem::Requirement
116
- none: false
117
103
  requirements:
118
104
  - - ~>
119
105
  - !ruby/object:Gem::Version
@@ -121,7 +107,6 @@ dependencies:
121
107
  type: :runtime
122
108
  prerelease: false
123
109
  version_requirements: !ruby/object:Gem::Requirement
124
- none: false
125
110
  requirements:
126
111
  - - ~>
127
112
  - !ruby/object:Gem::Version
@@ -129,7 +114,6 @@ dependencies:
129
114
  - !ruby/object:Gem::Dependency
130
115
  name: chozo
131
116
  requirement: !ruby/object:Gem::Requirement
132
- none: false
133
117
  requirements:
134
118
  - - ! '>='
135
119
  - !ruby/object:Gem::Version
@@ -137,7 +121,6 @@ dependencies:
137
121
  type: :runtime
138
122
  prerelease: false
139
123
  version_requirements: !ruby/object:Gem::Requirement
140
- none: false
141
124
  requirements:
142
125
  - - ! '>='
143
126
  - !ruby/object:Gem::Version
@@ -145,7 +128,6 @@ dependencies:
145
128
  - !ruby/object:Gem::Dependency
146
129
  name: hashie
147
130
  requirement: !ruby/object:Gem::Requirement
148
- none: false
149
131
  requirements:
150
132
  - - ! '>='
151
133
  - !ruby/object:Gem::Version
@@ -153,7 +135,6 @@ dependencies:
153
135
  type: :runtime
154
136
  prerelease: false
155
137
  version_requirements: !ruby/object:Gem::Requirement
156
- none: false
157
138
  requirements:
158
139
  - - ! '>='
159
140
  - !ruby/object:Gem::Version
@@ -161,7 +142,6 @@ dependencies:
161
142
  - !ruby/object:Gem::Dependency
162
143
  name: minitar
163
144
  requirement: !ruby/object:Gem::Requirement
164
- none: false
165
145
  requirements:
166
146
  - - ! '>='
167
147
  - !ruby/object:Gem::Version
@@ -169,7 +149,6 @@ dependencies:
169
149
  type: :runtime
170
150
  prerelease: false
171
151
  version_requirements: !ruby/object:Gem::Requirement
172
- none: false
173
152
  requirements:
174
153
  - - ! '>='
175
154
  - !ruby/object:Gem::Version
@@ -177,7 +156,6 @@ dependencies:
177
156
  - !ruby/object:Gem::Dependency
178
157
  name: json
179
158
  requirement: !ruby/object:Gem::Requirement
180
- none: false
181
159
  requirements:
182
160
  - - ! '>='
183
161
  - !ruby/object:Gem::Version
@@ -185,7 +163,6 @@ dependencies:
185
163
  type: :runtime
186
164
  prerelease: false
187
165
  version_requirements: !ruby/object:Gem::Requirement
188
- none: false
189
166
  requirements:
190
167
  - - ! '>='
191
168
  - !ruby/object:Gem::Version
@@ -193,7 +170,6 @@ dependencies:
193
170
  - !ruby/object:Gem::Dependency
194
171
  name: multi_json
195
172
  requirement: !ruby/object:Gem::Requirement
196
- none: false
197
173
  requirements:
198
174
  - - ~>
199
175
  - !ruby/object:Gem::Version
@@ -201,7 +177,6 @@ dependencies:
201
177
  type: :runtime
202
178
  prerelease: false
203
179
  version_requirements: !ruby/object:Gem::Requirement
204
- none: false
205
180
  requirements:
206
181
  - - ~>
207
182
  - !ruby/object:Gem::Version
@@ -209,7 +184,6 @@ dependencies:
209
184
  - !ruby/object:Gem::Dependency
210
185
  name: solve
211
186
  requirement: !ruby/object:Gem::Requirement
212
- none: false
213
187
  requirements:
214
188
  - - ! '>='
215
189
  - !ruby/object:Gem::Version
@@ -217,7 +191,6 @@ dependencies:
217
191
  type: :runtime
218
192
  prerelease: false
219
193
  version_requirements: !ruby/object:Gem::Requirement
220
- none: false
221
194
  requirements:
222
195
  - - ! '>='
223
196
  - !ruby/object:Gem::Version
@@ -225,7 +198,6 @@ dependencies:
225
198
  - !ruby/object:Gem::Dependency
226
199
  name: thor
227
200
  requirement: !ruby/object:Gem::Requirement
228
- none: false
229
201
  requirements:
230
202
  - - ~>
231
203
  - !ruby/object:Gem::Version
@@ -233,7 +205,6 @@ dependencies:
233
205
  type: :runtime
234
206
  prerelease: false
235
207
  version_requirements: !ruby/object:Gem::Requirement
236
- none: false
237
208
  requirements:
238
209
  - - ~>
239
210
  - !ruby/object:Gem::Version
@@ -241,7 +212,6 @@ dependencies:
241
212
  - !ruby/object:Gem::Dependency
242
213
  name: retryable
243
214
  requirement: !ruby/object:Gem::Requirement
244
- none: false
245
215
  requirements:
246
216
  - - ! '>='
247
217
  - !ruby/object:Gem::Version
@@ -249,7 +219,6 @@ dependencies:
249
219
  type: :runtime
250
220
  prerelease: false
251
221
  version_requirements: !ruby/object:Gem::Requirement
252
- none: false
253
222
  requirements:
254
223
  - - ! '>='
255
224
  - !ruby/object:Gem::Version
@@ -257,7 +226,6 @@ dependencies:
257
226
  - !ruby/object:Gem::Dependency
258
227
  name: addressable
259
228
  requirement: !ruby/object:Gem::Requirement
260
- none: false
261
229
  requirements:
262
230
  - - ! '>='
263
231
  - !ruby/object:Gem::Version
@@ -265,7 +233,6 @@ dependencies:
265
233
  type: :runtime
266
234
  prerelease: false
267
235
  version_requirements: !ruby/object:Gem::Requirement
268
- none: false
269
236
  requirements:
270
237
  - - ! '>='
271
238
  - !ruby/object:Gem::Version
@@ -273,7 +240,6 @@ dependencies:
273
240
  - !ruby/object:Gem::Dependency
274
241
  name: aruba
275
242
  requirement: !ruby/object:Gem::Requirement
276
- none: false
277
243
  requirements:
278
244
  - - ! '>='
279
245
  - !ruby/object:Gem::Version
@@ -281,7 +247,6 @@ dependencies:
281
247
  type: :development
282
248
  prerelease: false
283
249
  version_requirements: !ruby/object:Gem::Requirement
284
- none: false
285
250
  requirements:
286
251
  - - ! '>='
287
252
  - !ruby/object:Gem::Version
@@ -289,7 +254,6 @@ dependencies:
289
254
  - !ruby/object:Gem::Dependency
290
255
  name: cane
291
256
  requirement: !ruby/object:Gem::Requirement
292
- none: false
293
257
  requirements:
294
258
  - - ! '>='
295
259
  - !ruby/object:Gem::Version
@@ -297,7 +261,6 @@ dependencies:
297
261
  type: :development
298
262
  prerelease: false
299
263
  version_requirements: !ruby/object:Gem::Requirement
300
- none: false
301
264
  requirements:
302
265
  - - ! '>='
303
266
  - !ruby/object:Gem::Version
@@ -305,7 +268,6 @@ dependencies:
305
268
  - !ruby/object:Gem::Dependency
306
269
  name: json_spec
307
270
  requirement: !ruby/object:Gem::Requirement
308
- none: false
309
271
  requirements:
310
272
  - - ! '>='
311
273
  - !ruby/object:Gem::Version
@@ -313,7 +275,6 @@ dependencies:
313
275
  type: :development
314
276
  prerelease: false
315
277
  version_requirements: !ruby/object:Gem::Requirement
316
- none: false
317
278
  requirements:
318
279
  - - ! '>='
319
280
  - !ruby/object:Gem::Version
@@ -321,7 +282,6 @@ dependencies:
321
282
  - !ruby/object:Gem::Dependency
322
283
  name: rake
323
284
  requirement: !ruby/object:Gem::Requirement
324
- none: false
325
285
  requirements:
326
286
  - - ! '>='
327
287
  - !ruby/object:Gem::Version
@@ -329,7 +289,6 @@ dependencies:
329
289
  type: :development
330
290
  prerelease: false
331
291
  version_requirements: !ruby/object:Gem::Requirement
332
- none: false
333
292
  requirements:
334
293
  - - ! '>='
335
294
  - !ruby/object:Gem::Version
@@ -337,7 +296,6 @@ dependencies:
337
296
  - !ruby/object:Gem::Dependency
338
297
  name: rspec
339
298
  requirement: !ruby/object:Gem::Requirement
340
- none: false
341
299
  requirements:
342
300
  - - ! '>='
343
301
  - !ruby/object:Gem::Version
@@ -345,7 +303,6 @@ dependencies:
345
303
  type: :development
346
304
  prerelease: false
347
305
  version_requirements: !ruby/object:Gem::Requirement
348
- none: false
349
306
  requirements:
350
307
  - - ! '>='
351
308
  - !ruby/object:Gem::Version
@@ -353,7 +310,6 @@ dependencies:
353
310
  - !ruby/object:Gem::Dependency
354
311
  name: simplecov
355
312
  requirement: !ruby/object:Gem::Requirement
356
- none: false
357
313
  requirements:
358
314
  - - ! '>='
359
315
  - !ruby/object:Gem::Version
@@ -361,7 +317,6 @@ dependencies:
361
317
  type: :development
362
318
  prerelease: false
363
319
  version_requirements: !ruby/object:Gem::Requirement
364
- none: false
365
320
  requirements:
366
321
  - - ! '>='
367
322
  - !ruby/object:Gem::Version
@@ -369,7 +324,6 @@ dependencies:
369
324
  - !ruby/object:Gem::Dependency
370
325
  name: spork
371
326
  requirement: !ruby/object:Gem::Requirement
372
- none: false
373
327
  requirements:
374
328
  - - ! '>='
375
329
  - !ruby/object:Gem::Version
@@ -377,7 +331,6 @@ dependencies:
377
331
  type: :development
378
332
  prerelease: false
379
333
  version_requirements: !ruby/object:Gem::Requirement
380
- none: false
381
334
  requirements:
382
335
  - - ! '>='
383
336
  - !ruby/object:Gem::Version
@@ -385,7 +338,6 @@ dependencies:
385
338
  - !ruby/object:Gem::Dependency
386
339
  name: thor
387
340
  requirement: !ruby/object:Gem::Requirement
388
- none: false
389
341
  requirements:
390
342
  - - ! '>='
391
343
  - !ruby/object:Gem::Version
@@ -393,7 +345,6 @@ dependencies:
393
345
  type: :development
394
346
  prerelease: false
395
347
  version_requirements: !ruby/object:Gem::Requirement
396
- none: false
397
348
  requirements:
398
349
  - - ! '>='
399
350
  - !ruby/object:Gem::Version
@@ -401,7 +352,6 @@ dependencies:
401
352
  - !ruby/object:Gem::Dependency
402
353
  name: webmock
403
354
  requirement: !ruby/object:Gem::Requirement
404
- none: false
405
355
  requirements:
406
356
  - - ! '>='
407
357
  - !ruby/object:Gem::Version
@@ -409,7 +359,6 @@ dependencies:
409
359
  type: :development
410
360
  prerelease: false
411
361
  version_requirements: !ruby/object:Gem::Requirement
412
- none: false
413
362
  requirements:
414
363
  - - ! '>='
415
364
  - !ruby/object:Gem::Version
@@ -417,7 +366,6 @@ dependencies:
417
366
  - !ruby/object:Gem::Dependency
418
367
  name: vcr
419
368
  requirement: !ruby/object:Gem::Requirement
420
- none: false
421
369
  requirements:
422
370
  - - ~>
423
371
  - !ruby/object:Gem::Version
@@ -425,7 +373,6 @@ dependencies:
425
373
  type: :development
426
374
  prerelease: false
427
375
  version_requirements: !ruby/object:Gem::Requirement
428
- none: false
429
376
  requirements:
430
377
  - - ~>
431
378
  - !ruby/object:Gem::Version
@@ -621,27 +568,26 @@ files:
621
568
  homepage: http://berkshelf.com
622
569
  licenses:
623
570
  - Apache 2.0
571
+ metadata: {}
624
572
  post_install_message:
625
573
  rdoc_options: []
626
574
  require_paths:
627
575
  - lib
628
576
  required_ruby_version: !ruby/object:Gem::Requirement
629
- none: false
630
577
  requirements:
631
578
  - - ! '>='
632
579
  - !ruby/object:Gem::Version
633
580
  version: 1.9.1
634
581
  required_rubygems_version: !ruby/object:Gem::Requirement
635
- none: false
636
582
  requirements:
637
583
  - - ! '>='
638
584
  - !ruby/object:Gem::Version
639
585
  version: 1.8.0
640
586
  requirements: []
641
587
  rubyforge_project:
642
- rubygems_version: 1.8.23
588
+ rubygems_version: 2.0.3
643
589
  signing_key:
644
- specification_version: 3
590
+ specification_version: 4
645
591
  summary: Manages a Cookbook's, or an Application's, Cookbook dependencies
646
592
  test_files:
647
593
  - features/config.feature