action_subscriber 5.0.2-java → 5.0.3-java

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
- SHA1:
3
- metadata.gz: 550970ebdec43b0df87c19be114cefb0891b5a30
4
- data.tar.gz: e86e9de5eeb3967c93241803b71a8f8669a8f80d
2
+ SHA256:
3
+ metadata.gz: 0ff5d8d898733d8be933d9ea638d7a6ec5b03455250d372a4e8cb48cab5382aa
4
+ data.tar.gz: 53857af0efe14731fe62370abe878d69950ea72135c1b84a92095a3fd889d7ae
5
5
  SHA512:
6
- metadata.gz: b9de96956df321e997410bd523e6a909e202de9bde46ce33bce7a2c46147f3393bdc5c2d0583e55184836c7434537a3aa42098befe5b066c75eefbe89d2d5012
7
- data.tar.gz: de52f40b789f9b0d97c3006ed21feaed14ceb96eaaa740b332fd8f4b844205334997dc5acfaa4c4c5dafeb944c8b83e646034732d7fd188c7f011d5822cad5e9
6
+ metadata.gz: 3fa0fb22c9ebe72d2db740dea1d57dda786d7b26780baa2445de274109beb9f49f0b1f916a110d8543d4a6bfd1366fe0b059288579544277eff2b75409188361
7
+ data.tar.gz: dcab7598710c67481a6809d17a5e1f1165fabceb6d10d74792287e773dc2bdd7feac5456b4b861ac9674befb12dbdcebe8b7f9aa7a357b64d0eba08ac8d73f37
@@ -8,9 +8,11 @@ module ActionSubscriber
8
8
  end
9
9
 
10
10
  def call(env)
11
- logger.info "START #{env.message_id} #{env.subscriber}##{env.action}"
12
- env.subscriber.run_action_with_filters(env, env.action)
13
- logger.info "FINISHED #{env.message_id}"
11
+ logger.info { "START #{env.message_id} #{env.subscriber}##{env.action}" }
12
+ ::ActiveSupport::Notifications.instrument "process_event.action_subscriber", :subscriber => env.subscriber.to_s, :routing_key => env.routing_key, :queue => env.queue do
13
+ env.subscriber.run_action_with_filters(env, env.action)
14
+ end
15
+ logger.info { "FINISHED #{env.message_id}" }
14
16
  end
15
17
  end
16
18
  end
@@ -58,10 +58,8 @@ module ActionSubscriber
58
58
 
59
59
  def run_env(env, threadpool)
60
60
  logger.info "RECEIVED #{env.message_id} from #{env.queue}"
61
- ::ActiveSupport::Notifications.instrument "process_event.action_subscriber", :subscriber => env.subscriber.to_s, :routing_key => env.routing_key, :queue => env.queue do
62
- threadpool << lambda do
63
- ::ActionSubscriber.config.middleware.call(env)
64
- end
61
+ threadpool << lambda do
62
+ ::ActionSubscriber.config.middleware.call(env)
65
63
  end
66
64
  end
67
65
  end
@@ -1,3 +1,3 @@
1
1
  module ActionSubscriber
2
- VERSION = "5.0.2"
2
+ VERSION = "5.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_subscriber
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.2
4
+ version: 5.0.3
5
5
  platform: java
6
6
  authors:
7
7
  - Brian Stien
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2017-12-08 00:00:00.000000000 Z
15
+ date: 2017-12-18 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  requirement: !ruby/object:Gem::Requirement
@@ -283,7 +283,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
283
283
  version: '0'
284
284
  requirements: []
285
285
  rubyforge_project:
286
- rubygems_version: 2.6.13
286
+ rubygems_version: 2.6.11
287
287
  signing_key:
288
288
  specification_version: 4
289
289
  summary: ActionSubscriber is a DSL that allows a rails app to consume messages from