[前][次][番号順一覧][スレッド一覧]

ruby-changes:59156

From: Hiroshi <ko1@a...>
Date: Tue, 10 Dec 2019 17:11:25 +0900 (JST)
Subject: [ruby-changes:59156] e27d2013db (master): Import racc-1.4.1 from ruby/racc.

https://git.ruby-lang.org/ruby.git/commit/?id=e27d2013db

From e27d2013db18d124d1362b6cc81ecec806ef1a0d Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Tue, 10 Dec 2019 17:03:46 +0900
Subject: Import racc-1.4.1 from ruby/racc.


diff --git a/lib/racc/grammarfileparser.rb b/lib/racc/grammarfileparser.rb
index 3ae539a..5e7081f 100644
--- a/lib/racc/grammarfileparser.rb
+++ b/lib/racc/grammarfileparser.rb
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/lib/racc/grammarfileparser.rb#L1
 #
-# $Id: 0e355164c34f7baf8a813f76a138b8924ec3269a $
+# $Id: 63bd084db2dce8a2c9760318faae6104717cead7 $
 #
 # Copyright (c) 1999-2006 Minero Aoki
 #
diff --git a/lib/racc/info.rb b/lib/racc/info.rb
index 3a6e7f6..b7db7b6 100644
--- a/lib/racc/info.rb
+++ b/lib/racc/info.rb
@@ -8,7 +8,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/racc/info.rb#L8
 # see the file "COPYING".
 
 module Racc
-  VERSION   = '1.4.16.pre.1'
+  VERSION   = '1.4.16'
   Version = VERSION
   Copyright = 'Copyright (c) 1999-2006 Minero Aoki'
 end
diff --git a/lib/racc/parser-text.rb b/lib/racc/parser-text.rb
index 7adc21e..028af61 100644
--- a/lib/racc/parser-text.rb
+++ b/lib/racc/parser-text.rb
@@ -188,10 +188,10 @@ module Racc https://github.com/ruby/ruby/blob/trunk/lib/racc/parser-text.rb#L188
   class Parser
 
     Racc_Runtime_Version = ::Racc::VERSION
-    Racc_Runtime_Revision = '$Id: 87af5c09d4467cae567837b4162ec2145417a90e $'
+    Racc_Runtime_Revision = '$Id: 7adc21ee7a5690f10b7ff399b8af4e2717b9d94c $'
 
     Racc_Runtime_Core_Version_R = ::Racc::VERSION
-    Racc_Runtime_Core_Revision_R = '$Id: 87af5c09d4467cae567837b4162ec2145417a90e $'.split[1]
+    Racc_Runtime_Core_Revision_R = '$Id: 7adc21ee7a5690f10b7ff399b8af4e2717b9d94c $'.split[1]
     begin
       if Object.const_defined?(:RUBY_ENGINE) and RUBY_ENGINE == 'jruby'
         require 'racc/cparse-jruby.jar'
diff --git a/lib/racc/parser.rb b/lib/racc/parser.rb
index a2bc47b..dd446d1 100644
--- a/lib/racc/parser.rb
+++ b/lib/racc/parser.rb
@@ -186,10 +186,10 @@ module Racc https://github.com/ruby/ruby/blob/trunk/lib/racc/parser.rb#L186
   class Parser
 
     Racc_Runtime_Version = ::Racc::VERSION
-    Racc_Runtime_Revision = '$Id: 87af5c09d4467cae567837b4162ec2145417a90e $'
+    Racc_Runtime_Revision = '$Id: e754525bd317344c4284fca6fdce0a425979ade1 $'
 
     Racc_Runtime_Core_Version_R = ::Racc::VERSION
-    Racc_Runtime_Core_Revision_R = '$Id: 87af5c09d4467cae567837b4162ec2145417a90e $'.split[1]
+    Racc_Runtime_Core_Revision_R = '$Id: e754525bd317344c4284fca6fdce0a425979ade1 $'.split[1]
     begin
       if Object.const_defined?(:RUBY_ENGINE) and RUBY_ENGINE == 'jruby'
         require 'racc/cparse-jruby.jar'
diff --git a/lib/racc/parserfilegenerator.rb b/lib/racc/parserfilegenerator.rb
index fdce45c..ee1262d 100644
--- a/lib/racc/parserfilegenerator.rb
+++ b/lib/racc/parserfilegenerator.rb
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/lib/racc/parserfilegenerator.rb#L1
 #
-# $Id: 67117a7ef68abc59a11abce2b42084f65cddb2ca $
+# $Id: fff07ebfd582f8dbc845e424908cb9f41f8bf42f $
 #
 # Copyright (c) 1999-2006 Minero Aoki
 #
diff --git a/lib/racc/racc.gemspec b/lib/racc/racc.gemspec
index b04afcd..6beb16c 100644
--- a/lib/racc/racc.gemspec
+++ b/lib/racc/racc.gemspec
@@ -2,12 +2,8 @@ https://github.com/ruby/ruby/blob/trunk/lib/racc/racc.gemspec#L2
 
 Gem::Specification.new do |s|
   s.name = "racc"
-  s.version = "1.4.16.pre.1"
-
-  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
-  s.require_paths = ["lib"]
-  s.authors = ["Aaron Patterson"]
-  s.date = "2019-06-20"
+  s.version = "1.4.16"
+  s.summary = "Racc is a LALR(1) parser generator"
   s.description = <<DESC
 Racc is a LALR(1) parser generator.
   It is written in Ruby itself, and generates Ruby program.
@@ -16,16 +12,11 @@ Racc is a LALR(1) parser generator. https://github.com/ruby/ruby/blob/trunk/lib/racc/racc.gemspec#L12
   can run your parsers generated by racc 1.4.x out of the
   box.
 DESC
-  s.email = ["aaron@t..."]
+  s.authors = ["Minero Aoki", "Aaron Patterson"]
+  s.email = [nil, "aaron@t..."]
+  s.homepage = "http://i.loveruby.net/en/projects/racc/"
+  s.licenses = ["MIT"]
   s.executables = ["racc", "racc2y", "y2racc"]
-  s.extensions = ["ext/racc/extconf.rb"]
-  s.extra_rdoc_files = [
-    "Manifest.txt", "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",
-    "README.ja.rdoc", "README.rdoc"
-  ]
   s.files = [
     "COPYING", "ChangeLog", "DEPENDS", "Manifest.txt",
     "README.ja.rdoc", "README.rdoc", "Rakefile", "TODO", "bin/racc",
@@ -90,11 +81,22 @@ DESC https://github.com/ruby/ruby/blob/trunk/lib/racc/racc.gemspec#L81
     "test/test_racc_command.rb", "test/test_scan_y.rb",
     "test/testscanner.rb", "web/racc.en.rhtml", "web/racc.ja.rhtml"
   ]
-  s.homepage = "http://i.loveruby.net/en/projects/racc/"
-  s.licenses = ["MIT"]
-  s.rdoc_options = ["--main", "README.rdoc"]
+  s.require_paths = ["lib"]
   s.rubygems_version = "3.1.0.pre1"
-  s.summary = "Racc is a LALR(1) parser generator"
+  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",
+    "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",
+    "README.ja.rdoc", "README.rdoc"
+  ]
+
+  if RUBY_PLATFORM =~ /java/
+    s.files << 'lib/racc/cparse-jruby.jar'
+  end
 
   s.add_development_dependency("rake-compiler", [">= 0.4.1"])
   s.add_development_dependency("minitest", ["~> 4.7"])
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]