Make string literal to frozen object on gemspec of defulte gems.
Added following gemspecs.
* extensions: date, dbm, etc, fiddle, gdbm, sdbm, stringio, strscan, zlib
* pure ruby libraries: cmath, csv, fileutils, scanf, webrick
psych and rdoc is out of scope of this commit. I will merge after
upstream was change to `frozen_string_literal: true`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-19 09:03:06 -04:00
|
|
|
# frozen_string_literal: true
|
2018-08-07 08:32:29 -04:00
|
|
|
begin
|
|
|
|
require_relative 'lib/webrick/version'
|
|
|
|
rescue LoadError
|
2018-10-12 15:58:11 -04:00
|
|
|
# for Ruby core repository
|
2018-08-07 08:32:29 -04:00
|
|
|
require_relative 'version'
|
|
|
|
end
|
2017-05-01 06:20:35 -04:00
|
|
|
|
2017-01-31 03:48:14 -05:00
|
|
|
Gem::Specification.new do |s|
|
|
|
|
s.name = "webrick"
|
2017-05-01 06:20:35 -04:00
|
|
|
s.version = WEBrick::VERSION
|
2017-01-31 03:48:14 -05:00
|
|
|
s.summary = "HTTP server toolkit"
|
|
|
|
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}
|
2019-09-16 07:01:42 -04:00
|
|
|
s.files = [
|
|
|
|
"Gemfile",
|
|
|
|
"LICENSE.txt",
|
|
|
|
"README.md",
|
|
|
|
"Rakefile",
|
|
|
|
"bin/console",
|
|
|
|
"bin/setup",
|
|
|
|
"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/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/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",
|
|
|
|
"webrick.gemspec",
|
|
|
|
]
|
2017-12-18 03:54:30 -05:00
|
|
|
s.required_ruby_version = ">= 2.3.0"
|
2017-01-31 03:48:14 -05:00
|
|
|
|
2017-12-14 15:02:15 -05:00
|
|
|
s.authors = ["TAKAHASHI Masayoshi", "GOTOU YUUZOU", "Eric Wong"]
|
|
|
|
s.email = [nil, nil, 'normal@ruby-lang.org']
|
2017-10-04 21:30:08 -04:00
|
|
|
s.homepage = "https://www.ruby-lang.org"
|
2017-01-31 03:48:14 -05:00
|
|
|
s.license = "BSD-2-Clause"
|
2017-04-25 05:23:04 -04:00
|
|
|
|
2017-10-04 21:30:08 -04:00
|
|
|
if s.respond_to?(:metadata=)
|
|
|
|
s.metadata = {
|
2017-10-04 21:43:47 -04:00
|
|
|
"bug_tracker_uri" => "https://bugs.ruby-lang.org/projects/ruby-trunk/issues",
|
2017-10-04 21:30:08 -04:00
|
|
|
"homepage_uri" => "https://www.ruby-lang.org",
|
2019-05-07 10:30:39 -04:00
|
|
|
"source_code_uri" => "https://git.ruby-lang.org/ruby.git/"
|
2017-10-04 21:30:08 -04:00
|
|
|
}
|
|
|
|
end
|
|
|
|
|
2017-04-25 05:23:04 -04:00
|
|
|
s.add_development_dependency "rake"
|
2017-01-31 03:48:14 -05:00
|
|
|
end
|