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-05-15 01:53:18 -04:00
|
|
|
|
2018-10-20 03:03:55 -04:00
|
|
|
begin
|
|
|
|
require_relative "lib/fileutils/version"
|
|
|
|
rescue LoadError
|
|
|
|
# for Ruby core repository
|
|
|
|
require_relative "version"
|
|
|
|
end
|
|
|
|
|
2017-02-06 04:51:17 -05:00
|
|
|
Gem::Specification.new do |s|
|
|
|
|
s.name = "fileutils"
|
2018-10-20 03:03:55 -04:00
|
|
|
s.version = FileUtils::VERSION
|
2017-02-06 04:51:17 -05:00
|
|
|
s.summary = "Several file utility methods for copying, moving, removing, etc."
|
|
|
|
s.description = "Several file utility methods for copying, moving, removing, etc."
|
|
|
|
|
|
|
|
s.require_path = %w{lib}
|
2019-03-27 04:26:09 -04:00
|
|
|
s.files = ["LICENSE.txt", "README.md", "Rakefile", "fileutils.gemspec", "lib/fileutils.rb", "lib/fileutils/version.rb"]
|
2018-05-15 01:53:18 -04:00
|
|
|
s.required_ruby_version = ">= 2.3.0"
|
2017-02-06 04:51:17 -05:00
|
|
|
|
|
|
|
s.authors = ["Minero Aoki"]
|
|
|
|
s.email = [nil]
|
2017-05-19 19:39:58 -04:00
|
|
|
s.homepage = "https://github.com/ruby/fileutils"
|
2017-02-06 04:51:17 -05:00
|
|
|
s.license = "BSD-2-Clause"
|
2017-04-12 04:12:53 -04:00
|
|
|
|
2017-12-12 05:57:58 -05:00
|
|
|
if s.respond_to?(:metadata=)
|
|
|
|
s.metadata = {
|
|
|
|
"source_code_uri" => "https://github.com/ruby/fileutils"
|
|
|
|
}
|
|
|
|
end
|
2017-02-06 04:51:17 -05:00
|
|
|
end
|