totoro 0.2.6 → 0.2.7

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: b196deb027e55ec7eaddd4382e1d7cb9ee67cfd63fc8baa80d184bbfdcce345f
4
- data.tar.gz: 266e98865bfe17f0f25cc990d7cb0119862ee16b0d677773552b37e771d9490f
3
+ metadata.gz: 8a87006e56672f580ec7a98a4f8e45c2922d5b763dd64c86f4913bba8b22066d
4
+ data.tar.gz: b4c258b5a9c569a88a039fa2b85efd97681bfb4e2dd3228545cb15de298a1cf8
5
5
  SHA512:
6
- metadata.gz: 0bdab46dcec1f17321d11ad4e21c7ea376f74e5f3b1c129196ac0b473ee037d6775d9845820feb638d5c402e1dfef7103cb3887644ad8a7a2a33681cdd8bf0d9
7
- data.tar.gz: 88bc0257b91e9faaa81896195cf7751cf391eaca197a82208ea04c201c92d07a10c0e1fc2372cda1ed21f3526ce3c1c34df88d4267759c5f31a7c896eeaf2b3d
6
+ metadata.gz: 7ae2f227fc99e4115c13bb020465b0b3c688908c38c311a9154a6a6e64830834bdda67fba63471d6951d690d06dace2f22318816930717bc3708ea21d85b3ede
7
+ data.tar.gz: 83edd4d6e3a5204641a626c94c030285ccfd762efdc5c5e234081d436f75994a528700e13070d8eef2b0cc1de5154892d53da52e7225e44c8ba242e80b8b7b12
@@ -24,6 +24,7 @@ module Totoro
24
24
  # enqueue = publish to direct exchange
25
25
  def enqueue(id, payload)
26
26
  Rails.logger.info "#{queue.name} send message"
27
+ STDOUT.flush
27
28
  queue = channel.queue(*config.queue(id))
28
29
  payload = JSON.dump payload
29
30
  exchange.publish(payload, routing_key: queue.name)
@@ -43,4 +43,4 @@ module Totoro
43
43
  end
44
44
 
45
45
  class NeedQueueNameError < RuntimeError; end
46
- end
46
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Totoro
4
- VERSION = '0.2.6'
4
+ VERSION = '0.2.7'
5
5
  end
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: totoro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - ShuHui18
@@ -98,11 +98,14 @@ files:
98
98
  - lib/totoro/config.rb
99
99
  - lib/totoro/initializer.rb
100
100
  - lib/totoro/version.rb
101
- - pkg/totoro-0.2.2.gem
102
- - pkg/totoro-0.2.3.gem
103
- - pkg/totoro-0.2.4.gem
104
- - pkg/totoro-0.2.5.gem
105
- - pkg/totoro-0.2.6.gem
101
+ - pkg/totoro-0.1.1.gem
102
+ - pkg/totoro-0.1.2.gem
103
+ - pkg/totoro-0.1.3.gem
104
+ - pkg/totoro-0.1.4.gem
105
+ - pkg/totoro-0.1.5.gem
106
+ - pkg/totoro-0.1.6.gem
107
+ - pkg/totoro-0.2.0.gem
108
+ - pkg/totoro-0.2.1.gem
106
109
  - spec/spec_helper.rb
107
110
  - spec/totoro_spec.rb
108
111
  - test/totoro_test/Gemfile
@@ -148,8 +151,6 @@ files:
148
151
  - test/totoro_test/config/spring.rb
149
152
  - test/totoro_test/config/totoro.yml
150
153
  - test/totoro_test/db/seeds.rb
151
- - test/totoro_test/log/development.log
152
- - test/totoro_test/log/production.log
153
154
  - test/totoro_test/public/robots.txt
154
155
  - test/totoro_test/test/test_helper.rb
155
156
  - totoro.gemspec
@@ -173,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
174
  version: '0'
174
175
  requirements: []
175
176
  rubyforge_project:
176
- rubygems_version: 2.7.6
177
+ rubygems_version: 2.7.3
177
178
  signing_key:
178
179
  specification_version: 4
179
180
  summary: tool for rabbitmq
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,2 +0,0 @@
1
- huishu
2
- Listening to the Rabbitmq
@@ -1,2 +0,0 @@
1
- E, [2018-07-23T04:24:19.172785 #25] ERROR -- : huishu
2
- I, [2018-07-23T08:17:35.987092 #20] INFO -- : Listening to the Rabbitmq