rainbows 4.4.2 → 4.4.3

Sign up to get free protection for your applications and to get access to all the features.
data/GIT-VERSION-GEN CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
 
3
3
  GVF=GIT-VERSION-FILE
4
- DEF_VER=v4.4.2.GIT
4
+ DEF_VER=v4.4.3
5
5
 
6
6
  LF='
7
7
  '
@@ -2,7 +2,7 @@
2
2
  # :enddoc:
3
3
  module Rainbows::Const
4
4
 
5
- RAINBOWS_VERSION = '4.4.2'
5
+ RAINBOWS_VERSION = '4.4.3'
6
6
 
7
7
  include Unicorn::Const
8
8
 
@@ -99,6 +99,7 @@ module Rainbows::EventMachine
99
99
  end
100
100
  end
101
101
  }
102
+ EM.reactor_thread.join if EM.reactor_running?
102
103
  end
103
104
  end
104
105
  # :enddoc:
@@ -28,7 +28,7 @@ class Rainbows::EventMachine::Client < EM::Connection
28
28
 
29
29
  def quit
30
30
  super
31
- close_connection_after_writing
31
+ close_connection_after_writing if nil == @deferred
32
32
  end
33
33
 
34
34
  def app_call input
@@ -41,13 +41,17 @@ class Rainbows::EventMachine::Client < EM::Connection
41
41
  APP.call(@env.merge!(RACK_DEFAULTS))
42
42
  }
43
43
 
44
- (nil == status || -1 == status) ? @deferred = true :
44
+ if (nil == status || -1 == status)
45
+ @deferred = true
46
+ else
45
47
  ev_write_response(status, headers, body, @hp.next?)
48
+ end
46
49
  end
47
50
 
48
51
  def deferred_errback(orig_body)
49
52
  @deferred.errback do
50
53
  orig_body.close if orig_body.respond_to?(:close)
54
+ @deferred = nil
51
55
  quit
52
56
  end
53
57
  end
@@ -103,7 +107,8 @@ class Rainbows::EventMachine::Client < EM::Connection
103
107
 
104
108
  def next!
105
109
  @deferred.close if @deferred.respond_to?(:close)
106
- @hp.keepalive? ? receive_data(@deferred = nil) : quit
110
+ @deferred = nil
111
+ @hp.keepalive? ? receive_data(nil) : quit
107
112
  end
108
113
 
109
114
  def unbind
data/t/GNUmakefile CHANGED
@@ -103,8 +103,6 @@ random_blob:
103
103
  dd if=/dev/urandom bs=1M count=30 of=$@.$(pid)
104
104
  mv $@.$(pid) $@
105
105
 
106
- $(T): random_blob
107
-
108
106
  dependencies := socat curl
109
107
  deps := $(addprefix .dep+,$(dependencies))
110
108
  $(deps): dep_bin = $(lastword $(subst +, ,$@))
@@ -119,7 +117,7 @@ $(libs): test_isolate.rb
119
117
  mkdir -p $(@D)
120
118
  $(RUBY) $< > $@+
121
119
  mv $@+ $@
122
- t_deps := $(libs) $(deps) $(bin_rainbows) trash/.gitignore
120
+ t_deps := random_blob $(libs) $(deps) $(bin_rainbows) trash/.gitignore
123
121
  $(T): $(t_deps)
124
122
 
125
123
  $(MODEL_T): export model = $(firstword $(subst ., ,$@))
metadata CHANGED
@@ -1,107 +1,135 @@
1
- --- !ruby/object:Gem::Specification
2
- name: rainbows
3
- version: !ruby/object:Gem::Version
4
- hash: 43
1
+ --- !ruby/object:Gem::Specification
2
+ name: !binary |-
3
+ cmFpbmJvd3M=
4
+ version: !ruby/object:Gem::Version
5
+ version: 4.4.3
5
6
  prerelease:
6
- segments:
7
- - 4
8
- - 4
9
- - 2
10
- version: 4.4.2
11
7
  platform: ruby
12
- authors:
8
+ authors:
13
9
  - Rainbows! hackers
14
10
  autorequire:
15
11
  bindir: bin
16
12
  cert_chain: []
17
-
18
- date: 2012-12-06 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: rack
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
13
+ date: 2013-01-18 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: !binary |-
17
+ cmFjaw==
18
+ requirement: !ruby/object:Gem::Requirement
24
19
  none: false
25
- requirements:
26
- - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 13
29
- segments:
30
- - 1
31
- - 1
32
- version: "1.1"
20
+ requirements:
21
+ - - !binary |-
22
+ fj4=
23
+ - !ruby/object:Gem::Version
24
+ version: !binary |-
25
+ MS4x
33
26
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: kgio
37
27
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
28
+ version_requirements: !ruby/object:Gem::Requirement
39
29
  none: false
40
- requirements:
41
- - - ~>
42
- - !ruby/object:Gem::Version
43
- hash: 9
44
- segments:
45
- - 2
46
- - 5
47
- version: "2.5"
30
+ requirements:
31
+ - - !binary |-
32
+ fj4=
33
+ - !ruby/object:Gem::Version
34
+ version: !binary |-
35
+ MS4x
36
+ - !ruby/object:Gem::Dependency
37
+ name: !binary |-
38
+ a2dpbw==
39
+ requirement: !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - !binary |-
43
+ fj4=
44
+ - !ruby/object:Gem::Version
45
+ version: !binary |-
46
+ Mi41
48
47
  type: :runtime
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: unicorn
52
48
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - !binary |-
53
+ fj4=
54
+ - !ruby/object:Gem::Version
55
+ version: !binary |-
56
+ Mi41
57
+ - !ruby/object:Gem::Dependency
58
+ name: !binary |-
59
+ dW5pY29ybg==
60
+ requirement: !ruby/object:Gem::Requirement
54
61
  none: false
55
- requirements:
56
- - - ~>
57
- - !ruby/object:Gem::Version
58
- hash: 25
59
- segments:
60
- - 4
61
- - 1
62
- version: "4.1"
62
+ requirements:
63
+ - - !binary |-
64
+ fj4=
65
+ - !ruby/object:Gem::Version
66
+ version: !binary |-
67
+ NC4x
63
68
  type: :runtime
64
- version_requirements: *id003
65
- - !ruby/object:Gem::Dependency
66
- name: isolate
67
69
  prerelease: false
68
- requirement: &id004 !ruby/object:Gem::Requirement
70
+ version_requirements: !ruby/object:Gem::Requirement
69
71
  none: false
70
- requirements:
71
- - - ~>
72
- - !ruby/object:Gem::Version
73
- hash: 5
74
- segments:
75
- - 3
76
- - 1
77
- version: "3.1"
72
+ requirements:
73
+ - - !binary |-
74
+ fj4=
75
+ - !ruby/object:Gem::Version
76
+ version: !binary |-
77
+ NC4x
78
+ - !ruby/object:Gem::Dependency
79
+ name: !binary |-
80
+ aXNvbGF0ZQ==
81
+ requirement: !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - !binary |-
85
+ fj4=
86
+ - !ruby/object:Gem::Version
87
+ version: !binary |-
88
+ My4x
78
89
  type: :development
79
- version_requirements: *id004
80
- - !ruby/object:Gem::Dependency
81
- name: wrongdoc
82
90
  prerelease: false
83
- requirement: &id005 !ruby/object:Gem::Requirement
91
+ version_requirements: !ruby/object:Gem::Requirement
92
+ none: false
93
+ requirements:
94
+ - - !binary |-
95
+ fj4=
96
+ - !ruby/object:Gem::Version
97
+ version: !binary |-
98
+ My4x
99
+ - !ruby/object:Gem::Dependency
100
+ name: !binary |-
101
+ d3Jvbmdkb2M=
102
+ requirement: !ruby/object:Gem::Requirement
84
103
  none: false
85
- requirements:
86
- - - ~>
87
- - !ruby/object:Gem::Version
88
- hash: 3
89
- segments:
90
- - 1
91
- - 6
92
- version: "1.6"
104
+ requirements:
105
+ - - !binary |-
106
+ fj4=
107
+ - !ruby/object:Gem::Version
108
+ version: !binary |-
109
+ MS42
93
110
  type: :development
94
- version_requirements: *id005
95
- description: |-
96
- \Rainbows! is an HTTP server for sleepy Rack applications. It is based on
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - !binary |-
116
+ fj4=
117
+ - !ruby/object:Gem::Version
118
+ version: !binary |-
119
+ MS42
120
+ description: ! '\Rainbows! is an HTTP server for sleepy Rack applications. It is
121
+ based on
122
+
97
123
  Unicorn, but designed to handle applications that expect long
98
- request/response times and/or slow clients.
99
- email: rainbows-talk@rubyforge.org
100
- executables:
101
- - rainbows
102
- extensions: []
103
124
 
104
- extra_rdoc_files:
125
+ request/response times and/or slow clients.'
126
+ email: !binary |-
127
+ cmFpbmJvd3MtdGFsa0BydWJ5Zm9yZ2Uub3Jn
128
+ executables:
129
+ - !binary |-
130
+ cmFpbmJvd3M=
131
+ extensions: []
132
+ extra_rdoc_files:
105
133
  - ChangeLog
106
134
  - DEPLOY
107
135
  - FAQ
@@ -149,7 +177,7 @@ extra_rdoc_files:
149
177
  - Test_Suite
150
178
  - Static_Files
151
179
  - Sandbox
152
- files:
180
+ files:
153
181
  - .document
154
182
  - .gitignore
155
183
  - .manifest
@@ -435,39 +463,31 @@ files:
435
463
  - vs_Unicorn
436
464
  homepage: http://rainbows.rubyforge.org/
437
465
  licenses: []
438
-
439
466
  post_install_message:
440
- rdoc_options:
467
+ rdoc_options:
441
468
  - -t
442
469
  - Rainbows! - Unicorn for sleepy apps and slow clients
443
470
  - -W
444
471
  - http://bogomips.org/rainbows.git/tree/%s
445
- require_paths:
472
+ require_paths:
446
473
  - lib
447
- required_ruby_version: !ruby/object:Gem::Requirement
474
+ required_ruby_version: !ruby/object:Gem::Requirement
448
475
  none: false
449
- requirements:
450
- - - ">="
451
- - !ruby/object:Gem::Version
452
- hash: 3
453
- segments:
454
- - 0
455
- version: "0"
456
- required_rubygems_version: !ruby/object:Gem::Requirement
476
+ requirements:
477
+ - - ! '>='
478
+ - !ruby/object:Gem::Version
479
+ version: '0'
480
+ required_rubygems_version: !ruby/object:Gem::Requirement
457
481
  none: false
458
- requirements:
459
- - - ">="
460
- - !ruby/object:Gem::Version
461
- hash: 3
462
- segments:
463
- - 0
464
- version: "0"
482
+ requirements:
483
+ - - ! '>='
484
+ - !ruby/object:Gem::Version
485
+ version: '0'
465
486
  requirements: []
466
-
467
- rubyforge_project: rainbows
468
- rubygems_version: 1.8.24
487
+ rubyforge_project: !binary |-
488
+ cmFpbmJvd3M=
489
+ rubygems_version: 1.8.23
469
490
  signing_key:
470
491
  specification_version: 3
471
- summary: "- Unicorn for sleepy apps and slow clients"
492
+ summary: ! '- Unicorn for sleepy apps and slow clients'
472
493
  test_files: []
473
-