sidekiq-instrument 0.3.0 → 0.3.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
- SHA1:
3
- metadata.gz: f907351c4becc7617a69866ceaf1c98baab5492b
4
- data.tar.gz: 8d2a41b4569b60c5b740c877cd25f1f35aba8eef
2
+ SHA256:
3
+ metadata.gz: dd77f1ee5edcd60e2324d19918471de25acc187767efba7589b954f74be805f5
4
+ data.tar.gz: 1d3bcf29596e43cc2f7fcadfed175f136a6d1458fe163320eb8d542d7a96823d
5
5
  SHA512:
6
- metadata.gz: 916b22e338ae724503a55c9dba66f997f8565124e755d0e86cec033a8c78b6ec849b05fedcc2541d7c18ae6db3a8223b5160a84788d16ec36f2c18b8a31623b1
7
- data.tar.gz: 91d513258a4f7f01159f88b0a12cc97cc55e474816ab5d8e60dc1e3f739e64753ddeee7af439dd305717688e0f9e8c738b7ed164dd783e1bd7e658c8d995ed74
6
+ metadata.gz: 70eefc1dfc213f83c8b7705d40448f8846d59f7214d3bbfc2e0accd21152a893f798bad42e1832cc799a3be8c5f731e3543bf09d8561c078fb0669709651dffb
7
+ data.tar.gz: ded09a65f9e8e92567f8562566393509bdf718d867ba2fd793488c57d2b3e614297d5b2f5d1787ff1bb125ec90b545ad100ee1fd7ed51a6951652e48ee0d9714
@@ -1,9 +1,20 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.3.0
4
+ - 2.5.8
5
+ - 2.6.6
6
+ - 2.7.2
5
7
 
6
8
  services:
7
9
  - redis-server
8
10
 
9
- before_install: gem install bundler -v 1.12.1
11
+ before_install: gem install bundler -v 2.0.2
12
+
13
+ deploy:
14
+ provider: rubygems
15
+ api_key:
16
+ secure: T0S2ipyvGkY2qL6oxcgZgBl+krGR3qFlL4vNyzy+rvaZAV8YNijQiM7YyggTLhnKai3SxuHjzN1ZiT7vzlklJn9k2qRhU1uVq4xW+YX6yVNBBbugJGqNuyw3p2BUOga83ES2jA/Kby9mLAJEebS5LmupapSCeElsmhYzXIlV9SYH1mZV4CHQ06Luv3r1DQ8z1cwrB+5N+Y9TNV1wXa/LbuxJPl6jgxN0oJ+RFU7lTHtovMwyL+wRXLiRpZc2k6dH0IUo03QxYVCUDIvShdX26WfzF+fpSPRgOHnbJeaBTbeuxntFzEDy6Td2hpRQWP31i+/8BzPWGCLqUfS55uQqFM06UI/vnZnbe8NlI57gzw6yJHPsFoyg8Cw/3TABhw+SEOoMyBdued4RGKF6EgYsx3hW+KUhEvncnBg6F7jRdZgtHmk6s8iU+/d39pgQh4AiCJQOhINErAnnH2P5hM3TDoZYQlkUjw0FQ0F8bTmRKJq4JhMyvtwMutvMuSIN+8q7utNTxzFquvYcmAcNYafsmuC7Qtvpqi0iVzQ3f3c+SCljcvEnUEf66+xufkn79eSAYcCrL/FdZOdBEiXpaY2wdtJO7Kr66BMhzGCjlO8YQoDw0pgsES9Uy5H1JtfphjWzHWYdiYDBoofFURE1jO/pJ9V9dp9ezzOcvW4faZhL8ho=
17
+ gem: sidekiq-instrument
18
+ on:
19
+ tags: true
20
+ repo: enova/sidekiq-instrument
@@ -5,7 +5,8 @@ module Sidekiq::Instrument
5
5
  include Sidekiq::Instrument::MetricNames
6
6
 
7
7
  def call(worker_class, job, queue, redis_pool)
8
- klass = Object.const_get(worker_class)
8
+ # worker_class is a const in sidekiq >= 6.x
9
+ klass = Object.const_get(worker_class.to_s)
9
10
  StatsD.increment metric_name(klass.new, 'enqueue')
10
11
 
11
12
  yield
@@ -1,5 +1,5 @@
1
1
  module Sidekiq
2
2
  module Instrument
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
@@ -16,10 +16,10 @@ Gem::Specification.new do |spec|
16
16
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
17
  spec.require_paths = ['lib']
18
18
 
19
- spec.add_dependency 'sidekiq', '>= 4.2', '< 6'
19
+ spec.add_dependency 'sidekiq', '>= 4.2', '< 7'
20
20
  spec.add_dependency 'statsd-instrument', '~> 2.0', '>= 2.0.4'
21
21
 
22
- spec.add_development_dependency 'bundler', '~> 1.12'
22
+ spec.add_development_dependency 'bundler', '~> 2.0', '>= 2.0.2'
23
23
  spec.add_development_dependency 'rake', '~> 12.0'
24
24
  spec.add_development_dependency 'rspec', '~> 3.0'
25
25
  spec.add_development_dependency 'pry-byebug', '~> 3.4'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-instrument
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Larraz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-21 00:00:00.000000000 Z
11
+ date: 2020-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '4.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '6'
22
+ version: '7'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '4.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '6'
32
+ version: '7'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: statsd-instrument
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -56,14 +56,20 @@ dependencies:
56
56
  requirements:
57
57
  - - "~>"
58
58
  - !ruby/object:Gem::Version
59
- version: '1.12'
59
+ version: '2.0'
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 2.0.2
60
63
  type: :development
61
64
  prerelease: false
62
65
  version_requirements: !ruby/object:Gem::Requirement
63
66
  requirements:
64
67
  - - "~>"
65
68
  - !ruby/object:Gem::Version
66
- version: '1.12'
69
+ version: '2.0'
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 2.0.2
67
73
  - !ruby/object:Gem::Dependency
68
74
  name: rake
69
75
  requirement: !ruby/object:Gem::Requirement
@@ -163,8 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
169
  - !ruby/object:Gem::Version
164
170
  version: '0'
165
171
  requirements: []
166
- rubyforge_project:
167
- rubygems_version: 2.6.11
172
+ rubygems_version: 3.0.8
168
173
  signing_key:
169
174
  specification_version: 4
170
175
  summary: StatsD instrumentation for Sidekiq