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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a4ac9997eb8d9b7257a00b04c991d19220c2f22d
4
- data.tar.gz: e3c3c1b1cbd97310b3d1bbd240d9c90168a93e3d
2
+ SHA256:
3
+ metadata.gz: ed004e3a604c616a2b03b64f113084506a263667cada7f197c1803e5bc03abdf
4
+ data.tar.gz: d0b87fe93fac45f4a030ff378fd6804d3f4053c500ca0136d41f48a45adec6c1
5
5
  SHA512:
6
- metadata.gz: f1c24ad78b837d918ec14ca8fcce97548394848bb3954074d1a79b58195d4d64d61fe8c25667a682a8e59472254e38eedc623b69fa9a41981a5d939974453a61
7
- data.tar.gz: b765f498e08c52302dea54e7641dc4925c79f8f844541af1022801dde214c94d6878a3dcd15b7f2688810544360c43fffb736818b075919782fc5dfd18afda89
6
+ metadata.gz: 524d75bc1a72de16d70b1342b096ab4337348854b5bf03a39563ea3889d44e1aa0570a7f7fc0d1c0c1658357bbfea829dafb52cf3ab7cbd2b9fd596f89bcc5b2
7
+ data.tar.gz: 49d983f3f8484159ad8909836c71e724a70d49d1565199cbba428547be1bdf83cddaef8389535a47c2fde97eeb3921cd33b840b512008e35b0aaf2ead91c9709
data/.gitignore CHANGED
@@ -1,9 +1,9 @@
1
1
  /.bundle/
2
2
  /.yardoc
3
- /Gemfile.lock
4
3
  /_yardoc/
5
4
  /coverage/
6
5
  /doc/
7
6
  /pkg/
8
7
  /spec/reports/
9
8
  /tmp/
9
+ /sneakers.pid
data/Gemfile CHANGED
@@ -1,4 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ gem 'amq-protocol', '~> 2.1', '<= 2.2.0'
3
4
  # Specify your gem's dependencies in sneakers_packer.gemspec
4
5
  gemspec
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
@@ -7,4 +7,4 @@ Rake::TestTask.new(:test) do |t|
7
7
  t.test_files = FileList['test/**/*_test.rb']
8
8
  end
9
9
 
10
- task :default => :spec
10
+ task default: :test
@@ -1,3 +1,5 @@
1
+ require 'securerandom'
2
+
1
3
  module SneakersPacker
2
4
  class RpcReplySubscriber
3
5
 
@@ -1,3 +1,3 @@
1
1
  module SneakersPacker
2
- VERSION = "0.1.5"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -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", ">= 1.0.0"
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.1.5
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: 2016-07-12 00:00:00.000000000 Z
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: 1.0.0
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: 1.0.0
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.5.1
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