[前][次][番号順一覧][スレッド一覧]

ruby-changes:64227

From: Hiroshi <ko1@a...>
Date: Thu, 17 Dec 2020 14:38:36 +0900 (JST)
Subject: [ruby-changes:64227] a09c3c6fe1 (master): expand VERSION path for ruby repository.

https://git.ruby-lang.org/ruby.git/commit/?id=a09c3c6fe1

From a09c3c6fe1f24e5956b43157e6e40dfe4f986bed Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Thu, 17 Dec 2020 14:37:45 +0900
Subject: expand VERSION path for ruby repository.


diff --git a/ext/json/json.gemspec b/ext/json/json.gemspec
index 13196df..d5f0a4d 100644
--- a/ext/json/json.gemspec
+++ b/ext/json/json.gemspec
@@ -2,7 +2,7 @@ https://github.com/ruby/ruby/blob/trunk/ext/json/json.gemspec#L2
 
 Gem::Specification.new do |s|
   s.name = "json"
-  s.version = File.read('VERSION').chomp
+  s.version = File.read(File.expand_path('../VERSION', __FILE__)).chomp
 
   s.summary = "JSON Implementation for Ruby"
   s.description = "This is a JSON implementation as a Ruby extension in C."
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]