sneakers_packer 0.1.5 → 0.2.0
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 +5 -5
- data/.gitignore +1 -1
- data/Gemfile +1 -0
- data/Gemfile.lock +43 -0
- data/README.md +2 -2
- data/Rakefile +1 -1
- data/lib/sneakers_packer/rpc_reply_subscriber.rb +2 -0
- data/lib/sneakers_packer/version.rb +1 -1
- data/sneakers_packer.gemspec +1 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ed004e3a604c616a2b03b64f113084506a263667cada7f197c1803e5bc03abdf
|
4
|
+
data.tar.gz: d0b87fe93fac45f4a030ff378fd6804d3f4053c500ca0136d41f48a45adec6c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 524d75bc1a72de16d70b1342b096ab4337348854b5bf03a39563ea3889d44e1aa0570a7f7fc0d1c0c1658357bbfea829dafb52cf3ab7cbd2b9fd596f89bcc5b2
|
7
|
+
data.tar.gz: 49d983f3f8484159ad8909836c71e724a70d49d1565199cbba428547be1bdf83cddaef8389535a47c2fde97eeb3921cd33b840b512008e35b0aaf2ead91c9709
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
sneakers_packer (0.2.0)
|
5
|
+
multi_json
|
6
|
+
sneakers (~> 2.5.0)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
amq-protocol (2.2.0)
|
12
|
+
bunny (2.6.7)
|
13
|
+
amq-protocol (~> 2.2.0)
|
14
|
+
metaclass (0.0.4)
|
15
|
+
minitest (5.8.4)
|
16
|
+
mocha (1.1.0)
|
17
|
+
metaclass (~> 0.0.1)
|
18
|
+
multi_json (1.13.1)
|
19
|
+
rake (10.5.0)
|
20
|
+
serverengine (1.5.11)
|
21
|
+
sigdump (~> 0.2.2)
|
22
|
+
sigdump (0.2.4)
|
23
|
+
sneakers (2.5.0)
|
24
|
+
bunny (~> 2.6.4)
|
25
|
+
serverengine (~> 1.5.11)
|
26
|
+
thor
|
27
|
+
thread (~> 0.1.7)
|
28
|
+
thor (0.20.0)
|
29
|
+
thread (0.1.7)
|
30
|
+
|
31
|
+
PLATFORMS
|
32
|
+
ruby
|
33
|
+
|
34
|
+
DEPENDENCIES
|
35
|
+
amq-protocol (~> 2.1, <= 2.2.0)
|
36
|
+
bundler (~> 1.11)
|
37
|
+
minitest (~> 5.0)
|
38
|
+
mocha
|
39
|
+
rake (~> 10.0)
|
40
|
+
sneakers_packer!
|
41
|
+
|
42
|
+
BUNDLED WITH
|
43
|
+
1.16.2
|
data/README.md
CHANGED
@@ -33,7 +33,7 @@ There are `app_name` and `rpc_timeout` should be set for SneakersPacker.
|
|
33
33
|
|
34
34
|
Append below to `config/initializers/sneakers.rb`.
|
35
35
|
|
36
|
-
```
|
36
|
+
```ruby
|
37
37
|
SneakersPacker.configure do |conf|
|
38
38
|
conf.rpc_timeout = 3 # rpc client timeout. default is 5 seconds.
|
39
39
|
conf.app_name = "sneakers_test" # rpc client or server app's name. default is 'unknown'
|
@@ -87,7 +87,7 @@ It is almost same with Job Message except that one routing_key with multiple que
|
|
87
87
|
end
|
88
88
|
```
|
89
89
|
|
90
|
-
```
|
90
|
+
```ruby
|
91
91
|
class OtherWorker
|
92
92
|
include SneakersPacker::CommonWorker
|
93
93
|
|
data/Rakefile
CHANGED
data/sneakers_packer.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency "sneakers", "
|
21
|
+
spec.add_dependency "sneakers", "~> 2.5.0"
|
22
22
|
spec.add_dependency "multi_json"
|
23
23
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 1.11"
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sneakers_packer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vincent
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sneakers
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.5.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 2.5.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: multi_json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,6 +106,7 @@ files:
|
|
106
106
|
- ".travis.yml"
|
107
107
|
- CHANGELOG.md
|
108
108
|
- Gemfile
|
109
|
+
- Gemfile.lock
|
109
110
|
- LICENSE.md
|
110
111
|
- README.md
|
111
112
|
- Rakefile
|
@@ -138,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
139
|
version: '0'
|
139
140
|
requirements: []
|
140
141
|
rubyforge_project:
|
141
|
-
rubygems_version: 2.
|
142
|
+
rubygems_version: 2.7.7
|
142
143
|
signing_key:
|
143
144
|
specification_version: 4
|
144
145
|
summary: SneakersPacker is a gem for using sneakers to 3 message communication patterns
|