kicks 3.0.0.pre → 3.0.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
2
  SHA256:
3
- metadata.gz: ff0690a8caadf3b1b4c80039e0893f8f2484f29fec0a19278f9d855ace73355a
4
- data.tar.gz: 4d69ee1e6a93f08df18cd2abbc8969bb2f7a854be45405a1be0c3c770c2bdd2f
3
+ metadata.gz: 62b5aae734e0e7237bed20813f45ab770136c2f1a4f5f0c137fabbb7daadacd9
4
+ data.tar.gz: 2ca16ea532e55ac103d746d13be9a47584f4eecbfbd0c06b4d00e98c52cf3fad
5
5
  SHA512:
6
- metadata.gz: e8991f96df285bfff54de0a9ce2bbcee0c8233fc81b8fc66d1ba617061650ea3badd5cc5270aaf2c95ec5103b85079e95e3095f05c7335b9681861cb44f90f0f
7
- data.tar.gz: 43d85d3b660bd36802487769b0c518e60998227b418d427c0c69e9ce3748fc2516d574e34e5014fab3d06141d54d707f15d895e6a5648c6558a374e786e4c276
6
+ metadata.gz: 290d6959875e848c3020237cb0bfc6a0c5da65ee031b25425f1f628f4c9059ae5a2d72e340cc9d6682416ff5c2dbf47d3174c58ecedae82fbdde6c50e80804df
7
+ data.tar.gz: 8637779203b7f44d6ec0b506c9fba2de3d8ac6419d2772635a6f81044ba925a2d0acbbbd8103b58c090735b86cea8a92608d73550b4d07c862eb1f7916953c7c
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "github-actions"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "weekly"
@@ -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@v3
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', github: 'metricfu/metric_fu', branch: 'main'
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
- # Copyright
207
+ ## License
208
208
 
209
- Copyright (c) 2015-2018 [Dotan Nahum](http://gplus.to/dotan) [@jondot](http://twitter.com/jondot). See [LICENSE](LICENSE.txt) for further details.
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.19'
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'
@@ -39,7 +39,8 @@ class Sneakers::Queue
39
39
 
40
40
  queue = @channel.queue(@name, **@opts[:queue_options])
41
41
 
42
- if exchange_name.length > 0
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])
@@ -1,3 +1,3 @@
1
1
  module Sneakers
2
- VERSION = "3.0.0.pre"
2
+ VERSION = "3.0.0"
3
3
  end
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.pre
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-06-27 00:00:00.000000000 Z
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.19'
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.19'
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.11
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