statsd-instrument 3.9.2 → 3.9.3

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: a0d94832ea51c0d6253bc8e1d0255b3d17dc2fa46d900c8159c86855a30ed333
4
- data.tar.gz: ce59be3645a74e337c9484834cd40f1d37ed5ee16a1ebaabd88ef6b299697e4a
3
+ metadata.gz: a392592155d75787a30ea7cb16342a84cda2a1c63deb978550f4f9118e997cbb
4
+ data.tar.gz: 61a5e84e4b025fead6941adef95d7ddd341a97597644719ce74d49ecfba1a595
5
5
  SHA512:
6
- metadata.gz: 72350208478d416e44bb8f939d398c3359c7d45daae1c41fc39bae490fd16ea97932a107075c993cdb46ca7285cac00242acf13e0d68c21d392bc879a133b7f8
7
- data.tar.gz: 9401843bc9a07b36028d11749a0c813a43d5f307a650ce62823d7d8e953129a148fbdbcb9cf57aec8556973a752cb3a87daf2a874244cf0bc73e62e6bfba61e0
6
+ metadata.gz: 7b703ad60f188205c6672498bb0791766e77763c867371025a01c4d4469895e11cc5a9b7ab4180e9db259066125392fe6074bf0cb8836c133a2a7dee8232bf61
7
+ data.tar.gz: cb9afebc8101618965e419a4ba841863d4c20df54fced19f4d71c726bf168930f74b4b5559538d797f4736a7f02342ded3b51aa7fad1116fe82e2dd78f38e1a2
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ section below.
6
6
 
7
7
  ## Unreleased changes
8
8
 
9
+ ## Version 3.9.3
10
+
11
+ - [#384](https://github.com/Shopify/statsd-instrument/pull/382) - Fix warnings in Rubocop cops.
12
+
9
13
  ## Version 3.9.2
10
14
 
11
15
  - [#381](https://github.com/Shopify/statsd-instrument/pull/381) - Reduce log level of some messages inside new Aggregator
@@ -15,7 +15,7 @@ module RuboCop
15
15
  # --only StatsD/MeasureAsDistArgument
16
16
  #
17
17
  # This cop will not autocorrect offenses.
18
- class MeasureAsDistArgument < Cop
18
+ class MeasureAsDistArgument < Base
19
19
  include RuboCop::Cop::StatsD
20
20
 
21
21
  MSG = <<~MSG
@@ -16,7 +16,7 @@ module RuboCop
16
16
  #
17
17
  #
18
18
  # This cop will not autocorrect the offenses it finds, but generally the fixes are easy to fix
19
- class MetaprogrammingPositionalArguments < Cop
19
+ class MetaprogrammingPositionalArguments < Base
20
20
  include RuboCop::Cop::StatsD
21
21
 
22
22
  MSG = "Use keyword arguments for StatsD metaprogramming macros"
@@ -12,7 +12,7 @@ module RuboCop
12
12
  # --only StatsD/MetricPrefixArgument
13
13
  #
14
14
  # This cop will not autocorrect offenses.
15
- class MetricPrefixArgument < Cop
15
+ class MetricPrefixArgument < Base
16
16
  include RuboCop::Cop::StatsD
17
17
 
18
18
  MSG = <<~MSG
@@ -14,7 +14,7 @@ module RuboCop
14
14
  # This cop cannot autocorrect offenses. In production code, StatsD should be used in a fire-and-forget
15
15
  # fashion. This means that you shouldn't rely on the return value. If you really need to access the
16
16
  # emitted metrics, you can look into `capture_statsd_calls`
17
- class MetricReturnValue < Cop
17
+ class MetricReturnValue < Base
18
18
  include RuboCop::Cop::StatsD
19
19
 
20
20
  MSG = "Do not use the return value of StatsD metric methods"
@@ -16,7 +16,7 @@ module RuboCop
16
16
  # value as the second argument, rather than a keyword argument.
17
17
  #
18
18
  # `StatsD.increment('foo', value: 3)` => `StatsD.increment('foo', 3)`
19
- class MetricValueKeywordArgument < Cop
19
+ class MetricValueKeywordArgument < Base
20
20
  include RuboCop::Cop::StatsD
21
21
 
22
22
  MSG = <<~MSG
@@ -25,7 +25,7 @@ module RuboCop
25
25
  # same options.
26
26
  # - If you have to, you can call the old methods on `StatsD.legacy_singleton_client`. Note
27
27
  # that this option will go away in the next major version.
28
- class SingletonConfiguration < Cop
28
+ class SingletonConfiguration < Base
29
29
  include RuboCop::Cop::StatsD
30
30
 
31
31
  MSG = <<~MESSAGE
@@ -13,7 +13,7 @@ module RuboCop
13
13
  # --only StatsD/SplatArguments
14
14
  #
15
15
  # This cop will not autocorrect offenses.
16
- class SplatArguments < Cop
16
+ class SplatArguments < Base
17
17
  include RuboCop::Cop::StatsD
18
18
 
19
19
  MSG = "Do not use splat arguments in StatsD metric calls"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module StatsD
4
4
  module Instrument
5
- VERSION = "3.9.2"
5
+ VERSION = "3.9.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statsd-instrument
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.9.2
4
+ version: 3.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse Storimer
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-10-09 00:00:00.000000000 Z
13
+ date: 2024-10-22 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: A StatsD client for Ruby apps. Provides metaprogramming methods to inject
16
16
  StatsD instrumentation into your code.
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  requirements: []
133
- rubygems_version: 3.5.21
133
+ rubygems_version: 3.5.22
134
134
  signing_key:
135
135
  specification_version: 4
136
136
  summary: A StatsD client for Ruby apps