berkshelf-api 1.2.0.rc2 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Berkshelf
2
2
  module API
3
- VERSION = "1.2.0.rc2"
3
+ VERSION = "1.2.0"
4
4
  end
5
5
  end
data/spec/spec_helper.rb CHANGED
@@ -1,3 +1,5 @@
1
+ $:.push File.expand_path("../../lib", __FILE__)
2
+
1
3
  require 'rubygems'
2
4
  require 'bundler'
3
5
  require 'rspec'
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: berkshelf-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0.rc2
4
+ version: 1.2.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Jamie Winsor
@@ -9,11 +10,12 @@ authors:
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2014-04-10 00:00:00.000000000 Z
13
+ date: 2014-04-11 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: ridley
16
17
  requirement: !ruby/object:Gem::Requirement
18
+ none: false
17
19
  requirements:
18
20
  - - ~>
19
21
  - !ruby/object:Gem::Version
@@ -21,6 +23,7 @@ dependencies:
21
23
  type: :runtime
22
24
  prerelease: false
23
25
  version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
24
27
  requirements:
25
28
  - - ~>
26
29
  - !ruby/object:Gem::Version
@@ -28,6 +31,7 @@ dependencies:
28
31
  - !ruby/object:Gem::Dependency
29
32
  name: celluloid
30
33
  requirement: !ruby/object:Gem::Requirement
34
+ none: false
31
35
  requirements:
32
36
  - - ~>
33
37
  - !ruby/object:Gem::Version
@@ -35,6 +39,7 @@ dependencies:
35
39
  type: :runtime
36
40
  prerelease: false
37
41
  version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
38
43
  requirements:
39
44
  - - ~>
40
45
  - !ruby/object:Gem::Version
@@ -42,20 +47,23 @@ dependencies:
42
47
  - !ruby/object:Gem::Dependency
43
48
  name: reel
44
49
  requirement: !ruby/object:Gem::Requirement
50
+ none: false
45
51
  requirements:
46
- - - '>='
52
+ - - ! '>='
47
53
  - !ruby/object:Gem::Version
48
54
  version: 0.4.0
49
55
  type: :runtime
50
56
  prerelease: false
51
57
  version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
52
59
  requirements:
53
- - - '>='
60
+ - - ! '>='
54
61
  - !ruby/object:Gem::Version
55
62
  version: 0.4.0
56
63
  - !ruby/object:Gem::Dependency
57
64
  name: http
58
65
  requirement: !ruby/object:Gem::Requirement
66
+ none: false
59
67
  requirements:
60
68
  - - ~>
61
69
  - !ruby/object:Gem::Version
@@ -63,6 +71,7 @@ dependencies:
63
71
  type: :runtime
64
72
  prerelease: false
65
73
  version_requirements: !ruby/object:Gem::Requirement
74
+ none: false
66
75
  requirements:
67
76
  - - ~>
68
77
  - !ruby/object:Gem::Version
@@ -70,6 +79,7 @@ dependencies:
70
79
  - !ruby/object:Gem::Dependency
71
80
  name: grape
72
81
  requirement: !ruby/object:Gem::Requirement
82
+ none: false
73
83
  requirements:
74
84
  - - ~>
75
85
  - !ruby/object:Gem::Version
@@ -77,6 +87,7 @@ dependencies:
77
87
  type: :runtime
78
88
  prerelease: false
79
89
  version_requirements: !ruby/object:Gem::Requirement
90
+ none: false
80
91
  requirements:
81
92
  - - ~>
82
93
  - !ruby/object:Gem::Version
@@ -84,6 +95,7 @@ dependencies:
84
95
  - !ruby/object:Gem::Dependency
85
96
  name: grape-msgpack
86
97
  requirement: !ruby/object:Gem::Requirement
98
+ none: false
87
99
  requirements:
88
100
  - - ~>
89
101
  - !ruby/object:Gem::Version
@@ -91,6 +103,7 @@ dependencies:
91
103
  type: :runtime
92
104
  prerelease: false
93
105
  version_requirements: !ruby/object:Gem::Requirement
106
+ none: false
94
107
  requirements:
95
108
  - - ~>
96
109
  - !ruby/object:Gem::Version
@@ -98,20 +111,23 @@ dependencies:
98
111
  - !ruby/object:Gem::Dependency
99
112
  name: hashie
100
113
  requirement: !ruby/object:Gem::Requirement
114
+ none: false
101
115
  requirements:
102
- - - '>='
116
+ - - ! '>='
103
117
  - !ruby/object:Gem::Version
104
118
  version: 2.0.4
105
119
  type: :runtime
106
120
  prerelease: false
107
121
  version_requirements: !ruby/object:Gem::Requirement
122
+ none: false
108
123
  requirements:
109
- - - '>='
124
+ - - ! '>='
110
125
  - !ruby/object:Gem::Version
111
126
  version: 2.0.4
112
127
  - !ruby/object:Gem::Dependency
113
128
  name: faraday
114
129
  requirement: !ruby/object:Gem::Requirement
130
+ none: false
115
131
  requirements:
116
132
  - - ~>
117
133
  - !ruby/object:Gem::Version
@@ -119,6 +135,7 @@ dependencies:
119
135
  type: :runtime
120
136
  prerelease: false
121
137
  version_requirements: !ruby/object:Gem::Requirement
138
+ none: false
122
139
  requirements:
123
140
  - - ~>
124
141
  - !ruby/object:Gem::Version
@@ -126,6 +143,7 @@ dependencies:
126
143
  - !ruby/object:Gem::Dependency
127
144
  name: retryable
128
145
  requirement: !ruby/object:Gem::Requirement
146
+ none: false
129
147
  requirements:
130
148
  - - ~>
131
149
  - !ruby/object:Gem::Version
@@ -133,6 +151,7 @@ dependencies:
133
151
  type: :runtime
134
152
  prerelease: false
135
153
  version_requirements: !ruby/object:Gem::Requirement
154
+ none: false
136
155
  requirements:
137
156
  - - ~>
138
157
  - !ruby/object:Gem::Version
@@ -140,6 +159,7 @@ dependencies:
140
159
  - !ruby/object:Gem::Dependency
141
160
  name: archive
142
161
  requirement: !ruby/object:Gem::Requirement
162
+ none: false
143
163
  requirements:
144
164
  - - '='
145
165
  - !ruby/object:Gem::Version
@@ -147,6 +167,7 @@ dependencies:
147
167
  type: :runtime
148
168
  prerelease: false
149
169
  version_requirements: !ruby/object:Gem::Requirement
170
+ none: false
150
171
  requirements:
151
172
  - - '='
152
173
  - !ruby/object:Gem::Version
@@ -154,6 +175,7 @@ dependencies:
154
175
  - !ruby/object:Gem::Dependency
155
176
  name: buff-config
156
177
  requirement: !ruby/object:Gem::Requirement
178
+ none: false
157
179
  requirements:
158
180
  - - ~>
159
181
  - !ruby/object:Gem::Version
@@ -161,6 +183,7 @@ dependencies:
161
183
  type: :runtime
162
184
  prerelease: false
163
185
  version_requirements: !ruby/object:Gem::Requirement
186
+ none: false
164
187
  requirements:
165
188
  - - ~>
166
189
  - !ruby/object:Gem::Version
@@ -168,6 +191,7 @@ dependencies:
168
191
  - !ruby/object:Gem::Dependency
169
192
  name: octokit
170
193
  requirement: !ruby/object:Gem::Requirement
194
+ none: false
171
195
  requirements:
172
196
  - - ~>
173
197
  - !ruby/object:Gem::Version
@@ -175,6 +199,7 @@ dependencies:
175
199
  type: :runtime
176
200
  prerelease: false
177
201
  version_requirements: !ruby/object:Gem::Requirement
202
+ none: false
178
203
  requirements:
179
204
  - - ~>
180
205
  - !ruby/object:Gem::Version
@@ -182,6 +207,7 @@ dependencies:
182
207
  - !ruby/object:Gem::Dependency
183
208
  name: semverse
184
209
  requirement: !ruby/object:Gem::Requirement
210
+ none: false
185
211
  requirements:
186
212
  - - ~>
187
213
  - !ruby/object:Gem::Version
@@ -189,66 +215,11 @@ dependencies:
189
215
  type: :runtime
190
216
  prerelease: false
191
217
  version_requirements: !ruby/object:Gem::Requirement
218
+ none: false
192
219
  requirements:
193
220
  - - ~>
194
221
  - !ruby/object:Gem::Version
195
222
  version: '1.0'
196
- - !ruby/object:Gem::Dependency
197
- name: bundler
198
- requirement: !ruby/object:Gem::Requirement
199
- requirements:
200
- - - ~>
201
- - !ruby/object:Gem::Version
202
- version: '1.3'
203
- type: :development
204
- prerelease: false
205
- version_requirements: !ruby/object:Gem::Requirement
206
- requirements:
207
- - - ~>
208
- - !ruby/object:Gem::Version
209
- version: '1.3'
210
- - !ruby/object:Gem::Dependency
211
- name: thor
212
- requirement: !ruby/object:Gem::Requirement
213
- requirements:
214
- - - ~>
215
- - !ruby/object:Gem::Version
216
- version: '0.18'
217
- type: :development
218
- prerelease: false
219
- version_requirements: !ruby/object:Gem::Requirement
220
- requirements:
221
- - - ~>
222
- - !ruby/object:Gem::Version
223
- version: '0.18'
224
- - !ruby/object:Gem::Dependency
225
- name: chef-zero
226
- requirement: !ruby/object:Gem::Requirement
227
- requirements:
228
- - - ~>
229
- - !ruby/object:Gem::Version
230
- version: '1.5'
231
- type: :development
232
- prerelease: false
233
- version_requirements: !ruby/object:Gem::Requirement
234
- requirements:
235
- - - ~>
236
- - !ruby/object:Gem::Version
237
- version: '1.5'
238
- - !ruby/object:Gem::Dependency
239
- name: octokit
240
- requirement: !ruby/object:Gem::Requirement
241
- requirements:
242
- - - ~>
243
- - !ruby/object:Gem::Version
244
- version: '2.6'
245
- type: :development
246
- prerelease: false
247
- version_requirements: !ruby/object:Gem::Requirement
248
- requirements:
249
- - - ~>
250
- - !ruby/object:Gem::Version
251
- version: '2.6'
252
223
  description: Berkshelf dependency API server
253
224
  email:
254
225
  - jamie@vialstudios.com
@@ -258,51 +229,41 @@ executables:
258
229
  extensions: []
259
230
  extra_rdoc_files: []
260
231
  files:
261
- - .gitignore
262
- - .ruby-version
263
- - .travis.yml
264
232
  - CHANGELOG.md
265
- - CONTRIBUTING.md
266
- - Gemfile
267
- - Guardfile
268
- - LICENSE
269
233
  - README.md
270
- - Thorfile
271
- - berkshelf-api.gemspec
272
- - bin/berks-api
273
- - lib/berkshelf-api.rb
274
- - lib/berkshelf/api.rb
234
+ - LICENSE
275
235
  - lib/berkshelf/api/application.rb
276
- - lib/berkshelf/api/cache_builder.rb
277
- - lib/berkshelf/api/cache_builder/worker.rb
278
236
  - lib/berkshelf/api/cache_builder/worker/chef_server.rb
279
237
  - lib/berkshelf/api/cache_builder/worker/file_store.rb
280
238
  - lib/berkshelf/api/cache_builder/worker/github.rb
281
239
  - lib/berkshelf/api/cache_builder/worker/opscode.rb
240
+ - lib/berkshelf/api/cache_builder/worker.rb
241
+ - lib/berkshelf/api/cache_builder.rb
282
242
  - lib/berkshelf/api/cache_manager.rb
283
243
  - lib/berkshelf/api/config.rb
284
- - lib/berkshelf/api/core_ext.rb
285
244
  - lib/berkshelf/api/core_ext/pathname.rb
245
+ - lib/berkshelf/api/core_ext.rb
286
246
  - lib/berkshelf/api/cucumber.rb
287
247
  - lib/berkshelf/api/dependency_cache.rb
288
- - lib/berkshelf/api/endpoint.rb
289
248
  - lib/berkshelf/api/endpoint/v1.rb
249
+ - lib/berkshelf/api/endpoint.rb
290
250
  - lib/berkshelf/api/errors.rb
291
251
  - lib/berkshelf/api/generic_server.rb
292
252
  - lib/berkshelf/api/logging.rb
293
- - lib/berkshelf/api/mixin.rb
294
253
  - lib/berkshelf/api/mixin/services.rb
254
+ - lib/berkshelf/api/mixin.rb
295
255
  - lib/berkshelf/api/rack_app.rb
296
256
  - lib/berkshelf/api/remote_cookbook.rb
297
257
  - lib/berkshelf/api/rest_gateway.rb
298
- - lib/berkshelf/api/rspec.rb
299
258
  - lib/berkshelf/api/rspec/server.rb
300
- - lib/berkshelf/api/site_connector.rb
259
+ - lib/berkshelf/api/rspec.rb
301
260
  - lib/berkshelf/api/site_connector/opscode.rb
261
+ - lib/berkshelf/api/site_connector.rb
302
262
  - lib/berkshelf/api/srv_ctl.rb
303
263
  - lib/berkshelf/api/version.rb
264
+ - lib/berkshelf/api.rb
265
+ - lib/berkshelf-api.rb
304
266
  - spec/fixtures/cookbooks/example_cookbook/metadata.rb
305
- - spec/fixtures/reset.pem
306
267
  - spec/spec_helper.rb
307
268
  - spec/support/actor_mocking.rb
308
269
  - spec/support/chef_server.rb
@@ -324,35 +285,38 @@ files:
324
285
  - spec/unit/berkshelf/api/rest_gateway_spec.rb
325
286
  - spec/unit/berkshelf/api/site_connector/opscode_spec.rb
326
287
  - spec/unit/berkshelf/api/srv_ctl_spec.rb
327
- - tasks/build_gem.rb
288
+ - bin/berks-api
328
289
  homepage: https://github.com/berkshelf/berkshelf-api
329
290
  licenses:
330
291
  - Apache 2.0
331
- metadata: {}
332
292
  post_install_message:
333
293
  rdoc_options: []
334
294
  require_paths:
335
295
  - lib
336
296
  required_ruby_version: !ruby/object:Gem::Requirement
297
+ none: false
337
298
  requirements:
338
- - - '>='
299
+ - - ! '>='
339
300
  - !ruby/object:Gem::Version
340
301
  version: 1.9.3
341
302
  required_rubygems_version: !ruby/object:Gem::Requirement
303
+ none: false
342
304
  requirements:
343
- - - '>'
305
+ - - ! '>='
344
306
  - !ruby/object:Gem::Version
345
- version: 1.3.1
307
+ version: '0'
308
+ segments:
309
+ - 0
310
+ hash: 212518528619481929
346
311
  requirements: []
347
312
  rubyforge_project:
348
- rubygems_version: 2.0.14
313
+ rubygems_version: 1.8.23
349
314
  signing_key:
350
- specification_version: 4
315
+ specification_version: 3
351
316
  summary: A server which indexes cookbooks from various sources and hosts it over a
352
317
  REST API
353
318
  test_files:
354
319
  - spec/fixtures/cookbooks/example_cookbook/metadata.rb
355
- - spec/fixtures/reset.pem
356
320
  - spec/spec_helper.rb
357
321
  - spec/support/actor_mocking.rb
358
322
  - spec/support/chef_server.rb
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 35fe7a7e1966af33f082d0c1ae1e1732e5891aab
4
- data.tar.gz: 6404341b2e51593475c2cf156d9923986aa7f090
5
- SHA512:
6
- metadata.gz: 046e40ccf541a7c7c1f425bfd4aa09af5341d812e2540e18a50079c562a0c1840f4968756ac9f6dcaa6baa735dc2574f9734398eac4d71d923d44f5bbd547c26
7
- data.tar.gz: b0779aaa43078a5231f780231a40cf312f274bd390c0857a3429ff121cbf48813a78c8f3cf3ccc6e482dfe82eed058f9dcc0b51660afc8421f1cf6354cb3ee25
data/.gitignore DELETED
@@ -1,18 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
18
- /tags
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 2.0.0-p353
data/.travis.yml DELETED
@@ -1,17 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 1.9.3
4
- - 2.0.0
5
- - 2.1
6
- notifications:
7
- irc:
8
- channels:
9
- - "irc.freenode.org#berkshelf"
10
- skip_join: true
11
- use_notice: true
12
- before_install:
13
- - sudo apt-get install -qq libarchive12 libarchive-dev
14
- before_script:
15
- - git config --global user.email "ci@berkshelf.com"
16
- - git config --global user.name "Berkshelf"
17
- script: 'bundle exec thor spec'
data/CONTRIBUTING.md DELETED
@@ -1,33 +0,0 @@
1
- # Contributing
2
-
3
- ## Developing
4
-
5
- If you'd like to submit a patch:
6
-
7
- 1. Fork the project.
8
- 2. Make your feature addition or bug fix.
9
- 3. Add [tests](#testing) for it. This is important so that it isn't broken in a
10
- future version unintentionally.
11
- 4. Commit. **Do not touch any unrelated code, such as the gemspec or version.**
12
- If you must change unrelated code, do it in a commit by itself, so that it
13
- can be ignored.
14
- 5. Send a pull request.
15
-
16
- ## Testing
17
-
18
- ### Install prerequisites
19
-
20
- Install the latest version of [Bundler](http://gembundler.com)
21
-
22
- $ gem install bundler
23
-
24
- Clone the project
25
-
26
- $ git clone git://github.com/berkshelf/berkshelf-api.git
27
-
28
- and run:
29
-
30
- $ cd berkshelf
31
- $ bundle install
32
-
33
- Bundler will install all gems and their dependencies required for testing and developing.
data/Gemfile DELETED
@@ -1,38 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
-
5
- group :development do
6
- gem 'coolline'
7
- gem 'fuubar', '~> 1.1'
8
- gem 'redcarpet', platforms: :ruby
9
- gem 'yard'
10
-
11
- gem 'guard', '~> 1.8'
12
- gem 'guard-rspec'
13
- gem 'guard-spork', platforms: :ruby
14
-
15
- require 'rbconfig'
16
-
17
- if RbConfig::CONFIG['target_os'] =~ /darwin/i
18
- gem 'growl', require: false
19
- gem 'rb-fsevent', require: false
20
-
21
- if `uname`.strip == 'Darwin' && `sw_vers -productVersion`.strip >= '10.8'
22
- gem 'terminal-notifier-guard', '~> 1.5.3', require: false
23
- end rescue Errno::ENOENT
24
- elsif RbConfig::CONFIG['target_os'] =~ /linux/i
25
- gem 'libnotify', require: false
26
- gem 'rb-inotify', require: false
27
- elsif RbConfig::CONFIG['target_os'] =~ /mswin|mingw/i
28
- gem 'rb-notifu', '>= 0.0.4', require: false
29
- gem 'wdm', require: false
30
- gem 'win32console', require: false
31
- end
32
- end
33
-
34
- group :development, :test do
35
- gem 'rack-test'
36
- gem 'rspec', '~> 2.13'
37
- gem 'spork', '~> 0.9'
38
- end
data/Guardfile DELETED
@@ -1,14 +0,0 @@
1
- notification :off
2
-
3
- guard 'spork' do
4
- watch('Gemfile')
5
- watch('spec/spec_helper.rb') { :rspec }
6
- watch(%r{^spec/support/.+\.rb$}) { :rspec }
7
- end
8
-
9
- guard 'rspec', cli: "--color --drb --format Fuubar", all_on_start: false, all_after_pass: false do
10
- watch(%r{^spec/unit/.+_spec\.rb$})
11
-
12
- watch(%r{^lib/(.+)\.rb$}) { |m| "spec/unit/#{m[1]}_spec.rb" }
13
- watch('spec/spec_helper.rb') { "spec" }
14
- end
data/Thorfile DELETED
@@ -1,94 +0,0 @@
1
- # encoding: utf-8
2
- $:.push File.expand_path("../lib", __FILE__)
3
- $:.push File.expand_path("../tasks", __FILE__)
4
-
5
- require 'bundler'
6
- require 'bundler/setup'
7
- require 'thor'
8
- require 'berkshelf-api'
9
- require 'build_gem'
10
- require 'octokit'
11
-
12
- class Default < Thor
13
- include Thor::Actions
14
- namespace "build"
15
- default_task :all
16
-
17
- GITHUB_ORG_REGEX = /(git\@github.com\:|https\:\/\/github.com\/)(.+).git/.freeze
18
- PKG_DIR = File.expand_path("../pkg", __FILE__).freeze
19
- VENDOR_DIR = File.expand_path("../vendor", __FILE__).freeze
20
- PROJECT_DIR = File.dirname(__FILE__)
21
-
22
- desc "all", "clean, package, and release to Github"
23
- def all
24
- clean
25
- package
26
- release
27
- end
28
-
29
- desc "clean", "clean the packaging directory"
30
- def clean
31
- say "cleaning..."
32
- [ PKG_DIR, VENDOR_DIR ].each do |dir|
33
- FileUtils.rm_rf(dir)
34
- FileUtils.mkdir_p(dir)
35
- end
36
- end
37
-
38
- desc "package", "package the software for release"
39
- def package
40
- say "packaging..."
41
- empty_directory PKG_DIR
42
- invoke "gem:build"
43
- inside(File.dirname(__FILE__)) do
44
- run "bundle package --all"
45
- files = `git ls-files | grep -v spec`.split("\n")
46
- run("tar -czf #{archive_out} #{files.join(' ')} vendor")
47
- end
48
- end
49
-
50
- method_option :github_token,
51
- type: :string,
52
- default: ENV["GITHUB_TOKEN"],
53
- required: true,
54
- aliases: "-t",
55
- banner: "TOKEN"
56
- desc "release", "release the packaged software to Github"
57
- def release
58
- say "releasing..."
59
- invoke "gem:release"
60
-
61
- begin
62
- release = github_client.create_release(repository, version)
63
- rescue Octokit::UnprocessableEntity
64
- release = github_client.releases(repository).find { |release| release[:tag_name] == version }
65
- end
66
-
67
- say "Uploading #{File.basename(archive_out)} to Github..."
68
- github_client.upload_asset(release[:url], archive_out, name: "berkshelf-api.tar.gz",
69
- content_type: "application/x-tar")
70
- end
71
-
72
- private
73
-
74
- def archive_out
75
- File.join(PKG_DIR, "berkshelf-api-#{version}.tar.gz")
76
- end
77
-
78
- def github_client
79
- @github_client ||= Octokit::Client.new(access_token: options[:github_token])
80
- end
81
-
82
- def repository
83
- @repository ||= extract_repository
84
- end
85
-
86
- def extract_repository
87
- _, repository = `git remote show origin | grep Push`.scan(GITHUB_ORG_REGEX).first
88
- repository
89
- end
90
-
91
- def version
92
- @version ||= `git describe`.chomp
93
- end
94
- end
@@ -1,40 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'berkshelf/api/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = "berkshelf-api"
8
- spec.version = Berkshelf::API::VERSION
9
- spec.authors = ["Jamie Winsor", "Andrew Garson"]
10
- spec.email = ["jamie@vialstudios.com", "agarson@riotgames"]
11
- spec.description = %q{Berkshelf dependency API server}
12
- spec.summary = %q{A server which indexes cookbooks from various sources and hosts it over a REST API}
13
- spec.homepage = "https://github.com/berkshelf/berkshelf-api"
14
- spec.license = "Apache 2.0"
15
-
16
- spec.files = `git ls-files`.split($/)
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(%r{^(spec|features)/})
19
- spec.require_paths = ["lib"]
20
- spec.required_ruby_version = ">= 1.9.3"
21
-
22
- spec.add_dependency 'ridley', '~> 3.0'
23
- spec.add_dependency 'celluloid', '~> 0.16.0.pre'
24
- spec.add_dependency 'reel', '>= 0.4.0'
25
- spec.add_dependency 'http', '~> 0.5.0' # explicitly lock because reel's is too lax
26
- spec.add_dependency 'grape', '~> 0.6'
27
- spec.add_dependency 'grape-msgpack', '~> 0.1'
28
- spec.add_dependency 'hashie', '>= 2.0.4'
29
- spec.add_dependency 'faraday', '~> 0.9.0'
30
- spec.add_dependency 'retryable', '~> 1.3.3'
31
- spec.add_dependency 'archive', '= 0.0.6'
32
- spec.add_dependency 'buff-config', '~> 0.1'
33
- spec.add_dependency 'octokit', '~> 2.6'
34
- spec.add_dependency 'semverse', '~> 1.0'
35
-
36
- spec.add_development_dependency 'bundler', '~> 1.3'
37
- spec.add_development_dependency 'thor', '~> 0.18'
38
- spec.add_development_dependency 'chef-zero', '~> 1.5'
39
- spec.add_development_dependency "octokit", '~> 2.6'
40
- end
@@ -1,27 +0,0 @@
1
- -----BEGIN RSA PRIVATE KEY-----
2
- MIIEpQIBAAKCAQEAyyUMqrTh1IzKOyE0fvXEWC7m0AdMI8/dr9JJMUKtK9vhhP0w
3
- rm6m95GoybFM2IRryukFsAxpcir3M1ungTU3Smq4MshhMJ7H9FbvZVfQoknTbCsR
4
- w6scg2fBepxT2+fcGRufr8nAh92M3uUkN9bMMTAkt18D4br6035YvdmvHDJERxYq
5
- ByA/720AdI9VNSIvw+x8oqsIkXLEdF6dgT9MpG5iWZT66pbFsnNZpRrd4/bFNWBY
6
- +13aOqdmjiTL08/EdgQFKMT5qimpos1TuQhA7mwInOjQgzVu9uCDkMiYejaLbUz0
7
- lGyS8y4uxu6z2hA900Jg/z+JJuXymH5QAX3GZQIDAQABAoIBAQCtFXkwbYPI1Nht
8
- /wG6du5+8B9K+hy+mppY9wPTy+q+Zs9Ev3Fd/fuXDm1QxBckl9c8AMUO1dR2KPOM
9
- t7gFl/DvH/SnmCFvCqp1nijFIUgrLlnMXPn6zG0z7RBlxpKQ2IGohufNIEpBuNwR
10
- Ag2U4hgChPGTp4ooJ2cVEh7MS5AupYPDbC62dWEdW68aRTWhh2BCGAWBb6s16yl9
11
- aZ7+OcxW2eeRJVbRfLkLQEDutJZi5TfOEn5QPc86ZgxcCmnvwulnpnhpz6QCkgQt
12
- OP/+KRqDhWSDVCFREVT30fUIj1EWvK7NFWASZQxueZStuIvMEKeFebYfrbHxRFzJ
13
- UmaxJnWVAoGBAPbKLpeky6ClccBaHHrCgjzakoDfGgyNKDQ9g753lJxB8nn7d9X4
14
- HQpkWpfqAGFRZp1hI2H+VxyUXLh2Ob5OUeTm0OZJll35vycOaQEtfgIScXTcvzn0
15
- 16J9eX2YY4wIHEEMh85nKk8BEGgiNP5nuEviHocCeYXoi/Zq3+qj6v63AoGBANK5
16
- 4nyi6LBQFs1CUc7Sh7vjtOE3ia7KeRmOr7gS6QhS3iK3Oa8FzBLJ6ETjN2a9Bw8N
17
- cF7I/+cr4s7DUJjxdb53D/J6TVSYORNNCUVnpF/uB2LqqdXDYmpO0PvFkXFoYTnJ
18
- kaLAN8uCoLKr6JH9tq3DfXIfDIHiZ+BOIvI070fDAoGBAMDyzEDFmGruTyRLj66u
19
- +rJnVVmqlKwxhLhrS+CTj74nlVOnt0a0KMhiM65IRqnPwcHUG5zXBPaUTHXwAS93
20
- /nFPwQ37hLPOupPnoVNJZRZrowbyPBQtCJbDMURv64ylHqoBCQDoCd0hANnZvMMX
21
- BrFVhfaaibaXXS542r6SD/27AoGAECadHE5kJTdOOBcwK/jo3Fa8g1J9Y/8yvum3
22
- wBT69V9clS6T5j08geglvDnqAh7UzquKBEnFi1NKw+wmXkKLcrivaTdEfApavYb3
23
- AfHKoGue907jC3Y5Mcquq81ds2J7qTEwz1eKLzfo1yjj32ShvrmwALIuhDn1GjUC
24
- 6qtx938CgYEApEqvu0nocR1jmVVlLe5uKQBj949dh6NGq0R5Lztz6xufaTYzMC3d
25
- AZG9XPPjRqSLs+ylSXJpwHEwoeyLFDaJcO+GgW1/ut4MC2HppOx6aImwDdXMHUWR
26
- KYGIFF4AU/IYoBcanAm4s078EH/Oz01B2c7tR2TqabisPgLYe7PXSCw=
27
- -----END RSA PRIVATE KEY-----
data/tasks/build_gem.rb DELETED
@@ -1,34 +0,0 @@
1
- require 'thor'
2
-
3
- class BuildGem < Thor
4
- require 'thor/rake_compat'
5
- namespace "gem"
6
-
7
- include Thor::RakeCompat
8
- Bundler::GemHelper.install_tasks
9
-
10
- desc "build", "Build berkshelf-api-#{Berkshelf::API::VERSION}.gem into the pkg directory"
11
- def build
12
- Rake::Task["build"].execute
13
- end
14
-
15
- desc "install", "Build and install berkshelf-api-#{Berkshelf::API::VERSION}.gem into system gems"
16
- def install
17
- Rake::Task["install"].execute
18
- end
19
-
20
- desc "release", "Create tag v#{Berkshelf::API::VERSION} and build and push berkshelf-api-#{Berkshelf::API::VERSION}.gem to Rubygems"
21
- def release
22
- Rake::Task["release"].execute
23
- end
24
-
25
- class Spec < Thor
26
- namespace :spec
27
- default_task :all
28
-
29
- desc "all", "run all tests"
30
- def all
31
- exec "rspec --color --format=documentation spec"
32
- end
33
- end
34
- end