rainbows 4.4.3 → 4.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. data/.document +1 -0
  2. data/.gitignore +1 -0
  3. data/Documentation/rainbows.1.txt +8 -4
  4. data/GIT-VERSION-GEN +34 -35
  5. data/GNUmakefile +4 -2
  6. data/HACKING +72 -0
  7. data/bin/rainbows +5 -0
  8. data/lib/rainbows/const.rb +3 -3
  9. data/lib/rainbows/coolio/client.rb +18 -6
  10. data/lib/rainbows/coolio/thread_client.rb +2 -0
  11. data/lib/rainbows/epoll/client.rb +35 -12
  12. data/lib/rainbows/ev_core.rb +5 -4
  13. data/lib/rainbows/event_machine/client.rb +9 -4
  14. data/lib/rainbows/process_client.rb +7 -3
  15. data/lib/rainbows/response.rb +54 -18
  16. data/lib/rainbows/revactor/client/methods.rb +1 -1
  17. data/lib/rainbows/stream_response_epoll.rb +34 -15
  18. data/lib/rainbows/stream_response_epoll/client.rb +11 -3
  19. data/lib/rainbows/writer_thread_pool/client.rb +2 -0
  20. data/lib/rainbows/xepoll/client.rb +0 -3
  21. data/lib/rainbows/xepoll_thread_pool/client.rb +1 -1
  22. data/lib/rainbows/xepoll_thread_spawn/client.rb +1 -1
  23. data/rainbows.gemspec +6 -3
  24. data/t/GNUmakefile +10 -3
  25. data/t/byte-range-common.sh +1 -1
  26. data/t/hijack.ru +56 -0
  27. data/t/t0000-simple-http.sh +9 -9
  28. data/t/t0001-unix-http.sh +8 -8
  29. data/t/t0003-reopen-logs.sh +8 -8
  30. data/t/t0004-heartbeat-timeout.sh +3 -3
  31. data/t/t0005-large-file-response.sh +1 -1
  32. data/t/t0010-keepalive-timeout-effective.sh +2 -2
  33. data/t/t0011-close-on-exec-set.sh +2 -2
  34. data/t/t0017-keepalive-timeout-zero.sh +2 -2
  35. data/t/t0024-pipelined-sendfile-response.sh +2 -2
  36. data/t/t0027-nil-copy_stream.sh +1 -1
  37. data/t/t0030-fast-pipe-response.sh +1 -1
  38. data/t/t0034-pipelined-pipe-response.sh +2 -2
  39. data/t/t0035-kgio-pipe-response.sh +1 -1
  40. data/t/t0040-keepalive_requests-setting.sh +4 -4
  41. data/t/t0043-quit-keepalive-disconnect.sh +3 -3
  42. data/t/t0044-autopush.sh +2 -2
  43. data/t/t0045-client_max_header_size.sh +2 -2
  44. data/t/t0100-rack-input-hammer-chunked.sh +4 -4
  45. data/t/t0100-rack-input-hammer-content-length.sh +4 -4
  46. data/t/t0106-rack-input-keepalive.sh +6 -6
  47. data/t/t0200-async-response.sh +5 -5
  48. data/t/t0202-async-response-one-oh.sh +5 -5
  49. data/t/t0300-async_sinatra.sh +5 -5
  50. data/t/t0400-em-async-app.sh +2 -2
  51. data/t/t0401-em-async-tailer.sh +2 -2
  52. data/t/t0402-async-keepalive.sh +23 -23
  53. data/t/t0500-cramp-streaming.sh +3 -3
  54. data/t/t0600-rack-fiber_pool.sh +1 -1
  55. data/t/t0700-app-deferred.sh +2 -2
  56. data/t/t0800-rack-hijack.sh +27 -0
  57. data/t/t9000-rack-app-pool.sh +3 -3
  58. data/t/t9001-sendfile-to-path.sh +1 -1
  59. data/t/t9100-thread-timeout.sh +1 -1
  60. data/t/t9101-thread-timeout-threshold.sh +1 -1
  61. data/t/test-lib.sh +15 -0
  62. data/t/test_isolate.rb +4 -3
  63. metadata +26 -6
  64. data/t/bin/utee +0 -12
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: !binary |-
3
3
  cmFpbmJvd3M=
4
4
  version: !ruby/object:Gem::Version
5
- version: 4.4.3
5
+ version: 4.5.0
6
6
  prerelease:
7
7
  platform: ruby
8
8
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-01-18 00:00:00.000000000 Z
13
+ date: 2013-02-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: !binary |-
@@ -64,7 +64,12 @@ dependencies:
64
64
  fj4=
65
65
  - !ruby/object:Gem::Version
66
66
  version: !binary |-
67
- NC4x
67
+ NC42
68
+ - - !binary |-
69
+ Pj0=
70
+ - !ruby/object:Gem::Version
71
+ version: !binary |-
72
+ NC42LjI=
68
73
  type: :runtime
69
74
  prerelease: false
70
75
  version_requirements: !ruby/object:Gem::Requirement
@@ -74,7 +79,12 @@ dependencies:
74
79
  fj4=
75
80
  - !ruby/object:Gem::Version
76
81
  version: !binary |-
77
- NC4x
82
+ NC42
83
+ - - !binary |-
84
+ Pj0=
85
+ - !ruby/object:Gem::Version
86
+ version: !binary |-
87
+ NC42LjI=
78
88
  - !ruby/object:Gem::Dependency
79
89
  name: !binary |-
80
90
  aXNvbGF0ZQ==
@@ -177,6 +187,7 @@ extra_rdoc_files:
177
187
  - Test_Suite
178
188
  - Static_Files
179
189
  - Sandbox
190
+ - HACKING
180
191
  files:
181
192
  - .document
182
193
  - .gitignore
@@ -194,6 +205,7 @@ files:
194
205
  - GIT-VERSION-FILE
195
206
  - GIT-VERSION-GEN
196
207
  - GNUmakefile
208
+ - HACKING
197
209
  - LATEST
198
210
  - LICENSE
199
211
  - NEWS
@@ -300,6 +312,7 @@ files:
300
312
  - lib/rainbows/thread_pool.rb
301
313
  - lib/rainbows/thread_spawn.rb
302
314
  - lib/rainbows/thread_timeout.rb
315
+ - lib/rainbows/version.rb
303
316
  - lib/rainbows/worker_yield.rb
304
317
  - lib/rainbows/writer_thread_pool.rb
305
318
  - lib/rainbows/writer_thread_pool/client.rb
@@ -330,7 +343,6 @@ files:
330
343
  - t/bin/content-md5-put
331
344
  - t/bin/sha1sum.rb
332
345
  - t/bin/unused_listen
333
- - t/bin/utee
334
346
  - t/byte-range-common.sh
335
347
  - t/client_header_buffer_size.ru
336
348
  - t/close-has-env.ru
@@ -346,6 +358,7 @@ files:
346
358
  - t/file-wrap-to_path.ru
347
359
  - t/fork-sleep.ru
348
360
  - t/heartbeat-timeout.ru
361
+ - t/hijack.ru
349
362
  - t/kgio-pipe-response.ru
350
363
  - t/large-file-response.ru
351
364
  - t/my-tap-lib.sh
@@ -444,6 +457,7 @@ files:
444
457
  - t/t0501-cramp-rainsocket.sh
445
458
  - t/t0600-rack-fiber_pool.sh
446
459
  - t/t0700-app-deferred.sh
460
+ - t/t0800-rack-hijack.sh
447
461
  - t/t9000-rack-app-pool.sh
448
462
  - t/t9000.ru
449
463
  - t/t9001-sendfile-to-path.sh
@@ -462,7 +476,13 @@ files:
462
476
  - t/write-on-close.ru
463
477
  - vs_Unicorn
464
478
  homepage: http://rainbows.rubyforge.org/
465
- licenses: []
479
+ licenses:
480
+ - !binary |-
481
+ R1BMdjI=
482
+ - !binary |-
483
+ R1BMdjM=
484
+ - !binary |-
485
+ UnVieSAxLjg=
466
486
  post_install_message:
467
487
  rdoc_options:
468
488
  - -t
data/t/bin/utee DELETED
@@ -1,12 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # -*- encoding: binary -*-
3
- # tee(1) as distributed on most(all?) systems is buffered in luserspace
4
- # this only does unbuffered writes (with line-buffered input) to make
5
- # test output appear in real-time
6
- $stdin.binmode
7
- $stdout.binmode
8
- fp = File.open(ARGV.shift, "wb")
9
- $stdin.each_line do |line|
10
- fp.syswrite line
11
- $stdout.syswrite line
12
- end