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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72b59fa7f1892cb622f6b60be6ed2a41b00543cd
4
- data.tar.gz: 3ceceea81c95cf9dc723692ddad340f115577a79
3
+ metadata.gz: bd065683781c19989aed49699494f708d0d2889b
4
+ data.tar.gz: fee56ac9ed93e2a0ed763b1c19803d7c54be8a5b
5
5
  SHA512:
6
- metadata.gz: 2c47e39a970343f7b3e98ba18bc2507c60a01845879a3dc206e73538fe6a969c6c66515d29c3011f56e1191db85515b5c103a1daeb3d7cedc2fb9ecf831abc12
7
- data.tar.gz: f9ff90a31e03593c76a53f87f5f9fe18371b3f014c2067c7b9bc0ee3943cebb6e2f7a4f24fce66be1e532c5236e51117e3c9163f3b4f0001f32104f1925339b3
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/plugins/tracer"
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.1"
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"
@@ -0,0 +1,2 @@
1
+ require 'delayed/plugins/tracer'
2
+ require 'generators/delayed_job/install_tracer_generator'
@@ -3,8 +3,8 @@ require 'multi_json'
3
3
  require "active_record"
4
4
  require "delayed_job"
5
5
  require "delayed_job_active_record"
6
+ require 'method-tracer'
6
7
 
7
- require 'method/tracer'
8
8
  require 'delayed/plugins/tracer/handler'
9
9
 
10
10
  module Delayed
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.1
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-30 00:00:00.000000000 Z
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