rainbows 4.4.1 → 4.4.1.1.gd5c8c

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rainbows/event_machine/client.rb +3 -0
  2. metadata +128 -107
@@ -64,8 +64,11 @@ class Rainbows::EventMachine::Client < EM::Connection
64
64
  @state = :headers if alive
65
65
  if body.respond_to?(:errback) && body.respond_to?(:callback)
66
66
  @deferred = body
67
+ write_headers(status, headers, alive)
68
+ write_body_each(body)
67
69
  deferred_errback(body)
68
70
  deferred_callback(body, alive)
71
+ return
69
72
  elsif body.respond_to?(:to_path)
70
73
  st = File.stat(path = body.to_path)
71
74
 
metadata CHANGED
@@ -1,107 +1,135 @@
1
- --- !ruby/object:Gem::Specification
2
- name: rainbows
3
- version: !ruby/object:Gem::Version
4
- hash: 45
5
- prerelease:
6
- segments:
7
- - 4
8
- - 4
9
- - 1
10
- version: 4.4.1
1
+ --- !ruby/object:Gem::Specification
2
+ name: !binary |-
3
+ cmFpbmJvd3M=
4
+ version: !ruby/object:Gem::Version
5
+ version: 4.4.1.1.gd5c8c
6
+ prerelease: 8
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-08-31 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: 2012-12-05 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,32 @@ 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: 1.3.1
465
486
  requirements: []
466
-
467
- rubyforge_project: rainbows
487
+ rubyforge_project: !binary |-
488
+ cmFpbmJvd3M=
468
489
  rubygems_version: 1.8.24
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
-
494
+ has_rdoc: