activerecord-opentracing 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
2
  SHA256:
3
- metadata.gz: 7eac2b7f8217a968d938817529b3ebadd2f04abd042ffefe1f33ef1c4803a34a
4
- data.tar.gz: 15aee7908f6db013073ab3d65baa136b0b44de0256925db80743996e58c3a515
3
+ metadata.gz: d7dad7963d3201e5d6588c0aa393618a9431c9e068a2c6673de222f9e13e21a7
4
+ data.tar.gz: 0022a94f340db8566b52c808b5873908a20664cd9a43739839fd6c26bf5a7162
5
5
  SHA512:
6
- metadata.gz: aebc50a39cac37d785d45fd0d2bcaf9a25c156b7fc200032e88ba577c91c3b366465fe875321e11160c00b6375f6fbac897196e12e9c33276e1a6be4805d9d5c
7
- data.tar.gz: 298d0b51866225713660f393a73919bcf2ecf9f83f6c77e2b27e6d8e784ab2f4726876b6cb56e368744424b20950167069a9c700e7438abc72de6353d3bd4114
6
+ metadata.gz: 1e22280559ae1e4bdd4d51a8cc0255f9a13c79bb4f4335fa3fc3031acdaeda66be4a0d5c6c0924c95c04f41c31bc39cfd3fb0e984d1055d17d34c9a1e7a540eb
7
+ data.tar.gz: b6aaa7fdcb784eb62052775c37c57a496dfcbd862ab509ae89799af91fe7b3a80a0c967c234039bc78d59e290708414b117f1c4ada56e971177c986a71ef3d66
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  end
21
21
  spec.require_paths = ['lib']
22
22
 
23
- spec.add_development_dependency 'bundler', '~> 1.17.3'
23
+ spec.add_development_dependency 'bundler', '~> 2.2.9'
24
24
  spec.add_development_dependency 'opentracing_test_tracer', '~> 0.1'
25
25
  spec.add_development_dependency 'rake', '~> 13.0'
26
26
  spec.add_development_dependency 'rspec', '~> 3.9.0'
@@ -28,6 +28,6 @@ Gem::Specification.new do |spec|
28
28
  spec.add_development_dependency 'rubocop-rspec', '~> 1.37.0'
29
29
  spec.add_development_dependency 'sqlite3', '~> 1.4.2'
30
30
 
31
- spec.add_dependency 'activerecord', '~> 6.0'
31
+ spec.add_dependency 'activerecord', '~> 6.1'
32
32
  spec.add_dependency 'opentracing', '~> 0.5'
33
33
  end
@@ -49,7 +49,7 @@ module ActiveRecord
49
49
 
50
50
  def db_address
51
51
  @db_address ||= begin
52
- connection_config = ActiveRecord::Base.connection_config
52
+ connection_config = db_config
53
53
  username = connection_config[:username]
54
54
  host = connection_config[:host]
55
55
  database = connection_config.fetch(:database)
@@ -65,7 +65,7 @@ module ActiveRecord
65
65
  end
66
66
 
67
67
  def db_config
68
- @db_config ||= ActiveRecord::Base.connection_config
68
+ @db_config ||= ActiveRecord::Base.connection_db_config.configuration_hash
69
69
  end
70
70
  end
71
71
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveRecord
4
4
  module OpenTracing
5
- VERSION = '0.3.0'
5
+ VERSION = '0.3.1'
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.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - SaleMove TechMovers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-19 00:00:00.000000000 Z
11
+ date: 2021-02-11 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.17.3
19
+ version: 2.2.9
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.17.3
26
+ version: 2.2.9
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: opentracing_test_tracer
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '6.0'
117
+ version: '6.1'
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: '6.0'
124
+ version: '6.1'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: opentracing
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  - !ruby/object:Gem::Version
177
177
  version: '0'
178
178
  requirements: []
179
- rubygems_version: 3.0.6
179
+ rubygems_version: 3.0.9
180
180
  signing_key:
181
181
  specification_version: 4
182
182
  summary: ActiveRecord OpenTracing intrumenter