Permalink
Browse files

Moved all files into a namespaced dir, so that it doesn't clobber wit…

…h other gems (state_machine)
  • Loading branch information...
1 parent baceb4b commit b59ff1a18ffc4bf62f91f237eb17cfa80041eb66 @raggi committed Jul 24, 2009
View
7 lib/aasm.rb
@@ -1,7 +1,6 @@
-require File.join(File.dirname(__FILE__), 'event')
-require File.join(File.dirname(__FILE__), 'state')
-require File.join(File.dirname(__FILE__), 'state_machine')
-require File.join(File.dirname(__FILE__), 'persistence')
+%w(event state state_machine persistence).each do |f|
+ require File.join(File.dirname(__FILE__), 'aasm', f)
+end
module AASM
def self.Version
View
0 lib/event.rb → lib/aasm/event.rb
File renamed without changes.
View
0 lib/persistence.rb → lib/aasm/persistence.rb
File renamed without changes.
View
0 lib/persistence/active_record_persistence.rb → .../persistence/active_record_persistence.rb
File renamed without changes.
View
0 lib/state.rb → lib/aasm/state.rb
File renamed without changes.
View
0 lib/state_machine.rb → lib/aasm/state_machine.rb
File renamed without changes.
View
0 lib/state_transition.rb → lib/aasm/state_transition.rb
File renamed without changes.

0 comments on commit b59ff1a

Please sign in to comment.