methodcache 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/methodcache.rb +1 -1
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.0
1
+ 0.0.1
@@ -16,7 +16,7 @@ class MethodCache
16
16
  def timebox title, max_t = 0.01
17
17
  result = nil
18
18
  t = Benchmark.realtime{ result = yield }
19
- warn "#{title}: #{(time*1000).to_i}ms" unless t < max_t
19
+ warn "#{title}: #{(t*1000).to_i}ms" unless t < max_t
20
20
  result
21
21
  end
22
22
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 0
9
- version: 0.0.0
8
+ - 1
9
+ version: 0.0.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Joe Edelman