walltime 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/examples/2seconds.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: efddaa75d566e45df4f82d319fa36130c2f991a1
4
- data.tar.gz: d1664a05b151e83a839faf73fa1365a289ed5291
3
+ metadata.gz: 757dde122451e590cf854534a993220fc7e83788
4
+ data.tar.gz: 8cd49857f6641567ee6c5f8d1f62873e2f3f3c40
5
5
  SHA512:
6
- metadata.gz: 39145744d784cac4d461a20fd3210846f1bd5adab0de0f6b754fc3da654ee267f5bbb45af9feb74de69e323df7b01e5945e1ec8e7bf900f2a2a640be0606ffc8
7
- data.tar.gz: a6eb19471cf6455db12cc4b99eccf13ca607f19440a3c5a0d8b68202a4bc4b2cdb759977b55b0661220bce6992eb62d1079d507116cff02f879c25a4fec0cd19
6
+ metadata.gz: ee4c3dbe0e0ce2073f21a0c1427f2da8ce554e5b4694b81225a9fca0c7d3dc0dc7a551e1458cfa4c1de6233a1094ab796a4edaa5abd02cca6fa3f11c4f2c94f1
7
+ data.tar.gz: b05f8f5261e3c772dbb9d854a2bb5c0e92e19e4fd2453619276ffd4869d8ab91e7d61c2a56e2f2d91d4d5e23b9b1717626d41afe618ad7ba6bd4f91b299ea81d
data/examples/2seconds.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  require File.expand_path(File.join(
2
2
  File.dirname(__FILE__),
3
- "../lib/stopwatch.rb"))
3
+ "../lib/walltime.rb"))
4
4
 
5
5
  a = Stopwatch.new
6
6
  a.watch('start')
7
7
  sleep(2)
8
- a.watch['stop')
8
+ a.watch('stop')
9
9
  a.print_stats
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: walltime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Hood