jackhammer 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cee97f6076b1008ddb323c8c43c87680cb334482569107992ac683c869fea7f
4
- data.tar.gz: ee0aa15bb52690dba58a1145878d9d81fd1c33e3a802ef1290ee1fb584466898
3
+ metadata.gz: 46a31cd93fed4db774639c0d474a2fe4a41420949da151f5119d53e7a85c5b41
4
+ data.tar.gz: e00e713c8afec2cef5ac065ab1e4b124e029ccc0b5cad70536348afff7aa5447
5
5
  SHA512:
6
- metadata.gz: 0d2d839de4fc36c47958b86b2f9e8f7857535b640ea86852ced3d4c79b93eb7c5e550035be7364e9a7f7b4e78c094bca93190c19322cf585b8dc483d1cb7ea0a
7
- data.tar.gz: 9eb24d185af0730c0f17cb2fd8094d06604e5cb7548a44e6a2e1d1d0710970bef920e14455b38eaee447df4265c21de4529ddc85c31049c14b5536050d8411cf
6
+ metadata.gz: 54a8ba65202747405d7498d4646142dda5ba7c68f1d194ddf71cfe4051792e5471197ac9048df72f163a60586500253af152bbe6be60a6bb51c82557b70b3569
7
+ data.tar.gz: abd41ade454db3507000f5a0dfe8b32e907934769225971e0f250c4b5f48a1d4e69864d98a58406d65c8b3e92b76716838ae5d1b8aea34192090206e29268708
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jackhammer (0.2.0)
4
+ jackhammer (0.2.1)
5
5
  bunny (~> 2.14)
6
6
 
7
7
  GEM
@@ -9,39 +9,39 @@ GEM
9
9
  specs:
10
10
  amq-protocol (2.3.0)
11
11
  ast (2.4.0)
12
- bunny (2.14.2)
12
+ bunny (2.14.3)
13
13
  amq-protocol (~> 2.3, >= 2.3.0)
14
14
  bunny-mock (1.7.0)
15
15
  bunny (>= 1.7)
16
16
  byebug (11.0.1)
17
17
  diff-lcs (1.3)
18
- jaro_winkler (1.5.3)
19
- parallel (1.17.0)
20
- parser (2.6.4.1)
18
+ jaro_winkler (1.5.4)
19
+ parallel (1.18.0)
20
+ parser (2.6.5.0)
21
21
  ast (~> 2.4.0)
22
22
  rainbow (3.0.0)
23
- rake (10.5.0)
24
- rspec (3.8.0)
25
- rspec-core (~> 3.8.0)
26
- rspec-expectations (~> 3.8.0)
27
- rspec-mocks (~> 3.8.0)
28
- rspec-core (3.8.2)
29
- rspec-support (~> 3.8.0)
30
- rspec-expectations (3.8.4)
23
+ rake (13.0.0)
24
+ rspec (3.9.0)
25
+ rspec-core (~> 3.9.0)
26
+ rspec-expectations (~> 3.9.0)
27
+ rspec-mocks (~> 3.9.0)
28
+ rspec-core (3.9.0)
29
+ rspec-support (~> 3.9.0)
30
+ rspec-expectations (3.9.0)
31
31
  diff-lcs (>= 1.2.0, < 2.0)
32
- rspec-support (~> 3.8.0)
33
- rspec-mocks (3.8.1)
32
+ rspec-support (~> 3.9.0)
33
+ rspec-mocks (3.9.0)
34
34
  diff-lcs (>= 1.2.0, < 2.0)
35
- rspec-support (~> 3.8.0)
36
- rspec-support (3.8.2)
37
- rubocop (0.74.0)
35
+ rspec-support (~> 3.9.0)
36
+ rspec-support (3.9.0)
37
+ rubocop (0.76.0)
38
38
  jaro_winkler (~> 1.5.1)
39
39
  parallel (~> 1.10)
40
40
  parser (>= 2.6)
41
41
  rainbow (>= 2.2.2, < 4.0)
42
42
  ruby-progressbar (~> 1.7)
43
43
  unicode-display_width (>= 1.4.0, < 1.7)
44
- rubocop-performance (1.4.1)
44
+ rubocop-performance (1.5.0)
45
45
  rubocop (>= 0.71.0)
46
46
  ruby-progressbar (1.10.1)
47
47
  unicode-display_width (1.6.0)
@@ -54,10 +54,10 @@ DEPENDENCIES
54
54
  bunny-mock (~> 1.7)
55
55
  byebug
56
56
  jackhammer!
57
- rake (~> 10.0)
57
+ rake (~> 13.0)
58
58
  rspec (~> 3.0)
59
59
  rubocop (~> 0.74)
60
- rubocop-performance (~> 1.4.1)
60
+ rubocop-performance (~> 1.5.0)
61
61
 
62
62
  BUNDLED WITH
63
63
  2.0.2
@@ -31,9 +31,9 @@ Gem::Specification.new do |spec|
31
31
  spec.add_dependency 'bunny', '~> 2.14'
32
32
  spec.add_development_dependency 'bundler', '~> 2.0'
33
33
  spec.add_development_dependency 'bunny-mock', '~> 1.7'
34
- spec.add_development_dependency 'rake', '~> 10.0'
34
+ spec.add_development_dependency 'rake', '~> 13.0'
35
35
  spec.add_development_dependency 'rspec', '~> 3.0'
36
36
  spec.add_development_dependency 'rubocop', '~> 0.74'
37
- spec.add_development_dependency 'rubocop-performance', '~> 1.4.1'
37
+ spec.add_development_dependency 'rubocop-performance', '~> 1.5.0'
38
38
  spec.add_development_dependency 'byebug'
39
39
  end
@@ -11,6 +11,8 @@ module Jackhammer
11
11
  end
12
12
 
13
13
  def call(message)
14
+ Log.info { 'message received for ' + handler_class.to_s }
15
+ Log.debug { message.to_s }
14
16
  handler = Object.const_get(handler_class)
15
17
  if handler.respond_to?(:perform_async)
16
18
  handler.perform_async message
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Jackhammer
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jackhammer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Serok
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-18 00:00:00.000000000 Z
11
+ date: 2019-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bunny
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '10.0'
61
+ version: '13.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '10.0'
68
+ version: '13.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.4.1
103
+ version: 1.5.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 1.4.1
110
+ version: 1.5.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: byebug
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  - !ruby/object:Gem::Version
177
177
  version: '0'
178
178
  requirements: []
179
- rubygems_version: 3.0.3
179
+ rubygems_version: 3.0.6
180
180
  signing_key:
181
181
  specification_version: 4
182
182
  summary: Jackhammer is an opinionated facde over RabbitMQ Bunny