formatted-metrics 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -1
- data/formatted-metrics.gemspec +1 -1
- data/lib/metrics/handler.rb +1 -1
- data/lib/metrics/version.rb +1 -1
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e34fb0eb47e3322da0002729515a63f9a739f59
|
4
|
+
data.tar.gz: 8c02e2121204d4431cc2a16641ccba75246a5751
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d33c359d5e6b49ea67bd85b4c1e88d155bcdb99f14655daa386548fc1a94cbbe0a32c6dc5d56ed879dbe1c7c6ef41b9c6cadb1a67100b1730ff491717dd82e8
|
7
|
+
data.tar.gz: 03f173d4bca12f951359a75cce422ea7da12d1bcf2d96b332a1528a273426d8bec91c4dd07dd3c2782c878c7cdf4b14d51bc6db745020c72ba40e19b75486bf0
|
data/.travis.yml
CHANGED
data/formatted-metrics.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_development_dependency 'bundler', '~> 1.3'
|
22
|
-
spec.add_development_dependency 'rake'
|
22
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
23
23
|
spec.add_development_dependency 'rspec', '~> 2.14'
|
24
24
|
spec.add_development_dependency 'faraday', '~> 0.9.0'
|
25
25
|
end
|
data/lib/metrics/handler.rb
CHANGED
@@ -25,7 +25,7 @@ module Metrics
|
|
25
25
|
# The result of the last instrumenter. This is the return value of the
|
26
26
|
# block being instrumented.
|
27
27
|
def last_result
|
28
|
-
instrumenters.last.result
|
28
|
+
instrumenters.last ? instrumenters.last.result : nil
|
29
29
|
end
|
30
30
|
|
31
31
|
def write(*instrumenters)
|
data/lib/metrics/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: formatted-metrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric J. Holmes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
33
|
+
version: '10.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
40
|
+
version: '10.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,4 +143,3 @@ test_files:
|
|
143
143
|
- spec/metrics_spec.rb
|
144
144
|
- spec/rack/instrumentation_spec.rb
|
145
145
|
- spec/spec_helper.rb
|
146
|
-
has_rdoc:
|