Take the 2008 Git User's Survey and help out! [ hide ]

public
Rubygem
Description: AASM - State machines for Ruby classes
Homepage: http://rubyi.st/aasm
Clone URL: git://github.com/rubyist/aasm.git
Search Repo:
Click here to lend your support to: aasm and make a donation at www.pledgie.com !
Sync up version numbers - bumping minor rev so the github gem rebuilds
rubyist (author)
Tue Jul 22 05:12:11 -0700 2008
commit  54c631e3cbdae8135afaaa9b739615ca35a73ea5
tree    0be938e1108e65b5d58d188ace7f42e2f448eae8
parent  bf8ed18ed237b1d18af40e97b64fb2df7cd507ac
...
2
3
4
5
 
6
7
8
...
2
3
4
 
5
6
7
8
0
@@ -2,7 +2,7 @@ PKG_FILES = ["CHANGELOG", "MIT-LICENSE", "Rakefile", "README.rdoc", "TODO", "lib
0
 
0
 Gem::Specification.new do |s|
0
   s.name = 'aasm'
0
- s.version = "2.0.1"
0
+ s.version = "2.0.2"
0
   s.summary = 'State machine mixin for Ruby objects'
0
   s.description = <<-EOF
0
 AASM is a continuation of the acts as state machine rails plugin, built for plain Ruby objects.
...
1
2
3
 
4
5
...
1
2
 
3
4
5
0
@@ -1,5 +1,5 @@
0
 module AASM
0
   module VERSION
0
- STRING = '0.0.2'
0
+ STRING = '2.0.2'
0
   end
0
 end

Comments

  • jerome Sat Aug 23 13:06:21 -0700 2008

    Mmmm. How to avoid this VERSION module ? Got a “Version class”: http://github.com/jerome/simply_versioned/tree/master/lib/version.rb I cannot use because the rubyist-aasm gem is loaded first :( Then I get errors such as


    >> Post.last.versioned?
    LoadError: Expected /opt/local/lib/ruby/gems/1.8/gems/rubyist-aasm-2.0.2/lib/version.rb to define Version

  • spicycode Sat Aug 23 13:46:52 -0700 2008

    You could try in yours using the global namespace (ie the one from simply versioned). ::Version.