dohruby 0.1.11 → 0.1.12

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.
Files changed (3) hide show
  1. data/CHANGELOG +2 -0
  2. data/lib/doh/util/time_util.rb +1 -1
  3. metadata +1 -1
data/CHANGELOG CHANGED
@@ -35,3 +35,5 @@
35
35
  * added new library: DohData - for random human (name, email, address) data generation
36
36
  *0.1.11* (April 19th, 2008)
37
37
  * added doh/time_util -- adds time_block for timing a block of code
38
+ *0.1.12* (April 19th, 2008)
39
+ * patch accidental instance level module method to class level (time_block)
@@ -1,6 +1,6 @@
1
1
  module Doh
2
2
 
3
- def time_block
3
+ def self.time_block
4
4
  start_time = Time.now
5
5
  yield
6
6
  return Time.now - start_time
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dohruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Makani & Kem Mason