Skip to content

Commit 30f5760

Browse files
committedDec 26, 2020
Use Racc::VERSION for gemspec
·
v1.8.1v1.5.2
1 parent 092af4e commit 30f5760

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

‎racc.gemspec‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
# -*- encoding: utf-8 -*-
22

3+
begin
4+
require_relative "lib/racc/info"
5+
rescue LoadError # Fallback to load version file in ruby core repository
6+
require_relative "info"
7+
end
8+
39
Gem::Specification.new do |s|
410
s.name = "racc"
5-
s.version = "1.5.1"
11+
s.version = Racc::VERSION
612
s.summary = "Racc is a LALR(1) parser generator"
713
s.description = <<DESC
814
Racc is a LALR(1) parser generator.

0 commit comments

Comments
 (0)
Please sign in to comment.