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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 97bd0f590ab9a19775a10d083f0fd136eb9df4983dcaf414377775d6f9b7a3ca
4
- data.tar.gz: ab0c2c11a0a747c3eaeaa7702e726b1818dd650b553406a692db7ba88223b21d
3
+ metadata.gz: ca116edcb88b4cf5469d30ccbfc5d4634d4049274f5c39ed66552de0f6472001
4
+ data.tar.gz: 37572eb583063d0fa59bff8c0f753a0d949efbe95ed3b2dac9ec988c8366a9ff
5
5
  SHA512:
6
- metadata.gz: bb45133a3c85cf82a4965c1aa85845c0126c1dd00916dd277d3c08c91dd2136c6516447fb513fa6b7e9664ed9d889f70bafa922898da0eb23501b1627b06d4b0
7
- data.tar.gz: f7675759c9ac7d8b908a400ee72a79ae48f269a63554330635dcc4468988bbf9a1c06dc7a33774c27228a5733d1c26f5ddc13d2ec7323930cc1522a442388620
6
+ metadata.gz: 8d74331b742daa5c8d93f9c01104fc050866c112729b577a1e09bbdc22f4e8211539ec8a3802edfd6e00ab16c64d6050119c3f50591cc6c7c7e306777db3cba0
7
+ data.tar.gz: 89ef8a3540e7ddc7ecd069c3aa6e6d9ee0333ad4b6a2c3daf8373a4579318a5780ea8a99d03f9d530d99f24eb782699927d68870d3be63360a0d471292bce1dc
checksums.yaml.gz.sig CHANGED
Binary file
@@ -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 using the document backend.
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
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2021-2022, by Samuel Williams.
4
+ # Copyright, 2023, by Samuel Williams.
5
5
 
6
6
  require 'console'
7
7
  require_relative '../metric'
@@ -1,8 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2021-2022, by Samuel Williams.
4
+ # Copyright, 2021-2023, by Samuel Williams.
5
5
 
6
6
  module Metrics
7
- VERSION = "0.6.1"
7
+ VERSION = "0.6.2"
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.1
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-03 00:00:00.000000000 Z
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.7
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