lib/gem/release/version/number.rb in gem-release-2.0.3 vs lib/gem/release/version/number.rb in gem-release-2.0.4
- old
+ new
@@ -43,10 +43,13 @@
def stage
target unless to_release?
end
def stage_delim
- parts[3] || '-'
+ # Use what's being used or default to dot (`.`)
+ # dot is preferred due to rubygems issue
+ # https://github.com/rubygems/rubygems/issues/592
+ parts[3] || '.'
end
def num
return if to_release?
same_stage? ? parts[5].to_i + 1 : 1