ruby-changes:64608
From: Hiroshi <ko1@a...>
Date: Sat, 26 Dec 2020 15:11:24 +0900 (JST)
Subject: [ruby-changes:64608] 533bf6f19d (master): [ruby/racc] Use Racc::VERSION for gemspec
https://git.ruby-lang.org/ruby.git/commit/?id=533bf6f19d From 533bf6f19df7ea6bbfb9909f58afe2088a7914d5 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Sat, 26 Dec 2020 14:26:38 +0900 Subject: [ruby/racc] Use Racc::VERSION for gemspec https://github.com/ruby/racc/commit/30f5760d85 diff --git a/lib/racc/racc.gemspec b/lib/racc/racc.gemspec index 1e375fe..5c34589 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 v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/