reactor 0.9.0 → 0.9.1

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: 6bbad3c2e6c18e53fd80a1c434aa616b24fca5bf
4
- data.tar.gz: 990dc1373ec901fecedebd5f8f9878901a85bc7f
3
+ metadata.gz: 5a13c2ae63828aa90ca4f15267e291f92a6ca0ee
4
+ data.tar.gz: 32a5e12b5789a4f73cbfa26795c2a5e61de19f99
5
5
  SHA512:
6
- metadata.gz: 9047b728853f35fe0fce8020942d5359a8d52ab69232d39e2011628b73607f9b96c0b902f7c94bcc99e91fff8a77f1c734352a9ac9de35aa441885c5a2f6ee8b
7
- data.tar.gz: b46fc1ffc3de6e48e82998ba0134d6532b3a0c91ee448b554eb75a04fc15f91a8950ac9911c91cbc14a689a5e9e497b369189fda01daa3c908efabe4183e3096
6
+ metadata.gz: 3ada144fdbe05103ae052c6a7e09eec202d09526fabc82a6f36defc596a0d78564c5c0d470a90327ee7a5b2d467536cb621a5f0a9735198c1039be7a86edb605
7
+ data.tar.gz: bb1d0ce4bb234cf1b71b775afd7511bfd08aaae176da7c24377767022e36e5032c612f180a137f0bf06e39748f835f05742b7928075c9803f72bf39b89b93acc
data/lib/reactor/event.rb CHANGED
@@ -15,7 +15,7 @@ class Reactor::Event
15
15
  data = data.with_indifferent_access
16
16
 
17
17
  if data['actor_type']
18
- actor = data["actor_type"].constantize.find(data["actor_id"])
18
+ actor = data["actor_type"].constantize.unscoped.find(data["actor_id"])
19
19
  publishable_event = actor.class.events[name.to_sym]
20
20
  ifarg = publishable_event[:if] if publishable_event
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module Reactor
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reactor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - winfred
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-12-13 00:00:00.000000000 Z
14
+ date: 2014-12-15 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: sidekiq
@@ -216,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
216
216
  version: '0'
217
217
  requirements: []
218
218
  rubyforge_project:
219
- rubygems_version: 2.2.2
219
+ rubygems_version: 2.4.3
220
220
  signing_key:
221
221
  specification_version: 4
222
222
  summary: Sidekiq/ActiveRecord pubsub lib