From 9fd637107f1267726acee108e88e21dc773f137e Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 30 Jun 2020 20:23:49 +0900 Subject: [PATCH] Use VERSION file instead of hard-coded value --- json_pure.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json_pure.gemspec b/json_pure.gemspec index 8203a7fc..007acd36 100644 --- a/json_pure.gemspec +++ b/json_pure.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |s| s.name = "json_pure".freeze - s.version = "2.3.0" + s.version = File.read("VERSION").chomp s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= s.require_paths = ["lib".freeze]