<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>generators/authorize/USAGE</filename>
    </added>
    <added>
      <filename>generators/authorize/authorize_generator.rb</filename>
    </added>
    <added>
      <filename>generators/authorize/templates/migrate/create_authorizations.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,60 @@
 Authorize
 =========
-
-Description goes here
\ No newline at end of file
+As a result of including the authorizations option of ActsAsAuthorized, the following methods are available:
+ 
+ActiveRecord-provided associations (see AR documentation for complete list of related methods)
+  Trustee (User or Group, for example)
+    authorizations
+          Returns array of authorizations belonging to trustee
+          Deprecated equivalent: roles
+    subjected_&lt;subjected_models&gt;   # Note the use of the plural model name
+          Returns authorized model objects
+          Not yet implemented
+  Subject (Widget, for example)
+    subjections  # Synonym for authorizations -must be distinct to permit model as both trustee and subject.
+          Returns array of authorizations over acts_as_subject objects.
+          Deprecated equivalent: accepted_roles
+    authorized_&lt;trustee_models&gt;
+          Returns array of trustees with an authorization over the acts_as_subject object.
+          Not yet implemented
+  Authorization
+    trustee
+          Returns the authorized trustee
+    subject
+          Returns the object of the authorization
+    subjected_&lt;subjected_model&gt;     # Note the use of the singular model name
+          Returns subjected model object of named class.  NB: This association is only safe with UUID-keyed models!
+          Disabled
+    authorized_&lt;authorized_model&gt;      # Note the use of the singular model name
+          Returns authorized trustee object of named class.  NB: This association is only safe with UUID-keyed trustees!
+          Disabled
+Standard ActsAsAuthorized methods:
+  Trustee
+    authorize &lt;Role&gt;, &lt;Subject Instance or Class&gt;
+          Creates an authorization for the trustee as &lt;Role&gt; over the subject Instance or Class.
+    unauthorize &lt;Role&gt;, &lt;Subject Instance or Class&gt;
+          Removes any authorization for the trustee as &lt;Role&gt; over the subject Instance or Class.
+    authorized? &lt;Role&gt;, &lt;Subject Instance or Class&gt;
+          Boolean condition for the trustee being authorized as the &lt;Role&gt; over the subject Instance or Class.
+  Subject (Authorizable Class or Instance)
+    subject &lt;Role&gt;, &lt;Trustee&gt;
+          Subjects the model instance or class to the authority of trustee as the named role.
+    unsubject &lt;Role&gt;, &lt;Trustee&gt;
+          Removes any authorization for the trustee as the named role over the model instance or class
+    subjected? &lt;Role&gt;, &lt;Trustee&gt;
+          Boolean condition for the the model Instance or Class being subjected to the authority of trustee as the named role.
+Identity Mixin methods:
+  Trustee
+    is_&lt;Role&gt;_for_what
+          Returns array of subjects for which trustee as &lt;Role&gt; is authorized
+    is_&lt;Role&gt;_&lt;Preposition&gt;?(&lt;Authorizable object&gt;)
+          Boolean condition for trustee as &lt;Role&gt; being authorized for the specified subject.
+    is_&lt;Role&gt;[_&lt;Preposition&gt; &lt;Authorizable object&gt;]
+          Creates authorization for trustee as &lt;Role&gt; either generically or over the specified subject (model or class)
+    is_&lt;Role&gt;
+          Creates generic authorization to trustee as &lt;Role&gt;
+  Subject
+    has_&lt;Role&gt;
+          Returns array of trustees having specified role over the subject.
+    has_&lt;Role&gt;?
+          Boolean conditioned upon at least one trustee having &lt;Role&gt; over the subject.
\ No newline at end of file</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -1,83 +1,5 @@
 require File.dirname(__FILE__) + '/identity'
 
-# In order to use this mixin, you'll need the following:
-# 1. An Authorization (Role) class with these associations:
-#   belongs_to &lt;Authorizee Class&gt;
-#   belongs_to &lt;Model Class&gt;
-# 2. Database tables that support the roles. A sample migration is
-#    supplied below
-#
-# create_table &quot;authorizations&quot;, :force =&gt; true  do |t|
-#   t.column :role,          :string, :limit =&gt; 20
-#   t.column :trustee_id,    :integer
-#   t.column :trustee_type,  :string, :limit =&gt; 25
-#   t.column :subject_id,    :integer
-#   t.column :subject_type,  :string, :limit =&gt; 25
-#   t.column :created_at,    :datetime
-#   t.column :updated_at,    :datetime
-# end
-# add_index :authorizations, [:role, :trustee_id, :trustee_type, :subject_id, :subject_type], :unique
-# add_index :authorizations, [:trustee_id, :trustee_type, :subject_id, :subject_type, :role], :unique
-# 
-# As a result of including the authorizations option of ActsAsAuthorized, the following methods are available:
-# 
-# ActiveRecord-provided associations (see AR documentation for complete list of related methods)
-#   Trustee (User or Group, for example)
-#     authorizations
-#           Returns array of authorizations belonging to trustee
-#           Deprecated equivalent: roles
-#     subjected_&lt;subjected_models&gt;   # Note the use of the plural model name
-#           Returns authorized model objects
-#           Not yet implemented
-#   Subject (Widget, for example)
-#     subjections  # Synonym for authorizations -must be distinct to permit model as both trustee and subject.
-#           Returns array of authorizations over acts_as_subject objects.
-#           Deprecated equivalent: accepted_roles
-#     authorized_&lt;trustee_models&gt;
-#           Returns array of trustees with an authorization over the acts_as_subject object.
-#           Not yet implemented
-#   Authorization
-#     trustee
-#           Returns the authorized trustee
-#     subject
-#           Returns the object of the authorization
-#     subjected_&lt;subjected_model&gt;     # Note the use of the singular model name
-#           Returns subjected model object of named class.  NB: This association is only safe with UUID-keyed models!
-#           Disabled
-#     authorized_&lt;authorized_model&gt;      # Note the use of the singular model name
-#           Returns authorized trustee object of named class.  NB: This association is only safe with UUID-keyed trustees!
-#           Disabled
-# Standard ActsAsAuthorized methods:
-#   Trustee
-#     authorize &lt;Role&gt;, &lt;Subject Instance or Class&gt;
-#           Creates an authorization for the trustee as &lt;Role&gt; over the subject Instance or Class.
-#     unauthorize &lt;Role&gt;, &lt;Subject Instance or Class&gt;
-#           Removes any authorization for the trustee as &lt;Role&gt; over the subject Instance or Class.
-#     authorized? &lt;Role&gt;, &lt;Subject Instance or Class&gt;
-#           Boolean condition for the trustee being authorized as the &lt;Role&gt; over the subject Instance or Class.
-#   Subject (Authorizable Class or Instance)
-#     subject &lt;Role&gt;, &lt;Trustee&gt;
-#           Subjects the model instance or class to the authority of trustee as the named role.
-#     unsubject &lt;Role&gt;, &lt;Trustee&gt;
-#           Removes any authorization for the trustee as the named role over the model instance or class
-#     subjected? &lt;Role&gt;, &lt;Trustee&gt;
-#           Boolean condition for the the model Instance or Class being subjected to the authority of trustee as the named role.
-# Identity Mixin methods:
-#   Trustee
-#     is_&lt;Role&gt;_for_what
-#           Returns array of subjects for which trustee as &lt;Role&gt; is authorized
-#     is_&lt;Role&gt;_&lt;Preposition&gt;?(&lt;Authorizable object&gt;)
-#           Boolean condition for trustee as &lt;Role&gt; being authorized for the specified subject.
-#     is_&lt;Role&gt;[_&lt;Preposition&gt; &lt;Authorizable object&gt;]
-#           Creates authorization for trustee as &lt;Role&gt; either generically or over the specified subject (model or class)
-#     is_&lt;Role&gt;
-#           Creates generic authorization to trustee as &lt;Role&gt;
-#   Subject
-#     has_&lt;Role&gt;
-#           Returns array of trustees having specified role over the subject.
-#     has_&lt;Role&gt;?
-#           Boolean conditioned upon at least one trustee having &lt;Role&gt; over the subject.
-
 module Authorize
   module AuthorizationsTable
   </diff>
      <filename>lib/authorizations_table.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>18dcf58367762cc73114bccc895b49d7843c0b65</id>
    </parent>
  </parents>
  <author>
    <name>Chris Hapgood</name>
    <email>cch1@hapgoods.com</email>
  </author>
  <url>http://github.com/cch1/authorize/commit/cbb489d5a2384aa83cc02ebff57f88fcae5f18ed</url>
  <id>cbb489d5a2384aa83cc02ebff57f88fcae5f18ed</id>
  <committed-date>2008-08-05T07:55:47-07:00</committed-date>
  <authored-date>2008-08-05T07:55:47-07:00</authored-date>
  <message>Cleanup documentation and add migration generator.

* Moved general plugin documentation out of source and into README.
* Added migration generator for authorizations table</message>
  <tree>bfd18b19c92007b72f222d7ff52a96673337e929</tree>
  <committer>
    <name>Chris Hapgood</name>
    <email>cch1@hapgoods.com</email>
  </committer>
</commit>
