statsd-instrument 3.5.0 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/statsd/instrument/strict.rb +2 -2
- data/lib/statsd/instrument/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 45499b5743c8202fb33807dfbea271ce432b9e28cf4cb360ecde628b4aacee1d
|
|
4
|
+
data.tar.gz: 9faea13d1feb7b2d26d1f26334a306e881c87d12df52fece199047af0ecf62b9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d75637c2b6761835723a8dd343a7238c29137c5ca082784e859a6c79303432639d2be9f55cc98a3188fb45b2cd163c9b82086c256d8d4f673e3bae918807a40
|
|
7
|
+
data.tar.gz: 986d8661bdd02ba809ea03a56bde2fefee5d98e4c73ef823c62fc5dff4efc616ba0f881e6f1b9be8a295da3649e48a2cc74b159f8c9380db2b0ae658b72e385b
|
data/CHANGELOG.md
CHANGED
|
@@ -97,8 +97,8 @@ module StatsD
|
|
|
97
97
|
unless sample_rate.nil? || sample_rate.is_a?(Numeric)
|
|
98
98
|
raise ArgumentError, "The sample_rate argument should be a number, got #{sample_rate}"
|
|
99
99
|
end
|
|
100
|
-
unless tags.nil? || tags.is_a?(Hash) || tags.is_a?(Array)
|
|
101
|
-
raise ArgumentError, "The tags argument should be a hash or an array, got #{tags.inspect}"
|
|
100
|
+
unless tags.nil? || tags.is_a?(Hash) || tags.is_a?(Array) || tags.is_a?(Proc)
|
|
101
|
+
raise ArgumentError, "The tags argument should be a hash, a proc or an array, got #{tags.inspect}"
|
|
102
102
|
end
|
|
103
103
|
end
|
|
104
104
|
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.5.
|
|
4
|
+
version: 3.5.1
|
|
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:
|
|
13
|
+
date: 2023-01-03 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.
|