rabbit_feed 2.3.2 → 2.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rabbit_feed/testing_support.rb +3 -2
- data/lib/rabbit_feed/version.rb +1 -1
- data/lib/rabbit_feed.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b176593f03734d7f6bb37fd4e72d4689a40cb08d
|
4
|
+
data.tar.gz: b7bb7cf5c77e4dec54b5eeace384d77a3d459a63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10e31f0644ded6301e9c4f83b3cfe235cde4dd28d2c0e6099443896b804841ca67b498e8aeef9b8e439ed0dcd41e1bf782aca716647b3461a616f364d78b7afc
|
7
|
+
data.tar.gz: 79f60e26e3351022e2d2fed04ed4852d30a6d4da3b950acdd4fb08200e7da5f4e1d348681bf8cee079da6342a2ffc597cfc570d4c8093f495e8ec07de903a376
|
data/Gemfile.lock
CHANGED
@@ -18,8 +18,9 @@ module RabbitFeed
|
|
18
18
|
rspec_config.before :each do
|
19
19
|
|
20
20
|
TestingSupport.published_events = []
|
21
|
-
|
22
|
-
allow(RabbitFeed::ProducerConnection
|
21
|
+
mock_connection = double(:rabbitmq_connection)
|
22
|
+
allow(RabbitFeed::ProducerConnection).to receive(:instance).and_return(mock_connection)
|
23
|
+
allow(mock_connection).to receive(:publish) do |serialized_event, routing_key|
|
23
24
|
TestingSupport.published_events << (Event.deserialize serialized_event)
|
24
25
|
end
|
25
26
|
end
|
data/lib/rabbit_feed/version.rb
CHANGED
data/lib/rabbit_feed.rb
CHANGED
@@ -52,7 +52,7 @@ module RabbitFeed
|
|
52
52
|
def set_defaults
|
53
53
|
self.log = default_logger
|
54
54
|
self.configuration_file_path = 'config/rabbit_feed.yml'
|
55
|
-
self.environment = ENV['RAILS_ENV'] || ENV['RACK_ENV']
|
55
|
+
self.environment = ENV['RAILS_ENV'] || ENV['RACK_ENV'] || 'development'
|
56
56
|
end
|
57
57
|
private :set_defaults
|
58
58
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rabbit_feed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simply Business
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bunny
|