From 3bb1162cacf951794af7c9124dde002ceaed5b38 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 16 Sep 2019 20:01:42 +0900 Subject: [PATCH] Folded files in gemspec --- lib/irb/irb.gemspec | 58 ++++++++++- lib/racc/racc.gemspec | 82 ++++++++++++++- lib/rdoc/rdoc.gemspec | 194 +++++++++++++++++++++++++++++++++++- lib/shell/shell.gemspec | 21 +++- lib/webrick/webrick.gemspec | 45 ++++++++- 5 files changed, 389 insertions(+), 11 deletions(-) diff --git a/lib/irb/irb.gemspec b/lib/irb/irb.gemspec index 84fe4fff68..17f0de71a1 100644 --- a/lib/irb/irb.gemspec +++ b/lib/irb/irb.gemspec @@ -16,7 +16,63 @@ Gem::Specification.new do |spec| spec.homepage = "https://github.com/ruby/irb" spec.license = "BSD-2-Clause" - spec.files = ["LICENSE.txt", "README.md", "exe/irb", "irb.gemspec", "lib/irb.rb", "lib/irb/cmd/chws.rb", "lib/irb/cmd/fork.rb", "lib/irb/cmd/help.rb", "lib/irb/cmd/load.rb", "lib/irb/cmd/nop.rb", "lib/irb/cmd/pushws.rb", "lib/irb/cmd/subirb.rb", "lib/irb/completion.rb", "lib/irb/context.rb", "lib/irb/color.rb", "lib/irb/ext/change-ws.rb", "lib/irb/ext/history.rb", "lib/irb/ext/loader.rb", "lib/irb/ext/multi-irb.rb", "lib/irb/ext/save-history.rb", "lib/irb/ext/tracer.rb", "lib/irb/ext/use-loader.rb", "lib/irb/ext/workspaces.rb", "lib/irb/extend-command.rb", "lib/irb/frame.rb", "lib/irb/help.rb", "lib/irb/init.rb", "lib/irb/input-method.rb", "lib/irb/inspector.rb", "lib/irb/lc/.document", "lib/irb/lc/error.rb", "lib/irb/lc/help-message", "lib/irb/lc/ja/encoding_aliases.rb", "lib/irb/lc/ja/error.rb", "lib/irb/lc/ja/help-message", "lib/irb/locale.rb", "lib/irb/magic-file.rb", "lib/irb/notifier.rb", "lib/irb/output-method.rb", "lib/irb/ruby-lex.rb", "lib/irb/ruby-token.rb", "lib/irb/slex.rb", "lib/irb/src_encoding.rb", "lib/irb/version.rb", "lib/irb/workspace.rb", "lib/irb/ws-for-case-2.rb", "lib/irb/xmp.rb"] + spec.files = [ + "Gemfile", + "LICENSE.txt", + "README.md", + "Rakefile", + "bin/console", + "bin/setup", + "doc/irb/irb-tools.rd.ja", + "doc/irb/irb.rd.ja", + "exe/irb", + "irb.gemspec", + "lib/irb.rb", + "lib/irb/cmd/chws.rb", + "lib/irb/cmd/fork.rb", + "lib/irb/cmd/help.rb", + "lib/irb/cmd/load.rb", + "lib/irb/cmd/nop.rb", + "lib/irb/cmd/pushws.rb", + "lib/irb/cmd/subirb.rb", + "lib/irb/color.rb", + "lib/irb/completion.rb", + "lib/irb/context.rb", + "lib/irb/ext/change-ws.rb", + "lib/irb/ext/history.rb", + "lib/irb/ext/loader.rb", + "lib/irb/ext/multi-irb.rb", + "lib/irb/ext/save-history.rb", + "lib/irb/ext/tracer.rb", + "lib/irb/ext/use-loader.rb", + "lib/irb/ext/workspaces.rb", + "lib/irb/extend-command.rb", + "lib/irb/frame.rb", + "lib/irb/help.rb", + "lib/irb/init.rb", + "lib/irb/input-method.rb", + "lib/irb/inspector.rb", + "lib/irb/lc/.document", + "lib/irb/lc/error.rb", + "lib/irb/lc/help-message", + "lib/irb/lc/ja/encoding_aliases.rb", + "lib/irb/lc/ja/error.rb", + "lib/irb/lc/ja/help-message", + "lib/irb/locale.rb", + "lib/irb/magic-file.rb", + "lib/irb/notifier.rb", + "lib/irb/output-method.rb", + "lib/irb/ruby-lex.rb", + "lib/irb/ruby-token.rb", + "lib/irb/ruby_logo.aa", + "lib/irb/slex.rb", + "lib/irb/src_encoding.rb", + "lib/irb/version.rb", + "lib/irb/workspace.rb", + "lib/irb/ws-for-case-2.rb", + "lib/irb/xmp.rb", + "man/irb.1", + ] spec.bindir = "exe" spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] diff --git a/lib/racc/racc.gemspec b/lib/racc/racc.gemspec index 8e8a0b8bae..b04afcda78 100644 --- a/lib/racc/racc.gemspec +++ b/lib/racc/racc.gemspec @@ -8,12 +8,88 @@ Gem::Specification.new do |s| s.require_paths = ["lib"] s.authors = ["Aaron Patterson"] s.date = "2019-06-20" - s.description = "Racc is a LALR(1) parser generator.\n It is written in Ruby itself, and generates Ruby program.\n\n NOTE: Ruby 1.8.x comes with Racc runtime module. You\n can run your parsers generated by racc 1.4.x out of the\n box." + s.description = <