delayed-plugins-tracer 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/delayed-plugins-tracer.gemspec +1 -2
- data/lib/delayed-plugins-tracer.rb +2 -0
- data/lib/delayed/plugins/tracer.rb +1 -1
- metadata +3 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd065683781c19989aed49699494f708d0d2889b
|
4
|
+
data.tar.gz: fee56ac9ed93e2a0ed763b1c19803d7c54be8a5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bab1d09db6481415558af6a178f82ea698c116b91006a403d84a198798750d1157fe4e264ff69e09888cd3afec961db4d40d547c907a1a0cdae5a516ba56b198
|
7
|
+
data.tar.gz: 684ba66a642dd071fed9e2f9e305a72189644bb78e441f96691101bbfc69c4b49fe7f8d89922ebe87a46a61ec97c6bf817978965314b2aa28bf8ae3c36265e0f
|
data/README.md
CHANGED
@@ -34,7 +34,7 @@ Now it's time to initialize the plugin in `config/initializers/delayed_job.rb`,
|
|
34
34
|
To create a new instance of the tracing plugin you need to specify at least a tracer instance and optionally an active span provider - a proc which returns a current active span. The gem plays nicely with [spanmanager](https://github.com/iaintshine/ruby-spanmanager).
|
35
35
|
|
36
36
|
```ruby
|
37
|
-
require "delayed
|
37
|
+
require "delayed-plugins-tracer"
|
38
38
|
|
39
39
|
Delayed::Worker.plugins << Delayed::Plugins::Tracer.build(tracer: OpenTracing.global_tracer,
|
40
40
|
active_span: -> { OpenTracing.global_tracer.active_span })
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "delayed-plugins-tracer"
|
7
|
-
spec.version = "1.0.
|
7
|
+
spec.version = "1.0.2"
|
8
8
|
spec.authors = ["iaintshine"]
|
9
9
|
spec.email = ["bodziomista@gmail.com"]
|
10
10
|
|
@@ -30,7 +30,6 @@ Gem::Specification.new do |spec|
|
|
30
30
|
|
31
31
|
spec.add_development_dependency "sqlite3"
|
32
32
|
spec.add_development_dependency "database_cleaner", "~> 1.6"
|
33
|
-
spec.add_development_dependency "test-tracer", "~> 1.0"
|
34
33
|
spec.add_development_dependency "tracing-matchers", "~> 1.0"
|
35
34
|
spec.add_development_dependency "bundler", "~> 1.15"
|
36
35
|
spec.add_development_dependency "rake", "~> 10.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: delayed-plugins-tracer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iaintshine
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08
|
11
|
+
date: 2017-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: delayed_job_active_record
|
@@ -108,20 +108,6 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '1.6'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: test-tracer
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '1.0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '1.0'
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
112
|
name: tracing-matchers
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -196,6 +182,7 @@ files:
|
|
196
182
|
- bin/console
|
197
183
|
- bin/setup
|
198
184
|
- delayed-plugins-tracer.gemspec
|
185
|
+
- lib/delayed-plugins-tracer.rb
|
199
186
|
- lib/delayed/plugins/tracer.rb
|
200
187
|
- lib/delayed/plugins/tracer/handler.rb
|
201
188
|
- lib/generators/delayed_job/install_tracer_generator.rb
|