kicks 3.0.0.pre → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +6 -0
- data/.github/workflows/ci.yml +3 -5
- data/Gemfile +1 -1
- data/README.md +7 -2
- data/kicks.gemspec +2 -1
- data/lib/sneakers/queue.rb +2 -1
- data/lib/sneakers/version.rb +1 -1
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62b5aae734e0e7237bed20813f45ab770136c2f1a4f5f0c137fabbb7daadacd9
|
4
|
+
data.tar.gz: 2ca16ea532e55ac103d746d13be9a47584f4eecbfbd0c06b4d00e98c52cf3fad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 290d6959875e848c3020237cb0bfc6a0c5da65ee031b25425f1f628f4c9059ae5a2d72e340cc9d6682416ff5c2dbf47d3174c58ecedae82fbdde6c50e80804df
|
7
|
+
data.tar.gz: 8637779203b7f44d6ec0b506c9fba2de3d8ac6419d2772635a6f81044ba925a2d0acbbbd8103b58c090735b86cea8a92608d73550b4d07c862eb1f7916953c7c
|
data/.github/workflows/ci.yml
CHANGED
@@ -8,17 +8,15 @@ jobs:
|
|
8
8
|
runs-on: ubuntu-latest
|
9
9
|
strategy:
|
10
10
|
matrix:
|
11
|
-
ruby-version: [3.0, 3.1, 3.2]
|
11
|
+
ruby-version: [3.0, 3.1, 3.2, 3.3]
|
12
12
|
steps:
|
13
|
-
- uses: actions/checkout@
|
13
|
+
- uses: actions/checkout@v4
|
14
14
|
|
15
15
|
- name: Install Ruby ${{ matrix.ruby-version }}
|
16
16
|
uses: ruby/setup-ruby@v1
|
17
17
|
with:
|
18
18
|
ruby-version: ${{ matrix.ruby-version }}
|
19
|
-
|
20
|
-
- name: Install dependencies
|
21
|
-
run: bundle install
|
19
|
+
bundler-cache: true # 'bundle install', cache gems
|
22
20
|
|
23
21
|
- name: Run tests
|
24
22
|
run: bundle exec rake
|
data/Gemfile
CHANGED
@@ -3,6 +3,6 @@ source 'https://rubygems.org'
|
|
3
3
|
gem 'ruby-prof', platforms: [:ruby_22, :ruby_23, :ruby_24]
|
4
4
|
|
5
5
|
gem 'rake', '>= 12.3', '< 14.0'
|
6
|
-
gem 'metric_fu',
|
6
|
+
gem 'metric_fu', git: 'https://github.com/metricfu/metric_fu', branch: 'main'
|
7
7
|
|
8
8
|
gemspec
|
data/README.md
CHANGED
@@ -204,6 +204,11 @@ Fork, implement, add tests, pull request, get my everlasting thanks and a respec
|
|
204
204
|
|
205
205
|
To all Sneakers [Contributors](https://github.com/jondot/sneakers/graphs/contributors) - you make this happen, thanks!
|
206
206
|
|
207
|
-
|
207
|
+
## License
|
208
208
|
|
209
|
-
|
209
|
+
See [LICENSE](LICENSE.txt) for further details.
|
210
|
+
|
211
|
+
## Copyright
|
212
|
+
|
213
|
+
Copyright (c) 2023-2024 Kicks contributors
|
214
|
+
Copyright (c) 2015-2023 [Dotan Nahum](http://gplus.to/dotan) [@jondot](http://twitter.com/jondot).
|
data/kicks.gemspec
CHANGED
@@ -13,6 +13,7 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.description = %q( Fast background processing framework for Ruby and RabbitMQ )
|
14
14
|
gem.summary = %q( Fast background processing framework for Ruby and RabbitMQ )
|
15
15
|
gem.homepage = 'https://github.com/ruby-amqp/kicks'
|
16
|
+
gem.metadata = { "source_code_uri" => "https://github.com/ruby-amqp/kicks" }
|
16
17
|
gem.license = 'MIT'
|
17
18
|
gem.required_ruby_version = Gem::Requirement.new(">= 2.5")
|
18
19
|
|
@@ -24,7 +25,7 @@ Gem::Specification.new do |gem|
|
|
24
25
|
gem.require_paths = ['lib']
|
25
26
|
|
26
27
|
gem.add_dependency 'serverengine', '~> 2.1'
|
27
|
-
gem.add_dependency 'bunny', '~> 2.
|
28
|
+
gem.add_dependency 'bunny', '~> 2.23'
|
28
29
|
gem.add_dependency 'concurrent-ruby', '~> 1.0'
|
29
30
|
gem.add_dependency 'thor'
|
30
31
|
gem.add_dependency 'rake', '>= 12.3', '< 14.0'
|
data/lib/sneakers/queue.rb
CHANGED
@@ -39,7 +39,8 @@ class Sneakers::Queue
|
|
39
39
|
|
40
40
|
queue = @channel.queue(@name, **@opts[:queue_options])
|
41
41
|
|
42
|
-
|
42
|
+
should_bind = @opts.fetch(:bind, true)
|
43
|
+
if should_bind && exchange_name.length > 0
|
43
44
|
routing_keys.each do |key|
|
44
45
|
if @opts[:bind_arguments]
|
45
46
|
queue.bind(@exchange, routing_key: key, arguments: @opts[:bind_arguments])
|
data/lib/sneakers/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kicks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dotan Nahum
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-10-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: serverengine
|
@@ -31,14 +31,14 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '2.
|
34
|
+
version: '2.23'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '2.
|
41
|
+
version: '2.23'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: concurrent-ruby
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -235,6 +235,7 @@ executables:
|
|
235
235
|
extensions: []
|
236
236
|
extra_rdoc_files: []
|
237
237
|
files:
|
238
|
+
- ".github/dependabot.yml"
|
238
239
|
- ".github/workflows/ci.yml"
|
239
240
|
- ".gitignore"
|
240
241
|
- ChangeLog.md
|
@@ -309,7 +310,8 @@ files:
|
|
309
310
|
homepage: https://github.com/ruby-amqp/kicks
|
310
311
|
licenses:
|
311
312
|
- MIT
|
312
|
-
metadata:
|
313
|
+
metadata:
|
314
|
+
source_code_uri: https://github.com/ruby-amqp/kicks
|
313
315
|
post_install_message:
|
314
316
|
rdoc_options: []
|
315
317
|
require_paths:
|
@@ -325,7 +327,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
325
327
|
- !ruby/object:Gem::Version
|
326
328
|
version: '0'
|
327
329
|
requirements: []
|
328
|
-
rubygems_version: 3.5.
|
330
|
+
rubygems_version: 3.5.22
|
329
331
|
signing_key:
|
330
332
|
specification_version: 4
|
331
333
|
summary: Fast background processing framework for Ruby and RabbitMQ
|