lib/hoe.rb in hoe-2.6.1 vs lib/hoe.rb in hoe-2.6.2
- old
+ new
@@ -56,11 +56,11 @@
# end
# end
class Hoe
# duh
- VERSION = '2.6.1'
+ VERSION = '2.6.2'
@@plugins = [:clean, :debug, :deps, :flay, :flog, :newb, :package,
:publish, :rcov, :rubyforge, :gemcutter, :signing, :test]
##
@@ -594,10 +594,10 @@
finis = Time.parse finis
start = Time.parse start
rest = (finis - Time.now)
full = (finis - start)
- ((n - m) * rest / full).to_i + m
+ [((n - m) * rest / full).to_i + m, m].max
end
##
# Verify that mandatory fields are set.