mongrel 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/CHANGELOG CHANGED
@@ -1,3 +1,4 @@
1
+ v1.0.5. Fix security flaw of DirHandler reported on mailing list.
1
2
 
2
3
  v1.0.4. Backport fixes for versioning inconsistency, mongrel_rails bug, and DirHandler bug.
3
4
 
@@ -571,7 +571,7 @@ void Init_http11()
571
571
  DEF_GLOBAL(server_protocol, "SERVER_PROTOCOL");
572
572
  DEF_GLOBAL(server_protocol_value, "HTTP/1.1");
573
573
  DEF_GLOBAL(http_host, "HTTP_HOST");
574
- DEF_GLOBAL(mongrel_version, "Mongrel 1.0.4");
574
+ DEF_GLOBAL(mongrel_version, "Mongrel 1.0.5");
575
575
  DEF_GLOBAL(server_software, "SERVER_SOFTWARE");
576
576
  DEF_GLOBAL(port_80, "80");
577
577
 
@@ -123,7 +123,7 @@ module Mongrel
123
123
  REQUEST_URI='REQUEST_URI'.freeze
124
124
  REQUEST_PATH='REQUEST_PATH'.freeze
125
125
 
126
- MONGREL_VERSION="1.0.4".freeze
126
+ MONGREL_VERSION="1.0.5".freeze
127
127
 
128
128
  MONGREL_TMP_BASE="mongrel".freeze
129
129
 
@@ -132,8 +132,12 @@ module Mongrel
132
132
  # Add the drive letter or root path
133
133
  req_path = File.join(@path, req_path) if @path
134
134
  req_path = File.expand_path req_path
135
-
136
- if File.exist? req_path
135
+
136
+ # do not remove the check for @path at the beginning, it's what prevents
137
+ # the serving of arbitrary files (and good programmer Rule #1 Says: If
138
+ # you don't understand something, it's not because I'm stupid, it's
139
+ # because you are).
140
+ if req_path.index(@path) == 0 and File.exist? req_path
137
141
  # It exists and it's in the right location
138
142
  if File.directory? req_path
139
143
  # The request is for a directory
@@ -153,7 +157,7 @@ module Mongrel
153
157
  return req_path
154
158
  end
155
159
  else
156
- # does not exist or isn't in the right spot
160
+ # does not exist or isn't in the right spot or isn't valid because not start with @path
157
161
  return nil
158
162
  end
159
163
  end
@@ -1,203 +1,258 @@
1
-
2
- # Gem::Specification for Mongrel-1.0.4
3
- # Originally generated by Echoe
4
-
5
- Gem::Specification.new do |s|
6
- s.name = %q{mongrel}
7
- s.version = "1.0.4"
8
-
9
- s.specification_version = 2 if s.respond_to? :specification_version=
10
-
11
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
- s.authors = ["Zed A. Shaw"]
13
- s.date = %q{2007-10-29}
14
- s.default_executable = %q{mongrel_rails}
15
- s.description = %q{A small fast HTTP library and server that runs Rails, Camping, Nitro and Iowa apps.}
16
- s.email = %q{}
17
- s.executables = ["mongrel_rails"]
18
- s.extensions = ["ext/http11/extconf.rb"]
19
- s.has_rdoc = true
20
- s.homepage = %q{}
21
- s.require_paths = ["lib", "ext"]
22
- s.required_ruby_version = Gem::Requirement.new(">= 1.8.4")
23
- s.rubyforge_project = %q{mongrel}
24
- s.rubygems_version = %q{0.9.4.6}
25
- s.summary = %q{A small fast HTTP library and server that runs Rails, Camping, Nitro and Iowa apps.}
26
- 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
-
28
- s.add_dependency(%q<gem_plugin>, [">= 0.2.3"])
29
- s.add_dependency(%q<cgi_multipart_eof_fix>, [">= 2.4"])
30
- s.add_dependency(%q<daemons>, [">= 1.0.3"])
31
- s.add_dependency(%q<fastthread>, [">= 1.0.1"])
32
- end
33
-
34
-
35
- # # Original Rakefile source (requires the Echoe gem):
36
- #
37
- #
38
- # require 'rubygems'
39
- # gem 'echoe', '>=2.6.4'
40
- # require 'echoe'
41
- #
42
- # e = Echoe.new("mongrel") do |p|
43
- # p.summary = "A small fast HTTP library and server that runs Rails, Camping, Nitro and Iowa apps."
44
- # p.author ="Zed A. Shaw"
45
- # p.clean_pattern = ['ext/http11/*.{bundle,so,o,obj,pdb,lib,def,exp}', 'ext/http11/Makefile', 'pkg', 'lib/*.bundle', '*.gem', 'site/output', '.config']
46
- # p.rdoc_pattern = ['README', 'LICENSE', 'COPYING', 'lib/**/*.rb', 'doc/**/*.rdoc', 'ext/http11/http11.c']
47
- # p.ignore_pattern = /^(pkg|site|projects|doc|log)|CVS|\.log/
48
- # p.ruby_version = '>= 1.8.4'
49
- # p.dependencies = ['gem_plugin >=0.2.3', 'cgi_multipart_eof_fix >=2.4']
50
- #
51
- # p.need_tar_gz = false
52
- # p.need_tgz = true
53
- #
54
- #
55
- # p.eval = proc do
56
- # case RUBY_PLATFORM
57
- # when /mswin/
58
- # extensions.clear
59
- # self.files += ['lib/http11.so']
60
- # self.platform = Gem::Platform::WIN32
61
- # else
62
- # add_dependency('daemons', '>= 1.0.3')
63
- # add_dependency('fastthread', '>= 1.0.1')
64
- # end
65
- # end
66
- #
67
- # end
68
- #
69
- # #### Ragel builder
70
- #
71
- # desc "Rebuild the Ragel sources"
72
- # task :ragel do
73
- # Dir.chdir "ext/http11" do
74
- # target = "http11_parser.c"
75
- # File.unlink target if File.exist? target
76
- # sh "ragel http11_parser.rl | rlgen-cd -G2 -o #{target}"
77
- # raise "Failed to build C source" unless File.exist? target
78
- # end
79
- # end
80
- #
81
- # #### XXX Hack around RubyGems and Echoe for pre-compiled extensions.
82
- #
83
- # def move_extensions
84
- # Dir["ext/**/*.#{Config::CONFIG['DLEXT']}"].each { |file| cp file, "lib/" }
85
- # end
86
- #
87
- # case RUBY_PLATFORM
88
- # when /mswin/
89
- # filename = "lib/http11.so"
90
- # file filename do
91
- # cp "#{filename}.win32", filename
92
- # end
93
- # task :compile => [filename]
94
- # end
95
- #
96
- # #### Project-wide install and uninstall tasks
97
- #
98
- # def sub_project(project, *targets)
99
- # targets.each do |target|
100
- # Dir.chdir "projects/#{project}" do
101
- # sh %{rake --trace #{target.to_s} }
102
- # end
103
- # end
104
- # end
105
- #
106
- # desc "Package Mongrel and all subprojects"
107
- # task :package_all => [:package] do
108
- # sub_project("gem_plugin", :package)
109
- # sub_project("cgi_multipart_eof_fix", :package)
110
- # sub_project("fastthread", :package)
111
- # sub_project("mongrel_status", :package)
112
- # sub_project("mongrel_upload_progress", :package)
113
- # sub_project("mongrel_console", :package)
114
- # sub_project("mongrel_cluster", :package)
115
- # sub_project("mongrel_service", :package) if RUBY_PLATFORM =~ /mswin/
116
- # end
117
- #
118
- # task :install_requirements do
119
- # # These run before Mongrel is installed
120
- # sub_project("gem_plugin", :install)
121
- # sub_project("cgi_multipart_eof_fix", :install)
122
- # sub_project("fastthread", :install)
123
- # end
124
- #
125
- # desc "for Mongrel and all subprojects"
126
- # task :install => [:install_requirements] do
127
- # # These run after Mongrel is installed
128
- # sub_project("mongrel_status", :install)
129
- # sub_project("mongrel_upload_progress", :install)
130
- # sub_project("mongrel_console", :install)
131
- # sub_project("mongrel_cluster", :install)
132
- # sub_project("mongrel_service", :install) if RUBY_PLATFORM =~ /mswin/
133
- # end
134
- #
135
- # desc "for Mongrel and all its subprojects"
136
- # task :uninstall => [:clean] do
137
- # sub_project("mongrel_status", :uninstall)
138
- # sub_project("cgi_multipart_eof_fix", :uninstall)
139
- # sub_project("mongrel_upload_progress", :uninstall)
140
- # sub_project("mongrel_console", :uninstall)
141
- # sub_project("gem_plugin", :uninstall)
142
- # sub_project("fastthread", :uninstall)
143
- # sub_project("mongrel_service", :uninstall) if RUBY_PLATFORM =~ /mswin/
144
- # end
145
- #
146
- # desc "for Mongrel and all its subprojects"
147
- # task :clean do
148
- # sub_project("gem_plugin", :clean)
149
- # sub_project("cgi_multipart_eof_fix", :clean)
150
- # sub_project("fastthread", :clean)
151
- # sub_project("mongrel_status", :clean)
152
- # sub_project("mongrel_upload_progress", :clean)
153
- # sub_project("mongrel_console", :clean)
154
- # sub_project("mongrel_cluster", :clean)
155
- # sub_project("mongrel_service", :clean) if RUBY_PLATFORM =~ /mswin/
156
- # end
157
- #
158
- # #### Site upload tasks
159
- #
160
- # namespace :site do
161
- #
162
- # desc "Package and upload .gem files and .tgz files for Mongrel and all subprojects to http://mongrel.rubyforge.org/releases/"
163
- # task :source => [:package_all] do
164
- # rm_rf "pkg/gems"
165
- # rm_rf "pkg/tars"
166
- # mkdir_p "pkg/gems"
167
- # mkdir_p "pkg/tars"
168
- #
169
- # FileList["**/*.gem"].each { |gem| mv gem, "pkg/gems" }
170
- # FileList["**/*.tgz"].each {|tgz| mv tgz, "pkg/tars" }
171
- #
172
- # # XXX Hack, because only Luis can package for Win32 right now
173
- # sh "cp ~/Downloads/mongrel-#{e.version}-mswin32.gem pkg/gems/"
174
- # sh "cp ~/Downloads/mongrel_service-0.3.3-mswin32.gem pkg/gems/"
175
- # sh "rm -rf pkg/mongrel*"
176
- # sh "gem generate_index -d pkg"
177
- # sh "scp -r CHANGELOG pkg/* rubyforge.org:/var/www/gforge-projects/mongrel/releases/"
178
- # sh "svn log -v > SVN_LOG"
179
- # sh "scp -r SVN_LOG pkg/* rubyforge.org:/var/www/gforge-projects/mongrel/releases/"
180
- # rm "SVN_LOG"
181
- # end
182
- #
183
- # desc "Upload the website"
184
- # task :web do
185
- # # Requires the 'webgem' gem and the 'atom-tools' gem
186
- # sh "cd site; webgen; ruby atom.rb > output/feed.atom; rsync -azv --no-perms --no-times output/* rubyforge.org:/var/www/gforge-projects/mongrel/"
187
- # end
188
- #
189
- # desc "Upload the rdocs"
190
- # task :rdoc => [:redoc] do
191
- # sh "rsync -azv doc/* rubyforge.org:/var/www/gforge-projects/mongrel/rdoc/"
192
- # sh "cd projects/gem_plugin; rake site"
193
- # end
194
- #
195
- # desc "Upload the coverage report"
196
- # task :coverage => [:rcov] do
197
- # sh "rsync -azv test/coverage/* rubyforge.org:/var/www/gforge-projects/mongrel/coverage/"
198
- # end
199
- #
200
- # desc "Upload the website, the rdocs, and the coverage report"
201
- # task :all => [:web, :rdoc, :coverage]
202
- #
203
- # end
1
+
2
+ # Gem::Specification for Mongrel-1.0.5
3
+ # Originally generated by Echoe
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = %q{mongrel}
7
+ s.version = "1.0.5"
8
+ s.date = %q{2007-12-29}
9
+ s.summary = %q{A small fast HTTP library and server that runs Rails, Camping, Nitro and Iowa apps.}
10
+ s.require_paths = ["lib", "ext"]
11
+ s.email = %q{}
12
+ s.homepage = %q{}
13
+ s.rubyforge_project = %q{mongrel}
14
+ s.description = %q{A small fast HTTP library and server that runs Rails, Camping, Nitro and Iowa apps.}
15
+ s.default_executable = %q{mongrel_rails}
16
+ s.has_rdoc = true
17
+ s.required_ruby_version = Gem::Version::Requirement.new(">= 1.8.4")
18
+ s.authors = ["Zed A. Shaw"]
19
+ 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"]
20
+ s.executables = ["mongrel_rails"]
21
+ s.extensions = ["ext/http11/extconf.rb"]
22
+ s.add_dependency(%q<gem_plugin>, [">= 0.2.3"])
23
+ end
24
+
25
+
26
+ # # Original Rakefile source (requires the Echoe gem):
27
+ #
28
+ #
29
+ # require 'rubygems'
30
+ # gem 'echoe', '>=2.7.5'
31
+ # require 'echoe'
32
+ # FORCE_PURE = ENV['FORCE_PURE'] || false
33
+ #
34
+ # e = Echoe.new("mongrel") do |p|
35
+ # p.summary = "A small fast HTTP library and server that runs Rails, Camping, Nitro and Iowa apps."
36
+ # p.author ="Zed A. Shaw"
37
+ # p.clean_pattern = ['ext/http11/*.{bundle,so,o,obj,pdb,lib,def,exp}', 'lib/*.{bundle,so,o,obj,pdb,lib,def,exp}', 'ext/http11/Makefile', 'pkg', 'lib/*.bundle', '*.gem', 'site/output', '.config', 'lib/http11.jar', 'ext/http11_java/classes', 'coverage']
38
+ # p.rdoc_pattern = ['README', 'LICENSE', 'CHANGELOG', 'COPYING', 'lib/**/*.rb', 'doc/**/*.rdoc']
39
+ # p.ignore_pattern = /^(pkg|site|projects|doc|log)|CVS|\.log/
40
+ # p.ruby_version = '>=1.8.4'
41
+ # p.dependencies = ['gem_plugin >=0.2.3']
42
+ # p.extension_pattern = nil
43
+ #
44
+ # p.need_tar_gz = false
45
+ # p.need_tgz = true
46
+ #
47
+ # case RUBY_PLATFORM
48
+ # when /mswin/
49
+ # ]
50
+ # when /java/
51
+ # else
52
+ # p.extension_pattern = ["ext/**/extconf.rb"]
53
+ # end
54
+ #
55
+ # unless FORCE_PURE
56
+ # p.eval = proc do
57
+ # case RUBY_PLATFORM
58
+ # when /mswin/
59
+ # self.files += ['lib/http11.so']
60
+ # self.platform = Gem::Platform::CURRENT
61
+ # add_dependency('cgi_multipart_eof_fix', '>= 2.4')
62
+ # when /java/
63
+ # self.files += ['lib/http11.jar']
64
+ # self.platform = 'jruby'
65
+ # else
66
+ # add_dependency('daemons', '>= 1.0.3')
67
+ # add_dependency('fastthread', '>= 1.0.1')
68
+ # add_dependency('cgi_multipart_eof_fix', '>= 2.4')
69
+ # end
70
+ # end
71
+ # else
72
+ # p.extension_pattern = ["ext/**/extconf.rb"]
73
+ # end
74
+ # end
75
+ #
76
+ # #### Ragel builder
77
+ #
78
+ # desc "Rebuild the Ragel sources"
79
+ # task :ragel do
80
+ # Dir.chdir "ext/http11" do
81
+ # target = "http11_parser.c"
82
+ # File.unlink target if File.exist? target
83
+ # sh "ragel http11_parser.rl | rlgen-cd -G2 -o #{target}"
84
+ # raise "Failed to build C source" unless File.exist? target
85
+ # end
86
+ # Dir.chdir "ext/http11" do
87
+ # target = "../../ext/http11_java/org/jruby/mongrel/Http11Parser.java"
88
+ # File.unlink target if File.exist? target
89
+ # sh "ragel -J http11_parser.java.rl | rlgen-java -o #{target}"
90
+ # raise "Failed to build Java source" unless File.exist? target
91
+ # end
92
+ # end
93
+ #
94
+ # #### Pre-compiled extensions for alternative platforms
95
+ #
96
+ # def move_extensions
97
+ # Dir["ext/**/*.#{Config::CONFIG['DLEXT']}"].each { |file| mv file, "lib/" }
98
+ # end
99
+ #
100
+ # def java_classpath_arg
101
+ # # A myriad of ways to discover the JRuby classpath
102
+ # classpath = begin
103
+ # require 'java'
104
+ # # Already running in a JRuby JVM
105
+ # Java::java.lang.System.getProperty('java.class.path')
106
+ # rescue LoadError
107
+ # ENV['JRUBY_PARENT_CLASSPATH'] || ENV['JRUBY_HOME'] && FileList["#{ENV['JRUBY_HOME']}/lib/*.jar"].join(File::PATH_SEPARATOR)
108
+ # end
109
+ # classpath ? "-cp #{classpath}" : ""
110
+ # end
111
+ #
112
+ # case RUBY_PLATFORM
113
+ # when /mswin/
114
+ # filename = "lib/http11.so"
115
+ # file filename do
116
+ # Dir.chdir("ext/http11") do
117
+ # ruby "extconf.rb"
118
+ # system(PLATFORM =~ /mswin/ ? 'nmake' : 'make')
119
+ # end
120
+ # move_extensions
121
+ # end
122
+ # task :compile => [filename]
123
+ #
124
+ # when /java/
125
+ #
126
+ # # Avoid JRuby in-process launching problem
127
+ # begin
128
+ # require 'jruby'
129
+ # JRuby.runtime.instance_config.run_ruby_in_process = false
130
+ # rescue LoadError
131
+ # end
132
+ #
133
+ # filename = "lib/http11.jar"
134
+ # file filename do
135
+ # build_dir = "ext/http11_java/classes"
136
+ # mkdir_p build_dir
137
+ # sources = FileList['ext/http11_java/**/*.java'].join(' ')
138
+ # sh "javac -target 1.4 -source 1.4 -d #{build_dir} #{java_classpath_arg} #{sources}"
139
+ # sh "jar cf lib/http11.jar -C #{build_dir} ."
140
+ # move_extensions
141
+ # end
142
+ # task :compile => [filename]
143
+ #
144
+ # end
145
+ #
146
+ # #### Project-wide install and uninstall tasks
147
+ #
148
+ # def sub_project(project, *targets)
149
+ # targets.each do |target|
150
+ # Dir.chdir "projects/#{project}" do
151
+ # unless RUBY_PLATFORM =~ /mswin/
152
+ # sh("rake #{target.to_s}") # --trace
153
+ # end
154
+ # end
155
+ # end
156
+ # end
157
+ #
158
+ # desc "Package Mongrel and all subprojects"
159
+ # task :package_all => [:package] do
160
+ # sub_project("gem_plugin", :package)
161
+ # sub_project("cgi_multipart_eof_fix", :package)
162
+ # sub_project("fastthread", :package)
163
+ # sub_project("mongrel_status", :package)
164
+ # sub_project("mongrel_upload_progress", :package)
165
+ # sub_project("mongrel_console", :package)
166
+ # sub_project("mongrel_cluster", :package)
167
+ #
168
+ # sh("rake java package") unless RUBY_PLATFORM =~ /java/
169
+ #
170
+ # # XXX Broken by RubyGems 0.9.5
171
+ # # sub_project("mongrel_service", :package) if RUBY_PLATFORM =~ /mswin/
172
+ # # sh("rake mswin package") unless RUBY_PLATFORM =~ /mswin/
173
+ # end
174
+ #
175
+ # task :install_requirements do
176
+ # # These run before Mongrel is installed
177
+ # sub_project("gem_plugin", :install)
178
+ # sub_project("cgi_multipart_eof_fix", :install)
179
+ # sub_project("fastthread", :install)
180
+ # end
181
+ #
182
+ # desc "for Mongrel and all subprojects"
183
+ # task :install => [:install_requirements] do
184
+ # # These run after Mongrel is installed
185
+ # sub_project("mongrel_status", :install)
186
+ # sub_project("mongrel_upload_progress", :install)
187
+ # sub_project("mongrel_console", :install)
188
+ # sub_project("mongrel_cluster", :install)
189
+ # sub_project("mongrel_service", :install) if RUBY_PLATFORM =~ /mswin/
190
+ # end
191
+ #
192
+ # desc "for Mongrel and all its subprojects"
193
+ # task :uninstall => [:clean] do
194
+ # sub_project("mongrel_status", :uninstall)
195
+ # sub_project("cgi_multipart_eof_fix", :uninstall)
196
+ # sub_project("mongrel_upload_progress", :uninstall)
197
+ # sub_project("mongrel_console", :uninstall)
198
+ # sub_project("gem_plugin", :uninstall)
199
+ # sub_project("fastthread", :uninstall)
200
+ # sub_project("mongrel_service", :uninstall) if RUBY_PLATFORM =~ /mswin/
201
+ # end
202
+ #
203
+ # desc "for Mongrel and all its subprojects"
204
+ # task :clean do
205
+ # sub_project("gem_plugin", :clean)
206
+ # sub_project("cgi_multipart_eof_fix", :clean)
207
+ # sub_project("fastthread", :clean)
208
+ # sub_project("mongrel_status", :clean)
209
+ # sub_project("mongrel_upload_progress", :clean)
210
+ # sub_project("mongrel_console", :clean)
211
+ # sub_project("mongrel_cluster", :clean)
212
+ # sub_project("mongrel_service", :clean) if RUBY_PLATFORM =~ /mswin/
213
+ # end
214
+ #
215
+ # #### Site upload tasks
216
+ #
217
+ # namespace :site do
218
+ #
219
+ # desc "Package and upload .gem files and .tgz files for Mongrel and all subprojects to http://mongrel.rubyforge.org/releases/"
220
+ # task :source => [:package_all] do
221
+ # rm_rf "pkg/gems"
222
+ # rm_rf "pkg/tars"
223
+ # mkdir_p "pkg/gems"
224
+ # mkdir_p "pkg/tars"
225
+ #
226
+ # FileList["**/*.gem"].each { |gem| mv gem, "pkg/gems" }
227
+ # FileList["**/*.tgz"].each {|tgz| mv tgz, "pkg/tars" }
228
+ #
229
+ # sh "rm -rf pkg/mongrel*"
230
+ # sh "gem generate_index -d pkg"
231
+ # sh "scp -r CHANGELOG pkg/* rubyforge.org:/var/www/gforge-projects/mongrel/releases/"
232
+ # sh "svn log -v > SVN_LOG"
233
+ # sh "scp -r SVN_LOG pkg/* rubyforge.org:/var/www/gforge-projects/mongrel/releases/"
234
+ # rm "SVN_LOG"
235
+ # end
236
+ #
237
+ # desc "Upload the website"
238
+ # task :web do
239
+ # # Requires the 'webgem' gem
240
+ # sh "cd site; webgen; webgen; curl 'http://feed43.com/mongrel.xml' > output/rss.xml; rsync -azv --no-perms --no-times output/* rubyforge.org:/var/www/gforge-projects/mongrel/"
241
+ # puts "\nMake sure to re-run the site update 6 hours later if you updated the news. This delay is required for Feed43 to pick up the site changes."
242
+ # end
243
+ #
244
+ # desc "Upload the rdocs"
245
+ # task :rdoc => [:doc] do
246
+ # sh "rsync -azv --no-perms --no-times doc/* rubyforge.org:/var/www/gforge-projects/mongrel/rdoc/"
247
+ # sh "cd projects/gem_plugin; rake site:rdoc"
248
+ # end
249
+ #
250
+ # desc "Upload the coverage report"
251
+ # task :coverage => [:rcov] do
252
+ # sh "rsync -azv --no-perms --no-times test/coverage/* rubyforge.org:/var/www/gforge-projects/mongrel/coverage/" rescue nil
253
+ # end
254
+ #
255
+ # desc "Upload the website, the rdocs, and the coverage report"
256
+ # task :all => [:clean, :web, :rdoc, :coverage]
257
+ #
258
+ # end
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.4.6
3
- specification_version: 2
2
+ rubygems_version: 0.9.4
3
+ specification_version: 1
4
4
  name: mongrel
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.4
7
- date: 2007-10-29 00:00:00 -04:00
6
+ version: 1.0.5
7
+ date: 2007-12-29 00:00:00 -03:00
8
8
  summary: A small fast HTTP library and server that runs Rails, Camping, Nitro and Iowa apps.
9
9
  require_paths:
10
10
  - lib
@@ -17,18 +17,12 @@ autorequire:
17
17
  default_executable:
18
18
  bindir: bin
19
19
  has_rdoc: true
20
- required_ruby_version: !ruby/object:Gem::Requirement
20
+ required_ruby_version: !ruby/object:Gem::Version::Requirement
21
21
  requirements:
22
22
  - - ">="
23
23
  - !ruby/object:Gem::Version
24
24
  version: 1.8.4
25
25
  version:
26
- required_rubygems_version: !ruby/object:Gem::Requirement
27
- requirements:
28
- - - ">="
29
- - !ruby/object:Gem::Version
30
- version: "0"
31
- version:
32
26
  platform: ruby
33
27
  signing_key:
34
28
  cert_chain:
@@ -56,24 +50,24 @@ cert_chain:
56
50
 
57
51
  - |
58
52
  -----BEGIN CERTIFICATE-----
59
- MIIDPzCCAiegAwIBAgIBADANBgkqhkiG9w0BAQUFADBOMRwwGgYDVQQDDBNtb25n
53
+ MIIDQzCCAiugAwIBAgIBADANBgkqhkiG9w0BAQUFADBOMRwwGgYDVQQDDBNtb25n
60
54
  cmVsLWRldmVsb3BtZW50MRkwFwYKCZImiZPyLGQBGRYJcnVieWZvcmdlMRMwEQYK
61
- CZImiZPyLG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FICATE-----
78
72
 
79
73
  post_install_message:
@@ -177,36 +171,9 @@ dependencies:
177
171
  - !ruby/object:Gem::Dependency
178
172
  name: gem_plugin
179
173
  version_requirement:
180
- version_requirements: !ruby/object:Gem::Requirement
174
+ version_requirements: !ruby/object:Gem::Version::Requirement
181
175
  requirements:
182
176
  - - ">="
183
177
  - !ruby/object:Gem::Version
184
178
  version: 0.2.3
185
179
  version:
186
- - !ruby/object:Gem::Dependency
187
- name: cgi_multipart_eof_fix
188
- version_requirement:
189
- version_requirements: !ruby/object:Gem::Requirement
190
- requirements:
191
- - - ">="
192
- - !ruby/object:Gem::Version
193
- version: "2.4"
194
- version:
195
- - !ruby/object:Gem::Dependency
196
- name: daemons
197
- version_requirement:
198
- version_requirements: !ruby/object:Gem::Requirement
199
- requirements:
200
- - - ">="
201
- - !ruby/object:Gem::Version
202
- version: 1.0.3
203
- version:
204
- - !ruby/object:Gem::Dependency
205
- name: fastthread
206
- version_requirement:
207
- version_requirements: !ruby/object:Gem::Requirement
208
- requirements:
209
- - - ">="
210
- - !ruby/object:Gem::Version
211
- version: 1.0.1
212
- version:
metadata.gz.sig CHANGED
@@ -1,2 +1 @@
1
- ѐgr�PǯH�+q-��it��tI@HF�ƐՓE]ZrU�|�a4i���Q��پ�qM�W{��SZD"R�8�>�@ڨM�4��d�mH��L���5$ӞRr� a��;�.�xVK[��ٸ?E3hd$͜
2
- �K@�� ����\̖�K���,x�U����t�&������$ ��h�u���1m:���$̾XA��� �
1
+ p��=����4��A���&e�RE}#k������b9���s9w��D3 ���UT���ZGv�ѩ