alephant-broker 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a1b76434c055f4c00da0b9c3f3d5e890cf214b17
4
- data.tar.gz: 37cf91c81f2defc12f72bb7a294558aa7d132aa7
3
+ metadata.gz: 341b3a28c93cb2149bf047ebd424209f070a5a80
4
+ data.tar.gz: 9807fe38034ce33bc00da51b42ba12c876832979
5
5
  SHA512:
6
- metadata.gz: 1b04c27451fbe768abe05155821acbccb51b0ce85b2dc62aa994466d7e3422ac992542fef5a2cea6c9f0999e8331a500bc7650a81e159a577aa36cbbebb1574b
7
- data.tar.gz: 586130904e241c497b9ce8e4dc01e4cd8a8830c64fdfdecef64ed5e99326d0e7f522bf68d408dc68a6e9daf55a5ee5427e1fb080f1d00a67317046e8412da64a
6
+ metadata.gz: 238a5091870cb856b6d28a869e0b7b75fa03b7d004ebc8abcf7fd80fa10aada0639c4af678635c5a36ee83e998471a35c2a54544c3e9ef91c4c4b374768f3ac5
7
+ data.tar.gz: 71675faff658983114275f34ee1afced6e11666215717c5269906f5083cf18fb497c1235db718ff351fb4428eae9accd22ae923cef5181174542c4243550622f
@@ -30,6 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.add_development_dependency "rake"
31
31
  spec.add_development_dependency "rack-test"
32
32
  spec.add_development_dependency "request_store"
33
+ spec.add_development_dependency "peach"
33
34
 
34
35
  spec.add_runtime_dependency "alephant-lookup"
35
36
  spec.add_runtime_dependency "alephant-cache"
@@ -31,7 +31,7 @@ module Alephant
31
31
  private
32
32
 
33
33
  def cache
34
- @cache ||= Alephant::Cache.new(config[:bucket_id], config[:path])
34
+ @cache ||= Alephant::Cache.new(config[:bucket_base_path], config[:s3_object_path])
35
35
  end
36
36
 
37
37
  def set_error_for(exception, status)
@@ -1,4 +1,5 @@
1
1
  require 'alephant/logger'
2
+ require 'peach'
2
3
 
3
4
  module Alephant
4
5
  module Broker
@@ -21,7 +22,7 @@ module Alephant
21
22
  private
22
23
 
23
24
  def json
24
- get_components.each do |component|
25
+ get_components.peach do |component|
25
26
  id = component['component']
26
27
  options = set_keys_to_symbols component.fetch('options', {})
27
28
 
@@ -1,5 +1,5 @@
1
1
  module Alephant
2
2
  module Broker
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alephant-broker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Jack
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-19 00:00:00.000000000 Z
11
+ date: 2014-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -164,6 +164,20 @@ dependencies:
164
164
  version: '0'
165
165
  prerelease: false
166
166
  type: :development
167
+ - !ruby/object:Gem::Dependency
168
+ name: peach
169
+ version_requirements: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ requirement: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - - '>='
177
+ - !ruby/object:Gem::Version
178
+ version: '0'
179
+ prerelease: false
180
+ type: :development
167
181
  - !ruby/object:Gem::Dependency
168
182
  name: alephant-lookup
169
183
  version_requirements: !ruby/object:Gem::Requirement
@@ -294,4 +308,3 @@ test_files:
294
308
  - spec/rack_spec.rb
295
309
  - spec/response_factory_spec.rb
296
310
  - spec/spec_helper.rb
297
- has_rdoc: