zbatery 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +6 -0
- data/.gitignore +18 -0
- data/.manifest +21 -0
- data/COPYING +339 -0
- data/ChangeLog +35 -0
- data/Documentation/.gitignore +5 -0
- data/Documentation/GNUmakefile +30 -0
- data/Documentation/zbatery.1.txt +154 -0
- data/GIT-VERSION-FILE +1 -0
- data/GIT-VERSION-GEN +40 -0
- data/GNUmakefile +169 -0
- data/LICENSE +55 -0
- data/NEWS +4 -0
- data/README +130 -0
- data/Rakefile +158 -0
- data/bin/zbatery +166 -0
- data/lib/zbatery.rb +154 -0
- data/local.mk.sample +78 -0
- data/man/man1/zbatery.1 +187 -0
- data/setup.rb +1586 -0
- data/zbatery.gemspec +55 -0
- metadata +97 -0
data/zbatery.gemspec
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
# -*- encoding: binary -*-
|
2
|
+
|
3
|
+
ENV["VERSION"] or abort "VERSION= must be specified"
|
4
|
+
manifest = File.readlines('.manifest').map! { |x| x.chomp! }
|
5
|
+
|
6
|
+
# don't bother with tests that fork, not worth our time to get working
|
7
|
+
# with `gem check -t` ... (of course we care for them when testing with
|
8
|
+
# GNU make when they can run in parallel)
|
9
|
+
test_files = manifest.grep(%r{\Atest/unit/test_.*\.rb\z}).map do |f|
|
10
|
+
File.readlines(f).grep(/\bfork\b/).empty? ? f : nil
|
11
|
+
end.compact
|
12
|
+
|
13
|
+
Gem::Specification.new do |s|
|
14
|
+
s.name = %q{zbatery}
|
15
|
+
s.version = ENV["VERSION"]
|
16
|
+
|
17
|
+
s.authors = ["Zbatery hackers"]
|
18
|
+
s.date = Time.now.utc.strftime('%Y-%m-%d')
|
19
|
+
s.description = File.read("README").split(/\n\n/)[1]
|
20
|
+
s.email = %q{rainbows-talk@rubyforge.org}
|
21
|
+
s.executables = %w(zbatery)
|
22
|
+
|
23
|
+
s.extra_rdoc_files = File.readlines('.document').map! do |x|
|
24
|
+
x.chomp!
|
25
|
+
if File.directory?(x)
|
26
|
+
manifest.grep(%r{\A#{x}/})
|
27
|
+
elsif File.file?(x)
|
28
|
+
x
|
29
|
+
else
|
30
|
+
nil
|
31
|
+
end
|
32
|
+
end.flatten.compact
|
33
|
+
|
34
|
+
s.files = manifest
|
35
|
+
s.homepage = %q{http://zbatery.bogomip.org/}
|
36
|
+
s.summary = %q{Rack HTTP server without a fork stuck in it}
|
37
|
+
s.rdoc_options = [ "-Na", "-t", "Zbatery - #{s.summary}" ]
|
38
|
+
s.require_paths = %w(lib)
|
39
|
+
s.rubyforge_project = %q{rainbows}
|
40
|
+
|
41
|
+
s.test_files = test_files
|
42
|
+
|
43
|
+
# rainbows has a boatload of dependencies
|
44
|
+
# required:
|
45
|
+
# unicorn + rack
|
46
|
+
# optional:
|
47
|
+
# revactor + rev + iobuffer
|
48
|
+
# rev + iobuffer
|
49
|
+
# eventmachine
|
50
|
+
# espace-neverblock + eventmachine
|
51
|
+
# async_sinatra + sinatra + eventmachine
|
52
|
+
s.add_dependency(%q<rainbows>, ["~> 0.8.0"])
|
53
|
+
|
54
|
+
# s.licenses = %w(GPLv2 Ruby) # accessor not compatible with older RubyGems
|
55
|
+
end
|
metadata
ADDED
@@ -0,0 +1,97 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: zbatery
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Zbatery hackers
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-12-10 00:00:00 +00:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rainbows
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ~>
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.8.0
|
24
|
+
version:
|
25
|
+
description: |-
|
26
|
+
Zbatery is an HTTP server for Rack applications on systems that either
|
27
|
+
do not support fork(), or have no memory (nor need) to run the
|
28
|
+
master/worker model. It is based on Rainbows! (which is based on
|
29
|
+
Unicorn (which is based on Mongrel)) and inherits parts of each.
|
30
|
+
Zbatery supports your choice of all the thread/fiber/event/actor-based
|
31
|
+
concurrency models and Rack middleware that Rainbows! supports (or will
|
32
|
+
ever support) in a single process.
|
33
|
+
email: rainbows-talk@rubyforge.org
|
34
|
+
executables:
|
35
|
+
- zbatery
|
36
|
+
extensions: []
|
37
|
+
|
38
|
+
extra_rdoc_files:
|
39
|
+
- ChangeLog
|
40
|
+
- lib/zbatery.rb
|
41
|
+
- LICENSE
|
42
|
+
- NEWS
|
43
|
+
- README
|
44
|
+
files:
|
45
|
+
- .document
|
46
|
+
- .gitignore
|
47
|
+
- .manifest
|
48
|
+
- COPYING
|
49
|
+
- ChangeLog
|
50
|
+
- Documentation/.gitignore
|
51
|
+
- Documentation/GNUmakefile
|
52
|
+
- Documentation/zbatery.1.txt
|
53
|
+
- GIT-VERSION-FILE
|
54
|
+
- GIT-VERSION-GEN
|
55
|
+
- GNUmakefile
|
56
|
+
- LICENSE
|
57
|
+
- NEWS
|
58
|
+
- README
|
59
|
+
- Rakefile
|
60
|
+
- bin/zbatery
|
61
|
+
- lib/zbatery.rb
|
62
|
+
- local.mk.sample
|
63
|
+
- man/man1/zbatery.1
|
64
|
+
- setup.rb
|
65
|
+
- zbatery.gemspec
|
66
|
+
has_rdoc: true
|
67
|
+
homepage: http://zbatery.bogomip.org/
|
68
|
+
licenses: []
|
69
|
+
|
70
|
+
post_install_message:
|
71
|
+
rdoc_options:
|
72
|
+
- -Na
|
73
|
+
- -t
|
74
|
+
- Zbatery - Rack HTTP server without a fork stuck in it
|
75
|
+
require_paths:
|
76
|
+
- lib
|
77
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: "0"
|
82
|
+
version:
|
83
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: "0"
|
88
|
+
version:
|
89
|
+
requirements: []
|
90
|
+
|
91
|
+
rubyforge_project: rainbows
|
92
|
+
rubygems_version: 1.3.5
|
93
|
+
signing_key:
|
94
|
+
specification_version: 3
|
95
|
+
summary: Rack HTTP server without a fork stuck in it
|
96
|
+
test_files: []
|
97
|
+
|