metrics 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/metrics/provider.rb +0 -10
- data/lib/metrics/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a0802f7beb149dcdce020eb36925fa4045016b45de6f89b4550b695db5c992b
|
4
|
+
data.tar.gz: 891f6c7e9081ea55ffca2ef6cf701bfafaacd41d2521ee11b93ac152b0067e46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f09de9a1ffaad3e083f265956dd583916f19e5625b2f302b3dc7c8e8aa2b084ad5bd4e1b93a6e3cf91f2d40d45e5e16330bc100375c191e9e29c6f1773af8b24
|
7
|
+
data.tar.gz: a6d341a4b630f02f34a1640fac5549815e2f3581dbff9a9f0a847bb7f983c43eb7f379577b4c60537c02e1a2ace3861c4c3c55061eb094447ab31b7c259c02fb
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/metrics/provider.rb
CHANGED
@@ -21,13 +21,6 @@ module Metrics
|
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
24
|
-
module Deprecated
|
25
|
-
def metric(...)
|
26
|
-
warn "Metrics::Provider#metric is deprecated. Please use Metrics.metric instead."
|
27
|
-
Metrics.metric(...)
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
24
|
private_constant :Singleton
|
32
25
|
|
33
26
|
# Bail out if there is no backend configured.
|
@@ -35,10 +28,7 @@ module Metrics
|
|
35
28
|
# Extend the specified class in order to emit traces.
|
36
29
|
def self.Provider(klass, &block)
|
37
30
|
klass.extend(Singleton)
|
38
|
-
|
39
31
|
provider = klass.metrics_provider
|
40
|
-
provider.extend(Deprecated)
|
41
|
-
|
42
32
|
klass.prepend(provider)
|
43
33
|
|
44
34
|
provider.module_exec(&block) if block_given?
|
data/lib/metrics/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -37,7 +37,7 @@ cert_chain:
|
|
37
37
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
38
38
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
39
39
|
-----END CERTIFICATE-----
|
40
|
-
date: 2023-06-
|
40
|
+
date: 2023-06-25 00:00:00.000000000 Z
|
41
41
|
dependencies:
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: bake-test
|
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
133
|
- !ruby/object:Gem::Version
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
|
-
rubygems_version: 3.4.
|
136
|
+
rubygems_version: 3.4.10
|
137
137
|
signing_key:
|
138
138
|
specification_version: 4
|
139
139
|
summary: Application metrics and instrumentation.
|
metadata.gz.sig
CHANGED
Binary file
|