From e0fe5a6b34a2a82c198d6ef2985cc48e5019f62c Mon Sep 17 00:00:00 2001 From: hsbt Date: Tue, 25 Apr 2017 09:23:04 +0000 Subject: Import gemspec Import gemspec and test file from ruby/webrick. * webrick.gemspec: Update files and dependency for standalone gem. * test/webrick/utils.rb: Added explicitly loading of EnvUtil for test suite without ruby core test suite. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/webrick/webrick.gemspec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/webrick') diff --git a/lib/webrick/webrick.gemspec b/lib/webrick/webrick.gemspec index 5ca06e03a9..a678569dfd 100644 --- a/lib/webrick/webrick.gemspec +++ b/lib/webrick/webrick.gemspec @@ -6,11 +6,13 @@ Gem::Specification.new do |s| s.description = "WEBrick is an HTTP server toolkit that can be configured as an HTTPS server, a proxy server, and a virtual-host server." s.require_path = %w{lib} - s.files = %w{webrick.rb webrick/accesslog.rb webrick/cgi.rb webrick/compat.rb webrick/config.rb webrick/cookie.rb webrick/htmlutils.rb webrick/httpauth.rb webrick/httpauth/authenticator.rb webrick/httpauth/basicauth.rb webrick/httpauth/digestauth.rb webrick/httpauth/htdigest.rb webrick/httpauth/htgroup.rb webrick/httpauth/htpasswd.rb webrick/httpauth/userdb.rb webrick/httpauth.rb webrick/httpproxy.rb webrick/httprequest.rb webrick/httpresponse.rb webrick/https.rb webrick/httpserver.rb webrick/httpservlet.rb webrick/httpservlet/abstract.rb webrick/httpservlet/cgi_runner.rb webrick/httpservlet/cgihandler.rb webrick/httpservlet/erbhandler.rb webrick/httpservlet/filehandler.rb webrick/httpservlet/prochandler.rb webrick/httpservlet.rb webrick/httpstatus.rb webrick/httputils.rb webrick/httpversion.rb webrick/log.rb webrick/server.rb webrick/ssl.rb webrick/utils.rb webrick/version.rb} + s.files = ["lib/webrick.rb", "lib/webrick/accesslog.rb", "lib/webrick/cgi.rb", "lib/webrick/compat.rb", "lib/webrick/config.rb", "lib/webrick/cookie.rb", "lib/webrick/htmlutils.rb", "lib/webrick/httpauth.rb", "lib/webrick/httpauth/authenticator.rb", "lib/webrick/httpauth/basicauth.rb", "lib/webrick/httpauth/digestauth.rb", "lib/webrick/httpauth/htdigest.rb", "lib/webrick/httpauth/htgroup.rb", "lib/webrick/httpauth/htpasswd.rb", "lib/webrick/httpauth/userdb.rb", "lib/webrick/httpauth.rb", "lib/webrick/httpproxy.rb", "lib/webrick/httprequest.rb", "lib/webrick/httpresponse.rb", "lib/webrick/https.rb", "lib/webrick/httpserver.rb", "lib/webrick/httpservlet.rb", "lib/webrick/httpservlet/abstract.rb", "lib/webrick/httpservlet/cgi_runner.rb", "lib/webrick/httpservlet/cgihandler.rb", "lib/webrick/httpservlet/erbhandler.rb", "lib/webrick/httpservlet/filehandler.rb", "lib/webrick/httpservlet/prochandler.rb", "lib/webrick/httpservlet.rb", "lib/webrick/httpstatus.rb", "lib/webrick/httputils.rb", "lib/webrick/httpversion.rb", "lib/webrick/log.rb", "lib/webrick/server.rb", "lib/webrick/ssl.rb", "lib/webrick/utils.rb", "lib/webrick/version.rb"] s.required_ruby_version = ">= 2.5.0dev" s.authors = ["TAKAHASHI Masayoshi", "GOTOU YUUZOU"] s.email = [nil, nil] s.homepage = "https://www.ruby-lang.org" s.license = "BSD-2-Clause" + + s.add_development_dependency "rake" end -- cgit v1.2.3