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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6923ec5b6c8b2e14c32331e4aec3c3ad4cd3793
4
- data.tar.gz: ce3df73217abdced94bec03c795a2386c1971f8b
3
+ metadata.gz: 0e34fb0eb47e3322da0002729515a63f9a739f59
4
+ data.tar.gz: 8c02e2121204d4431cc2a16641ccba75246a5751
5
5
  SHA512:
6
- metadata.gz: ec73bc12f3f909b6be0428649ae4bb70f6db0a286594abdd4441b5aa474ab76180a81d38454a9e6468a64edda3d218bb22fcfea8bf2701f17483d8f803a9c505
7
- data.tar.gz: 245eec39d24b9f17da8ddcca8779791b1b338f33d09c17c09f4bd3458cdfc039390dd293796fa11359fb2c6f8f96c42461e15c300bdcb64bc88f77cf6fad2ef6
6
+ metadata.gz: 0d33c359d5e6b49ea67bd85b4c1e88d155bcdb99f14655daa386548fc1a94cbbe0a32c6dc5d56ed879dbe1c7c6ef41b9c6cadb1a67100b1730ff491717dd82e8
7
+ data.tar.gz: 03f173d4bca12f951359a75cce422ea7da12d1bcf2d96b332a1528a273426d8bec91c4dd07dd3c2782c878c7cdf4b14d51bc6db745020c72ba40e19b75486bf0
data/.travis.yml CHANGED
@@ -2,4 +2,7 @@ language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
4
  - 2.0.0
5
- script: bundle exec rake
5
+ before_install:
6
+ - gem update bundler
7
+ script:
8
+ - bundle exec rake
@@ -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
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module FormattedMetrics
2
- VERSION = '1.3.2'
2
+ VERSION = '1.3.3'
3
3
  end
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.2
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: 2015-10-01 00:00:00.000000000 Z
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: