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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/statsd/instrument/rubocop/measure_as_dist_argument.rb +1 -1
- data/lib/statsd/instrument/rubocop/metaprogramming_positional_arguments.rb +1 -1
- data/lib/statsd/instrument/rubocop/metric_prefix_argument.rb +1 -1
- data/lib/statsd/instrument/rubocop/metric_return_value.rb +1 -1
- data/lib/statsd/instrument/rubocop/metric_value_keyword_argument.rb +1 -1
- data/lib/statsd/instrument/rubocop/singleton_configuration.rb +1 -1
- data/lib/statsd/instrument/rubocop/splat_arguments.rb +1 -1
- data/lib/statsd/instrument/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a392592155d75787a30ea7cb16342a84cda2a1c63deb978550f4f9118e997cbb
|
4
|
+
data.tar.gz: 61a5e84e4b025fead6941adef95d7ddd341a97597644719ce74d49ecfba1a595
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
@@ -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 <
|
19
|
+
class MetaprogrammingPositionalArguments < Base
|
20
20
|
include RuboCop::Cop::StatsD
|
21
21
|
|
22
22
|
MSG = "Use keyword arguments for StatsD metaprogramming macros"
|
@@ -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 <
|
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 <
|
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 <
|
28
|
+
class SingletonConfiguration < Base
|
29
29
|
include RuboCop::Cop::StatsD
|
30
30
|
|
31
31
|
MSG = <<~MESSAGE
|
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.
|
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-
|
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.
|
133
|
+
rubygems_version: 3.5.22
|
134
134
|
signing_key:
|
135
135
|
specification_version: 4
|
136
136
|
summary: A StatsD client for Ruby apps
|