honeykiq 1.4.1 → 1.5.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: 2c9a6072b8c9974a8d827bdc0e6328f7e1a3b7a7846c14c3424133ad2be5acb3
4
- data.tar.gz: ef8be2c82f467703e1eabb3da9d7511a7ea519f11c0b4867035137066d247093
3
+ metadata.gz: 46ba2f2a444e752ec808468482baa250c018fc6217ea8fe745377b9cd0ad19a8
4
+ data.tar.gz: 013d77542806960135ced82f15251e41a30af8d91779b2e63a3f512ba22a15f5
5
5
  SHA512:
6
- metadata.gz: c573ee6a0a868bbff1064ae9ef2a3218798e436438119042fefd254c9cf9cb6eaeba03038e94b875d6a5c515127d170db06e41adce409f05c35c841ab8cfe031
7
- data.tar.gz: 84cc2b765a47bac4374c8e24760e72307f082bec3901f01882e091065e9aec6556f6cc24c9916f005509ccb249b0ace2b4b56c4c5235e1d194aa8d6ac1bbb959
6
+ metadata.gz: 7773365409a90a1fd569849016c1c1c8010f58af33bd207be97b432acc981971393aef76598b3f7140f033792e6203798145051d077a4f723dbcd0b3b82350d8
7
+ data.tar.gz: 866cc76f3bd37e359530df6fb9c899b7bc3986ff3261621e707b7fae831b5f3afc882068eb224bd04a3ef175f84f0c1d12de774377cd72c1dd25c1d299d45694
data/.circleci/config.yml CHANGED
@@ -20,4 +20,4 @@ workflows:
20
20
  - test:
21
21
  matrix:
22
22
  parameters:
23
- ruby: ["2.7", "2.6"]
23
+ ruby: ["3.2", "3.1", "3.0", "2.7", "2.6"]
data/.gitignore CHANGED
@@ -8,3 +8,4 @@
8
8
  /spec/reports/
9
9
  /tmp/
10
10
  /Gemfile.lock
11
+ /example/Gemfile.lock
data/CHANGELOG.md CHANGED
@@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.5.1]
10
+ ### Added
11
+ - Add Ruby 3.2 to CI
12
+ - Add `required_ruby_version` >= 2.6 to gemspec
13
+
14
+ ## [1.5.0]
15
+ ### Added
16
+ - Support ruby v3
17
+
9
18
  ## [1.4.1]
10
19
  ### Fixed
11
20
  - Expand sidekiq version constraint
@@ -58,7 +67,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
58
67
  ### Removed
59
68
  - `Honeykiq.periodic_reporter`. (Use `Honeykiq::PeriodicReporter.new` instead.)
60
69
 
61
- [Unreleased]: https://github.com/carwow/honeykiq/compare/v1.4.1...HEAD
70
+ [Unreleased]: https://github.com/carwow/honeykiq/compare/v1.5.0...HEAD
71
+ [1.5.0]: https://github.com/carwow/honeykiq/compare/v1.4.1...v1.5.0
62
72
  [1.4.1]: https://github.com/carwow/honeykiq/compare/v1.4.0...v1.4.1
63
73
  [1.4.0]: https://github.com/carwow/honeykiq/compare/v1.3.0...v1.4.0
64
74
  [1.3.0]: https://github.com/carwow/honeykiq/compare/v1.2.0...v1.3.0
data/Rakefile CHANGED
@@ -1,3 +1,4 @@
1
+ require "bundler/setup"
1
2
  require "bundler/gem_tasks"
2
3
  require "rspec/core/rake_task"
3
4
  require "standard/rake"
data/honeykiq.gemspec CHANGED
@@ -17,6 +17,8 @@ Gem::Specification.new do |spec|
17
17
  end
18
18
  spec.require_paths = ["lib"]
19
19
 
20
+ spec.required_ruby_version = ">= 2.6"
21
+
20
22
  spec.add_dependency "sidekiq", "~> 6.2", ">= 6.2.2"
21
23
 
22
24
  spec.add_development_dependency "honeycomb-beeline", "~> 2.6"
@@ -2,9 +2,9 @@ require "sidekiq/api"
2
2
 
3
3
  module Honeykiq
4
4
  class ServerMiddleware
5
- def initialize(libhoney: nil, honey_client: nil, tracing_mode: nil)
6
- @libhoney = libhoney || honey_client
7
- @tracing_mode = tracing_mode
5
+ def initialize(options = {})
6
+ @libhoney = options[:libhoney] || options[:honey_client]
7
+ @tracing_mode = options[:tracing_mode]
8
8
  end
9
9
 
10
10
  def call(_worker, msg, queue_name)
@@ -1,3 +1,3 @@
1
1
  module Honeykiq
2
- VERSION = "1.4.1".freeze
2
+ VERSION = "1.5.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeykiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - carwow Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-30 00:00:00.000000000 Z
11
+ date: 2023-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq
@@ -137,14 +137,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
137
137
  requirements:
138
138
  - - ">="
139
139
  - !ruby/object:Gem::Version
140
- version: '0'
140
+ version: '2.6'
141
141
  required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - ">="
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  requirements: []
147
- rubygems_version: 3.2.22
147
+ rubygems_version: 3.3.26
148
148
  signing_key:
149
149
  specification_version: 4
150
150
  summary: "Sidekiq → Honeycomb \U0001F41D"