statsd-instrument 2.9.0 → 2.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/statsd/instrument.rb +2 -2
- data/lib/statsd/instrument/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae7293e6877b2d74f238585a71aa2becf142dbd29541141d9571633e817a3003
|
4
|
+
data.tar.gz: 7b2414d09b941a107d86d7855325092e258b3032ffa1784e91ab716c3688d2c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2edbb8ce7c75358a9e5b06b7f3af777aacb54f8ce8d2793dcaa4ddb80c8a8117e17113e7304c63ed075e7c8f66e69abf004e3bccdd26ef31b6a295c55fbbebe6
|
7
|
+
data.tar.gz: a041d91c4ae37ffdfe06447614b73b9ea2a46e1a10ad3a37a72e1b38c49a037b5d501790385a5ea05c209b9f6e81597e00b4bf13c82d095fc2ffad9dbca54f47
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,16 @@ section below.
|
|
6
6
|
|
7
7
|
### Unreleased changes
|
8
8
|
|
9
|
+
_Nothing yet_
|
10
|
+
|
11
|
+
## Version 2.9.1
|
12
|
+
|
13
|
+
- The `VOID` object being returned by metric methods (e.g. `StatsD.increment`)
|
14
|
+
is now a subclass of `Object` rather than `BasicObject`, which means that
|
15
|
+
common methods will work as expected (`#class`, `#tap`).
|
16
|
+
|
17
|
+
## Version 2.9.0
|
18
|
+
|
9
19
|
- ⚠️ **DEPRECATION:** The `StatsD.key_value` metric method is deprecated
|
10
20
|
and will be removed in version 3.0. The new client does not have StatSite
|
11
21
|
support. Due to the lack of active contributors that can port this metric
|
data/lib/statsd/instrument.rb
CHANGED
@@ -344,9 +344,9 @@ module StatsD
|
|
344
344
|
remove_from_method(method, name, :distribution)
|
345
345
|
end
|
346
346
|
|
347
|
-
VoidClass = Class.new
|
347
|
+
VoidClass = Class.new
|
348
348
|
private_constant :VoidClass
|
349
|
-
VOID = VoidClass.new
|
349
|
+
VOID = VoidClass.new.freeze
|
350
350
|
|
351
351
|
private
|
352
352
|
|