metrics 0.6.1 → 0.6.2
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/bake/metrics/capture.rb +2 -1
- data/lib/metrics/backend/capture.rb +1 -1
- data/lib/metrics/version.rb +2 -2
- 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: ca116edcb88b4cf5469d30ccbfc5d4634d4049274f5c39ed66552de0f6472001
|
4
|
+
data.tar.gz: 37572eb583063d0fa59bff8c0f753a0d949efbe95ed3b2dac9ec988c8366a9ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d74331b742daa5c8d93f9c01104fc050866c112729b577a1e09bbdc22f4e8211539ec8a3802edfd6e00ab16c64d6050119c3f50591cc6c7c7e306777db3cba0
|
7
|
+
data.tar.gz: 89ef8a3540e7ddc7ecd069c3aa6e6d9ee0333ad4b6a2c3daf8373a4579318a5780ea8a99d03f9d530d99f24eb782699927d68870d3be63360a0d471292bce1dc
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/bake/metrics/capture.rb
CHANGED
@@ -3,12 +3,13 @@
|
|
3
3
|
# Released under the MIT License.
|
4
4
|
# Copyright, 2023, by Samuel Williams.
|
5
5
|
|
6
|
+
# Enable capturing metrics.
|
6
7
|
def capture
|
7
8
|
ENV['METRICS_BACKEND'] = 'metrics/backend/capture'
|
8
9
|
require 'metrics'
|
9
10
|
end
|
10
11
|
|
11
|
-
# Generate a list of metrics
|
12
|
+
# Generate a list of metrics that have been captured.
|
12
13
|
def list
|
13
14
|
Metrics::Backend::Capture.metrics.sort_by!{|metric| metric.name}
|
14
15
|
end
|
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.6.
|
4
|
+
version: 0.6.2
|
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-03-
|
40
|
+
date: 2023-03-04 00:00:00.000000000 Z
|
41
41
|
dependencies:
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: bake-test
|
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
132
|
- !ruby/object:Gem::Version
|
133
133
|
version: '0'
|
134
134
|
requirements: []
|
135
|
-
rubygems_version: 3.4.
|
135
|
+
rubygems_version: 3.4.6
|
136
136
|
signing_key:
|
137
137
|
specification_version: 4
|
138
138
|
summary: Application metrics and instrumentation.
|
metadata.gz.sig
CHANGED
Binary file
|