instrument_all_the_things 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/lint.yaml +21 -0
  3. data/.github/workflows/test.yaml +31 -0
  4. data/.gitignore +2 -0
  5. data/.rubocop-https---raw-githubusercontent-com-GetTerminus-ruby-shared-configs-master--rubocop-yml +91 -0
  6. data/.rubocop.yml +1 -1
  7. data/.ruby-version +1 -1
  8. data/CHANGELOG.md +4 -0
  9. data/Gemfile.lock +31 -31
  10. data/instrument_all_the_things.gemspec +2 -2
  11. data/lib/instrument_all_the_things/version.rb +1 -1
  12. data/vendor/cache/benchmark-ips-2.10.0.gem +0 -0
  13. data/vendor/cache/ddtrace-0.54.2.gem +0 -0
  14. data/vendor/cache/debase-ruby_core_source-0.10.14.gem +0 -0
  15. data/vendor/cache/diff-lcs-1.5.0.gem +0 -0
  16. data/vendor/cache/dogstatsd-ruby-5.5.0.gem +0 -0
  17. data/vendor/cache/msgpack-1.5.2.gem +0 -0
  18. data/vendor/cache/parallel-1.22.1.gem +0 -0
  19. data/vendor/cache/parser-3.1.2.0.gem +0 -0
  20. data/vendor/cache/rainbow-3.1.1.gem +0 -0
  21. data/vendor/cache/regexp_parser-2.5.0.gem +0 -0
  22. data/vendor/cache/rspec-3.11.0.gem +0 -0
  23. data/vendor/cache/rspec-core-3.11.0.gem +0 -0
  24. data/vendor/cache/rspec-expectations-3.11.0.gem +0 -0
  25. data/vendor/cache/rspec-mocks-3.11.1.gem +0 -0
  26. data/vendor/cache/rspec-support-3.11.0.gem +0 -0
  27. data/vendor/cache/rubocop-1.30.1.gem +0 -0
  28. data/vendor/cache/rubocop-ast-1.18.0.gem +0 -0
  29. data/vendor/cache/simplecov_json_formatter-0.1.4.gem +0 -0
  30. metadata +29 -25
  31. data/.drone.yml +0 -14
  32. data/vendor/cache/benchmark-ips-2.9.1.gem +0 -0
  33. data/vendor/cache/ddtrace-0.52.0.gem +0 -0
  34. data/vendor/cache/diff-lcs-1.4.4.gem +0 -0
  35. data/vendor/cache/dogstatsd-ruby-5.2.0.gem +0 -0
  36. data/vendor/cache/ffi-1.15.4.gem +0 -0
  37. data/vendor/cache/msgpack-1.4.2.gem +0 -0
  38. data/vendor/cache/parallel-1.21.0.gem +0 -0
  39. data/vendor/cache/parser-3.0.2.0.gem +0 -0
  40. data/vendor/cache/rainbow-3.0.0.gem +0 -0
  41. data/vendor/cache/regexp_parser-2.1.1.gem +0 -0
  42. data/vendor/cache/rspec-3.10.0.gem +0 -0
  43. data/vendor/cache/rspec-core-3.10.1.gem +0 -0
  44. data/vendor/cache/rspec-expectations-3.10.1.gem +0 -0
  45. data/vendor/cache/rspec-mocks-3.10.2.gem +0 -0
  46. data/vendor/cache/rspec-support-3.10.2.gem +0 -0
  47. data/vendor/cache/simplecov_json_formatter-0.1.3.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19a589699de098a3b92a317e37a7a901f6d3d90868fd889a41a1c7e04ebaa124
4
- data.tar.gz: 2f7b79adb14a1ac4fcfc85f8993508d357d6bcd4caa63b9e1f482c95dcf9b85e
3
+ metadata.gz: 5fc79ef6d04b8966c22b1d9158f2f1449f9334ae6b4b02c1b64bed6469fe6b32
4
+ data.tar.gz: 9f6d5c20142cf0d9dad511b7b5c6f343ba6cb3ad6287235e4088fd50fea064be
5
5
  SHA512:
6
- metadata.gz: 6403abcf56557ca5dcd873c3f7133d6947eab41a4a1854cc7d25d8e0b55879478691d5682fa27c54833fa4e750c4893230852bd4edc6c2ac9516f1c2d720fa8d
7
- data.tar.gz: ced3427628d48fc19f064b93c2647d991e0fbe4eec76e9365d1b7184d171b4c86d06b5d1ad0ac037eee703cc3a0f1d16beea4b13b1c1cd39d7ae6b4ba12c4f32
6
+ metadata.gz: d3f3fa2403610b3d04e52187fa2ee1bc66d1e432d335ba0726e043a44cf32a1a40562f9d32fe3cf93326a40dd38c1e7065b07eac079a8b99122e9d77bc7a2449
7
+ data.tar.gz: 11c5567e0254aebcf3520a41c0bd8584e51145a7b7fe37fdfda35f669c3946b916a934bee3338da40b057a59102cc27dcda9b32469a84fb7c3bdac3419cbcc70
@@ -0,0 +1,21 @@
1
+ name: 'Lint'
2
+
3
+ on: push
4
+
5
+ jobs:
6
+ run-rubocop:
7
+ name: Lint code
8
+ strategy:
9
+ fail-fast: false
10
+ matrix:
11
+ rubyVersion: ["2.7.6"]
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+ - uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: ${{ matrix.rubyVersion }}
18
+ bundler-cache: true
19
+ cache-version: "${{ matrix.rubyVersion }}-0"
20
+ - name: Run RuboCop
21
+ run: bundle exec rubocop
@@ -0,0 +1,31 @@
1
+ name: Test
2
+
3
+ on: push
4
+
5
+ jobs:
6
+ run-tests:
7
+ name: Test code
8
+ runs-on: ubuntu-latest
9
+ strategy:
10
+ fail-fast: false
11
+ matrix:
12
+ ruby:
13
+ - 3.1.2
14
+ - 3.0.4
15
+ - 2.7.6
16
+ steps:
17
+ - uses: actions/checkout@v2
18
+ - uses: ruby/setup-ruby@v1
19
+ with:
20
+ ruby-version: ${{ matrix.ruby }}
21
+ bundler-cache: true
22
+ cache-version: ${{ matrix.ruby }}-0
23
+ - name: Run RSpec
24
+ env:
25
+ CI: true
26
+ run: bundle exec rspec
27
+ - name: Coveralls
28
+ uses: coverallsapp/github-action@v1.1.2
29
+ continue-on-error: true
30
+ with:
31
+ github-token: ${{ secrets.GITHUB_TOKEN }}
data/.gitignore CHANGED
@@ -11,3 +11,5 @@
11
11
  .rspec_status
12
12
  .DS_Store
13
13
  .vscode
14
+
15
+ instrument_all_the_things*.gem
@@ -0,0 +1,91 @@
1
+ AllCops:
2
+ Exclude:
3
+ - Makefile
4
+ - vendor/**/*
5
+ - bin/**/*
6
+
7
+ Layout/EndOfLine:
8
+ Enabled: false
9
+
10
+ Style/DateTime:
11
+ Enabled: false
12
+
13
+ Style/Documentation:
14
+ Enabled: false
15
+
16
+ Lint/Debugger:
17
+ Enabled: true
18
+
19
+ Style/FrozenStringLiteralComment:
20
+ Enabled: true
21
+ EnforcedStyle: always
22
+
23
+ Style/TrailingCommaInHashLiteral:
24
+ Enabled: true
25
+ EnforcedStyleForMultiline: comma
26
+
27
+ Style/TrailingCommaInArrayLiteral:
28
+ Enabled: true
29
+ EnforcedStyleForMultiline: comma
30
+
31
+ Style/TrailingCommaInArguments:
32
+ Enabled: true
33
+ EnforcedStyleForMultiline: comma
34
+
35
+ Lint/UnusedMethodArgument:
36
+ AllowUnusedKeywordArguments: true
37
+
38
+ Layout/LineLength:
39
+ Enabled: true
40
+ Max: 280
41
+ IgnoreCopDirectives: true
42
+ IgnoredPatterns: ['\A#', '\A\s*sig { .* }\Z']
43
+ Exclude:
44
+ - '**/*_pb.rb'
45
+
46
+ Metrics/AbcSize:
47
+ Enabled: true
48
+ Max: 48
49
+
50
+ Metrics/CyclomaticComplexity:
51
+ Max: 9
52
+
53
+ Metrics/MethodLength:
54
+ Enabled: true
55
+ Max: 32
56
+
57
+ Layout/ParameterAlignment:
58
+ Enabled: true
59
+ EnforcedStyle: with_fixed_indentation
60
+
61
+ Naming/MethodParameterName:
62
+ Enabled: true
63
+ AllowedNames: ['io', 'id', 'to', 'by', 'on', 'in', 'at', '_'] # Defaults + _
64
+
65
+ Layout/MultilineMethodCallIndentation:
66
+ Enabled: true
67
+ EnforcedStyle: indented
68
+
69
+ Style/ParallelAssignment:
70
+ Enabled: true
71
+
72
+ Metrics/ClassLength:
73
+ Max: 240
74
+
75
+ Metrics/BlockLength:
76
+ Max: 30
77
+ Exclude:
78
+ - spec/**/*.rb
79
+ - '**/*_pb.rb'
80
+
81
+ Metrics/ParameterLists:
82
+ Max: 6
83
+
84
+ Lint/AmbiguousBlockAssociation:
85
+ Exclude:
86
+ - spec/**/*.rb
87
+
88
+ Style/BlockDelimiters:
89
+ Enabled: true
90
+ Exclude:
91
+ - spec/**/*
data/.rubocop.yml CHANGED
@@ -2,7 +2,7 @@ inherit_from: https://raw.githubusercontent.com/GetTerminus/ruby_shared_configs/
2
2
 
3
3
 
4
4
  AllCops:
5
- TargetRubyVersion: 2.6
5
+ TargetRubyVersion: 2.7
6
6
  Exclude:
7
7
  - Makefile
8
8
  - vendor/**/*
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.0.2
1
+ 2.7.6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.3.1
2
+
3
+ Lock to compatible versions of ddtrace. We'll need to cut a new version of this for ddtrace >= 1.
4
+
1
5
  # 1.2.0
2
6
 
3
7
  Remove unneeded kwargs option to support Ruby 3.0
data/Gemfile.lock CHANGED
@@ -2,65 +2,65 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  instrument_all_the_things (1.3.0)
5
- ddtrace
5
+ ddtrace (< 1)
6
6
  dogstatsd-ruby
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
11
  ast (2.4.2)
12
- benchmark-ips (2.9.1)
12
+ benchmark-ips (2.10.0)
13
13
  coderay (1.1.3)
14
- ddtrace (0.52.0)
15
- ffi (~> 1.0)
14
+ ddtrace (0.54.2)
15
+ debase-ruby_core_source (<= 0.10.14)
16
16
  msgpack
17
- diff-lcs (1.4.4)
17
+ debase-ruby_core_source (0.10.14)
18
+ diff-lcs (1.5.0)
18
19
  docile (1.4.0)
19
- dogstatsd-ruby (5.2.0)
20
- ffi (1.15.4)
20
+ dogstatsd-ruby (5.5.0)
21
21
  method_source (1.0.0)
22
- msgpack (1.4.2)
23
- parallel (1.21.0)
24
- parser (3.0.2.0)
22
+ msgpack (1.5.2)
23
+ parallel (1.22.1)
24
+ parser (3.1.2.0)
25
25
  ast (~> 2.4.1)
26
26
  pry (0.14.1)
27
27
  coderay (~> 1.1)
28
28
  method_source (~> 1.0)
29
- rainbow (3.0.0)
29
+ rainbow (3.1.1)
30
30
  rake (10.5.0)
31
- regexp_parser (2.1.1)
31
+ regexp_parser (2.5.0)
32
32
  rexml (3.2.5)
33
- rspec (3.10.0)
34
- rspec-core (~> 3.10.0)
35
- rspec-expectations (~> 3.10.0)
36
- rspec-mocks (~> 3.10.0)
37
- rspec-core (3.10.1)
38
- rspec-support (~> 3.10.0)
39
- rspec-expectations (3.10.1)
33
+ rspec (3.11.0)
34
+ rspec-core (~> 3.11.0)
35
+ rspec-expectations (~> 3.11.0)
36
+ rspec-mocks (~> 3.11.0)
37
+ rspec-core (3.11.0)
38
+ rspec-support (~> 3.11.0)
39
+ rspec-expectations (3.11.0)
40
40
  diff-lcs (>= 1.2.0, < 2.0)
41
- rspec-support (~> 3.10.0)
42
- rspec-mocks (3.10.2)
41
+ rspec-support (~> 3.11.0)
42
+ rspec-mocks (3.11.1)
43
43
  diff-lcs (>= 1.2.0, < 2.0)
44
- rspec-support (~> 3.10.0)
45
- rspec-support (3.10.2)
46
- rubocop (1.22.0)
44
+ rspec-support (~> 3.11.0)
45
+ rspec-support (3.11.0)
46
+ rubocop (1.30.1)
47
47
  parallel (~> 1.10)
48
- parser (>= 3.0.0.0)
48
+ parser (>= 3.1.0.0)
49
49
  rainbow (>= 2.2.2, < 4.0)
50
50
  regexp_parser (>= 1.8, < 3.0)
51
- rexml
52
- rubocop-ast (>= 1.12.0, < 2.0)
51
+ rexml (>= 3.2.5, < 4.0)
52
+ rubocop-ast (>= 1.18.0, < 2.0)
53
53
  ruby-progressbar (~> 1.7)
54
54
  unicode-display_width (>= 1.4.0, < 3.0)
55
- rubocop-ast (1.12.0)
56
- parser (>= 3.0.1.1)
55
+ rubocop-ast (1.18.0)
56
+ parser (>= 3.1.1.0)
57
57
  ruby-progressbar (1.11.0)
58
58
  simplecov (0.21.2)
59
59
  docile (~> 1.1)
60
60
  simplecov-html (~> 0.11)
61
61
  simplecov_json_formatter (~> 0.1)
62
62
  simplecov-html (0.12.3)
63
- simplecov_json_formatter (0.1.3)
63
+ simplecov_json_formatter (0.1.4)
64
64
  unicode-display_width (2.1.0)
65
65
 
66
66
  PLATFORMS
@@ -78,4 +78,4 @@ DEPENDENCIES
78
78
  simplecov
79
79
 
80
80
  BUNDLED WITH
81
- 2.2.22
81
+ 2.3.12
@@ -28,9 +28,9 @@ Gem::Specification.new do |spec|
28
28
  spec.bindir = 'exe'
29
29
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
30
  spec.require_paths = ['lib']
31
- spec.required_ruby_version = '>= 2.6.0'
31
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.7.0')
32
32
 
33
- spec.add_dependency 'ddtrace'
33
+ spec.add_dependency 'ddtrace', '< 1'
34
34
  spec.add_dependency 'dogstatsd-ruby'
35
35
 
36
36
  spec.add_development_dependency 'benchmark-ips'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module InstrumentAllTheThings
4
- VERSION = '1.3.0'
4
+ VERSION = '1.3.1'
5
5
  end
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instrument_all_the_things
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Malinconico
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-01 00:00:00.000000000 Z
11
+ date: 2022-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ddtrace
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "<"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '1'
20
20
  type: :runtime
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: '0'
26
+ version: '1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: dogstatsd-ruby
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -143,9 +143,11 @@ executables: []
143
143
  extensions: []
144
144
  extra_rdoc_files: []
145
145
  files:
146
- - ".drone.yml"
146
+ - ".github/workflows/lint.yaml"
147
+ - ".github/workflows/test.yaml"
147
148
  - ".gitignore"
148
149
  - ".rspec"
150
+ - ".rubocop-https---raw-githubusercontent-com-GetTerminus-ruby-shared-configs-master--rubocop-yml"
149
151
  - ".rubocop.yml"
150
152
  - ".ruby-version"
151
153
  - ".travis.yml"
@@ -175,31 +177,33 @@ files:
175
177
  - lib/instrument_all_the_things/version.rb
176
178
  - logo.jpg
177
179
  - vendor/cache/ast-2.4.2.gem
178
- - vendor/cache/benchmark-ips-2.9.1.gem
180
+ - vendor/cache/benchmark-ips-2.10.0.gem
179
181
  - vendor/cache/coderay-1.1.3.gem
180
- - vendor/cache/ddtrace-0.52.0.gem
181
- - vendor/cache/diff-lcs-1.4.4.gem
182
+ - vendor/cache/ddtrace-0.54.2.gem
183
+ - vendor/cache/debase-ruby_core_source-0.10.14.gem
184
+ - vendor/cache/diff-lcs-1.5.0.gem
182
185
  - vendor/cache/docile-1.4.0.gem
183
- - vendor/cache/dogstatsd-ruby-5.2.0.gem
184
- - vendor/cache/ffi-1.15.4.gem
186
+ - vendor/cache/dogstatsd-ruby-5.5.0.gem
185
187
  - vendor/cache/method_source-1.0.0.gem
186
- - vendor/cache/msgpack-1.4.2.gem
187
- - vendor/cache/parallel-1.21.0.gem
188
- - vendor/cache/parser-3.0.2.0.gem
188
+ - vendor/cache/msgpack-1.5.2.gem
189
+ - vendor/cache/parallel-1.22.1.gem
190
+ - vendor/cache/parser-3.1.2.0.gem
189
191
  - vendor/cache/pry-0.14.1.gem
190
- - vendor/cache/rainbow-3.0.0.gem
192
+ - vendor/cache/rainbow-3.1.1.gem
191
193
  - vendor/cache/rake-10.5.0.gem
192
- - vendor/cache/regexp_parser-2.1.1.gem
194
+ - vendor/cache/regexp_parser-2.5.0.gem
193
195
  - vendor/cache/rexml-3.2.5.gem
194
- - vendor/cache/rspec-3.10.0.gem
195
- - vendor/cache/rspec-core-3.10.1.gem
196
- - vendor/cache/rspec-expectations-3.10.1.gem
197
- - vendor/cache/rspec-mocks-3.10.2.gem
198
- - vendor/cache/rspec-support-3.10.2.gem
196
+ - vendor/cache/rspec-3.11.0.gem
197
+ - vendor/cache/rspec-core-3.11.0.gem
198
+ - vendor/cache/rspec-expectations-3.11.0.gem
199
+ - vendor/cache/rspec-mocks-3.11.1.gem
200
+ - vendor/cache/rspec-support-3.11.0.gem
201
+ - vendor/cache/rubocop-1.30.1.gem
202
+ - vendor/cache/rubocop-ast-1.18.0.gem
199
203
  - vendor/cache/ruby-progressbar-1.11.0.gem
200
204
  - vendor/cache/simplecov-0.21.2.gem
201
205
  - vendor/cache/simplecov-html-0.12.3.gem
202
- - vendor/cache/simplecov_json_formatter-0.1.3.gem
206
+ - vendor/cache/simplecov_json_formatter-0.1.4.gem
203
207
  - vendor/cache/unicode-display_width-2.1.0.gem
204
208
  homepage: https://github.com/GetTerminus/instrument-all-the-things
205
209
  licenses: []
@@ -215,14 +219,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
215
219
  requirements:
216
220
  - - ">="
217
221
  - !ruby/object:Gem::Version
218
- version: 2.6.0
222
+ version: 2.7.0
219
223
  required_rubygems_version: !ruby/object:Gem::Requirement
220
224
  requirements:
221
225
  - - ">="
222
226
  - !ruby/object:Gem::Version
223
227
  version: '0'
224
228
  requirements: []
225
- rubygems_version: 3.2.22
229
+ rubygems_version: 3.1.6
226
230
  signing_key:
227
231
  specification_version: 4
228
232
  summary: Make instrumentation with DataDog easy peasy
data/.drone.yml DELETED
@@ -1,14 +0,0 @@
1
- kind: pipeline
2
- name: default
3
-
4
- steps:
5
- - name: test-ruby
6
- image: getterminus/ruby-ci-image:2.6-je-20190205
7
- group: bundler
8
- volumes:
9
- - name: bundledir
10
- path: /usr/local/bundle
11
- commands:
12
- - bundle check --path=/usr/local/bundle || bundle --local --path=/usr/local/bundle
13
- - bundle exec rspec
14
-
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file