ears 0.19.0 → 0.20.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 +4 -4
- data/.github/workflows/build.yml +2 -2
- data/.rubocop.yml +2 -2
- data/.rubocop_todo.yml +1 -1
- data/.tool-versions +2 -2
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +45 -42
- data/ears.gemspec +1 -1
- data/lib/ears/version.rb +1 -1
- data/lib/ears.rb +2 -2
- data/package-lock.json +7 -7
- data/package.json +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfbd6ab51a763dae5a9e93db48acb059af700fa88eee4b3f854e912b9f6d19be
|
4
|
+
data.tar.gz: aa328f03ba25e0e7afabdc30bfb9a2212b5072ed6a50ba10a1df9396197ada61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 140f6f39b0f3099eb0a00a26a0de7bbbff66335a6bad2cd71d3b8e26f1810301ff16de00675e580beb71de959b8a80d80a4a76309556e4f22019dd37effd717f
|
7
|
+
data.tar.gz: 36053b2d7203bb37e2fd527d86c69922f3cc5a4e99c7723f0b73c7f92a24b9df439baf61aaaa72209857b48bab1a17ebfbd5775633ecefaa270bb911757f28c7
|
data/.github/workflows/build.yml
CHANGED
@@ -12,7 +12,7 @@ jobs:
|
|
12
12
|
runs-on: ubuntu-latest
|
13
13
|
strategy:
|
14
14
|
matrix:
|
15
|
-
ruby-version: ['3.
|
15
|
+
ruby-version: ['3.2', '3.3', '3.4']
|
16
16
|
|
17
17
|
steps:
|
18
18
|
- uses: actions/checkout@v4
|
@@ -23,7 +23,7 @@ jobs:
|
|
23
23
|
bundler-cache: true
|
24
24
|
- uses: actions/setup-node@v4
|
25
25
|
with:
|
26
|
-
node-version: '
|
26
|
+
node-version: '24'
|
27
27
|
- name: Run prettier
|
28
28
|
run: npm ci && npm run lint
|
29
29
|
- name: Run Rubocop
|
data/.rubocop.yml
CHANGED
@@ -13,7 +13,7 @@ AllCops:
|
|
13
13
|
- Guardfile
|
14
14
|
- bin/*
|
15
15
|
- tmp/**/*
|
16
|
-
TargetRubyVersion: 3.
|
16
|
+
TargetRubyVersion: 3.2
|
17
17
|
NewCops: enable
|
18
18
|
|
19
19
|
Style:
|
@@ -66,7 +66,7 @@ Metrics/ModuleLength:
|
|
66
66
|
- 'spec/**/*.rb'
|
67
67
|
- 'test/**/*.rb'
|
68
68
|
|
69
|
-
|
69
|
+
plugins:
|
70
70
|
- rubocop-rspec
|
71
71
|
- rubocop-rake
|
72
72
|
|
data/.rubocop_todo.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on 2025-
|
3
|
+
# on 2025-06-02 12:38:15 UTC using RuboCop version 1.75.8.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
data/.tool-versions
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
ruby 3.
|
2
|
-
nodejs
|
1
|
+
ruby 3.2.8
|
2
|
+
nodejs 24.1.0
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,48 +1,49 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ears (0.
|
4
|
+
ears (0.20.0)
|
5
5
|
bunny (>= 2.22.0)
|
6
6
|
multi_json
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
amq-protocol (2.3.
|
12
|
-
ast (2.4.
|
13
|
-
bunny (2.
|
14
|
-
amq-protocol (~> 2.3
|
11
|
+
amq-protocol (2.3.4)
|
12
|
+
ast (2.4.3)
|
13
|
+
bunny (2.24.0)
|
14
|
+
amq-protocol (~> 2.3)
|
15
15
|
sorted_set (~> 1, >= 1.0.2)
|
16
|
-
diff-lcs (1.6.
|
16
|
+
diff-lcs (1.6.2)
|
17
17
|
docile (1.4.1)
|
18
|
-
json (2.
|
19
|
-
language_server-protocol (3.17.0.
|
18
|
+
json (2.12.2)
|
19
|
+
language_server-protocol (3.17.0.5)
|
20
20
|
lint_roller (1.1.0)
|
21
21
|
multi_json (1.15.0)
|
22
|
-
parallel (1.
|
23
|
-
parser (3.3.
|
22
|
+
parallel (1.27.0)
|
23
|
+
parser (3.3.8.0)
|
24
24
|
ast (~> 2.4.1)
|
25
25
|
racc
|
26
26
|
prettier_print (1.2.1)
|
27
|
+
prism (1.4.0)
|
27
28
|
racc (1.8.1)
|
28
29
|
rainbow (3.1.1)
|
29
|
-
rake (13.
|
30
|
+
rake (13.3.0)
|
30
31
|
rbtree (0.4.6)
|
31
32
|
regexp_parser (2.10.0)
|
32
|
-
rspec (3.13.
|
33
|
+
rspec (3.13.1)
|
33
34
|
rspec-core (~> 3.13.0)
|
34
35
|
rspec-expectations (~> 3.13.0)
|
35
36
|
rspec-mocks (~> 3.13.0)
|
36
|
-
rspec-core (3.13.
|
37
|
+
rspec-core (3.13.4)
|
37
38
|
rspec-support (~> 3.13.0)
|
38
|
-
rspec-expectations (3.13.
|
39
|
+
rspec-expectations (3.13.5)
|
39
40
|
diff-lcs (>= 1.2.0, < 2.0)
|
40
41
|
rspec-support (~> 3.13.0)
|
41
|
-
rspec-mocks (3.13.
|
42
|
+
rspec-mocks (3.13.5)
|
42
43
|
diff-lcs (>= 1.2.0, < 2.0)
|
43
44
|
rspec-support (~> 3.13.0)
|
44
|
-
rspec-support (3.13.
|
45
|
-
rubocop (1.
|
45
|
+
rspec-support (3.13.4)
|
46
|
+
rubocop (1.75.8)
|
46
47
|
json (~> 2.3)
|
47
48
|
language_server-protocol (~> 3.17.0.2)
|
48
49
|
lint_roller (~> 1.1.0)
|
@@ -50,19 +51,20 @@ GEM
|
|
50
51
|
parser (>= 3.3.0.2)
|
51
52
|
rainbow (>= 2.2.2, < 4.0)
|
52
53
|
regexp_parser (>= 2.9.3, < 3.0)
|
53
|
-
rubocop-ast (>= 1.
|
54
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
54
55
|
ruby-progressbar (~> 1.7)
|
55
56
|
unicode-display_width (>= 2.4.0, < 4.0)
|
56
|
-
rubocop-ast (1.
|
57
|
-
parser (>= 3.3.
|
57
|
+
rubocop-ast (1.44.1)
|
58
|
+
parser (>= 3.3.7.2)
|
59
|
+
prism (~> 1.4)
|
58
60
|
rubocop-rake (0.7.1)
|
59
61
|
lint_roller (~> 1.1)
|
60
62
|
rubocop (>= 1.72.1)
|
61
|
-
rubocop-rspec (3.
|
63
|
+
rubocop-rspec (3.6.0)
|
62
64
|
lint_roller (~> 1.1)
|
63
65
|
rubocop (~> 1.72, >= 1.72.1)
|
64
66
|
ruby-progressbar (1.13.0)
|
65
|
-
set (1.1.
|
67
|
+
set (1.1.2)
|
66
68
|
simplecov (0.22.0)
|
67
69
|
docile (~> 1.1)
|
68
70
|
simplecov-html (~> 0.11)
|
@@ -101,35 +103,36 @@ DEPENDENCIES
|
|
101
103
|
yard
|
102
104
|
|
103
105
|
CHECKSUMS
|
104
|
-
amq-protocol (2.3.
|
105
|
-
ast (2.4.
|
106
|
-
bunny (2.
|
107
|
-
diff-lcs (1.6.
|
106
|
+
amq-protocol (2.3.4) sha256=98be5b9244e28dc66acc8351a254dbf45d996c5a0b7d49ab3ff8b72b0d2e6308
|
107
|
+
ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
|
108
|
+
bunny (2.24.0) sha256=072fe4ae98eaa9c95a17e4d166204f710bba8a9a7070b73a8c3b023f439d1682
|
109
|
+
diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
|
108
110
|
docile (1.4.1) sha256=96159be799bfa73cdb721b840e9802126e4e03dfc26863db73647204c727f21e
|
109
|
-
ears (0.
|
110
|
-
json (2.
|
111
|
-
language_server-protocol (3.17.0.
|
111
|
+
ears (0.20.0)
|
112
|
+
json (2.12.2) sha256=ba94a48ad265605c8fa9a50a5892f3ba6a02661aa010f638211f3cb36f44abf4
|
113
|
+
language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc
|
112
114
|
lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
|
113
115
|
multi_json (1.15.0) sha256=1fd04138b6e4a90017e8d1b804c039031399866ff3fbabb7822aea367c78615d
|
114
|
-
parallel (1.
|
115
|
-
parser (3.3.
|
116
|
+
parallel (1.27.0) sha256=4ac151e1806b755fb4e2dc2332cbf0e54f2e24ba821ff2d3dcf86bf6dc4ae130
|
117
|
+
parser (3.3.8.0) sha256=2476364142b307fa5a1b1ece44f260728be23858a9c71078e956131a75453c45
|
116
118
|
prettier_print (1.2.1) sha256=a72838b5f23facff21f90a5423cdcdda19e4271092b41f4ea7f50b83929e6ff9
|
119
|
+
prism (1.4.0) sha256=dc0e3e00e93160213dc2a65519d9002a4a1e7b962db57d444cf1a71565bb703e
|
117
120
|
racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
|
118
121
|
rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
|
119
|
-
rake (13.
|
122
|
+
rake (13.3.0) sha256=96f5092d786ff412c62fde76f793cc0541bd84d2eb579caa529aa8a059934493
|
120
123
|
rbtree (0.4.6) sha256=14eea4469b24fd2472542e5f3eb105d6344c8ccf36f0b56d55fdcfeb4e0f10fc
|
121
124
|
regexp_parser (2.10.0) sha256=cb6f0ddde88772cd64bff1dbbf68df66d376043fe2e66a9ef77fcb1b0c548c61
|
122
|
-
rspec (3.13.
|
123
|
-
rspec-core (3.13.
|
124
|
-
rspec-expectations (3.13.
|
125
|
-
rspec-mocks (3.13.
|
126
|
-
rspec-support (3.13.
|
127
|
-
rubocop (1.
|
128
|
-
rubocop-ast (1.
|
125
|
+
rspec (3.13.1) sha256=b9f9a58fa915b8d94a1d6b3195fe6dd28c4c34836a6097015142c4a9ace72140
|
126
|
+
rspec-core (3.13.4) sha256=f9da156b7b775c82610a7b580624df51a55102f8c8e4a103b98f5d7a9fa23958
|
127
|
+
rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
|
128
|
+
rspec-mocks (3.13.5) sha256=e4338a6f285ada9fe56f5893f5457783af8194f5d08884d17a87321d5195ea81
|
129
|
+
rspec-support (3.13.4) sha256=184b1814f6a968102b57df631892c7f1990a91c9a3b9e80ef892a0fc2a71a3f7
|
130
|
+
rubocop (1.75.8) sha256=c80ab4286c5dcfc49d7ad1787cdba5569b63b58c96ee7afde4ec47a9c8a85be9
|
131
|
+
rubocop-ast (1.44.1) sha256=e3cc04203b2ef04f6d6cf5f85fe6d643f442b18cc3b23e3ada0ce5b6521b8e92
|
129
132
|
rubocop-rake (0.7.1) sha256=3797f2b6810c3e9df7376c26d5f44f3475eda59eb1adc38e6f62ecf027cbae4d
|
130
|
-
rubocop-rspec (3.
|
133
|
+
rubocop-rspec (3.6.0) sha256=c0e4205871776727e54dee9cc91af5fd74578001551ba40e1fe1a1ab4b404479
|
131
134
|
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
132
|
-
set (1.1.
|
135
|
+
set (1.1.2) sha256=ca33a60d202e788041d94a5d4c12315b1639875576f1a266f3a10913646d8ef1
|
133
136
|
simplecov (0.22.0) sha256=fe2622c7834ff23b98066bb0a854284b2729a569ac659f82621fc22ef36213a5
|
134
137
|
simplecov-html (0.13.1) sha256=5dab0b7ee612e60e9887ad57693832fdf4695b4c0c859eaea5f95c18791ef10b
|
135
138
|
simplecov_json_formatter (0.1.4) sha256=529418fbe8de1713ac2b2d612aa3daa56d316975d307244399fa4838c601b428
|
@@ -140,4 +143,4 @@ CHECKSUMS
|
|
140
143
|
yard (0.9.37) sha256=a6e910399e78e613f80ba9add9ba7c394b1a935f083cccbef82903a3d2a26992
|
141
144
|
|
142
145
|
BUNDLED WITH
|
143
|
-
2.6.
|
146
|
+
2.6.9
|
data/ears.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.description = 'A gem for building RabbitMQ consumers.'
|
11
11
|
spec.homepage = 'https://github.com/ivx/ears'
|
12
12
|
spec.license = 'MIT'
|
13
|
-
spec.required_ruby_version = Gem::Requirement.new('>= 3.
|
13
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 3.2.8')
|
14
14
|
|
15
15
|
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
16
16
|
|
data/lib/ears/version.rb
CHANGED
data/lib/ears.rb
CHANGED
@@ -43,8 +43,8 @@ module Ears
|
|
43
43
|
end
|
44
44
|
|
45
45
|
# Used to set up your exchanges, queues and consumers. See {Ears::Setup} for implementation details.
|
46
|
-
def setup(&
|
47
|
-
Ears::Setup.new.instance_eval(&
|
46
|
+
def setup(&)
|
47
|
+
Ears::Setup.new.instance_eval(&)
|
48
48
|
end
|
49
49
|
|
50
50
|
# Quick setup your consumers (including exchanges and queues).
|
data/package-lock.json
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
"devDependencies": {
|
9
9
|
"@invisionag/prettier-config": "^2.1.3",
|
10
10
|
"@prettier/plugin-ruby": "^4.0.4",
|
11
|
-
"prettier": "^3.5.
|
11
|
+
"prettier": "^3.5.3"
|
12
12
|
}
|
13
13
|
},
|
14
14
|
"node_modules/@invisionag/prettier-config": {
|
@@ -30,9 +30,9 @@
|
|
30
30
|
}
|
31
31
|
},
|
32
32
|
"node_modules/prettier": {
|
33
|
-
"version": "3.5.
|
34
|
-
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.
|
35
|
-
"integrity": "sha512-
|
33
|
+
"version": "3.5.3",
|
34
|
+
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz",
|
35
|
+
"integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==",
|
36
36
|
"dev": true,
|
37
37
|
"license": "MIT",
|
38
38
|
"bin": {
|
@@ -62,9 +62,9 @@
|
|
62
62
|
"requires": {}
|
63
63
|
},
|
64
64
|
"prettier": {
|
65
|
-
"version": "3.5.
|
66
|
-
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.
|
67
|
-
"integrity": "sha512-
|
65
|
+
"version": "3.5.3",
|
66
|
+
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz",
|
67
|
+
"integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==",
|
68
68
|
"dev": true
|
69
69
|
}
|
70
70
|
}
|
data/package.json
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ears
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- InVision AG
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bunny
|
@@ -94,14 +94,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
94
94
|
requirements:
|
95
95
|
- - ">="
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: 3.
|
97
|
+
version: 3.2.8
|
98
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
100
|
- - ">="
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '0'
|
103
103
|
requirements: []
|
104
|
-
rubygems_version: 3.
|
104
|
+
rubygems_version: 3.4.19
|
105
105
|
signing_key:
|
106
106
|
specification_version: 4
|
107
107
|
summary: A gem for building RabbitMQ consumers.
|