metrics 0.6.0 → 0.6.1
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 +14 -0
- data/lib/metrics/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -1
- 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: 97bd0f590ab9a19775a10d083f0fd136eb9df4983dcaf414377775d6f9b7a3ca
|
4
|
+
data.tar.gz: ab0c2c11a0a747c3eaeaa7702e726b1818dd650b553406a692db7ba88223b21d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb45133a3c85cf82a4965c1aa85845c0126c1dd00916dd277d3c08c91dd2136c6516447fb513fa6b7e9664ed9d889f70bafa922898da0eb23501b1627b06d4b0
|
7
|
+
data.tar.gz: f7675759c9ac7d8b908a400ee72a79ae48f269a63554330635dcc4468988bbf9a1c06dc7a33774c27228a5733d1c26f5ddc13d2ec7323930cc1522a442388620
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Released under the MIT License.
|
4
|
+
# Copyright, 2023, by Samuel Williams.
|
5
|
+
|
6
|
+
def capture
|
7
|
+
ENV['METRICS_BACKEND'] = 'metrics/backend/capture'
|
8
|
+
require 'metrics'
|
9
|
+
end
|
10
|
+
|
11
|
+
# Generate a list of metrics using the document backend.
|
12
|
+
def list
|
13
|
+
Metrics::Backend::Capture.metrics.sort_by!{|metric| metric.name}
|
14
|
+
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -101,6 +101,7 @@ executables: []
|
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files: []
|
103
103
|
files:
|
104
|
+
- bake/metrics/capture.rb
|
104
105
|
- lib/metrics.rb
|
105
106
|
- lib/metrics/backend.rb
|
106
107
|
- lib/metrics/backend/capture.rb
|
metadata.gz.sig
CHANGED
Binary file
|