[ruby/racc] Use Racc::VERSION for gemspec

https://github.com/ruby/racc/commit/30f5760d85
This commit is contained in:
Hiroshi SHIBATA 2020-12-26 14:26:38 +09:00
Родитель 15e192070a
Коммит 533bf6f19d
1 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -1,8 +1,14 @@
# -*- encoding: utf-8 -*- # -*- 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| Gem::Specification.new do |s|
s.name = "racc" s.name = "racc"
s.version = "1.5.1" s.version = Racc::VERSION
s.summary = "Racc is a LALR(1) parser generator" s.summary = "Racc is a LALR(1) parser generator"
s.description = <<DESC s.description = <<DESC
Racc is a LALR(1) parser generator. Racc is a LALR(1) parser generator.