inst_statsd 3.0.5 → 3.0.6

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: a33a17cc0b4ff4ceba7edeb8b326e165a91a4accdf95d5b8452e5e015df793e5
4
- data.tar.gz: e602f9889485fa588d14e8457f7cddcbe075be733f9075594a663c517ab3f07c
3
+ metadata.gz: 1f7ff23c72ad7a2d4055a5b511bc358d452d596b5a70b91b48dbab2837b57789
4
+ data.tar.gz: e90e0dafba21a6cd519ab4341963007132be3e7722bc81d8d013f250c3794cc4
5
5
  SHA512:
6
- metadata.gz: b4488ce5d63fb8e490ff5be51fc18e2ab36b0af52d4e0788735ea2c580fd3b4d8d02db4a4bf377c1c43e6847c8a1d5bec6719d8073a38129b91f75871a4a6773
7
- data.tar.gz: 171e4007599cef67ad980034ab702d6575891ccc286d7769df11ce264fd93a6e61df29d542fffd39d094171ea0e4703c2d9d73941dbef203f359bc4bfaba028c
6
+ metadata.gz: 721e8a6e1805deb8c63a2ccc9a69d29621e99d4e699f7faf9fac7d96e86396a358da68f49d391586bbda59414ce61143139f6bc551fdc8a85987c2fb7d579ec6
7
+ data.tar.gz: 57eabc93c85a1e6f2bd92632d8e1aa78ec365236c4d54f3ad3feffd934fba500f6357f4661b4172064376c825ff720bfde4f9428442858fa19d22f1e9350cad2
@@ -150,6 +150,10 @@ module InstStatsd
150
150
  @data_dog
151
151
  end
152
152
 
153
+ def self.initialized?
154
+ defined?(@statsd)
155
+ end
156
+
153
157
  def self.reset_instance
154
158
  remove_instance_variable(:@statsd) if defined?(@statsd)
155
159
  Thread.current[:inst_statsd] = nil
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module InstStatsd
4
- VERSION = "3.0.5"
4
+ VERSION = "3.0.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inst_statsd
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.5
4
+ version: 3.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Cloward
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-09-11 00:00:00.000000000 Z
12
+ date: 2024-11-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aroi