diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-02-27 13:33:51 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-02-27 13:33:51 +0900 |
commit | 229ba1215fa7c8181b9296dff22807fb17442c74 (patch) | |
tree | 450c94c867407b983ee86a44268f1470c839d717 /lib/racc/racc.gemspec | |
parent | 9a422fc010ab150438ef9dd66fd4c717f03927d9 (diff) | |
download | ruby-229ba1215fa7c8181b9296dff22807fb17442c74.tar.gz |
Merge racc from upstream repository.
* Support Ruby 2.4's frozen string literals.
* Remove VCS revisions headers.
Diffstat (limited to 'lib/racc/racc.gemspec')
-rw-r--r-- | lib/racc/racc.gemspec | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/lib/racc/racc.gemspec b/lib/racc/racc.gemspec index 6ed031bfe1..8442ef14e0 100644 --- a/lib/racc/racc.gemspec +++ b/lib/racc/racc.gemspec @@ -18,12 +18,12 @@ DESC s.licenses = ["MIT"] s.executables = ["racc"] s.files = [ - "COPYING", "ChangeLog", "DEPENDS", "Manifest.txt", + "COPYING", "ChangeLog", "DEPENDS", "README.ja.rdoc", "README.rdoc", "Rakefile", "TODO", "bin/racc", "ext/racc/MANIFEST", - "ext/racc/com/headius/racc/Cparse.java", "ext/racc/cparse.c", - "ext/racc/depend", "ext/racc/extconf.rb", "fastcache/extconf.rb", - "fastcache/fastcache.c", "lib/racc.rb", "lib/racc/compat.rb", + "ext/racc/com/headius/racc/Cparse.java", "ext/racc/cparse/cparse.c", + "ext/racc/cparse/extconf.rb", + "lib/racc.rb", "lib/racc/compat.rb", "lib/racc/debugflags.rb", "lib/racc/exception.rb", "lib/racc/grammar.rb", "lib/racc/grammarfileparser.rb", "lib/racc/info.rb", "lib/racc/iset.rb", @@ -31,7 +31,7 @@ DESC "lib/racc/parser.rb", "lib/racc/parserfilegenerator.rb", "lib/racc/pre-setup", "lib/racc/sourcetext.rb", "lib/racc/state.rb", "lib/racc/statetransitiontable.rb", - "lib/racc/static.rb", "misc/dist.sh", "rdoc/en/NEWS.en.rdoc", + "lib/racc/static.rb", "rdoc/en/NEWS.en.rdoc", "rdoc/en/grammar.en.rdoc", "rdoc/ja/NEWS.ja.rdoc", "rdoc/ja/command.ja.html", "rdoc/ja/debug.ja.rdoc", "rdoc/ja/grammar.ja.rdoc", "rdoc/ja/index.ja.html", @@ -39,7 +39,7 @@ DESC "sample/array.y", "sample/array2.y", "sample/calc-ja.y", "sample/calc.y", "sample/conflict.y", "sample/hash.y", "sample/lalr.y", "sample/lists.y", "sample/syntax.y", - "sample/yyerr.y", "setup.rb", "tasks/doc.rb", "tasks/email.rb", + "sample/yyerr.y", "test/assets/cadenza.y", "test/assets/cast.y", "test/assets/chk.y", "test/assets/conf.y", "test/assets/csspool.y", "test/assets/digraph.y", @@ -84,10 +84,9 @@ DESC s.require_paths = ["lib"] s.rubygems_version = "3.1.0.pre1" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.extensions = ["ext/racc/extconf.rb"] s.rdoc_options = ["--main", "README.rdoc"] s.extra_rdoc_files = [ - "Manifest.txt", "README.ja.rdoc", "README.rdoc", + "README.ja.rdoc", "README.rdoc", "rdoc/en/NEWS.en.rdoc", "rdoc/en/grammar.en.rdoc", "rdoc/ja/NEWS.ja.rdoc", "rdoc/ja/debug.ja.rdoc", "rdoc/ja/grammar.ja.rdoc", "rdoc/ja/parser.ja.rdoc", @@ -96,6 +95,9 @@ DESC if RUBY_PLATFORM =~ /java/ s.files << 'lib/racc/cparse-jruby.jar' + s.platform = 'java' + else + s.extensions = ["ext/racc/cparse/extconf.rb"] end s.add_development_dependency("rake-compiler", [">= 0.4.1"]) |