alephant-broker 1.1.1 → 1.1.2

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: 6d7dbbfe2023708095fe2f28cd6c85e55c1b8d73
4
- data.tar.gz: ffc1205fcacde38bc5c28210f798eb2d17c5c41d
3
+ metadata.gz: 05e727c81504161478d91abebc8e415bc1435894
4
+ data.tar.gz: 82c5a0bbaf31728ebd2de89d1deed4638613020f
5
5
  SHA512:
6
- metadata.gz: c8295834e37a3a4bc6be091b99d5de8f3bdb6fc60b3b5cff9af8857cfb7611e229c863d62397e9899d5a6689514981058bfe0e8ea515554a4ea2a67a3270b046
7
- data.tar.gz: 27142031810701e294e98805c79a592ae2e2343767434382b2e15ba5abb24cfb43ef2962b608359289f635a166c98c8b476fd1846a40718caaaa5f6f72216d88
6
+ metadata.gz: 83a79c1625e37169a333af0d64a8924abadf5a447ed582320965ca2d22a746334e987416af8826fb1d6c4d02a024d3470d328726e790bc50befbcd36f0b71530
7
+ data.tar.gz: 80580f0f138590006d4605c310a88fa5d5d59436fe8559f2fde77f8a5097fd93b7ec566107d561da53cbebd987bdcdced8f0b857cfd2f81cf222e90616a25cd7
@@ -1,5 +1,5 @@
1
1
  module Alephant
2
2
  module Broker
3
- VERSION = "1.1.1"
3
+ VERSION = "1.1.2"
4
4
  end
5
5
  end
data/spec/rack_spec.rb CHANGED
@@ -20,16 +20,11 @@ describe 'Broker Rack Application' do
20
20
  .and_return(cache_hash)
21
21
 
22
22
  allow_any_instance_of(Alephant::Broker::Component)
23
- .to receive(:content)
24
- .and_return(cache_hash[:content])
25
-
26
- allow_any_instance_of(Alephant::Broker::Component)
27
- .to receive(:content_type)
28
- .and_return('foo/bar')
29
-
30
- allow_any_instance_of(Alephant::Broker::Component)
31
- .to receive(:version)
32
- .and_return(1)
23
+ .to receive_messages(
24
+ :content => cache_hash[:content],
25
+ :content_type => 'foo/bar',
26
+ :version => 1
27
+ )
33
28
 
34
29
  allow_any_instance_of(Alephant::Broker::Response::Asset)
35
30
  .to receive(:status)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alephant-broker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Jack