1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00

Version module is causing conflicts with other packages

This commit is contained in:
Scott Barron 2008-10-07 10:01:15 -04:00
parent ea29d0960e
commit 02cacead7e
3 changed files with 5 additions and 6 deletions

View file

@ -14,7 +14,7 @@ rescue Exception
nil
end
if `ruby -Ilib -rversion -e "print AASM::VERSION::STRING"` =~ /([0-9.]+)$/
if `ruby -Ilib -raasm -e "print AASM.Version"` =~ /([0-9.]+)$/
CURRENT_VERSION = $1
else
CURRENT_VERSION = '0.0.0'

View file

@ -4,6 +4,10 @@ require File.join(File.dirname(__FILE__), 'state_machine')
require File.join(File.dirname(__FILE__), 'persistence')
module AASM
def self.Version
'0.0.2'
end
class InvalidTransition < RuntimeError
end

View file

@ -1,5 +0,0 @@
module AASM
module VERSION
STRING = '2.0.2'
end
end