diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hoe/package.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hoe/package.rb b/lib/hoe/package.rb index 1b26a00..1368ea4 100644 --- a/lib/hoe/package.rb +++ b/lib/hoe/package.rb @@ -56,7 +56,7 @@ module Hoe::Package # no doco, invisible hook task :prerelease do - abort "Fix your version before you release" if spec.version =~ /borked/ + abort "Fix your version before you release" if spec.version.to_s =~ /borked/ end # no doco, invisible hook |