honeykiq 1.4.1 → 1.5.0

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: 9654addea4f63b438d949942560a4661f9e0b6bec85883006567b454d018c032
4
+ data.tar.gz: 95417a533a733a949a19cda5ec3fa618e5d4a1ad5f45918ee23a543700a14742
5
5
  SHA512:
6
- metadata.gz: c573ee6a0a868bbff1064ae9ef2a3218798e436438119042fefd254c9cf9cb6eaeba03038e94b875d6a5c515127d170db06e41adce409f05c35c841ab8cfe031
7
- data.tar.gz: 84cc2b765a47bac4374c8e24760e72307f082bec3901f01882e091065e9aec6556f6cc24c9916f005509ccb249b0ace2b4b56c4c5235e1d194aa8d6ac1bbb959
6
+ metadata.gz: abdb28c7ee98b691ce645a495ff9bb9358f90013bebb2ce685f81948fa46d42f2b48e2b33da17e854037e6f25a6fb18d0eb5832064f8a5f5573ba99d2b991698
7
+ data.tar.gz: da701a8bf7a92eb33d45042f278e9cea61c5dda9af74b34d955b6cd093f74356c6e71ae3adff015a7169dd9660cfb0b5d0e2352e27c5cdf70c3d66321bcf3010
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.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,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.5.0]
10
+ ### Added
11
+ - Support ruby v3
12
+
9
13
  ## [1.4.1]
10
14
  ### Fixed
11
15
  - Expand sidekiq version constraint
@@ -58,7 +62,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
58
62
  ### Removed
59
63
  - `Honeykiq.periodic_reporter`. (Use `Honeykiq::PeriodicReporter.new` instead.)
60
64
 
61
- [Unreleased]: https://github.com/carwow/honeykiq/compare/v1.4.1...HEAD
65
+ [Unreleased]: https://github.com/carwow/honeykiq/compare/v1.5.0...HEAD
66
+ [1.5.0]: https://github.com/carwow/honeykiq/compare/v1.4.1...v1.5.0
62
67
  [1.4.1]: https://github.com/carwow/honeykiq/compare/v1.4.0...v1.4.1
63
68
  [1.4.0]: https://github.com/carwow/honeykiq/compare/v1.3.0...v1.4.0
64
69
  [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"
@@ -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.0".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
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.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - carwow Developers