mongrel 1.1.4-java → 1.1.5-java
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.
- data.tar.gz.sig +3 -4
- data/CHANGELOG +2 -0
- data/bin/mongrel_rails +1 -1
- data/examples/camping/blog.rb +0 -0
- data/ext/http11/http11.c +1 -1
- data/ext/http11_java/org/jruby/mongrel/Http11.java +2 -2
- data/lib/http11.jar +0 -0
- data/lib/mongrel/const.rb +1 -1
- data/mongrel.gemspec +7 -5
- metadata +32 -7
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
�
|
2
|
-
|
3
|
-
|
4
|
-
�i��<���v�b
|
1
|
+
�tG�Cv��HZ'Jj�E��쏸�فd���L)s�}zaBٛ̄E}��J;zj(� г��+
|
2
|
+
3�=���)݈Bi���=��y���s� ��W�Ќ��+m�1�C�u�AU�dݲ�I`CD��5az3~5����J*7��������V>^�=�$���zo�4��ݢjd�\@y��5�����ۢ@"���D
|
3
|
+
����םP�$2~�-��Z�U��J�9�;F�T���K'���1^9�A!{]D�q
|
data/CHANGELOG
CHANGED
data/bin/mongrel_rails
CHANGED
@@ -28,7 +28,7 @@ module Mongrel
|
|
28
28
|
['-a', '--address ADDR', "Address to bind to", :@address, "0.0.0.0"],
|
29
29
|
['-l', '--log FILE', "Where to write log messages", :@log_file, "log/mongrel.log"],
|
30
30
|
['-P', '--pid FILE', "Where to write the PID", :@pid_file, "log/mongrel.pid"],
|
31
|
-
['-n', '--num-
|
31
|
+
['-n', '--num-processors INT', "Number of processors active before clients denied", :@num_processors, 1024],
|
32
32
|
['-o', '--timeout TIME', "Time to wait (in seconds) before killing a stalled thread", :@timeout, 60],
|
33
33
|
['-t', '--throttle TIME', "Time to pause (in hundredths of a second) between accepting clients", :@throttle, 0],
|
34
34
|
['-m', '--mime PATH', "A YAML file that lists additional MIME types", :@mime_map, nil],
|
data/examples/camping/blog.rb
CHANGED
File without changes
|
data/ext/http11/http11.c
CHANGED
@@ -384,7 +384,7 @@ void Init_http11()
|
|
384
384
|
DEF_GLOBAL(server_protocol, "SERVER_PROTOCOL");
|
385
385
|
DEF_GLOBAL(server_protocol_value, "HTTP/1.1");
|
386
386
|
DEF_GLOBAL(http_host, "HTTP_HOST");
|
387
|
-
DEF_GLOBAL(mongrel_version, "Mongrel 1.1.
|
387
|
+
DEF_GLOBAL(mongrel_version, "Mongrel 1.1.5"); /* XXX Why is this defined here? */
|
388
388
|
DEF_GLOBAL(server_software, "SERVER_SOFTWARE");
|
389
389
|
DEF_GLOBAL(port_80, "80");
|
390
390
|
|
@@ -215,7 +215,7 @@ public class Http11 extends RubyObject {
|
|
215
215
|
|
216
216
|
req.setInstanceVariable("@http_body", RubyString.newString(runtime, new ByteList(hp.parser.buffer, at, length)));
|
217
217
|
req.aset(runtime.newString("SERVER_PROTOCOL"),runtime.newString("HTTP/1.1"));
|
218
|
-
req.aset(runtime.newString("SERVER_SOFTWARE"),runtime.newString("Mongrel 1.1.
|
218
|
+
req.aset(runtime.newString("SERVER_SOFTWARE"),runtime.newString("Mongrel 1.1.5"));
|
219
219
|
}
|
220
220
|
};
|
221
221
|
|
@@ -247,7 +247,7 @@ public class Http11 extends RubyObject {
|
|
247
247
|
if(this.hp.has_error()) {
|
248
248
|
throw new RaiseException(runtime, eHttpParserError, "Invalid HTTP format, parsing fails.", true);
|
249
249
|
} else {
|
250
|
-
return runtime.newFixnum(this.hp.parser.nread);
|
250
|
+
return runtime.newFixnum((long)this.hp.parser.nread);
|
251
251
|
}
|
252
252
|
}
|
253
253
|
}
|
data/lib/http11.jar
CHANGED
Binary file
|
data/lib/mongrel/const.rb
CHANGED
data/mongrel.gemspec
CHANGED
@@ -1,27 +1,29 @@
|
|
1
1
|
|
2
|
-
# Gem::Specification for Mongrel-1.1.
|
2
|
+
# Gem::Specification for Mongrel-1.1.5
|
3
3
|
# Originally generated by Echoe
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = %q{mongrel}
|
7
|
-
s.version = "1.1.
|
7
|
+
s.version = "1.1.5"
|
8
8
|
s.platform = %q{java}
|
9
9
|
|
10
10
|
s.specification_version = 2 if s.respond_to? :specification_version=
|
11
11
|
|
12
12
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
13
13
|
s.authors = ["Zed A. Shaw"]
|
14
|
-
s.date = %q{2008-
|
14
|
+
s.date = %q{2008-05-25}
|
15
15
|
s.default_executable = %q{mongrel_rails}
|
16
16
|
s.description = %q{A small fast HTTP library and server that runs Rails, Camping, Nitro and Iowa apps.}
|
17
17
|
s.email = %q{}
|
18
18
|
s.executables = ["mongrel_rails"]
|
19
|
+
s.extra_rdoc_files = ["CHANGELOG", "COPYING", "lib/mongrel/camping.rb", "lib/mongrel/cgi.rb", "lib/mongrel/command.rb", "lib/mongrel/configurator.rb", "lib/mongrel/const.rb", "lib/mongrel/debug.rb", "lib/mongrel/gems.rb", "lib/mongrel/handlers.rb", "lib/mongrel/header_out.rb", "lib/mongrel/http_request.rb", "lib/mongrel/http_response.rb", "lib/mongrel/init.rb", "lib/mongrel/rails.rb", "lib/mongrel/stats.rb", "lib/mongrel/tcphack.rb", "lib/mongrel/uri_classifier.rb", "lib/mongrel.rb", "LICENSE", "README"]
|
19
20
|
s.has_rdoc = true
|
20
21
|
s.homepage = %q{http://mongrel.rubyforge.org}
|
22
|
+
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Mongrel", "--main", "README"]
|
21
23
|
s.require_paths = ["lib", "ext"]
|
22
24
|
s.required_ruby_version = Gem::Requirement.new(">= 1.8.4")
|
23
25
|
s.rubyforge_project = %q{mongrel}
|
24
|
-
s.rubygems_version = %q{1.0
|
26
|
+
s.rubygems_version = %q{1.1.0}
|
25
27
|
s.summary = %q{A small fast HTTP library and server that runs Rails, Camping, Nitro and Iowa apps.}
|
26
28
|
s.test_files = ["test/test_cgi_wrapper.rb", "test/test_command.rb", "test/test_conditional.rb", "test/test_configurator.rb", "test/test_debug.rb", "test/test_handlers.rb", "test/test_http11.rb", "test/test_redirect_handler.rb", "test/test_request_progress.rb", "test/test_response.rb", "test/test_stats.rb", "test/test_uriclassifier.rb", "test/test_ws.rb"]
|
27
29
|
|
@@ -63,7 +65,7 @@ end
|
|
63
65
|
# case RUBY_PLATFORM
|
64
66
|
# when /mswin/
|
65
67
|
# self.files += ['lib/http11.so']
|
66
|
-
# self.platform = Gem::Platform::
|
68
|
+
# self.platform = Gem::Platform::CURRENT
|
67
69
|
# add_dependency('cgi_multipart_eof_fix', '>= 2.4')
|
68
70
|
# when /java/
|
69
71
|
# self.files += ['lib/http11.jar']
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongrel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Zed A. Shaw
|
@@ -52,7 +52,7 @@ cert_chain:
|
|
52
52
|
ALN3mi/9z0Mf1YroliUgF0v5Yw==
|
53
53
|
-----END CERTIFICATE-----
|
54
54
|
|
55
|
-
date: 2008-
|
55
|
+
date: 2008-05-25 00:00:00 -04:00
|
56
56
|
default_executable:
|
57
57
|
dependencies:
|
58
58
|
- !ruby/object:Gem::Dependency
|
@@ -70,8 +70,28 @@ executables:
|
|
70
70
|
- mongrel_rails
|
71
71
|
extensions: []
|
72
72
|
|
73
|
-
extra_rdoc_files:
|
74
|
-
|
73
|
+
extra_rdoc_files:
|
74
|
+
- CHANGELOG
|
75
|
+
- COPYING
|
76
|
+
- lib/mongrel/camping.rb
|
77
|
+
- lib/mongrel/cgi.rb
|
78
|
+
- lib/mongrel/command.rb
|
79
|
+
- lib/mongrel/configurator.rb
|
80
|
+
- lib/mongrel/const.rb
|
81
|
+
- lib/mongrel/debug.rb
|
82
|
+
- lib/mongrel/gems.rb
|
83
|
+
- lib/mongrel/handlers.rb
|
84
|
+
- lib/mongrel/header_out.rb
|
85
|
+
- lib/mongrel/http_request.rb
|
86
|
+
- lib/mongrel/http_response.rb
|
87
|
+
- lib/mongrel/init.rb
|
88
|
+
- lib/mongrel/rails.rb
|
89
|
+
- lib/mongrel/stats.rb
|
90
|
+
- lib/mongrel/tcphack.rb
|
91
|
+
- lib/mongrel/uri_classifier.rb
|
92
|
+
- lib/mongrel.rb
|
93
|
+
- LICENSE
|
94
|
+
- README
|
75
95
|
files:
|
76
96
|
- bin/mongrel_rails
|
77
97
|
- CHANGELOG
|
@@ -146,8 +166,13 @@ files:
|
|
146
166
|
has_rdoc: true
|
147
167
|
homepage: http://mongrel.rubyforge.org
|
148
168
|
post_install_message:
|
149
|
-
rdoc_options:
|
150
|
-
|
169
|
+
rdoc_options:
|
170
|
+
- --line-numbers
|
171
|
+
- --inline-source
|
172
|
+
- --title
|
173
|
+
- Mongrel
|
174
|
+
- --main
|
175
|
+
- README
|
151
176
|
require_paths:
|
152
177
|
- lib
|
153
178
|
- ext
|
@@ -166,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
191
|
requirements: []
|
167
192
|
|
168
193
|
rubyforge_project: mongrel
|
169
|
-
rubygems_version: 1.0
|
194
|
+
rubygems_version: 1.1.0
|
170
195
|
signing_key:
|
171
196
|
specification_version: 2
|
172
197
|
summary: A small fast HTTP library and server that runs Rails, Camping, Nitro and Iowa apps.
|
metadata.gz.sig
CHANGED
Binary file
|