sidekiq-instrument 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sidekiq/instrument/mixin.rb +1 -1
- data/lib/sidekiq/instrument/version.rb +1 -1
- data/sidekiq-instrument.gemspec +2 -2
- metadata +15 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f907351c4becc7617a69866ceaf1c98baab5492b
|
4
|
+
data.tar.gz: 8d2a41b4569b60c5b740c877cd25f1f35aba8eef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 916b22e338ae724503a55c9dba66f997f8565124e755d0e86cec033a8c78b6ec849b05fedcc2541d7c18ae6db3a8223b5160a84788d16ec36f2c18b8a31623b1
|
7
|
+
data.tar.gz: 91d513258a4f7f01159f88b0a12cc97cc55e474816ab5d8e60dc1e3f739e64753ddeee7af439dd305717688e0f9e8c738b7ed164dd783e1bd7e658c8d995ed74
|
@@ -4,7 +4,7 @@ module Sidekiq::Instrument
|
|
4
4
|
if worker.respond_to?(:statsd_metric_name)
|
5
5
|
worker.send(:statsd_metric_name, event)
|
6
6
|
else
|
7
|
-
queue = worker.
|
7
|
+
queue = worker.class.get_sidekiq_options['queue']
|
8
8
|
name = worker.class.name.gsub('::', '_')
|
9
9
|
|
10
10
|
"shared.sidekiq.#{queue}.#{name}.#{event}"
|
data/sidekiq-instrument.gemspec
CHANGED
@@ -16,11 +16,11 @@ 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', '
|
19
|
+
spec.add_dependency 'sidekiq', '>= 4.2', '< 6'
|
20
20
|
spec.add_dependency 'statsd-instrument', '~> 2.0', '>= 2.0.4'
|
21
21
|
|
22
22
|
spec.add_development_dependency 'bundler', '~> 1.12'
|
23
|
-
spec.add_development_dependency 'rake', '~>
|
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'
|
26
26
|
spec.add_development_dependency 'coveralls', '~> 0.8'
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-instrument
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Larraz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.2'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
22
|
+
version: '6'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '4.2'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
32
|
+
version: '6'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: statsd-instrument
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,14 +70,14 @@ dependencies:
|
|
64
70
|
requirements:
|
65
71
|
- - "~>"
|
66
72
|
- !ruby/object:Gem::Version
|
67
|
-
version: '
|
73
|
+
version: '12.0'
|
68
74
|
type: :development
|
69
75
|
prerelease: false
|
70
76
|
version_requirements: !ruby/object:Gem::Requirement
|
71
77
|
requirements:
|
72
78
|
- - "~>"
|
73
79
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
80
|
+
version: '12.0'
|
75
81
|
- !ruby/object:Gem::Dependency
|
76
82
|
name: rspec
|
77
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -158,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
164
|
version: '0'
|
159
165
|
requirements: []
|
160
166
|
rubyforge_project:
|
161
|
-
rubygems_version: 2.6.
|
167
|
+
rubygems_version: 2.6.11
|
162
168
|
signing_key:
|
163
169
|
specification_version: 4
|
164
170
|
summary: StatsD instrumentation for Sidekiq
|