vitals 0.11.0 → 0.11.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
  SHA1:
3
- metadata.gz: a6cf157b39339d035a8a2100360fe59a4a4fe620
4
- data.tar.gz: 37f1676444c8d38a9c3979fe21f8ca0ea4f6ff4e
3
+ metadata.gz: d27736303cd202c69914c55a2813af0472226da6
4
+ data.tar.gz: 2fbf342293e95abfc7d38b0a6edde6201a333606
5
5
  SHA512:
6
- metadata.gz: e678c0ee07b39216d35ec15124402c57200d10061f8ec5bf989298aa6402996922321fa4e9d51e9d4558b46e8773560894e5aaae1dfb773c34e1894b060752fa
7
- data.tar.gz: 9a22802c6f34bea3c9cab36217de6baa763e158058f02cdb3526adc6561ec8f443188ab3ef23a032da49998053ee6e662cfaf9236d193ebd55d8c29a93c99456
6
+ metadata.gz: 8c8ebde094f153418c4326cd70fa10c6cb64b7f6799eb02453e79c3e29af66a1779493c7897cea56ba2019aceb573c4c9910f90430df2c8f9c9ee40f1348abeb
7
+ data.tar.gz: a0b5c5b21a537d0af69540507a820a8633556b39ea6836a72c268bb48deecbeb0fa53359c67ae299188e62f903d9a62634486e8ddc049dfcc47179d47e499c9e
@@ -1,3 +1,3 @@
1
1
  module Vitals
2
- VERSION = "0.11.0"
2
+ VERSION = "0.11.1"
3
3
  end
data/lib/vitals.rb CHANGED
@@ -60,6 +60,10 @@ module Vitals
60
60
  reporter.timing(m, val)
61
61
  end
62
62
 
63
+ def self.time(m, &b)
64
+ reporter.time(m, &b)
65
+ end
66
+
63
67
  def self.count(m, val)
64
68
  reporter.count(m, val)
65
69
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vitals
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dotan Nahum
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-15 00:00:00.000000000 Z
11
+ date: 2016-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: statsd-ruby
@@ -262,7 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
262
262
  version: '0'
263
263
  requirements: []
264
264
  rubyforge_project:
265
- rubygems_version: 2.4.8
265
+ rubygems_version: 2.5.1
266
266
  signing_key:
267
267
  specification_version: 4
268
268
  summary: Flexible StatsD instrumentation for Rails, Rack, Grape and more