appfuel-service 0.2.4 → 0.2.5

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: fb9c52266aeb457bbac931ceeb516a5b9138f010
4
- data.tar.gz: b9b17c25d3dff7abd4fed35776b0994008703d2e
3
+ metadata.gz: a7b70699b1814997385b6169db4c1bba1107f0e7
4
+ data.tar.gz: f23d9a6d383991d3b23878e08ac82e5c005a86b3
5
5
  SHA512:
6
- metadata.gz: 815207b73d6912436bfda93a36f93bdfdc1a6f9edb7c8a6fde437fe42fbc383520092192b8074e23b123cc8720d532a2e07096c3db9b4a1ce809ee9a2bbf04ec
7
- data.tar.gz: 12162eb3b815f2e490645bd5492434589cd2c00f9b37412361fbe269e85962fa526a63a3b61de54ef3c00fd74f5594d631c648e268ed0a97618fc5a9ce4dc2d5
6
+ metadata.gz: d59e7e4dcf994f26793bd64634162dfc2d96b54c111301b8f4711dc7caa501ccf71f4e094a7cf29842005a0e8cd5a38187e85481f7ec85c1eb968a66c4e72637
7
+ data.tar.gz: 5f9333bdb560b5018d0bd666cb7e7d4920ccdf4149beb4d3dade2470f977c0ac6bddbecdae660022512fc7b6d3df006425b86dbbd96a3ccbfc5f3670435281ab
@@ -1,5 +1,5 @@
1
1
  module Appfuel
2
2
  module Service
3
- VERSION = "0.2.4"
3
+ VERSION = "0.2.5"
4
4
  end
5
5
  end
@@ -35,6 +35,8 @@ module Appfuel
35
35
  # @return [Appfuel::Response]
36
36
  def work_with_params(msg, delivery_info, properties)
37
37
  container = app_container
38
+ logger = container[:logger]
39
+ logger.info "[queue worker] accepting msg"
38
40
  request = create_request(msg, delivery_info, properties)
39
41
  response = dispatch(request, container)
40
42
  if response.failure?
@@ -43,6 +45,7 @@ module Appfuel
43
45
  end
44
46
 
45
47
  if request.rpc?
48
+ logger.info "[queue worker] returning rpc msg"
46
49
  publish_rpc(request, response)
47
50
  end
48
51
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appfuel-service
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Scott-Buccleuch