Rakefile in eric-aasm-2.0.2.2 vs Rakefile in eric-aasm-2.0.3
- old
+ new
@@ -12,10 +12,10 @@
require 'spec/rake/spectask'
rescue Exception
nil
end
-if `ruby -Ilib -raasm -e "print AASM.Version"` =~ /([0-9.]+)$/
+if `ruby -Ilib -rversion -e "print AASM::VERSION::STRING"` =~ /([0-9.]+)$/
CURRENT_VERSION = $1
else
CURRENT_VERSION = '0.0.0'
end
$package_version = CURRENT_VERSION