<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -122,8 +122,6 @@ To use:
   @--skip-migration@ will skip the user migration, and @--skip-routes@ will skip
   resource generation -- both useful if you've already run this generator.
 
-* --aasm: Works the same as stateful but uses the updated aasm gem
-
 * --rspec: Generate RSpec tests and Stories in place of standard rails tests.
   This requires the
     &quot;RSpec and Rspec-on-rails plugins&quot;:http://rspec.info/</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -268,11 +268,7 @@ class AuthenticatedGenerator &lt; Rails::Generator::NamedBase
         puts &quot;- Add an observer to config/environment.rb&quot;
         puts &quot;    config.active_record.observers = :#{file_name}_observer&quot;
       end
-      if options[:aasm]
-        puts &quot;- Install the acts_as_state_machine gem:&quot;
-        puts &quot;    sudo gem sources -a http://gems.github.com (If you haven't already)&quot;        
-        puts &quot;    sudo gem install rubyist-aasm&quot;        
-      elsif options[:stateful]
+      if options[:stateful]
         puts &quot;- Install the acts_as_state_machine plugin:&quot;
         puts &quot;    svn export http://elitists.textdriven.com/svn/plugins/acts_as_state_machine/trunk vendor/plugins/acts_as_state_machine&quot;
       end
@@ -390,8 +386,6 @@ protected
       &quot;Generate signup 'activation code' confirmation via email&quot;) { |v| options[:include_activation] = true }
     opt.on(&quot;--stateful&quot;,
       &quot;Use acts_as_state_machine.  Assumes --include-activation&quot;) { |v| options[:include_activation] = options[:stateful] = true }
-    opt.on(&quot;--aasm&quot;,
-      &quot;Use (gem) aasm.  Assumes --include-activation&quot;)            { |v| options[:include_activation] = options[:stateful] = options[:aasm] = true }      
     opt.on(&quot;--rspec&quot;,
       &quot;Force rspec mode (checks for RAILS_ROOT/spec by default)&quot;) { |v| options[:rspec] = true }
     opt.on(&quot;--no-rspec&quot;,</diff>
      <filename>generators/authenticated/authenticated_generator.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,10 +4,9 @@ class &lt;%= class_name %&gt; &lt; ActiveRecord::Base
   include Authentication
   include Authentication::ByPassword
   include Authentication::ByCookieToken
-&lt;% if options[:aasm] -%&gt;
-  include Authorization::AasmRoles
-&lt;% elsif options[:stateful] -%&gt;
+&lt;% if options[:stateful] -%&gt;
   include Authorization::StatefulRoles&lt;% end %&gt;
+
   validates_presence_of     :login
   validates_length_of       :login,    :within =&gt; 3..40
   validates_uniqueness_of   :login,    :case_sensitive =&gt; false</diff>
      <filename>generators/authenticated/templates/model.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>lib/authorization/aasm_roles.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>2d24dae056f4d2b68c69429ed4395cdd8b02efb2</id>
    </parent>
  </parents>
  <author>
    <name>Daniel Haran</name>
    <email>chebuctonian@mgmail.com</email>
  </author>
  <url>http://github.com/danielharan/restful-authentication/commit/c9ada94c39f3fd59cc7edb74ce5e6a6be239ce80</url>
  <id>c9ada94c39f3fd59cc7edb74ce5e6a6be239ce80</id>
  <committed-date>2008-06-15T08:17:44-07:00</committed-date>
  <authored-date>2008-06-15T08:17:44-07:00</authored-date>
  <message>Revert &quot;Add in support for AASM&quot;

This reverts commit 2d24dae056f4d2b68c69429ed4395cdd8b02efb2.</message>
  <tree>dc6807dd5c79c6f7c0c82fad856c6f8de83ac5c0</tree>
  <committer>
    <name>Daniel Haran</name>
    <email>chebuctonian@mgmail.com</email>
  </committer>
</commit>
