metriks 0.9.8.1 → 0.9.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/metriks/timer.rb CHANGED
@@ -12,6 +12,10 @@ module Metriks
12
12
  @interval = Hitimes::Interval.now
13
13
  end
14
14
 
15
+ def restart
16
+ @interval.split
17
+ end
18
+
15
19
  def stop
16
20
  @interval.stop
17
21
  @timer.update(@interval.duration)
data/lib/metriks.rb CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Metriks
3
- VERSION = '0.9.8.1'
3
+ VERSION = '0.9.8.2'
4
4
 
5
5
  def self.get(name)
6
6
  Metriks::Registry.default.get(name)
data/metriks.gemspec CHANGED
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'metriks'
16
- s.version = '0.9.8.1'
17
- s.date = '2012-05-02'
16
+ s.version = '0.9.8.2'
17
+ s.date = '2012-05-05'
18
18
 
19
19
  ## Make sure your summary is short. The description may be as long
20
20
  ## as you like.
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 9
8
8
  - 8
9
- - 1
10
- version: 0.9.8.1
9
+ - 2
10
+ version: 0.9.8.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Eric Lindvall
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-05-02 00:00:00 -07:00
18
+ date: 2012-05-05 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency