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
|
2020-04-18 02:51:03 -04:00
|
|
|
|
2020-12-10 19:41:12 -05:00
|
|
|
version_module = Module.new do
|
|
|
|
version_rb = File.join(__dir__, "lib/fiddle/version.rb")
|
|
|
|
module_eval(File.read(version_rb), version_rb, __LINE__)
|
2020-04-18 02:51:03 -04:00
|
|
|
end
|
|
|
|
|
2017-04-05 07:04:25 -04:00
|
|
|
Gem::Specification.new do |spec|
|
|
|
|
spec.name = "fiddle"
|
2020-12-10 19:41:12 -05:00
|
|
|
spec.version = version_module::Fiddle::VERSION
|
2017-04-05 07:04:25 -04:00
|
|
|
spec.authors = ["Aaron Patterson", "SHIBATA Hiroshi"]
|
|
|
|
spec.email = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org"]
|
|
|
|
|
|
|
|
spec.summary = %q{A libffi wrapper for Ruby.}
|
|
|
|
spec.description = %q{A libffi wrapper for Ruby.}
|
|
|
|
spec.homepage = "https://github.com/ruby/fiddle"
|
2020-08-18 07:15:59 -04:00
|
|
|
spec.licenses = ["Ruby", "BSD-2-Clause"]
|
2017-04-05 07:04:25 -04:00
|
|
|
|
2020-04-18 02:56:57 -04:00
|
|
|
spec.files = [
|
|
|
|
"LICENSE.txt",
|
|
|
|
"README.md",
|
|
|
|
"Rakefile",
|
|
|
|
"ext/fiddle/closure.c",
|
|
|
|
"ext/fiddle/closure.h",
|
|
|
|
"ext/fiddle/conversions.c",
|
|
|
|
"ext/fiddle/conversions.h",
|
2020-06-26 22:01:22 -04:00
|
|
|
"ext/fiddle/depend",
|
2020-04-18 02:56:57 -04:00
|
|
|
"ext/fiddle/extconf.rb",
|
|
|
|
"ext/fiddle/fiddle.c",
|
|
|
|
"ext/fiddle/fiddle.h",
|
|
|
|
"ext/fiddle/function.c",
|
|
|
|
"ext/fiddle/function.h",
|
|
|
|
"ext/fiddle/handle.c",
|
2020-12-10 19:41:12 -05:00
|
|
|
"ext/fiddle/memory_view.c",
|
2020-08-02 17:26:40 -04:00
|
|
|
"ext/fiddle/pinned.c",
|
2020-04-18 02:56:57 -04:00
|
|
|
"ext/fiddle/pointer.c",
|
|
|
|
"ext/fiddle/win32/fficonfig.h",
|
|
|
|
"ext/fiddle/win32/libffi-3.2.1-mswin.patch",
|
|
|
|
"ext/fiddle/win32/libffi-config.rb",
|
|
|
|
"ext/fiddle/win32/libffi.mk.tmpl",
|
|
|
|
"fiddle.gemspec",
|
|
|
|
"lib/fiddle.rb",
|
|
|
|
"lib/fiddle/closure.rb",
|
|
|
|
"lib/fiddle/cparser.rb",
|
|
|
|
"lib/fiddle/function.rb",
|
|
|
|
"lib/fiddle/import.rb",
|
|
|
|
"lib/fiddle/pack.rb",
|
|
|
|
"lib/fiddle/struct.rb",
|
|
|
|
"lib/fiddle/types.rb",
|
|
|
|
"lib/fiddle/value.rb",
|
|
|
|
"lib/fiddle/version.rb",
|
|
|
|
]
|
2017-04-05 07:04:25 -04:00
|
|
|
spec.require_paths = ["lib"]
|
2020-04-18 02:40:13 -04:00
|
|
|
spec.extensions = ["ext/fiddle/extconf.rb"]
|
2017-04-05 07:04:25 -04:00
|
|
|
|
2021-07-11 16:26:58 -04:00
|
|
|
spec.required_ruby_version = ">= 2.5.0"
|
2017-12-06 03:35:13 -05:00
|
|
|
|
2020-11-16 18:51:36 -05:00
|
|
|
spec.metadata["msys2_mingw_dependencies"] = "libffi"
|
2017-04-05 07:04:25 -04:00
|
|
|
end
|