dtas-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gemspec: duplicate frozen string for older Rubygems


From: Eric Wong
Subject: [PATCH] gemspec: duplicate frozen string for older Rubygems
Date: Fri, 30 Oct 2015 09:51:41 +0000

Older Rubygems (1.8.23 at least on Debian wheezy) tried to modify
the version string directly.
---
 dtas.gemspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dtas.gemspec b/dtas.gemspec
index 1bd5141..2c2febc 100644
--- a/dtas.gemspec
+++ b/dtas.gemspec
@@ -3,7 +3,7 @@
 Gem::Specification.new do |s|
   manifest = File.read('.gem-manifest').split(/\n/)
   s.name = %q{dtas}
-  s.version = ENV["VERSION"]
+  s.version = ENV["VERSION"].dup
   s.authors = ["dtas hackers"]
   s.summary = "duct tape audio suite for *nix"
   s.description = File.read("README").split(/\n\n/)[1].strip
-- 
EW




reply via email to

[Prev in Thread] Current Thread [Next in Thread]