commit 916222b84651bc1b63f77cfb8e5a109f026dd074
parent 6f0e4cfe53b62b5ea970c83cd4a562d247e8ada4
Author: Dan Callaghan <djc@djc.id.au>
Date: Mon, 18 Apr 2022 13:32:03 +1000
make development gems version 999 again
This was always the intended behaviour but it regressed with commit
cb9c7683. Very old versions of rubygems complained about the git version
string:
Malformed version number string 1.1-git-c52ade1f
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sup.gemspec b/sup.gemspec
@@ -4,7 +4,7 @@ require 'sup/version'
Gem::Specification.new do |s|
s.name = "sup"
- s.version = ENV["REL"] || (::Redwood::VERSION == "git" ? "999" : ::Redwood::VERSION)
+ s.version = ENV["REL"] || (/-git-/ =~ ::Redwood::VERSION ? "999" : ::Redwood::VERSION)
s.date = Time.now.strftime "%Y-%m-%d"
s.authors = ["William Morgan", "Gaute Hope", "Hamish Downer", "Matthieu Rakotojaona"]
s.email = "supmua@googlegroups.com"