зеркало из https://github.com/github/ruby.git
[ruby/racc] Use Racc::VERSION for gemspec
https://github.com/ruby/racc/commit/30f5760d85
This commit is contained in:
Родитель
15e192070a
Коммит
533bf6f19d
|
@ -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.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче