metrics 0.12.1 → 0.12.2
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
- checksums.yaml.gz.sig +0 -0
- data/lib/metrics/config.rb +2 -2
- data/lib/metrics/version.rb +1 -1
- data/license.md +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -8
- 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: da58c61e306a2816806803db0b41e967f593517c8f825a454d1480dafce50342
|
4
|
+
data.tar.gz: c535510ec158b5c0181b57a772c0d43c9800356f9180a4ae97c35037732e99af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ae866b7e9dfce05883974ed8ea2489536838d3a8cc9e5947ee188879e7e72c8793f23e9274b26a20749e114d653b6006ed8a10827f13f3dbb680052e5fd2231
|
7
|
+
data.tar.gz: cb70aa1a2a2672df5d80a8368265495b2652a612fc0128972a64c1eec917076881ff27daafb9c514b5f86fd46bcf400cb838597971ff00be6fe59b42562d199a
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/metrics/config.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2024, by Samuel Williams.
|
4
|
+
# Copyright, 2024-2025, by Samuel Williams.
|
5
5
|
|
6
6
|
module Metrics
|
7
7
|
# Represents a configuration for the metrics library.
|
@@ -36,7 +36,7 @@ module Metrics
|
|
36
36
|
if backend = env["METRICS_BACKEND"]
|
37
37
|
begin
|
38
38
|
if require(backend)
|
39
|
-
Metrics.
|
39
|
+
Metrics.singleton_class.prepend(Backend::Interface)
|
40
40
|
|
41
41
|
return true
|
42
42
|
end
|
data/lib/metrics/version.rb
CHANGED
data/license.md
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain:
|
11
10
|
- |
|
@@ -37,10 +36,8 @@ cert_chain:
|
|
37
36
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
38
37
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
39
38
|
-----END CERTIFICATE-----
|
40
|
-
date:
|
39
|
+
date: 2025-03-07 00:00:00.000000000 Z
|
41
40
|
dependencies: []
|
42
|
-
description:
|
43
|
-
email:
|
44
41
|
executables: []
|
45
42
|
extensions: []
|
46
43
|
extra_rdoc_files: []
|
@@ -65,7 +62,6 @@ licenses:
|
|
65
62
|
metadata:
|
66
63
|
documentation_uri: https://socketry.github.io/metrics/
|
67
64
|
source_code_uri: https://github.com/socketry/metrics.git
|
68
|
-
post_install_message:
|
69
65
|
rdoc_options: []
|
70
66
|
require_paths:
|
71
67
|
- lib
|
@@ -80,8 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
76
|
- !ruby/object:Gem::Version
|
81
77
|
version: '0'
|
82
78
|
requirements: []
|
83
|
-
rubygems_version: 3.
|
84
|
-
signing_key:
|
79
|
+
rubygems_version: 3.6.2
|
85
80
|
specification_version: 4
|
86
81
|
summary: Application metrics and instrumentation.
|
87
82
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|