twingly-amqp 5.0.0 → 5.0.1

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: 4bf473c247b052b8ce685889a9635c1ebc6d2d29
4
- data.tar.gz: 76f4b60b762f886504740e7d339abd10c2e977c8
2
+ SHA256:
3
+ metadata.gz: c61cf032af90e6b91d1c690ad02f89c6a46e3cc7879813e47f1ee89a1367609a
4
+ data.tar.gz: 6508f9911ef9dcb8c64854522915129878905e62620dbf022ec104e8a911354a
5
5
  SHA512:
6
- metadata.gz: 7eed41cba865d45e552319c2e6d69542295b2156b3bc0634f158e66db88085cc6f9cee1cfd38622c47b8a96c656e8666248503d8b4c06d755a801e63438130fc
7
- data.tar.gz: 12ad08613eca61a511fcdf117a913119b304d0ce60f7be67aaea3388f88a1851bc5f0d4210e6a244144c271a13d72276e75628d4565fad590414fdc05e400878
6
+ metadata.gz: 0f66b4eda7c713585780fa20f1bae2948b3251f00929f16fd01273f3298a32fb921eaa334e5814f464eac85446bdc17be227e9f850293a0bb753131f061a6f37
7
+ data.tar.gz: 87c30a0c5e817ea29be19da7b99e3d156f4ba6ca303abd63ebb265827673c90ac3b64ca22bd9d3e5df355163fb29b888931e41d6637282460d598c2bff4114b4
data/README.md CHANGED
@@ -215,10 +215,12 @@ bundle exec rake spec:unit
215
215
 
216
216
  To run static code analysis:
217
217
 
218
- bundle exec rubocop
218
+ gem install rubocop
219
219
 
220
- # optionally on single file(s)
221
- bundle exec rubocop lib/twingly/amqp/*
220
+ rubocop
221
+
222
+ # optionally on single file(s)
223
+ rubocop lib/twingly/amqp/*
222
224
 
223
225
  ## Release workflow
224
226
 
@@ -20,7 +20,7 @@ module Twingly
20
20
  end
21
21
 
22
22
  def ping(urls, options_hash = {})
23
- options = PingOptions.new(options_hash)
23
+ options = PingOptions.new(**options_hash)
24
24
  options = @default_ping_options.merge(options)
25
25
 
26
26
  options.validate
@@ -5,7 +5,7 @@ module Twingly
5
5
  module AMQP
6
6
  class Subscription
7
7
  def initialize(queue_name:, exchange_topic: nil, routing_key: nil,
8
- routing_keys: nil, consumer_threads: 4, prefetch: 20,
8
+ routing_keys: nil, consumer_threads: 1, prefetch: 20,
9
9
  connection: nil, max_length: nil)
10
10
  @queue_name = queue_name
11
11
  @exchange_topic = exchange_topic
@@ -1,5 +1,5 @@
1
1
  module Twingly
2
2
  module Amqp
3
- VERSION = "5.0.0".freeze
3
+ VERSION = "5.0.1".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twingly-amqp
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Twingly AB
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-01 00:00:00.000000000 Z
11
+ date: 2020-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bunny
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '10.0'
39
+ version: '12'
40
40
  type: :development
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '10.0'
46
+ version: '12'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -58,20 +58,6 @@ dependencies:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '3'
61
- - !ruby/object:Gem::Dependency
62
- name: rubocop
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '0.49'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '0.49'
75
61
  description: Publish and subscribe to messages via RabbitMQ
76
62
  email:
77
63
  - support@twingly.com
@@ -95,7 +81,7 @@ files:
95
81
  homepage: https://github.com/twingly/twingly-amqp
96
82
  licenses: []
97
83
  metadata: {}
98
- post_install_message:
84
+ post_install_message:
99
85
  rdoc_options: []
100
86
  require_paths:
101
87
  - lib
@@ -110,9 +96,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
96
  - !ruby/object:Gem::Version
111
97
  version: '0'
112
98
  requirements: []
113
- rubyforge_project:
114
- rubygems_version: 2.6.14.1
115
- signing_key:
99
+ rubygems_version: 3.1.2
100
+ signing_key:
116
101
  specification_version: 4
117
102
  summary: Ruby library for talking to RabbitMQ
118
103
  test_files: []