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 +4 -4
- data/lib/reactor/event.rb +1 -1
- data/lib/reactor/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a13c2ae63828aa90ca4f15267e291f92a6ca0ee
|
4
|
+
data.tar.gz: 32a5e12b5789a4f73cbfa26795c2a5e61de19f99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/reactor/version.rb
CHANGED
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.
|
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-
|
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.
|
219
|
+
rubygems_version: 2.4.3
|
220
220
|
signing_key:
|
221
221
|
specification_version: 4
|
222
222
|
summary: Sidekiq/ActiveRecord pubsub lib
|