lib/hoe.rb in hoe-2.6.0 vs lib/hoe.rb in hoe-2.6.1

- old
+ new

@@ -56,11 +56,11 @@ # end # end class Hoe # duh - VERSION = '2.6.0' + VERSION = '2.6.1' @@plugins = [:clean, :debug, :deps, :flay, :flog, :newb, :package, :publish, :rcov, :rubyforge, :gemcutter, :signing, :test] ## @@ -384,10 +384,10 @@ end unless self.version then version = nil - version_re = /VERSION += +([\"\'])([\d][\d\w\.]+)\1/ + version_re = /VERSION += +([\"\'])([\d][\w\.]+)\1/ spec.files.each do |file| next unless File.exist? file version = File.read_utf(file)[version_re, 2] break if version