diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-01-11 16:49:55 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-01-11 17:27:12 -0800 |
commit | b0bd7a531a2816fbcd20ee982d52f236f8fa9af3 (patch) | |
tree | af1b1535ea23871844277655eaa316f53089f018 /lib/zbatery.rb | |
parent | 2549a23a1a6b18097292acf7dff8e40b6f59ed91 (diff) | |
download | zbatery-b0bd7a531a2816fbcd20ee982d52f236f8fa9af3.tar.gz |
Zbatery 3.0.0 - Rainbows! 3.0.0 resync v3.0.0
The ugly "Rainbows::G" constant is no longer.
Diffstat (limited to 'lib/zbatery.rb')
-rw-r--r-- | lib/zbatery.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/zbatery.rb b/lib/zbatery.rb index d056ddd..ac29533 100644 --- a/lib/zbatery.rb +++ b/lib/zbatery.rb @@ -4,8 +4,8 @@ require 'rainbows' module Zbatery - # version of Zbatery, currently 0.6.0 - VERSION = "0.6.0" + # version of Zbatery, currently 3.0.0 + VERSION = "3.0.0" class << self @@ -44,7 +44,7 @@ module Rainbows end # we can't/don't need to do the fchmod heartbeat Unicorn/Rainbows! does - def G.tick + def self.tick alive end @@ -69,7 +69,7 @@ module Rainbows break rescue => e Rainbows::Error.listen_loop(e) - end while G.alive + end while Rainbows.alive end # no-op @@ -115,7 +115,7 @@ module Rainbows end def stop(graceful = true) - Rainbows::G.quit! + Rainbows.quit! exit!(0) unless graceful end |