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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dbca9be4eb57461b53d4706f4195d1ddcca08117e118e4873c888670a853cd91
4
- data.tar.gz: cbb0a5faf7db59ef2d8f7798a63b4d75eb77c64c329e87bf2a7ce0aeb4c3060a
3
+ metadata.gz: 9a0802f7beb149dcdce020eb36925fa4045016b45de6f89b4550b695db5c992b
4
+ data.tar.gz: 891f6c7e9081ea55ffca2ef6cf701bfafaacd41d2521ee11b93ac152b0067e46
5
5
  SHA512:
6
- metadata.gz: 67f611bb99ac592fd49411883f74e9d3458caa6712618ae2d70aadc66231b5df77225cfdf8a6ded0f96e70045193358f61c86989cf74d7f7b04ed4ba287932e7
7
- data.tar.gz: f6540db75acd9095f1948053462c7b03c32b14ed073ab324c0a997dd1280cd825fd46715ec987ab1f40708bf118d43273882bf58fd5a70f6ad30510a67546b39
6
+ metadata.gz: f09de9a1ffaad3e083f265956dd583916f19e5625b2f302b3dc7c8e8aa2b084ad5bd4e1b93a6e3cf91f2d40d45e5e16330bc100375c191e9e29c6f1773af8b24
7
+ data.tar.gz: a6d341a4b630f02f34a1640fac5549815e2f3581dbff9a9f0a847bb7f983c43eb7f379577b4c60537c02e1a2ace3861c4c3c55061eb094447ab31b7c259c02fb
checksums.yaml.gz.sig CHANGED
Binary file
@@ -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?
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2021-2023, by Samuel Williams.
5
5
 
6
6
  module Metrics
7
- VERSION = "0.7.0"
7
+ VERSION = "0.8.0"
8
8
  end
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.7.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-19 00:00:00.000000000 Z
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.7
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