yahns 1.9.0 → 1.10.0

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.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -1
  3. data/.olddoc.yml +7 -0
  4. data/Documentation/.gitignore +1 -1
  5. data/Documentation/GNUmakefile +1 -1
  6. data/Documentation/yahns-rackup.txt +1 -1
  7. data/Documentation/yahns.txt +1 -1
  8. data/Documentation/yahns_config.txt +1 -1
  9. data/GIT-VERSION-FILE +1 -1
  10. data/GIT-VERSION-GEN +2 -2
  11. data/GNUmakefile +1 -1
  12. data/HACKING +1 -1
  13. data/NEWS +494 -504
  14. data/README +2 -1
  15. data/Rakefile +5 -69
  16. data/bin/yahns +1 -1
  17. data/bin/yahns-rackup +1 -1
  18. data/extras/README +1 -1
  19. data/extras/autoindex.rb +1 -1
  20. data/extras/exec_cgi.rb +1 -1
  21. data/extras/try_gzip_static.rb +4 -2
  22. data/lib/yahns/acceptor.rb +1 -1
  23. data/lib/yahns/cap_input.rb +1 -1
  24. data/lib/yahns/client_expire_generic.rb +1 -1
  25. data/lib/yahns/client_expire_tcpi.rb +1 -1
  26. data/lib/yahns/config.rb +5 -2
  27. data/lib/yahns/daemon.rb +2 -2
  28. data/lib/yahns/fdmap.rb +1 -1
  29. data/lib/yahns/http_client.rb +1 -1
  30. data/lib/yahns/http_context.rb +1 -1
  31. data/lib/yahns/http_response.rb +1 -1
  32. data/lib/yahns/log.rb +2 -2
  33. data/lib/yahns/max_body/rewindable_wrapper.rb +1 -1
  34. data/lib/yahns/max_body/wrapper.rb +1 -1
  35. data/lib/yahns/max_body.rb +1 -1
  36. data/lib/yahns/proxy_http_response.rb +2 -2
  37. data/lib/yahns/proxy_pass.rb +4 -1
  38. data/lib/yahns/queue_egg.rb +1 -1
  39. data/lib/yahns/queue_epoll.rb +1 -1
  40. data/lib/yahns/queue_kqueue.rb +1 -1
  41. data/lib/yahns/queue_quitter.rb +1 -1
  42. data/lib/yahns/queue_quitter_pipe.rb +1 -1
  43. data/lib/yahns/rack.rb +1 -1
  44. data/lib/yahns/sendfile_compat.rb +1 -1
  45. data/lib/yahns/server.rb +6 -6
  46. data/lib/yahns/server_mp.rb +1 -1
  47. data/lib/yahns/sigevent.rb +1 -1
  48. data/lib/yahns/sigevent_efd.rb +1 -1
  49. data/lib/yahns/sigevent_pipe.rb +1 -1
  50. data/lib/yahns/socket_helper.rb +1 -1
  51. data/lib/yahns/stream_file.rb +1 -1
  52. data/lib/yahns/stream_input.rb +1 -1
  53. data/lib/yahns/tcp_server.rb +1 -1
  54. data/lib/yahns/tee_input.rb +1 -1
  55. data/lib/yahns/tmpio.rb +1 -1
  56. data/lib/yahns/unix_server.rb +1 -1
  57. data/lib/yahns/version.rb +1 -1
  58. data/lib/yahns/wbuf_common.rb +1 -1
  59. data/lib/yahns/wbuf_str.rb +1 -1
  60. data/lib/yahns/worker.rb +1 -1
  61. data/lib/yahns.rb +1 -1
  62. data/man/yahns-rackup.1 +1 -4
  63. data/man/yahns.1 +1 -4
  64. data/man/yahns_config.5 +1 -4
  65. data/test/covshow.rb +1 -1
  66. data/test/helper.rb +1 -1
  67. data/test/server_helper.rb +1 -1
  68. data/test/test_bin.rb +1 -1
  69. data/test/test_buffer_tmpdir.rb +1 -1
  70. data/test/test_client_expire.rb +3 -4
  71. data/test/test_client_max_body_size.rb +1 -1
  72. data/test/test_config.rb +1 -1
  73. data/test/test_expect_100.rb +1 -1
  74. data/test/test_extras_autoindex.rb +1 -1
  75. data/test/test_extras_exec_cgi.rb +1 -1
  76. data/test/test_extras_exec_cgi.sh +1 -1
  77. data/test/test_extras_try_gzip_static.rb +1 -1
  78. data/test/test_fdmap.rb +1 -1
  79. data/test/test_input.rb +1 -1
  80. data/test/test_mt_accept.rb +1 -1
  81. data/test/test_output_buffering.rb +1 -1
  82. data/test/test_rack.rb +1 -1
  83. data/test/test_rack_hijack.rb +1 -1
  84. data/test/test_reopen_logs.rb +1 -1
  85. data/test/test_response.rb +1 -1
  86. data/test/test_serve_static.rb +1 -1
  87. data/test/test_server.rb +1 -1
  88. data/test/test_stream_file.rb +1 -1
  89. data/test/test_unix_socket.rb +1 -1
  90. data/test/test_wbuf.rb +1 -1
  91. data/yahns.gemspec +4 -4
  92. metadata +10 -9
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  require_relative 'server_helper'
4
4
 
@@ -125,9 +125,8 @@ class TestClientExpire < Testcase
125
125
  opts = { out: "/dev/null", err: "/dev/null", close_others: true }
126
126
  begin
127
127
  pids = 2.times.map do
128
- fork do
129
- exec(*%W(ab -c #{nr} -n 9999999 -v1 -k http://#{host}:#{port}/), opts)
130
- end
128
+ Process.spawn(*%W(ab -c #{nr} -n 9999999 -v1 -k
129
+ http://#{host}:#{port}/), opts)
131
130
  end
132
131
 
133
132
  re1 = %r{consider raising open file limits}
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  require_relative 'server_helper'
4
4
 
data/test/test_config.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  require_relative 'helper'
4
4
  require 'rack/lobster'
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  require_relative 'server_helper'
4
4
 
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  require_relative 'server_helper'
4
4
  require 'zlib'
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  require_relative 'server_helper'
4
4
 
@@ -1,5 +1,5 @@
1
1
  #!/bin/sh
2
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
2
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
3
3
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
4
4
 
5
5
  # test CGI program, this remains portable POSIX shell (not bash)
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  require_relative 'server_helper'
4
4
  require 'zlib'
data/test/test_fdmap.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  require_relative 'helper'
4
4
 
data/test/test_input.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  require_relative 'server_helper'
4
4
  require 'digest/md5'
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  require_relative 'server_helper'
4
4
  require 'rack/lobster'
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  require_relative 'server_helper'
4
4
  require 'digest/md5'
data/test/test_rack.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  require_relative 'helper'
4
4
  require 'rack/lobster'
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  require_relative 'server_helper'
4
4
 
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  require_relative 'server_helper'
4
4
  require 'rack/commonlogger'
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  require_relative 'server_helper'
4
4
 
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  require_relative 'server_helper'
4
4
  require 'rack/file'
data/test/test_server.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  require_relative 'server_helper'
4
4
 
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  require_relative 'helper'
4
4
  require 'timeout'
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  require_relative 'server_helper'
4
4
 
data/test/test_wbuf.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  require_relative 'helper'
4
4
  require 'timeout'
data/yahns.gemspec CHANGED
@@ -1,9 +1,9 @@
1
- # Copyright (C) 2013, Eric Wong <normalperson@yhbt.net> and all contributors
1
+ # Copyright (C) 2013-2015 all contributors <yahns-public@yhbt.net>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  Gem::Specification.new do |s|
4
4
  manifest = File.read('.gem-manifest').split(/\n/)
5
5
  s.name = %q{yahns}
6
- s.version = ENV["VERSION"]
6
+ s.version = ENV["VERSION"].dup
7
7
  s.authors = ["yahns hackers"]
8
8
  s.summary = "sleepy, multi-threaded, non-blocking application server"
9
9
  s.description = File.read("README").split(/\n\n/)[1].strip
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.files = manifest
13
13
  s.add_dependency(%q<kgio>, '~> 2.9')
14
14
  s.add_dependency(%q<sleepy_penguin>, '~> 3.2')
15
- s.add_dependency(%q<unicorn>, '~> 4.6', '>= 4.6.3')
15
+ s.add_dependency(%q<unicorn>, '>= 4.6.3', '< 6.0')
16
16
  # s.add_dependency(%q<kgio-sendfile>, '~> 1.2') # optional
17
17
 
18
18
  # minitest is standard in Ruby 2.0, 4.3 is packaged with Ruby 2.0.0,
@@ -23,5 +23,5 @@ Gem::Specification.new do |s|
23
23
  s.add_development_dependency(%q<minitest>, '>= 4.3', '< 6.0')
24
24
 
25
25
  s.homepage = "http://yahns.yhbt.net/README"
26
- s.licenses = "GPLv3+"
26
+ s.licenses = "GPL-3.0+"
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yahns
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - yahns hackers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-21 00:00:00.000000000 Z
11
+ date: 2015-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kgio
@@ -42,22 +42,22 @@ dependencies:
42
42
  name: unicorn
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '4.6'
48
45
  - - ">="
49
46
  - !ruby/object:Gem::Version
50
47
  version: 4.6.3
48
+ - - "<"
49
+ - !ruby/object:Gem::Version
50
+ version: '6.0'
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
- - - "~>"
56
- - !ruby/object:Gem::Version
57
- version: '4.6'
58
55
  - - ">="
59
56
  - !ruby/object:Gem::Version
60
57
  version: 4.6.3
58
+ - - "<"
59
+ - !ruby/object:Gem::Version
60
+ version: '6.0'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: minitest
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -93,6 +93,7 @@ extensions: []
93
93
  extra_rdoc_files: []
94
94
  files:
95
95
  - ".gitignore"
96
+ - ".olddoc.yml"
96
97
  - COPYING
97
98
  - Documentation/.gitignore
98
99
  - Documentation/GNUmakefile
@@ -202,7 +203,7 @@ files:
202
203
  - yahns.gemspec
203
204
  homepage: http://yahns.yhbt.net/README
204
205
  licenses:
205
- - GPLv3+
206
+ - GPL-3.0+
206
207
  metadata: {}
207
208
  post_install_message:
208
209
  rdoc_options: []