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

ruby-changes:69862

From: Hiroshi <ko1@a...>
Date: Mon, 22 Nov 2021 10:52:14 +0900 (JST)
Subject: [ruby-changes:69862] 5a6f8462dc (ruby_3_0): Bump racc version to 1.5.2

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

From 5a6f8462dc00ae453268eb7b42b1d395b9f644f8 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Thu, 11 Nov 2021 20:14:59 +0900
Subject: Bump racc version to 1.5.2

---
 lib/racc/info.rb      | 2 +-
 lib/racc/racc.gemspec | 8 +++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/lib/racc/info.rb b/lib/racc/info.rb
index 6934f902e82..f599b13cbb2 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.5.1'
+  VERSION   = '1.5.2'
   Version = VERSION
   Copyright = 'Copyright (c) 1999-2006 Minero Aoki'
 end
diff --git a/lib/racc/racc.gemspec b/lib/racc/racc.gemspec
index 1e375fe26b0..5c345891ada 100644
--- a/lib/racc/racc.gemspec
+++ b/lib/racc/racc.gemspec
@@ -1,8 +1,14 @@ https://github.com/ruby/ruby/blob/trunk/lib/racc/racc.gemspec#L1
 # -*- encoding: utf-8 -*-
 
+begin
+  require_relative "lib/racc/info"
+rescue LoadError # Fallback to load version file in ruby core repository
+  require_relative "info"
+end
+
 Gem::Specification.new do |s|
   s.name = "racc"
-  s.version = "1.5.1"
+  s.version = Racc::VERSION
   s.summary = "Racc is a LALR(1) parser generator"
   s.description = <<DESC
 Racc is a LALR(1) parser generator.
-- 
cgit v1.2.1


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

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