Skip to content

Commit

Permalink
Use Racc::VERSION for gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Dec 26, 2020
1 parent 092af4e commit 30f5760
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion 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.
Expand Down

0 comments on commit 30f5760

Please sign in to comment.