zbatery 0.6.0 → 3.0.0

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/GIT-VERSION-GEN CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
 
3
3
  GVF=GIT-VERSION-FILE
4
- DEF_VER=v0.6.0.GIT
4
+ DEF_VER=v3.0.0.GIT
5
5
 
6
6
  LF='
7
7
  '
data/lib/zbatery.rb CHANGED
@@ -4,8 +4,8 @@ require 'rainbows'
4
4
 
5
5
  module Zbatery
6
6
 
7
- # version of Zbatery, currently 0.6.0
8
- VERSION = "0.6.0"
7
+ # version of Zbatery, currently 3.0.0
8
+ VERSION = "3.0.0"
9
9
 
10
10
  class << self
11
11
 
@@ -44,7 +44,7 @@ module Rainbows
44
44
  end
45
45
 
46
46
  # we can't/don't need to do the fchmod heartbeat Unicorn/Rainbows! does
47
- def G.tick
47
+ def self.tick
48
48
  alive
49
49
  end
50
50
 
@@ -69,7 +69,7 @@ module Rainbows
69
69
  break
70
70
  rescue => e
71
71
  Rainbows::Error.listen_loop(e)
72
- end while G.alive
72
+ end while Rainbows.alive
73
73
  end
74
74
 
75
75
  # no-op
@@ -115,7 +115,7 @@ module Rainbows
115
115
  end
116
116
 
117
117
  def stop(graceful = true)
118
- Rainbows::G.quit!
118
+ Rainbows.quit!
119
119
  exit!(0) unless graceful
120
120
  end
121
121
 
data/t/test_isolate.rb CHANGED
@@ -14,9 +14,7 @@ old_out = $stdout.dup
14
14
  $stdout.reopen($stderr)
15
15
 
16
16
  Isolate.now!(opts) do
17
- gem 'rack', '1.2.1'
18
- gem 'unicorn', '3.2.1'
19
- gem 'rainbows', '2.1.0'
17
+ gem 'rainbows', '3.0.0'
20
18
 
21
19
  if engine == "ruby"
22
20
  gem 'sendfile', '1.0.0' # next Rubinius should support this
data/zbatery.gemspec CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
32
32
  # espace-neverblock + eventmachine
33
33
  # async_sinatra + sinatra + eventmachine
34
34
  #
35
- s.add_dependency(%q<rainbows>, ["~> 2.1.0"])
35
+ s.add_dependency(%q<rainbows>, ["~> 3.0.0"])
36
36
  s.add_development_dependency(%q<wrongdoc>, "~> 1.1")
37
37
  s.add_development_dependency(%q<isolate>, "~> 3.0.0")
38
38
 
metadata CHANGED
@@ -4,10 +4,10 @@ version: !ruby/object:Gem::Version
4
4
  hash: 7
5
5
  prerelease: false
6
6
  segments:
7
+ - 3
7
8
  - 0
8
- - 6
9
9
  - 0
10
- version: 0.6.0
10
+ version: 3.0.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Zbatery hackers
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-29 00:00:00 +00:00
18
+ date: 2011-01-12 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -26,12 +26,12 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- hash: 11
29
+ hash: 7
30
30
  segments:
31
- - 2
32
- - 1
31
+ - 3
33
32
  - 0
34
- version: 2.1.0
33
+ - 0
34
+ version: 3.0.0
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  - !ruby/object:Gem::Dependency