metrics 0.4.0 → 0.5.0
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/lib/metrics/backend/console.rb +1 -1
- data/lib/metrics/backend.rb +1 -1
- data/lib/metrics/metric.rb +1 -1
- data/lib/metrics/provider.rb +6 -1
- data/lib/metrics/tags.rb +1 -1
- data/lib/metrics/version.rb +1 -1
- data/lib/metrics.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- 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: e702c99fcc40f6be98ab5cab1d6ff490fbcd6bd6cf1d792a643f45573c4cd710
|
4
|
+
data.tar.gz: 35ec716809e70775717f18bc10a4f70165cad91a1bbd076b200f847c812c764c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc4627290512e876360564aae30dc4319cd0568a31826c3b28b2773a981121d684a4494f49fc2d8d2b3bd16d19807b9b22440505cb58e8b95fd4f4a68cd60c4c
|
7
|
+
data.tar.gz: fc270ec8d5d3afea0358482e981329f74639a27bdaf5e66a1b6e3b2d014e6dbc8f0602584ed5446e39d9ad4cd33dad68539821b276b3ec817696d0efca661029
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/metrics/backend.rb
CHANGED
data/lib/metrics/metric.rb
CHANGED
data/lib/metrics/provider.rb
CHANGED
@@ -11,6 +11,9 @@ module Metrics
|
|
11
11
|
self.const_defined?(:Backend)
|
12
12
|
end
|
13
13
|
|
14
|
+
module Provider
|
15
|
+
end
|
16
|
+
|
14
17
|
# A module which contains tracing specific wrappers.
|
15
18
|
module Singleton
|
16
19
|
def metrics_provider
|
@@ -31,7 +34,9 @@ module Metrics
|
|
31
34
|
|
32
35
|
klass.prepend(provider)
|
33
36
|
|
34
|
-
provider.module_exec(&block)
|
37
|
+
provider.module_exec(&block) if block_given?
|
38
|
+
|
39
|
+
return provider
|
35
40
|
end
|
36
41
|
else
|
37
42
|
def self.Provider(klass, &block)
|
data/lib/metrics/tags.rb
CHANGED
data/lib/metrics/version.rb
CHANGED
data/lib/metrics.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.
|
4
|
+
version: 0.5.0
|
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: 2022-09
|
40
|
+
date: 2022-11-09 00:00:00.000000000 Z
|
41
41
|
dependencies:
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: bake-test
|
metadata.gz.sig
CHANGED
Binary file
|