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 13:03:06 +00:00
|
|
|
# frozen_string_literal: true
|
2018-08-07 12:32:29 +00:00
|
|
|
begin
|
|
|
|
require_relative 'lib/webrick/version'
|
|
|
|
rescue LoadError
|
2018-10-12 19:58:11 +00:00
|
|
|
# for Ruby core repository
|
2018-08-07 12:32:29 +00:00
|
|
|
require_relative 'version'
|
|
|
|
end
|
2017-05-01 10:20:35 +00:00
|
|
|
|
2017-01-31 08:48:14 +00:00
|
|
|
Gem::Specification.new do |s|
|
|
|
|
s.name = "webrick"
|
2017-05-01 10:20:35 +00:00
|
|
|
s.version = WEBrick::VERSION
|
2017-01-31 08:48:14 +00: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}
|
2017-04-25 09:23:04 +00:00
|
|
|
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"]
|
2017-12-18 08:54:30 +00:00
|
|
|
s.required_ruby_version = ">= 2.3.0"
|
2017-01-31 08:48:14 +00:00
|
|
|
|
2017-12-14 20:02:15 +00:00
|
|
|
s.authors = ["TAKAHASHI Masayoshi", "GOTOU YUUZOU", "Eric Wong"]
|
|
|
|
s.email = [nil, nil, 'normal@ruby-lang.org']
|
2017-10-05 01:30:08 +00:00
|
|
|
s.homepage = "https://www.ruby-lang.org"
|
2017-01-31 08:48:14 +00:00
|
|
|
s.license = "BSD-2-Clause"
|
2017-04-25 09:23:04 +00:00
|
|
|
|
2017-10-05 01:30:08 +00:00
|
|
|
if s.respond_to?(:metadata=)
|
|
|
|
s.metadata = {
|
2017-10-05 01:43:47 +00:00
|
|
|
"bug_tracker_uri" => "https://bugs.ruby-lang.org/projects/ruby-trunk/issues",
|
2017-10-05 01:30:08 +00:00
|
|
|
"homepage_uri" => "https://www.ruby-lang.org",
|
2019-05-07 23:30:39 +09:00
|
|
|
"source_code_uri" => "https://git.ruby-lang.org/ruby.git/"
|
2017-10-05 01:30:08 +00:00
|
|
|
}
|
|
|
|
end
|
|
|
|
|
2017-04-25 09:23:04 +00:00
|
|
|
s.add_development_dependency "rake"
|
2017-01-31 08:48:14 +00:00
|
|
|
end
|