totoro 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5cfce91cd24bbe12ecce0b53b008b68b50a2d03421bf7187251d4bc9c44618fe
4
- data.tar.gz: abc4e29fbd238daf5ee9420d8f0519e418ae7566de3491b8a24a4eb75a12fe3d
3
+ metadata.gz: a926daef321f70159db769459276589c7138eaf27127ca1845c7abd2997e67a4
4
+ data.tar.gz: 1da2986fe327d6a57695f264961d593bc88859a6eeb55677ae9ea6f8f839a58d
5
5
  SHA512:
6
- metadata.gz: f68d00fe31d94109a758762a4b22610d680f99a554b1d3e7628bf9173f792c2bf1fb7566ba7890f315c0efd32f18591254c9ac0ae10f099dafeb998facbd4711
7
- data.tar.gz: c3baf11009fd61264982736441f4bc17edc47ae8dadc91de39aa24c1c5bdb06a054853ee705b662c0149a070df9eb1ca2342bb67cbfbeca2920f98418662a459
6
+ metadata.gz: 4bf433447b6833bc64d511dee29816e94987e47f16b84dca726ec638cb5eea51aa3a32b974e7c9fb59de03a587522bdd7cee6b4f26849f195232a21b96080ce6
7
+ data.tar.gz: 80bc27d3e4be414e3fc208d81948538dda15065b4a242bc6a7d0b4f2f524c220f9d6d5b0da2bc72331f4de87e7aae34c0d46c2fb4a0cc3a465ffd8838de22970
@@ -25,7 +25,6 @@ module Totoro
25
25
  def enqueue(id, payload)
26
26
  queue = channel.queue(*config.queue(id))
27
27
  payload = JSON.dump payload
28
- Rails.logger.info "#{queue.name} Send: #{payload}"
29
28
  exchange.publish(payload, routing_key: queue.name)
30
29
  end
31
30
 
@@ -19,7 +19,6 @@ module Totoro
19
19
 
20
20
  def execute
21
21
  @queue_class.subscribe(@queue_name) do |delivery_info, metadata, payload|
22
- Rails.logger.info "#{@queue_name} Received: #{payload}"
23
22
  payload_hash = JSON.parse(payload).with_indifferent_access
24
23
  process(payload_hash, metadata, delivery_info)
25
24
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Totoro
4
- VERSION = '0.2.2'
4
+ VERSION = '0.2.3'
5
5
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: totoro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ShuHui18
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-17 00:00:00.000000000 Z
11
+ date: 2018-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bunny
@@ -97,6 +97,7 @@ files:
97
97
  - lib/totoro/config.rb
98
98
  - lib/totoro/initializer.rb
99
99
  - lib/totoro/version.rb
100
+ - pkg/totoro-0.2.2.gem
100
101
  - spec/spec_helper.rb
101
102
  - spec/totoro_spec.rb
102
103
  - test/totoro_test/Gemfile