activerecord-opentracing 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b36b1d90be4d3527637f7513f9e0fae519ca50790ced50ca46a0ba82da70dc6
4
- data.tar.gz: '09c74ce0a92769d537c8569ca39cccfc90d4d86d34807d47c79110b38d0d8ba4'
3
+ metadata.gz: 7eac2b7f8217a968d938817529b3ebadd2f04abd042ffefe1f33ef1c4803a34a
4
+ data.tar.gz: 15aee7908f6db013073ab3d65baa136b0b44de0256925db80743996e58c3a515
5
5
  SHA512:
6
- metadata.gz: 6cdb542fbdfa6ca66c8b45be8184fb55f23c53f04e9da6eae824e6fe0c118ffde8b1a53bc908b53bedd7d677511c6cee55545a86ed92717c72c0379541da60db
7
- data.tar.gz: 6427b24bdf74062e49f8e22ae8a305fbc62ff139f035bc33f9771a4252ef11cba5c4fca372c45ee2e65460875c831fccc7e53316911481ad8542118d60f7468d
6
+ metadata.gz: aebc50a39cac37d785d45fd0d2bcaf9a25c156b7fc200032e88ba577c91c3b366465fe875321e11160c00b6375f6fbac897196e12e9c33276e1a6be4805d9d5c
7
+ data.tar.gz: 298d0b51866225713660f393a73919bcf2ecf9f83f6c77e2b27e6d8e784ab2f4726876b6cb56e368744424b20950167069a9c700e7438abc72de6353d3bd4114
@@ -20,14 +20,14 @@ Gem::Specification.new do |spec|
20
20
  end
21
21
  spec.require_paths = ['lib']
22
22
 
23
- spec.add_development_dependency 'bundler', '~> 1.16'
23
+ spec.add_development_dependency 'bundler', '~> 1.17.3'
24
24
  spec.add_development_dependency 'opentracing_test_tracer', '~> 0.1'
25
- spec.add_development_dependency 'rake', '~> 10.0'
26
- spec.add_development_dependency 'rspec', '~> 3.0'
27
- spec.add_development_dependency 'rubocop', '~> 0.54.0'
28
- spec.add_development_dependency 'rubocop-rspec', '~> 1.24.0'
29
- spec.add_development_dependency 'sqlite3', '~> 1.3.13'
25
+ spec.add_development_dependency 'rake', '~> 13.0'
26
+ spec.add_development_dependency 'rspec', '~> 3.9.0'
27
+ spec.add_development_dependency 'rubocop', '~> 0.78.0'
28
+ spec.add_development_dependency 'rubocop-rspec', '~> 1.37.0'
29
+ spec.add_development_dependency 'sqlite3', '~> 1.4.2'
30
30
 
31
- spec.add_dependency 'activerecord', '~> 5.0'
32
- spec.add_dependency 'opentracing', '~> 0.3'
31
+ spec.add_dependency 'activerecord', '~> 6.0'
32
+ spec.add_dependency 'opentracing', '~> 0.5'
33
33
  end
@@ -3,10 +3,10 @@
3
3
  module ActiveRecord
4
4
  module OpenTracing
5
5
  class Processor
6
- DEFAULT_OPERATION_NAME = 'sql.query'.freeze
7
- COMPONENT_NAME = 'ActiveRecord'.freeze
8
- SPAN_KIND = 'client'.freeze
9
- DB_TYPE = 'sql'.freeze
6
+ DEFAULT_OPERATION_NAME = 'sql.query'
7
+ COMPONENT_NAME = 'ActiveRecord'
8
+ SPAN_KIND = 'client'
9
+ DB_TYPE = 'sql'
10
10
 
11
11
  def initialize(tracer)
12
12
  @tracer = tracer
@@ -31,8 +31,8 @@ module ActiveRecord
31
31
  span.set_tag('error', true)
32
32
  span.log_kv(
33
33
  event: 'error',
34
- :'error.kind' => exception.class.to_s,
35
- :'error.object' => exception,
34
+ 'error.kind': exception.class.to_s,
35
+ 'error.object': exception,
36
36
  message: exception.message,
37
37
  stack: exception.backtrace.join("\n")
38
38
  )
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveRecord
4
4
  module OpenTracing
5
- VERSION = '0.2.1'.freeze
5
+ VERSION = '0.3.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-opentracing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - SaleMove TechMovers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-09 00:00:00.000000000 Z
11
+ date: 2019-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.16'
19
+ version: 1.17.3
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.16'
26
+ version: 1.17.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: opentracing_test_tracer
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,98 +44,98 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '10.0'
47
+ version: '13.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '10.0'
54
+ version: '13.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '3.0'
61
+ version: 3.9.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '3.0'
68
+ version: 3.9.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.54.0
75
+ version: 0.78.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.54.0
82
+ version: 0.78.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop-rspec
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 1.24.0
89
+ version: 1.37.0
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 1.24.0
96
+ version: 1.37.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: sqlite3
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.3.13
103
+ version: 1.4.2
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 1.3.13
110
+ version: 1.4.2
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: activerecord
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '5.0'
117
+ version: '6.0'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '5.0'
124
+ version: '6.0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: opentracing
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '0.3'
131
+ version: '0.5'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '0.3'
138
+ version: '0.5'
139
139
  description: ''
140
140
  email:
141
141
  - techmovers@salemove.com
@@ -176,8 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  - !ruby/object:Gem::Version
177
177
  version: '0'
178
178
  requirements: []
179
- rubyforge_project:
180
- rubygems_version: 2.7.6
179
+ rubygems_version: 3.0.6
181
180
  signing_key:
182
181
  specification_version: 4
183
182
  summary: ActiveRecord OpenTracing intrumenter