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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3775c730581fa1814523cea022ac4bbbcf5b1cb3f52e0d2f35dd667d521675eb
4
- data.tar.gz: a8b3e43df8a40894e91112ee7e3c0d9743628a4b7f191cd4263b064283c21c30
3
+ metadata.gz: 97bd0f590ab9a19775a10d083f0fd136eb9df4983dcaf414377775d6f9b7a3ca
4
+ data.tar.gz: ab0c2c11a0a747c3eaeaa7702e726b1818dd650b553406a692db7ba88223b21d
5
5
  SHA512:
6
- metadata.gz: 621b704d21ef9901f9a5d4c5d044ff87c072b1bb72959317e7ac983cf6197b6d5e52ab9a1d43e56931841e4c96eb853fb8925d479b83a4c56ce75a341251d443
7
- data.tar.gz: 076a0cc98e045a97a7fef09eb0da44175a77af63753983e4c94f1dd686e3b6503d5797ce252652663326a06eb8938ce3e3b05d553ad97309232754bb24d61497
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
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2021-2022, by Samuel Williams.
5
5
 
6
6
  module Metrics
7
- VERSION = "0.6.0"
7
+ VERSION = "0.6.1"
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.6.0
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