rainbows 4.6.1 → 4.6.2
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.
- checksums.yaml +7 -0
- data/.wrongdoc.yml +2 -1
- data/Documentation/comparison.haml +1 -1
- data/Documentation/rainbows.1.txt +2 -2
- data/GIT-VERSION-GEN +1 -1
- data/HACKING +4 -5
- data/README +6 -12
- data/archive/.gitignore +3 -0
- data/archive/rfmig.rb +32 -0
- data/archive/slrnpull.conf +4 -0
- data/lib/rainbows/rev.rb +2 -2
- data/rainbows.gemspec +2 -2
- data/t/test_isolate.rb +3 -4
- metadata +51 -93
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 18b464dce48ebcb62061b4bc42c1863d36ae9640
|
4
|
+
data.tar.gz: fb5949f53907773edd0780220ff6cb4370eaa980
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8edf76b627694e71e09a147a7ed493cfd8441075f850ea95365c967a7c078de4a75f34997d8abc36f318317016e76e71b369bcd297911f8ff1cdfc971a38470b
|
7
|
+
data.tar.gz: 0b4f40e1e1e3416aac356bca4886955ec72ecc31b8b73060314533603ca522781bd5c68443a06c00a68b73af350175dca893d33ee197e737e034163000bb9759
|
data/.wrongdoc.yml
CHANGED
@@ -6,5 +6,6 @@ changelog_start: v0.97.0
|
|
6
6
|
merge_html:
|
7
7
|
rainbows_1: Documentation/rainbows.1.html
|
8
8
|
Summary: Documentation/comparison.html
|
9
|
-
public_email: rainbows-
|
9
|
+
public_email: rainbows-public@bogomips.org
|
10
10
|
private_email: rainbows@bogomips.org
|
11
|
+
ml_url: http://bogomips.org/rainbows-public/
|
@@ -310,7 +310,7 @@
|
|
310
310
|
%th.app_pool
|
311
311
|
%a(href="Rainbows/AppPool.html") AppPool
|
312
312
|
%th.lock
|
313
|
-
%a(href="http://
|
313
|
+
%a(href="http://rdoc.info/gems/rack/Rack/Lock") Rack::Lock
|
314
314
|
%th.async async
|
315
315
|
%tr.comp_row
|
316
316
|
%td.mod Unicorn/Base
|
@@ -1,5 +1,5 @@
|
|
1
1
|
% rainbows(1) Rainbows! User Manual
|
2
|
-
% Rainbows! Hackers <rainbows-
|
2
|
+
% Rainbows! Hackers <rainbows-public@bogomips.org>
|
3
3
|
% December 3, 2009
|
4
4
|
|
5
5
|
# NAME
|
@@ -156,6 +156,6 @@ RACKUP_FILE, some frameworks do not require them.
|
|
156
156
|
* [Rackup HowTo][3]
|
157
157
|
|
158
158
|
[1]: http://rainbows.bogomips.org/
|
159
|
-
[2]: http://
|
159
|
+
[2]: http://rdoc.info/gems/r#/gems/rack/frames
|
160
160
|
[3]: http://wiki.github.com/rack/rack/tutorial-rackup-howto
|
161
161
|
[4]: http://rainbows.bogomips.org/SIGNALS.html
|
data/GIT-VERSION-GEN
CHANGED
data/HACKING
CHANGED
@@ -15,8 +15,8 @@ Please wrap documentation at 72 characters-per-line or less (long URLs
|
|
15
15
|
are exempt) so it is comfortably readable from terminals.
|
16
16
|
|
17
17
|
When referencing mailing list posts, use
|
18
|
-
"http://
|
19
|
-
remains searchable even if
|
18
|
+
"http://bogomips.org/rainbows-public/m/$MESSAGE_ID" if possible since
|
19
|
+
the Message-ID remains searchable even if the website becomes unavailable.
|
20
20
|
|
21
21
|
== Contributing
|
22
22
|
|
@@ -40,10 +40,9 @@ distributed with git on on patch submission guidelines to follow. Just
|
|
40
40
|
don't email the git mailing list or maintainer with Rainbows! patches :)
|
41
41
|
|
42
42
|
No subscription is required to post to the mailing list at
|
43
|
-
rainbows-
|
43
|
+
rainbows-public@bogomips.org
|
44
44
|
|
45
|
-
Please
|
46
|
-
on Ruby mailing lists)
|
45
|
+
Please Cc: everyone on replies, as not everyone is subscribed.
|
47
46
|
|
48
47
|
== Building a Gem
|
49
48
|
|
data/README
CHANGED
@@ -49,7 +49,7 @@ network concurrency.
|
|
49
49
|
|
50
50
|
== Features
|
51
51
|
|
52
|
-
* Designed for {Rack}[http://rack.
|
52
|
+
* Designed for {Rack}[http://rack.github.io/], the standard for
|
53
53
|
modern Ruby HTTP applications.
|
54
54
|
|
55
55
|
* Built on {Unicorn}[http://unicorn.bogomips.org/], inheriting its
|
@@ -97,12 +97,7 @@ See the included {LICENSE}[link:LICENSE.html] file for more details.
|
|
97
97
|
|
98
98
|
== Install
|
99
99
|
|
100
|
-
You may
|
101
|
-
and run setup.rb after unpacking it:
|
102
|
-
|
103
|
-
http://rubyforge.org/frs/?group_id=8977
|
104
|
-
|
105
|
-
You may also install it via RubyGems on RubyGems.org:
|
100
|
+
You may install it via RubyGems on RubyGems.org:
|
106
101
|
|
107
102
|
gem install rainbows
|
108
103
|
|
@@ -168,12 +163,11 @@ and we'll try our best to fix it.
|
|
168
163
|
== Contact
|
169
164
|
|
170
165
|
All feedback (bug reports, user/development discussion, patches, pull
|
171
|
-
requests) go to the mailing list
|
166
|
+
requests) go to the mailing list. Patches must be sent inline
|
172
167
|
(git format-patch -M + git send-email). No subscription is necessary
|
173
168
|
to post on the mailing list. No top posting. Address replies +To:+
|
174
169
|
the mailing list.
|
175
170
|
|
176
|
-
* email: mailto:rainbows-
|
177
|
-
*
|
178
|
-
*
|
179
|
-
* archives: http://rubyforge.org/pipermail/rainbows-talk
|
171
|
+
* email: mailto:rainbows-public@bogomips.org
|
172
|
+
* subscribe: mailto:rainbows-public+subscribe@bogomips.org
|
173
|
+
* archives: http://bogomips.org/rainbows-public/
|
data/archive/.gitignore
ADDED
data/archive/rfmig.rb
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'find'
|
3
|
+
require 'fileutils'
|
4
|
+
rfdir = 'rubyforge.org:/var/www/gforge-projects/rainbows/'
|
5
|
+
newbase = 'http://rainbows.bogomips.org/'
|
6
|
+
refresh = '<meta http-equiv="refresh" content="0; url=%s" />'
|
7
|
+
old = 'rf.old'
|
8
|
+
new = 'rf.new'
|
9
|
+
cmd = %W(rsync -av #{rfdir} #{old}/)
|
10
|
+
unless File.directory?(old)
|
11
|
+
system(*cmd) or abort "#{cmd.inspect} failed: #$?"
|
12
|
+
end
|
13
|
+
|
14
|
+
Find.find(old) do |path|
|
15
|
+
path =~ /\.html\z/ or next
|
16
|
+
data = File.read(path)
|
17
|
+
tmp = path.split(%r{/})
|
18
|
+
tmp.shift == old or abort "BUG"
|
19
|
+
dst = "#{new}/#{tmp.join('/')}"
|
20
|
+
|
21
|
+
tmp[-1] = '' if tmp[-1] == "index.html"
|
22
|
+
url = "#{newbase}#{tmp.join('/')}"
|
23
|
+
meta = sprintf(refresh, url)
|
24
|
+
data.sub!(/(<head[^>]*>)/i, "#$1#{meta}")
|
25
|
+
data.sub!(/(<body[^>]*>)/i,
|
26
|
+
"#{$1}Redirecting to <a href=\"#{url}\">#{url}</a> ...<br/>")
|
27
|
+
FileUtils.mkdir_p(File.dirname(dst))
|
28
|
+
File.open(dst, "w") { |fp| fp.write(data) }
|
29
|
+
end
|
30
|
+
|
31
|
+
print "Verify results in #{new}/, then run:\n "
|
32
|
+
puts %W(rsync -av #{new}/ #{rfdir}).join(' ')
|
data/lib/rainbows/rev.rb
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
Rainbows.const_set(:Rev, Rainbows::Coolio)
|
3
3
|
# Coolio is the new version of this, use that instead.
|
4
4
|
#
|
5
|
-
# Implements a basic single-threaded event model with
|
6
|
-
#
|
5
|
+
# Implements a basic single-threaded event model with Rev.
|
6
|
+
# It is capable of handling
|
7
7
|
# thousands of simultaneous client connections, but with only a
|
8
8
|
# single-threaded app dispatch. It is suited for slow clients and
|
9
9
|
# fast applications (applications that do not have slow network
|
data/rainbows.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.authors = ["#{name} hackers"]
|
13
13
|
s.date = Time.now.utc.strftime('%Y-%m-%d')
|
14
14
|
s.description = readme_description
|
15
|
-
s.email = %q{rainbows-
|
15
|
+
s.email = %q{rainbows-public@bogomips.org}
|
16
16
|
s.executables = %w(rainbows)
|
17
17
|
s.extra_rdoc_files = extra_rdoc_files(manifest)
|
18
18
|
s.files = manifest
|
@@ -33,7 +33,7 @@ Gem::Specification.new do |s|
|
|
33
33
|
s.add_dependency(%q<unicorn>, ["~> 4.8"])
|
34
34
|
|
35
35
|
s.add_development_dependency(%q<isolate>, "~> 3.1")
|
36
|
-
s.add_development_dependency(%q<wrongdoc>, "~> 1.
|
36
|
+
s.add_development_dependency(%q<wrongdoc>, "~> 1.8")
|
37
37
|
|
38
38
|
# optional runtime dependencies depending on configuration
|
39
39
|
# see t/test_isolate.rb for the exact versions we've tested with
|
data/t/test_isolate.rb
CHANGED
@@ -16,18 +16,17 @@ $stdout.reopen($stderr)
|
|
16
16
|
lock = File.open(__FILE__, "rb")
|
17
17
|
lock.flock(File::LOCK_EX)
|
18
18
|
Isolate.now!(opts) do
|
19
|
-
gem 'kgio', '2.
|
19
|
+
gem 'kgio', '2.9.2'
|
20
20
|
gem 'rack', '1.5.2'
|
21
21
|
gem 'kcar', '0.4.0'
|
22
|
-
gem 'raindrops', '0.
|
23
|
-
gem 'unicorn', '4.8.
|
22
|
+
gem 'raindrops', '0.13.0'
|
23
|
+
gem 'unicorn', '4.8.3'
|
24
24
|
|
25
25
|
if engine == "ruby"
|
26
26
|
gem 'sendfile', '1.2.1'
|
27
27
|
gem 'cool.io', '1.1.0'
|
28
28
|
|
29
29
|
gem 'eventmachine', '1.0.3'
|
30
|
-
gem 'sinatra', '1.3.3'
|
31
30
|
gem 'async_sinatra', '1.0.0'
|
32
31
|
|
33
32
|
gem 'neverblock', '0.1.6.2'
|
metadata
CHANGED
@@ -1,133 +1,92 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
name:
|
3
|
-
cmFpbmJvd3M=
|
2
|
+
name: rainbows
|
4
3
|
version: !ruby/object:Gem::Version
|
5
|
-
version: 4.6.
|
6
|
-
prerelease:
|
4
|
+
version: 4.6.2
|
7
5
|
platform: ruby
|
8
6
|
authors:
|
9
7
|
- Rainbows! hackers
|
10
8
|
autorequire:
|
11
9
|
bindir: bin
|
12
10
|
cert_chain: []
|
13
|
-
date: 2014-
|
11
|
+
date: 2014-05-12 00:00:00.000000000 Z
|
14
12
|
dependencies:
|
15
13
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
17
|
-
cmFjaw==
|
14
|
+
name: rack
|
18
15
|
requirement: !ruby/object:Gem::Requirement
|
19
|
-
none: false
|
20
16
|
requirements:
|
21
|
-
- -
|
22
|
-
fj4=
|
17
|
+
- - "~>"
|
23
18
|
- !ruby/object:Gem::Version
|
24
|
-
version:
|
25
|
-
MS4x
|
19
|
+
version: '1.1'
|
26
20
|
type: :runtime
|
27
21
|
prerelease: false
|
28
22
|
version_requirements: !ruby/object:Gem::Requirement
|
29
|
-
none: false
|
30
23
|
requirements:
|
31
|
-
- -
|
32
|
-
fj4=
|
24
|
+
- - "~>"
|
33
25
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
35
|
-
MS4x
|
26
|
+
version: '1.1'
|
36
27
|
- !ruby/object:Gem::Dependency
|
37
|
-
name:
|
38
|
-
a2dpbw==
|
28
|
+
name: kgio
|
39
29
|
requirement: !ruby/object:Gem::Requirement
|
40
|
-
none: false
|
41
30
|
requirements:
|
42
|
-
- -
|
43
|
-
fj4=
|
31
|
+
- - "~>"
|
44
32
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
46
|
-
Mi41
|
33
|
+
version: '2.5'
|
47
34
|
type: :runtime
|
48
35
|
prerelease: false
|
49
36
|
version_requirements: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
37
|
requirements:
|
52
|
-
- -
|
53
|
-
fj4=
|
38
|
+
- - "~>"
|
54
39
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
56
|
-
Mi41
|
40
|
+
version: '2.5'
|
57
41
|
- !ruby/object:Gem::Dependency
|
58
|
-
name:
|
59
|
-
dW5pY29ybg==
|
42
|
+
name: unicorn
|
60
43
|
requirement: !ruby/object:Gem::Requirement
|
61
|
-
none: false
|
62
44
|
requirements:
|
63
|
-
- -
|
64
|
-
fj4=
|
45
|
+
- - "~>"
|
65
46
|
- !ruby/object:Gem::Version
|
66
|
-
version:
|
67
|
-
NC44
|
47
|
+
version: '4.8'
|
68
48
|
type: :runtime
|
69
49
|
prerelease: false
|
70
50
|
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
none: false
|
72
51
|
requirements:
|
73
|
-
- -
|
74
|
-
fj4=
|
52
|
+
- - "~>"
|
75
53
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
77
|
-
NC44
|
54
|
+
version: '4.8'
|
78
55
|
- !ruby/object:Gem::Dependency
|
79
|
-
name:
|
80
|
-
aXNvbGF0ZQ==
|
56
|
+
name: isolate
|
81
57
|
requirement: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
58
|
requirements:
|
84
|
-
- -
|
85
|
-
fj4=
|
59
|
+
- - "~>"
|
86
60
|
- !ruby/object:Gem::Version
|
87
|
-
version:
|
88
|
-
My4x
|
61
|
+
version: '3.1'
|
89
62
|
type: :development
|
90
63
|
prerelease: false
|
91
64
|
version_requirements: !ruby/object:Gem::Requirement
|
92
|
-
none: false
|
93
65
|
requirements:
|
94
|
-
- -
|
95
|
-
fj4=
|
66
|
+
- - "~>"
|
96
67
|
- !ruby/object:Gem::Version
|
97
|
-
version:
|
98
|
-
My4x
|
68
|
+
version: '3.1'
|
99
69
|
- !ruby/object:Gem::Dependency
|
100
|
-
name:
|
101
|
-
d3Jvbmdkb2M=
|
70
|
+
name: wrongdoc
|
102
71
|
requirement: !ruby/object:Gem::Requirement
|
103
|
-
none: false
|
104
72
|
requirements:
|
105
|
-
- -
|
106
|
-
fj4=
|
73
|
+
- - "~>"
|
107
74
|
- !ruby/object:Gem::Version
|
108
|
-
version:
|
109
|
-
MS42
|
75
|
+
version: '1.8'
|
110
76
|
type: :development
|
111
77
|
prerelease: false
|
112
78
|
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
79
|
requirements:
|
115
|
-
- -
|
116
|
-
fj4=
|
80
|
+
- - "~>"
|
117
81
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
119
|
-
|
120
|
-
|
121
|
-
based on
|
122
|
-
|
82
|
+
version: '1.8'
|
83
|
+
description: |-
|
84
|
+
\Rainbows! is an HTTP server for sleepy Rack applications. It is based on
|
123
85
|
Unicorn, but designed to handle applications that expect long
|
124
|
-
|
125
|
-
|
126
|
-
email: !binary |-
|
127
|
-
cmFpbmJvd3MtdGFsa0BydWJ5Zm9yZ2Uub3Jn
|
86
|
+
request/response times and/or slow clients.
|
87
|
+
email: rainbows-public@bogomips.org
|
128
88
|
executables:
|
129
|
-
-
|
130
|
-
cmFpbmJvd3M=
|
89
|
+
- rainbows
|
131
90
|
extensions: []
|
132
91
|
extra_rdoc_files:
|
133
92
|
- ChangeLog
|
@@ -179,10 +138,10 @@ extra_rdoc_files:
|
|
179
138
|
- Sandbox
|
180
139
|
- HACKING
|
181
140
|
files:
|
182
|
-
- .document
|
183
|
-
- .gitignore
|
184
|
-
- .manifest
|
185
|
-
- .wrongdoc.yml
|
141
|
+
- ".document"
|
142
|
+
- ".gitignore"
|
143
|
+
- ".manifest"
|
144
|
+
- ".wrongdoc.yml"
|
186
145
|
- COPYING
|
187
146
|
- ChangeLog
|
188
147
|
- DEPLOY
|
@@ -208,6 +167,9 @@ files:
|
|
208
167
|
- TODO
|
209
168
|
- TUNING
|
210
169
|
- Test_Suite
|
170
|
+
- archive/.gitignore
|
171
|
+
- archive/rfmig.rb
|
172
|
+
- archive/slrnpull.conf
|
211
173
|
- bin/rainbows
|
212
174
|
- examples/reverse_proxy.ru
|
213
175
|
- lib/rainbows.rb
|
@@ -467,35 +429,31 @@ files:
|
|
467
429
|
- vs_Unicorn
|
468
430
|
homepage: http://rainbows.bogomips.org/
|
469
431
|
licenses:
|
470
|
-
-
|
471
|
-
|
472
|
-
|
473
|
-
UnVieSAxLjg=
|
432
|
+
- GPLv2+
|
433
|
+
- Ruby 1.8
|
434
|
+
metadata: {}
|
474
435
|
post_install_message:
|
475
436
|
rdoc_options:
|
476
|
-
- -t
|
437
|
+
- "-t"
|
477
438
|
- Rainbows! - Unicorn for sleepy apps and slow clients
|
478
|
-
- -W
|
439
|
+
- "-W"
|
479
440
|
- http://bogomips.org/rainbows.git/tree/%s
|
480
441
|
require_paths:
|
481
442
|
- lib
|
482
443
|
required_ruby_version: !ruby/object:Gem::Requirement
|
483
|
-
none: false
|
484
444
|
requirements:
|
485
|
-
- -
|
445
|
+
- - ">="
|
486
446
|
- !ruby/object:Gem::Version
|
487
447
|
version: '0'
|
488
448
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
489
|
-
none: false
|
490
449
|
requirements:
|
491
|
-
- -
|
450
|
+
- - ">="
|
492
451
|
- !ruby/object:Gem::Version
|
493
452
|
version: '0'
|
494
453
|
requirements: []
|
495
|
-
rubyforge_project:
|
496
|
-
|
497
|
-
rubygems_version: 1.8.23
|
454
|
+
rubyforge_project: rainbows
|
455
|
+
rubygems_version: 2.2.2
|
498
456
|
signing_key:
|
499
|
-
specification_version:
|
500
|
-
summary:
|
457
|
+
specification_version: 4
|
458
|
+
summary: "- Unicorn for sleepy apps and slow clients"
|
501
459
|
test_files: []
|