totoro 0.2.7 → 0.2.8
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 +4 -4
- data/lib/totoro/base_queue.rb +2 -2
- data/lib/totoro/version.rb +1 -1
- data/pkg/totoro-0.2.2.gem +0 -0
- data/pkg/totoro-0.2.3.gem +0 -0
- data/pkg/totoro-0.2.4.gem +0 -0
- data/pkg/totoro-0.2.5.gem +0 -0
- data/pkg/totoro-0.2.6.gem +0 -0
- data/test/totoro_test/log/development.log +2 -0
- data/test/totoro_test/log/production.log +2 -0
- metadata +9 -10
- data/pkg/totoro-0.1.1.gem +0 -0
- data/pkg/totoro-0.1.2.gem +0 -0
- data/pkg/totoro-0.1.3.gem +0 -0
- data/pkg/totoro-0.1.4.gem +0 -0
- data/pkg/totoro-0.1.5.gem +0 -0
- data/pkg/totoro-0.1.6.gem +0 -0
- data/pkg/totoro-0.2.0.gem +0 -0
- data/pkg/totoro-0.2.1.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4050f12f0d0b3b854dbee66449e2d177044a8738bb54cbe3d364d21b0a44904d
|
|
4
|
+
data.tar.gz: 01d7f0e65151c535a42f19277efc9260de1a1b74474619958f37da2fa4ac61ed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e5d48eb48ae69521259aa6b196418f4779ccd2083d57de1e05864a85562ed67e53f30fac13774aa68632cbb5ac3b5ce74e6805cc1cc38cff34199cd4bb957c0
|
|
7
|
+
data.tar.gz: 23a75d91e17800c247792e9a2c5f12be7dbc3cdbe1028fb0c9ec86fc2b662ddde29ec09033d056223875c26b347e5e6d828e5c9218f1f6f0f02e0215bd92c349
|
data/lib/totoro/base_queue.rb
CHANGED
|
@@ -23,11 +23,11 @@ module Totoro
|
|
|
23
23
|
|
|
24
24
|
# enqueue = publish to direct exchange
|
|
25
25
|
def enqueue(id, payload)
|
|
26
|
-
Rails.logger.info "#{queue.name} send message"
|
|
27
|
-
STDOUT.flush
|
|
28
26
|
queue = channel.queue(*config.queue(id))
|
|
29
27
|
payload = JSON.dump payload
|
|
30
28
|
exchange.publish(payload, routing_key: queue.name)
|
|
29
|
+
Rails.logger.info "send message to #{queue.name}"
|
|
30
|
+
STDOUT.flush
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
def subscribe(id)
|
data/lib/totoro/version.rb
CHANGED
|
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.
|
|
4
|
+
version: 0.2.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ShuHui18
|
|
@@ -98,14 +98,11 @@ files:
|
|
|
98
98
|
- lib/totoro/config.rb
|
|
99
99
|
- lib/totoro/initializer.rb
|
|
100
100
|
- lib/totoro/version.rb
|
|
101
|
-
- pkg/totoro-0.
|
|
102
|
-
- pkg/totoro-0.
|
|
103
|
-
- pkg/totoro-0.
|
|
104
|
-
- pkg/totoro-0.
|
|
105
|
-
- pkg/totoro-0.
|
|
106
|
-
- pkg/totoro-0.1.6.gem
|
|
107
|
-
- pkg/totoro-0.2.0.gem
|
|
108
|
-
- pkg/totoro-0.2.1.gem
|
|
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
|
|
109
106
|
- spec/spec_helper.rb
|
|
110
107
|
- spec/totoro_spec.rb
|
|
111
108
|
- test/totoro_test/Gemfile
|
|
@@ -151,6 +148,8 @@ files:
|
|
|
151
148
|
- test/totoro_test/config/spring.rb
|
|
152
149
|
- test/totoro_test/config/totoro.yml
|
|
153
150
|
- test/totoro_test/db/seeds.rb
|
|
151
|
+
- test/totoro_test/log/development.log
|
|
152
|
+
- test/totoro_test/log/production.log
|
|
154
153
|
- test/totoro_test/public/robots.txt
|
|
155
154
|
- test/totoro_test/test/test_helper.rb
|
|
156
155
|
- totoro.gemspec
|
|
@@ -174,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
174
173
|
version: '0'
|
|
175
174
|
requirements: []
|
|
176
175
|
rubyforge_project:
|
|
177
|
-
rubygems_version: 2.7.
|
|
176
|
+
rubygems_version: 2.7.6
|
|
178
177
|
signing_key:
|
|
179
178
|
specification_version: 4
|
|
180
179
|
summary: tool for rabbitmq
|
data/pkg/totoro-0.1.1.gem
DELETED
|
Binary file
|
data/pkg/totoro-0.1.2.gem
DELETED
|
Binary file
|
data/pkg/totoro-0.1.3.gem
DELETED
|
Binary file
|
data/pkg/totoro-0.1.4.gem
DELETED
|
Binary file
|
data/pkg/totoro-0.1.5.gem
DELETED
|
Binary file
|
data/pkg/totoro-0.1.6.gem
DELETED
|
Binary file
|
data/pkg/totoro-0.2.0.gem
DELETED
|
Binary file
|
data/pkg/totoro-0.2.1.gem
DELETED
|
Binary file
|