promiscuous 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ namespace :promiscuous do
6
6
  require 'em-synchrony'
7
7
 
8
8
  EM.synchrony do
9
- Promiscuous::Loader.load_descriptors :subscribers
9
+ Promiscuous::Loader.load_descriptors :subscribers if defined?(Rails)
10
10
  Promiscuous::AMQP.disconnect
11
11
  Promiscuous::Config.backend = :rubyamqp
12
12
  Promiscuous::AMQP.connect
@@ -1,3 +1,3 @@
1
1
  module Promiscuous
2
- VERSION = '0.8.1'
2
+ VERSION = '0.8.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promiscuous
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -121,8 +121,8 @@ files:
121
121
  - lib/promiscuous/subscriber/polymorphic.rb
122
122
  - lib/promiscuous/subscriber/base.rb
123
123
  - lib/promiscuous/subscriber/mongoid.rb
124
- - lib/promiscuous/subscriber/model.rb
125
124
  - lib/promiscuous/subscriber/upsert.rb
125
+ - lib/promiscuous/subscriber/model.rb
126
126
  - lib/promiscuous/config.rb
127
127
  - lib/promiscuous/amqp.rb
128
128
  - lib/promiscuous/common.rb