summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-11-11 20:14:59 +0900
committernagachika <nagachika@ruby-lang.org>2021-11-22 10:51:35 +0900
commit5a6f8462dc00ae453268eb7b42b1d395b9f644f8 (patch)
tree88e8f91a2ff27dad0c9880d95969193c6ef9ccff
parentd7c9d86573c6e9244c7d3e29e6d6be7d6545f748 (diff)
Bump racc version to 1.5.2
-rw-r--r--lib/racc/info.rb2
-rw-r--r--lib/racc/racc.gemspec8
2 files changed, 8 insertions, 2 deletions
diff --git a/lib/racc/info.rb b/lib/racc/info.rb
index 6934f902e8..f599b13cbb 100644
--- a/lib/racc/info.rb
+++ b/lib/racc/info.rb
@@ -11,7 +11,7 @@
#++
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 1e375fe26b..5c345891ad 100644
--- a/lib/racc/racc.gemspec
+++ b/lib/racc/racc.gemspec
@@ -1,8 +1,14 @@
# -*- 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.