activerecord-instrumentation 0.3.0.jlauer2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: a4923138123e7321b389d97d69503b1fa5db021f5f50438209dbfe06f3942aa7
4
+ data.tar.gz: f31bd6a40eedfdf3f10dfbfb147a9ac0e15a23f7382dd04b09e9bd6265f4aab0
5
+ SHA512:
6
+ metadata.gz: 8bb7a590213347f0ea7f9da3e42addd4abd2d790fcfea5becba2acc964fc1188a46373dae31277dcc3f8eb9fade5faa24620cbafbd3031b84f153d6c14d8fa00
7
+ data.tar.gz: 19998dd7f54661abb0d0e0530e962d95482c48543fabfc50f39c03f529fee299a48c24283ce2e49c6d190b82b820688584dbd95a6fb86b1a53b592c1ddf87b94
@@ -0,0 +1,126 @@
1
+ version: 2.1
2
+
3
+ orbs:
4
+ gem: doximity/gem-publisher@0
5
+
6
+ executors:
7
+ ruby-latest:
8
+ resource_class: small
9
+ docker:
10
+ - image: circleci/ruby:latest
11
+ environment:
12
+ BUNDLE_VERSION: "~> 1.17"
13
+
14
+ # yaml anchor filters
15
+ master_only: &master_only
16
+ filters:
17
+ branches:
18
+ only: master
19
+ tags:
20
+ ignore: /.*/
21
+ pr_only: &pr_only
22
+ filters:
23
+ branches:
24
+ ignore: master
25
+ tags:
26
+ ignore: /.*/
27
+ version_tags_only: &version_tags_only
28
+ filters:
29
+ branches:
30
+ ignore: /.*/
31
+ tags:
32
+ only: /^v.*/
33
+
34
+ jobs:
35
+ build:
36
+ executor: ruby-latest
37
+ steps:
38
+ - checkout
39
+ - run:
40
+ name: Install Bundler specific version
41
+ command: |
42
+ gem install bundler --version "${BUNDLE_VERSION}" --force
43
+ - restore_cache:
44
+ keys:
45
+ - v1-bundle-{{ checksum "Gemfile.lock" }}-
46
+ - run:
47
+ name: Install Ruby Dependencies
48
+ command: bundle check --path=vendor/bundle || bundle install --local --frozen --path=vendor/bundle --jobs=4 --retry=3 && bundle clean
49
+ - save_cache:
50
+ key: v1-bundle-{{ checksum "Gemfile.lock" }}-
51
+ paths:
52
+ - vendor/bundle
53
+ - run:
54
+ name: Run Tests
55
+ command: bundle exec rake ci:specs
56
+ - store_test_results:
57
+ name: Store test results
58
+ path: tmp/test-results
59
+ - run:
60
+ name: Build documentation
61
+ command: bundle exec rake ci:doc
62
+ - store_artifacts:
63
+ name: Saves documentation
64
+ path: doc
65
+ - persist_to_workspace:
66
+ root: .
67
+ paths:
68
+ - vendor/bundle
69
+
70
+ workflows:
71
+ version: 2
72
+
73
+ trunk:
74
+ jobs:
75
+ - build:
76
+ <<: *master_only
77
+ - gem/build:
78
+ <<: *master_only
79
+ executor: ruby-latest
80
+ name: gem-build
81
+ requires:
82
+ - build
83
+
84
+ pull-requests:
85
+ jobs:
86
+ - build:
87
+ <<: *pr_only
88
+ - gem/build:
89
+ <<: *pr_only
90
+ executor: ruby-latest
91
+ name: gem-build
92
+ requires:
93
+ - build
94
+ - pre-release-approval:
95
+ <<: *pr_only
96
+ type: approval
97
+ requires:
98
+ - gem-build
99
+ - gem/publish:
100
+ <<: *pr_only
101
+ name: gem-publish
102
+ to_rubygems: true
103
+ pre_release: true
104
+ requires:
105
+ - pre-release-approval
106
+ context: artifact_publishing
107
+
108
+ final-release:
109
+ jobs:
110
+ - build:
111
+ <<: *version_tags_only
112
+ - gem/build:
113
+ <<: *version_tags_only
114
+ executor: ruby-latest
115
+ name: gem-build
116
+ requires:
117
+ - build
118
+ - gem/publish:
119
+ <<: *version_tags_only
120
+ name: gem-publish
121
+ to_rubygems: true
122
+ pre_release: false
123
+ requires:
124
+ - gem-build
125
+ context: artifact_publishing
126
+
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ .rspec_status
2
+ /.ruby-version
3
+ /*.gem
4
+ /.bundle/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ /vendor/bundle/
11
+ /tracer-test
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,35 @@
1
+ ---
2
+ inherit_gem:
3
+ dox-style:
4
+ - ".rubocop.yml"
5
+
6
+ Env/OutsideConfig:
7
+ Exclude:
8
+ - "./tasks/ci.rake"
9
+
10
+ Env/UndefinedVar:
11
+ Exclude:
12
+ - "./tasks/ci.rake"
13
+
14
+ Env/UseFetch:
15
+ Exclude:
16
+ - "./bin/*"
17
+
18
+ Metrics/BlockLength:
19
+ Exclude:
20
+ - "./**/*_spec*.rb"
21
+ - "./*.gemspec"
22
+ - "./spec/*_helper*.rb"
23
+ - "./tasks/ci.rake"
24
+ - "Gemfile"
25
+
26
+ Metrics/ModuleLength:
27
+ Exclude:
28
+ - "./**/*_spec*.rb"
29
+
30
+ Metrics/MethodLength:
31
+ Exclude:
32
+ - "./**/*_spec*.rb"
33
+
34
+ Rails/ApplicationRecord:
35
+ Enabled: false
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.1
5
+ before_install: gem install bundler -v 1.16.2
data/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ Changelog
2
+ =========
3
+
4
+ ## 0.3.0.jlauer2 04/22/2020
5
+ * Set up build pipeline with circleci and gem-publisher
6
+ * Fixed linting issues
7
+ * Renamed gem to `activerecord-instrumentation`
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ # BEFORE changing this file, read https://wiki.doximity.com/articles/gemfile-maintenance
4
+ source "https://artifacts.dox.support/repository/gems"
5
+
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,100 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ activerecord-instrumentation (0.3.0.jlauer2)
5
+ activerecord (~> 6.0)
6
+ opentracing (~> 0.5)
7
+
8
+ GEM
9
+ remote: https://artifacts.dox.support/repository/gems/
10
+ specs:
11
+ activemodel (6.0.2.2)
12
+ activesupport (= 6.0.2.2)
13
+ activerecord (6.0.2.2)
14
+ activemodel (= 6.0.2.2)
15
+ activesupport (= 6.0.2.2)
16
+ activesupport (6.0.2.2)
17
+ concurrent-ruby (~> 1.0, >= 1.0.2)
18
+ i18n (>= 0.7, < 2)
19
+ minitest (~> 5.1)
20
+ tzinfo (~> 1.1)
21
+ zeitwerk (~> 2.2)
22
+ ast (2.4.0)
23
+ concurrent-ruby (1.1.6)
24
+ diff-lcs (1.3)
25
+ dox-style (1.3.0)
26
+ rubocop (~> 0.77)
27
+ rubocop-performance (~> 1.5.1)
28
+ rubocop-rails (~> 2.2.0)
29
+ rubocop-rspec (~> 1.37.0)
30
+ i18n (1.8.2)
31
+ concurrent-ruby (~> 1.0)
32
+ jaro_winkler (1.5.4)
33
+ minitest (5.14.0)
34
+ opentracing (0.5.0)
35
+ opentracing_test_tracer (0.1.1)
36
+ opentracing
37
+ parallel (1.19.1)
38
+ parser (2.7.1.1)
39
+ ast (~> 2.4.0)
40
+ rack (2.2.2)
41
+ rainbow (3.0.0)
42
+ rake (13.0.1)
43
+ rdoc (6.2.1)
44
+ rspec (3.9.0)
45
+ rspec-core (~> 3.9.0)
46
+ rspec-expectations (~> 3.9.0)
47
+ rspec-mocks (~> 3.9.0)
48
+ rspec-core (3.9.1)
49
+ rspec-support (~> 3.9.1)
50
+ rspec-expectations (3.9.1)
51
+ diff-lcs (>= 1.2.0, < 2.0)
52
+ rspec-support (~> 3.9.0)
53
+ rspec-mocks (3.9.1)
54
+ diff-lcs (>= 1.2.0, < 2.0)
55
+ rspec-support (~> 3.9.0)
56
+ rspec-support (3.9.2)
57
+ rspec_junit_formatter (0.4.1)
58
+ rspec-core (>= 2, < 4, != 2.12.0)
59
+ rubocop (0.78.0)
60
+ jaro_winkler (~> 1.5.1)
61
+ parallel (~> 1.10)
62
+ parser (>= 2.6)
63
+ rainbow (>= 2.2.2, < 4.0)
64
+ ruby-progressbar (~> 1.7)
65
+ unicode-display_width (>= 1.4.0, < 1.7)
66
+ rubocop-performance (1.5.2)
67
+ rubocop (>= 0.71.0)
68
+ rubocop-rails (2.2.1)
69
+ rack (>= 1.1)
70
+ rubocop (>= 0.72.0)
71
+ rubocop-rspec (1.37.1)
72
+ rubocop (>= 0.68.1)
73
+ ruby-progressbar (1.10.1)
74
+ sdoc (1.1.0)
75
+ rdoc (>= 5.0)
76
+ sqlite3 (1.4.2)
77
+ thread_safe (0.3.6)
78
+ tzinfo (1.2.7)
79
+ thread_safe (~> 0.1)
80
+ unicode-display_width (1.6.1)
81
+ zeitwerk (2.3.0)
82
+
83
+ PLATFORMS
84
+ ruby
85
+
86
+ DEPENDENCIES
87
+ activerecord-instrumentation!
88
+ bundler (~> 1.17)
89
+ dox-style
90
+ opentracing_test_tracer (~> 0.1)
91
+ rake (~> 13.0)
92
+ rspec (~> 3.9.0)
93
+ rspec_junit_formatter
94
+ rubocop (~> 0.78.0)
95
+ rubocop-rspec (~> 1.37.0)
96
+ sdoc
97
+ sqlite3 (~> 1.4.2)
98
+
99
+ BUNDLED WITH
100
+ 1.17.2
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Indrek Juhkam
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,37 @@
1
+ # ActiveRecord::OpenTracing
2
+
3
+ Adds OpenTracing instrumentation to ActiveRecord
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'activerecord-opentracing'
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```ruby
16
+ require 'opentracing'
17
+ OpenTracing.global_tracer = TracerImplementation.new
18
+
19
+ require 'active_record/opentracing'
20
+ ActiveRecord::OpenTracing.instrument
21
+ ```
22
+
23
+ # Development
24
+
25
+ ## Gem documentation
26
+
27
+ You can find the documentation by going to CircleCI, looking for the `build` job, going to Artifacts and clicking on `index.html`. A visual guide on this can be found in our wiki at [Gems Development: Where to find documentation for our gems](https://wiki.doximity.com/articles/gems-development-where-to-find-documentation-for-our-gems).
28
+
29
+ ## Gem development
30
+
31
+ After checking out the repo, run `bundle install` to install dependencies. Then, run `rake spec` to run the tests.
32
+ You can also run `bundle console` for an interactive prompt that will allow you to experiment.
33
+
34
+ This repository uses a gem publishing mechanism on the CI configuration, meaning most work related with cutting a new
35
+ version is done automatically.
36
+
37
+ To release a new version, follow the [wiki instructions](https://wiki.doximity.com/articles/gems-development-releasing-new-versions).
data/Rakefile ADDED
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "rspec/core/rake_task"
4
+
5
+ FileList["tasks/*.rake"].each { |task| load task }
6
+
7
+ RSpec::Core::RakeTask.new(:spec)
8
+
9
+ task default: :spec
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path("lib", __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require "active_record/open_tracing/version"
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = "activerecord-instrumentation"
9
+ spec.version = ActiveRecord::OpenTracing::VERSION
10
+ spec.authors = ["SaleMove TechMovers", "Doximity"]
11
+ spec.email = ["ops@doximity.com"]
12
+
13
+ spec.summary = "ActiveRecord OpenTracing intrumenter"
14
+ spec.description = ""
15
+ spec.homepage = "https://github.com/doximity/ruby-activerecord-opentracing"
16
+ spec.license = "MIT"
17
+
18
+ # Specify which files should be added to the gem when it is released.
19
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
20
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
21
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin|test|spec|features|vendor|tasks|tmp)/}) }
22
+ end
23
+ spec.require_paths = ["lib"]
24
+
25
+ spec.add_development_dependency "bundler", "~> 1.17"
26
+ spec.add_development_dependency "dox-style"
27
+ spec.add_development_dependency "opentracing_test_tracer", "~> 0.1"
28
+ spec.add_development_dependency "rake", "~> 13.0"
29
+ spec.add_development_dependency "rspec", "~> 3.9.0"
30
+ spec.add_development_dependency "rspec_junit_formatter"
31
+ spec.add_development_dependency "rubocop", "~> 0.78.0"
32
+ spec.add_development_dependency "rubocop-rspec", "~> 1.37.0"
33
+ spec.add_development_dependency "sdoc"
34
+ spec.add_development_dependency "sqlite3", "~> 1.4.2"
35
+
36
+ spec.add_dependency "activerecord", "~> 6.0"
37
+ spec.add_dependency "opentracing", "~> 0.5"
38
+ end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "active_record"
4
+ require "opentracing"
5
+
6
+ require "active_record/open_tracing/version"
7
+ require "active_record/open_tracing/processor"
8
+
9
+ module ActiveRecord
10
+ module OpenTracing
11
+ def self.instrument(tracer: ::OpenTracing.global_tracer)
12
+ processor = Processor.new(tracer)
13
+
14
+ ActiveSupport::Notifications.subscribe("sql.active_record") do |*args|
15
+ processor.call(*args)
16
+ end
17
+
18
+ self
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,92 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ActiveRecord
4
+ module OpenTracing
5
+ class Processor
6
+ DEFAULT_OPERATION_NAME = "sql.query"
7
+ COMPONENT_NAME = "ActiveRecord"
8
+ SPAN_KIND = "client"
9
+ DB_TYPE = "sql"
10
+
11
+ def initialize(tracer)
12
+ @tracer = tracer
13
+ end
14
+
15
+ def call(_event_name, start, finish, _id, payload)
16
+ span = @tracer.start_span(
17
+ payload[:name] || DEFAULT_OPERATION_NAME,
18
+ start_time: start,
19
+ tags: tags_for_payload(payload)
20
+ )
21
+
22
+ if (exception = payload[:exception_object])
23
+ span.set_tag("error", true)
24
+ span.log_kv(exception_metadata(exception))
25
+ end
26
+
27
+ span.finish(end_time: finish)
28
+ end
29
+
30
+ private
31
+
32
+ def exception_metadata(exception)
33
+ {
34
+ event: "error",
35
+ 'error.kind': exception.class.to_s,
36
+ 'error.object': exception,
37
+ message: exception.message,
38
+ stack: exception.backtrace.join("\n")
39
+ }
40
+ end
41
+
42
+ def tags_for_payload(payload)
43
+ {
44
+ "component" => COMPONENT_NAME,
45
+ "span.kind" => SPAN_KIND,
46
+ "db.instance" => db_instance,
47
+ "db.cached" => payload.fetch(:cached, false),
48
+ "db.statement" => payload.fetch(:sql).squish,
49
+ "db.type" => DB_TYPE,
50
+ "peer.address" => db_address
51
+ }
52
+ end
53
+
54
+ def db_instance
55
+ @db_instance ||= db_config.fetch(:database)
56
+ end
57
+
58
+ def db_address
59
+ @db_address ||= [
60
+ adapter_str,
61
+ username_str,
62
+ host_str,
63
+ database_str
64
+ ].join
65
+ end
66
+
67
+ def adapter_str
68
+ "#{connection_config.fetch(:adapter)}://"
69
+ end
70
+
71
+ def username_str
72
+ connection_config[:username]
73
+ end
74
+
75
+ def host_str
76
+ "@#{connection_config[:host]}" if connection_config[:host]
77
+ end
78
+
79
+ def database_str
80
+ "/#{connection_config.fetch(:database)}"
81
+ end
82
+
83
+ def connection_config
84
+ ActiveRecord::Base.connection_config
85
+ end
86
+
87
+ def db_config
88
+ @db_config ||= ActiveRecord::Base.connection_config
89
+ end
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ActiveRecord
4
+ module OpenTracing
5
+ VERSION = "0.3.0.jlauer2"
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,227 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: activerecord-instrumentation
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.0.jlauer2
5
+ platform: ruby
6
+ authors:
7
+ - SaleMove TechMovers
8
+ - Doximity
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2020-04-22 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '1.17'
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '1.17'
28
+ - !ruby/object:Gem::Dependency
29
+ name: dox-style
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: opentracing_test_tracer
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '0.1'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '0.1'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rake
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '13.0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '13.0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: rspec
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: 3.9.0
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: 3.9.0
84
+ - !ruby/object:Gem::Dependency
85
+ name: rspec_junit_formatter
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ - !ruby/object:Gem::Dependency
99
+ name: rubocop
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - "~>"
103
+ - !ruby/object:Gem::Version
104
+ version: 0.78.0
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: 0.78.0
112
+ - !ruby/object:Gem::Dependency
113
+ name: rubocop-rspec
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - "~>"
117
+ - !ruby/object:Gem::Version
118
+ version: 1.37.0
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - "~>"
124
+ - !ruby/object:Gem::Version
125
+ version: 1.37.0
126
+ - !ruby/object:Gem::Dependency
127
+ name: sdoc
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
140
+ - !ruby/object:Gem::Dependency
141
+ name: sqlite3
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - "~>"
145
+ - !ruby/object:Gem::Version
146
+ version: 1.4.2
147
+ type: :development
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - "~>"
152
+ - !ruby/object:Gem::Version
153
+ version: 1.4.2
154
+ - !ruby/object:Gem::Dependency
155
+ name: activerecord
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - "~>"
159
+ - !ruby/object:Gem::Version
160
+ version: '6.0'
161
+ type: :runtime
162
+ prerelease: false
163
+ version_requirements: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - "~>"
166
+ - !ruby/object:Gem::Version
167
+ version: '6.0'
168
+ - !ruby/object:Gem::Dependency
169
+ name: opentracing
170
+ requirement: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - "~>"
173
+ - !ruby/object:Gem::Version
174
+ version: '0.5'
175
+ type: :runtime
176
+ prerelease: false
177
+ version_requirements: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - "~>"
180
+ - !ruby/object:Gem::Version
181
+ version: '0.5'
182
+ description: ''
183
+ email:
184
+ - ops@doximity.com
185
+ executables: []
186
+ extensions: []
187
+ extra_rdoc_files: []
188
+ files:
189
+ - ".circleci/config.yml"
190
+ - ".gitignore"
191
+ - ".rspec"
192
+ - ".rubocop.yml"
193
+ - ".travis.yml"
194
+ - CHANGELOG.md
195
+ - Gemfile
196
+ - Gemfile.lock
197
+ - LICENSE.txt
198
+ - README.md
199
+ - Rakefile
200
+ - activerecord-instrumentation.gemspec
201
+ - lib/active_record/open_tracing.rb
202
+ - lib/active_record/open_tracing/processor.rb
203
+ - lib/active_record/open_tracing/version.rb
204
+ homepage: https://github.com/doximity/ruby-activerecord-opentracing
205
+ licenses:
206
+ - MIT
207
+ metadata: {}
208
+ post_install_message:
209
+ rdoc_options: []
210
+ require_paths:
211
+ - lib
212
+ required_ruby_version: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - ">="
215
+ - !ruby/object:Gem::Version
216
+ version: '0'
217
+ required_rubygems_version: !ruby/object:Gem::Requirement
218
+ requirements:
219
+ - - ">"
220
+ - !ruby/object:Gem::Version
221
+ version: 1.3.1
222
+ requirements: []
223
+ rubygems_version: 3.1.2
224
+ signing_key:
225
+ specification_version: 4
226
+ summary: ActiveRecord OpenTracing intrumenter
227
+ test_files: []