ruby-changes:60500
From: Hiroshi <ko1@a...>
Date: Wed, 25 Mar 2020 21:39:49 +0900 (JST)
Subject: [ruby-changes:60500] 48a5c155fa (master): Import racc-1.5.0 from upstream repository.
https://git.ruby-lang.org/ruby.git/commit/?id=48a5c155fa From 48a5c155fa850fd0c0ea8b5b9219967b6e7181f9 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Wed, 25 Mar 2020 21:39:03 +0900 Subject: Import racc-1.5.0 from upstream repository. diff --git a/lib/racc/info.rb b/lib/racc/info.rb index b55866d..04085bd 100644 --- a/lib/racc/info.rb +++ b/lib/racc/info.rb @@ -11,7 +11,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/racc/info.rb#L11 #++ module Racc - VERSION = '1.4.16' + VERSION = '1.5.0' 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 118b1a1..8dadead 100644 --- a/lib/racc/parser-text.rb +++ b/lib/racc/parser-text.rb @@ -192,6 +192,7 @@ module Racc https://github.com/ruby/ruby/blob/trunk/lib/racc/parser-text.rb#L192 begin if Object.const_defined?(:RUBY_ENGINE) and RUBY_ENGINE == 'jruby' + require 'jruby' require 'racc/cparse-jruby.jar' com.headius.racc.Cparse.new.load(JRuby.runtime, false) else diff --git a/lib/racc/parser.rb b/lib/racc/parser.rb index 8d30f52..8346f01 100644 --- a/lib/racc/parser.rb +++ b/lib/racc/parser.rb @@ -190,6 +190,7 @@ module Racc https://github.com/ruby/ruby/blob/trunk/lib/racc/parser.rb#L190 begin if Object.const_defined?(:RUBY_ENGINE) and RUBY_ENGINE == 'jruby' + require 'jruby' require 'racc/cparse-jruby.jar' com.headius.racc.Cparse.new.load(JRuby.runtime, false) else diff --git a/lib/racc/racc.gemspec b/lib/racc/racc.gemspec index 8442ef1..61356ec 100644 --- a/lib/racc/racc.gemspec +++ b/lib/racc/racc.gemspec @@ -2,7 +2,7 @@ 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" + s.version = "1.5.0" s.summary = "Racc is a LALR(1) parser generator" s.description = <<DESC Racc is a LALR(1) parser generator. @@ -18,7 +18,7 @@ DESC https://github.com/ruby/ruby/blob/trunk/lib/racc/racc.gemspec#L18 s.licenses = ["MIT"] s.executables = ["racc"] s.files = [ - "COPYING", "ChangeLog", "DEPENDS", + "COPYING", "ChangeLog", "README.ja.rdoc", "README.rdoc", "Rakefile", "TODO", "bin/racc", "ext/racc/MANIFEST", "ext/racc/com/headius/racc/Cparse.java", "ext/racc/cparse/cparse.c", @@ -99,9 +99,4 @@ DESC https://github.com/ruby/ruby/blob/trunk/lib/racc/racc.gemspec#L99 else s.extensions = ["ext/racc/cparse/extconf.rb"] end - - s.add_development_dependency("rake-compiler", [">= 0.4.1"]) - s.add_development_dependency("minitest", ["~> 4.7"]) - s.add_development_dependency("rdoc", [">= 4.0", "< 7"]) - s.add_development_dependency("hoe", ["~> 3.18"]) end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/