authentasaurus 0.8.8 → 0.8.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. data/CHANGELIST +2 -6
  2. data/TODO +0 -5
  3. data/app/controllers/areas_controller.rb +1 -1
  4. data/app/controllers/groups_controller.rb +1 -1
  5. data/app/controllers/permissions_controller.rb +1 -1
  6. data/app/controllers/recoveries_controller.rb +1 -1
  7. data/app/controllers/registrations_controller.rb +1 -1
  8. data/app/controllers/sessions_controller.rb +2 -2
  9. data/app/controllers/user_invitations_controller.rb +1 -1
  10. data/app/controllers/users_controller.rb +1 -1
  11. data/app/controllers/validations_controller.rb +1 -1
  12. data/app/models/area.rb +1 -1
  13. data/app/models/authentasaurus_emailer.rb +6 -6
  14. data/app/models/group.rb +1 -1
  15. data/app/models/permission.rb +1 -1
  16. data/app/models/recovery.rb +1 -1
  17. data/app/models/user_invitation.rb +1 -1
  18. data/app/models/validation.rb +1 -1
  19. data/app/views/authentasaurus_emailer/invitation_mail.html.erb +2 -2
  20. data/app/views/authentasaurus_emailer/recovery_mail.html.erb +2 -2
  21. data/app/views/authentasaurus_emailer/validation_mail.html.erb +2 -2
  22. data/lib/authentasaurus.rb +18 -52
  23. metadata +2 -136
  24. data/app/models/authentasaurus_session.rb +0 -3
  25. data/lib/authentasaurus/ac/acts_as_overrider.rb +0 -48
  26. data/lib/authentasaurus/ac/controllers/areas_controller.rb +0 -75
  27. data/lib/authentasaurus/ac/controllers/groups_controller.rb +0 -77
  28. data/lib/authentasaurus/ac/controllers/permissions_controller.rb +0 -76
  29. data/lib/authentasaurus/ac/controllers/recoveries_controller.rb +0 -67
  30. data/lib/authentasaurus/ac/controllers/registrations_controller.rb +0 -40
  31. data/lib/authentasaurus/ac/controllers/sessions_controller.rb +0 -57
  32. data/lib/authentasaurus/ac/controllers/user_invitations_controller.rb +0 -45
  33. data/lib/authentasaurus/ac/controllers/users_controller.rb +0 -75
  34. data/lib/authentasaurus/ac/controllers/validations_controller.rb +0 -48
  35. data/lib/authentasaurus/ac/routing.rb +0 -86
  36. data/lib/authentasaurus/ar/acts_as_authenticatable.rb +0 -107
  37. data/lib/authentasaurus/ar/acts_as_authenticatable_validatable.rb +0 -35
  38. data/lib/authentasaurus/ar/acts_as_overrider.rb +0 -49
  39. data/lib/authentasaurus/ar/authenticatable.rb +0 -64
  40. data/lib/authentasaurus/ar/migrations.rb +0 -165
  41. data/lib/authentasaurus/ar/models/recovery.rb +0 -34
  42. data/lib/authentasaurus/ar/models/session.rb +0 -78
  43. data/lib/authentasaurus/ar/models/user_invitation.rb +0 -30
  44. data/lib/authentasaurus/ar/models/validation.rb +0 -27
  45. data/lib/authentasaurus/arel/acts_as_authenticatable.rb +0 -67
  46. data/lib/authentasaurus/arel/authenticatable.rb +0 -21
  47. data/lib/authentasaurus/authorization.rb +0 -344
  48. data/lib/authentasaurus/configuration.rb +0 -30
  49. data/lib/authentasaurus/railtie.rb +0 -10
  50. data/lib/generators/authentasaurus/install/USAGE +0 -5
  51. data/lib/generators/authentasaurus/install/install_generator.rb +0 -10
  52. data/lib/generators/authentasaurus/install/templates/authentasaurus_tasks.rake +0 -48
  53. data/lib/generators/authentasaurus/install/templates/defaults.yml +0 -57
  54. data/lib/generators/authentasaurus/views/USAGE +0 -13
  55. data/lib/generators/authentasaurus/views/templates/areas/edit.html.erb +0 -7
  56. data/lib/generators/authentasaurus/views/templates/areas/index.html.erb +0 -11
  57. data/lib/generators/authentasaurus/views/templates/areas/new.html.erb +0 -7
  58. data/lib/generators/authentasaurus/views/templates/areas/show.html.erb +0 -7
  59. data/lib/generators/authentasaurus/views/templates/authentasaurus_emailer/invitation_mail.html.erb +0 -4
  60. data/lib/generators/authentasaurus/views/templates/authentasaurus_emailer/recovery_mail.html.erb +0 -7
  61. data/lib/generators/authentasaurus/views/templates/authentasaurus_emailer/validation_mail.html.erb +0 -6
  62. data/lib/generators/authentasaurus/views/templates/groups/edit.html.erb +0 -7
  63. data/lib/generators/authentasaurus/views/templates/groups/index.html.erb +0 -11
  64. data/lib/generators/authentasaurus/views/templates/groups/new.html.erb +0 -7
  65. data/lib/generators/authentasaurus/views/templates/groups/show.html.erb +0 -7
  66. data/lib/generators/authentasaurus/views/templates/permissions/edit.html.erb +0 -19
  67. data/lib/generators/authentasaurus/views/templates/permissions/index.html.erb +0 -17
  68. data/lib/generators/authentasaurus/views/templates/permissions/new.html.erb +0 -19
  69. data/lib/generators/authentasaurus/views/templates/permissions/show.html.erb +0 -7
  70. data/lib/generators/authentasaurus/views/templates/recoveries/edit.html.erb +0 -24
  71. data/lib/generators/authentasaurus/views/templates/recoveries/new.html.erb +0 -15
  72. data/lib/generators/authentasaurus/views/templates/registrations/new.html.erb +0 -21
  73. data/lib/generators/authentasaurus/views/templates/sessions/new.html.erb +0 -41
  74. data/lib/generators/authentasaurus/views/templates/sessions/no_access.html.erb +0 -1
  75. data/lib/generators/authentasaurus/views/templates/user_invitations/index.html.erb +0 -14
  76. data/lib/generators/authentasaurus/views/templates/user_invitations/new.html.erb +0 -9
  77. data/lib/generators/authentasaurus/views/templates/users/edit.html.erb +0 -27
  78. data/lib/generators/authentasaurus/views/templates/users/index.html.erb +0 -19
  79. data/lib/generators/authentasaurus/views/templates/users/new.html.erb +0 -27
  80. data/lib/generators/authentasaurus/views/templates/users/show.html.erb +0 -11
  81. data/lib/generators/authentasaurus/views/templates/validations/resend_validation_email.html.erb +0 -6
  82. data/lib/generators/authentasaurus/views/templates/validations/validate.html.erb +0 -6
  83. data/lib/generators/authentasaurus/views/views_generator.rb +0 -76
  84. data/rdoc/apple-touch-icon.png +0 -0
  85. data/rdoc/classes/Authentasaurus.html +0 -65
  86. data/rdoc/classes/Authentasaurus/Ac.html +0 -72
  87. data/rdoc/classes/Authentasaurus/Ac/ActsAsOverrider.html +0 -104
  88. data/rdoc/classes/Authentasaurus/Ac/ActsAsOverrider/ClassMethods.html +0 -397
  89. data/rdoc/classes/Authentasaurus/Ac/Routing.html +0 -61
  90. data/rdoc/classes/Authentasaurus/Ac/Routing/InstanceMethods.html +0 -390
  91. data/rdoc/classes/Authentasaurus/Ar.html +0 -77
  92. data/rdoc/classes/Authentasaurus/Ar/ActsAsAuthenticatable.html +0 -107
  93. data/rdoc/classes/Authentasaurus/Ar/ActsAsAuthenticatable/ClassMethods.html +0 -168
  94. data/rdoc/classes/Authentasaurus/Ar/ActsAsAuthenticatable/InstanceMethods.html +0 -357
  95. data/rdoc/classes/Authentasaurus/Ar/ActsAsAuthenticatableValidatable.html +0 -109
  96. data/rdoc/classes/Authentasaurus/Ar/ActsAsAuthenticatableValidatable/ClassMethods.html +0 -113
  97. data/rdoc/classes/Authentasaurus/Ar/ActsAsAuthenticatableValidatable/InstanceMethods.html +0 -54
  98. data/rdoc/classes/Authentasaurus/Ar/ActsAsOverrider.html +0 -104
  99. data/rdoc/classes/Authentasaurus/Ar/ActsAsOverrider/ClassMethods.html +0 -320
  100. data/rdoc/classes/Authentasaurus/Ar/Authenticatable.html +0 -104
  101. data/rdoc/classes/Authentasaurus/Ar/Authenticatable/ClassMethods.html +0 -182
  102. data/rdoc/classes/Authentasaurus/Ar/Migrations.html +0 -63
  103. data/rdoc/classes/Authentasaurus/Ar/Migrations/Columns.html +0 -68
  104. data/rdoc/classes/Authentasaurus/Ar/Migrations/Columns/InstanceMethods.html +0 -106
  105. data/rdoc/classes/Authentasaurus/Ar/Migrations/Tables.html +0 -68
  106. data/rdoc/classes/Authentasaurus/Ar/Migrations/Tables/InstanceMethods.html +0 -703
  107. data/rdoc/classes/Authentasaurus/Arel.html +0 -65
  108. data/rdoc/classes/Authentasaurus/Arel/ActsAsAuthenticatable.html +0 -107
  109. data/rdoc/classes/Authentasaurus/Arel/ActsAsAuthenticatable/ClassMethods.html +0 -139
  110. data/rdoc/classes/Authentasaurus/Arel/ActsAsAuthenticatable/InstanceMethods.html +0 -113
  111. data/rdoc/classes/Authentasaurus/Arel/Authenticatable.html +0 -105
  112. data/rdoc/classes/Authentasaurus/Arel/Authenticatable/ClassMethods.html +0 -119
  113. data/rdoc/classes/Authentasaurus/Authorization.html +0 -230
  114. data/rdoc/classes/Authentasaurus/Authorization/ActionController.html +0 -63
  115. data/rdoc/classes/Authentasaurus/Authorization/ActionController/ClassMethods.html +0 -263
  116. data/rdoc/classes/Authentasaurus/Authorization/ActionController/InstanceMethods.html +0 -54
  117. data/rdoc/classes/Authentasaurus/Authorization/ActionView.html +0 -54
  118. data/rdoc/classes/Authentasaurus/Authorization/CommonInstanceMethods.html +0 -240
  119. data/rdoc/created.rid +0 -1
  120. data/rdoc/css/main.css +0 -278
  121. data/rdoc/css/panel.css +0 -383
  122. data/rdoc/css/reset.css +0 -53
  123. data/rdoc/favicon.ico +0 -0
  124. data/rdoc/files/README_rdoc.html +0 -366
  125. data/rdoc/files/TODO.html +0 -64
  126. data/rdoc/files/lib/authentasaurus/ac/acts_as_overrider_rb.html +0 -52
  127. data/rdoc/files/lib/authentasaurus/ac/routing_rb.html +0 -60
  128. data/rdoc/files/lib/authentasaurus/ar/acts_as_authenticatable_rb.html +0 -52
  129. data/rdoc/files/lib/authentasaurus/ar/acts_as_authenticatable_validatable_rb.html +0 -52
  130. data/rdoc/files/lib/authentasaurus/ar/acts_as_overrider_rb.html +0 -52
  131. data/rdoc/files/lib/authentasaurus/ar/authenticatable_rb.html +0 -52
  132. data/rdoc/files/lib/authentasaurus/ar/migrations_rb.html +0 -52
  133. data/rdoc/files/lib/authentasaurus/arel/acts_as_authenticatable_rb.html +0 -52
  134. data/rdoc/files/lib/authentasaurus/arel/authenticatable_rb.html +0 -72
  135. data/rdoc/files/lib/authentasaurus/authorization_rb.html +0 -208
  136. data/rdoc/i/arrows.png +0 -0
  137. data/rdoc/i/results_bg.png +0 -0
  138. data/rdoc/i/tree_bg.png +0 -0
  139. data/rdoc/index.html +0 -15
  140. data/rdoc/js/jquery-1.3.2.min.js +0 -19
  141. data/rdoc/js/jquery-effect.js +0 -593
  142. data/rdoc/js/main.js +0 -22
  143. data/rdoc/js/searchdoc.js +0 -628
  144. data/rdoc/panel/index.html +0 -71
  145. data/rdoc/panel/search_index.js +0 -1
  146. data/rdoc/panel/tree.js +0 -1
@@ -1,390 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <title>Authentasaurus::Ac::Routing::InstanceMethods</title>
7
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
- <link rel="stylesheet" href="../../../../css/reset.css" type="text/css" media="screen" />
9
- <link rel="stylesheet" href="../../../../css/main.css" type="text/css" media="screen" />
10
- <script src="../../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
11
- <script src="../../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
12
- <script src="../../../../js/main.js" type="text/javascript" charset="utf-8"></script>
13
- </head>
14
-
15
- <body>
16
- <div class="banner">
17
- <h1>
18
- <span class="type">Module</span>
19
- Authentasaurus::Ac::Routing::InstanceMethods
20
-
21
- </h1>
22
- <ul class="files">
23
-
24
- <li><a href="../../../../files/lib/authentasaurus/ac/routing_rb.html">lib/authentasaurus/ac/routing.rb</a></li>
25
-
26
- </ul>
27
- </div>
28
- <div id="bodyContent">
29
- <div id="content">
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
- <div class="sectiontitle">Methods</div>
40
- <dl class="methods">
41
-
42
- <dt>A</dt>
43
- <dd>
44
- <ul>
45
-
46
- <li><a href="#M000072">authentasaurus_authorizable</a>,</li>
47
-
48
- <li><a href="#M000074">authentasaurus_invitable</a>,</li>
49
-
50
- <li><a href="#M000075">authentasaurus_invitable_public</a>,</li>
51
-
52
- <li><a href="#M000076">authentasaurus_recoverable</a>,</li>
53
-
54
- <li><a href="#M000059">authentasaurus_routes</a>,</li>
55
-
56
- <li><a href="#M000060">authentasaurus_sessions</a>,</li>
57
-
58
- <li><a href="#M000068">authentasaurus_users</a>,</li>
59
-
60
- <li><a href="#M000073">authentasaurus_validatable</a></li>
61
-
62
- </ul>
63
- </dd>
64
-
65
- </dl>
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
-
78
-
79
- <div class="sectiontitle">Instance Public methods</div>
80
-
81
- <div class="method">
82
- <div class="title" id="M000072">
83
-
84
- <a name="M000072"></a><b>authentasaurus_authorizable</b>(*opts)
85
-
86
- </div>
87
-
88
- <div class="description">
89
- <p>
90
- TODO: add documentation here
91
- </p>
92
-
93
- </div>
94
-
95
-
96
-
97
-
98
- <div class="sourcecode">
99
- <p class="source-link">
100
- Source: <a href="javascript:toggleSource('M000072_source')" id="l_M000072_source">show</a>
101
-
102
- | <a href="http://github.com/cousine/Authentasuarus-2/blob/9f35019b78d87fdf386c9d64834171263868b8aa/lib/authentasaurus/ac/routing.rb#L52" target="_blank" class="github_url">on GitHub</a>
103
-
104
- </p>
105
- <div id="M000072_source" class="dyn-source">
106
- <pre><span class="ruby-comment cmt"># File lib/authentasaurus/ac/routing.rb, line 52</span>
107
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">authentasaurus_authorizable</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">opts</span>)
108
- <span class="ruby-identifier">options</span> = <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">extract_options!</span>
109
-
110
- <span class="ruby-identifier">resources</span> <span class="ruby-identifier">:groups</span>, <span class="ruby-identifier">options</span>.<span class="ruby-identifier">dup</span>
111
- <span class="ruby-identifier">resources</span> <span class="ruby-identifier">:areas</span>, <span class="ruby-identifier">options</span>.<span class="ruby-identifier">dup</span>
112
- <span class="ruby-identifier">resources</span> <span class="ruby-identifier">:permissions</span>, <span class="ruby-identifier">options</span>.<span class="ruby-identifier">dup</span>
113
- <span class="ruby-keyword kw">end</span></pre>
114
- </div>
115
- </div>
116
-
117
- </div>
118
-
119
- <div class="method">
120
- <div class="title" id="M000074">
121
-
122
- <a name="M000074"></a><b>authentasaurus_invitable</b>(*opts)
123
-
124
- </div>
125
-
126
- <div class="description">
127
- <p>
128
- TODO: add documentation here
129
- </p>
130
-
131
- </div>
132
-
133
-
134
-
135
-
136
- <div class="sourcecode">
137
- <p class="source-link">
138
- Source: <a href="javascript:toggleSource('M000074_source')" id="l_M000074_source">show</a>
139
-
140
- | <a href="http://github.com/cousine/Authentasuarus-2/blob/9f35019b78d87fdf386c9d64834171263868b8aa/lib/authentasaurus/ac/routing.rb#L69" target="_blank" class="github_url">on GitHub</a>
141
-
142
- </p>
143
- <div id="M000074_source" class="dyn-source">
144
- <pre><span class="ruby-comment cmt"># File lib/authentasaurus/ac/routing.rb, line 69</span>
145
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">authentasaurus_invitable</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">opts</span>)
146
- <span class="ruby-identifier">options</span> = <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">extract_options!</span>
147
-
148
- <span class="ruby-identifier">resources</span> <span class="ruby-identifier">:user_invitations</span>, <span class="ruby-identifier">options</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">merge</span>({<span class="ruby-identifier">:except</span> =<span class="ruby-operator">&gt;</span> [<span class="ruby-identifier">:show</span>, <span class="ruby-identifier">:edit</span>, <span class="ruby-identifier">:update</span>]})
149
- <span class="ruby-keyword kw">end</span></pre>
150
- </div>
151
- </div>
152
-
153
- </div>
154
-
155
- <div class="method">
156
- <div class="title" id="M000075">
157
-
158
- <a name="M000075"></a><b>authentasaurus_invitable_public</b>(*opts)
159
-
160
- </div>
161
-
162
-
163
-
164
-
165
- <div class="sourcecode">
166
- <p class="source-link">
167
- Source: <a href="javascript:toggleSource('M000075_source')" id="l_M000075_source">show</a>
168
-
169
- | <a href="http://github.com/cousine/Authentasuarus-2/blob/9f35019b78d87fdf386c9d64834171263868b8aa/lib/authentasaurus/ac/routing.rb#L75" target="_blank" class="github_url">on GitHub</a>
170
-
171
- </p>
172
- <div id="M000075_source" class="dyn-source">
173
- <pre><span class="ruby-comment cmt"># File lib/authentasaurus/ac/routing.rb, line 75</span>
174
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">authentasaurus_invitable_public</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">opts</span>)
175
- <span class="ruby-identifier">options</span> = <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">extract_options!</span>
176
-
177
- <span class="ruby-identifier">resources</span> <span class="ruby-identifier">:registrations</span>, <span class="ruby-identifier">:only</span> =<span class="ruby-operator">&gt;</span> [<span class="ruby-identifier">:new</span>, <span class="ruby-identifier">:create</span>], <span class="ruby-identifier">:path_prefix</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;/:token&quot;</span>, <span class="ruby-identifier">:requirements</span> =<span class="ruby-operator">&gt;</span> {<span class="ruby-identifier">:token</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-regexp re">/[0-9a-zA-Z]+/</span>}
178
- <span class="ruby-keyword kw">end</span></pre>
179
- </div>
180
- </div>
181
-
182
- </div>
183
-
184
- <div class="method">
185
- <div class="title" id="M000076">
186
-
187
- <a name="M000076"></a><b>authentasaurus_recoverable</b>()
188
-
189
- </div>
190
-
191
- <div class="description">
192
- <p>
193
- TODO: add documentation here
194
- </p>
195
-
196
- </div>
197
-
198
-
199
-
200
-
201
- <div class="sourcecode">
202
- <p class="source-link">
203
- Source: <a href="javascript:toggleSource('M000076_source')" id="l_M000076_source">show</a>
204
-
205
- | <a href="http://github.com/cousine/Authentasuarus-2/blob/9f35019b78d87fdf386c9d64834171263868b8aa/lib/authentasaurus/ac/routing.rb#L82" target="_blank" class="github_url">on GitHub</a>
206
-
207
- </p>
208
- <div id="M000076_source" class="dyn-source">
209
- <pre><span class="ruby-comment cmt"># File lib/authentasaurus/ac/routing.rb, line 82</span>
210
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">authentasaurus_recoverable</span>
211
- <span class="ruby-identifier">match</span> <span class="ruby-value str">&quot;/forgot-password&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;recoveries#new&quot;</span>, <span class="ruby-identifier">:via</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">:get</span>, <span class="ruby-identifier">:as</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'forgot_password'</span>
212
- <span class="ruby-identifier">match</span> <span class="ruby-value str">&quot;/forgot-password&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;recoveries#create&quot;</span>, <span class="ruby-identifier">:via</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">:post</span>, <span class="ruby-identifier">:as</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'do_forgot_password'</span>
213
- <span class="ruby-identifier">match</span> <span class="ruby-value str">&quot;/recover-password/:token&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;recoveries#edit&quot;</span>, <span class="ruby-identifier">:via</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">:get</span>, <span class="ruby-identifier">:as</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'recover_password'</span>
214
- <span class="ruby-identifier">match</span> <span class="ruby-value str">&quot;/recover-password/:token&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;recoveries#destroy&quot;</span>, <span class="ruby-identifier">:via</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">:delete</span>, <span class="ruby-identifier">:as</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'do_recover_password'</span>
215
- <span class="ruby-keyword kw">end</span></pre>
216
- </div>
217
- </div>
218
-
219
- </div>
220
-
221
- <div class="method">
222
- <div class="title" id="M000059">
223
-
224
- <a name="M000059"></a><b>authentasaurus_routes</b>(*opts)
225
-
226
- </div>
227
-
228
- <div class="description">
229
- <p>
230
- TODO: add documentation here
231
- </p>
232
-
233
- </div>
234
-
235
-
236
-
237
-
238
- <div class="sourcecode">
239
- <p class="source-link">
240
- Source: <a href="javascript:toggleSource('M000059_source')" id="l_M000059_source">show</a>
241
-
242
- | <a href="http://github.com/cousine/Authentasuarus-2/blob/9f35019b78d87fdf386c9d64834171263868b8aa/lib/authentasaurus/ac/routing.rb#L10" target="_blank" class="github_url">on GitHub</a>
243
-
244
- </p>
245
- <div id="M000059_source" class="dyn-source">
246
- <pre><span class="ruby-comment cmt"># File lib/authentasaurus/ac/routing.rb, line 10</span>
247
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">authentasaurus_routes</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">opts</span>)
248
- <span class="ruby-identifier">options</span> = <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">extract_options!</span>
249
-
250
- <span class="ruby-comment cmt"># Authenticatable</span>
251
- <span class="ruby-identifier">authentasaurus_sessions</span> <span class="ruby-identifier">options</span>.<span class="ruby-identifier">dup</span>
252
- <span class="ruby-identifier">authentasaurus_users</span> <span class="ruby-identifier">options</span>.<span class="ruby-identifier">dup</span>
253
- <span class="ruby-comment cmt"># Recoverable</span>
254
- <span class="ruby-identifier">authentasaurus_recoverable</span>
255
-
256
- <span class="ruby-comment cmt"># Authorizable</span>
257
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">:authorization</span>)
258
- <span class="ruby-identifier">authentasaurus_authorizable</span> <span class="ruby-identifier">options</span>.<span class="ruby-identifier">dup</span>
259
- <span class="ruby-keyword kw">end</span>
260
-
261
- <span class="ruby-comment cmt"># Validatable</span>
262
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">:validation</span>)
263
- <span class="ruby-identifier">authentasaurus_validatable</span>
264
- <span class="ruby-keyword kw">end</span>
265
-
266
- <span class="ruby-comment cmt"># Invitable</span>
267
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-identifier">:invitation</span>)
268
- <span class="ruby-identifier">authentasaurus_invitable</span> <span class="ruby-identifier">options</span>.<span class="ruby-identifier">dup</span>
269
- <span class="ruby-identifier">authentasaurus_invitable_public</span>
270
- <span class="ruby-keyword kw">end</span>
271
- <span class="ruby-keyword kw">end</span></pre>
272
- </div>
273
- </div>
274
-
275
- </div>
276
-
277
- <div class="method">
278
- <div class="title" id="M000060">
279
-
280
- <a name="M000060"></a><b>authentasaurus_sessions</b>(*opts)
281
-
282
- </div>
283
-
284
- <div class="description">
285
- <p>
286
- TODO: add documentation here
287
- </p>
288
-
289
- </div>
290
-
291
-
292
-
293
-
294
- <div class="sourcecode">
295
- <p class="source-link">
296
- Source: <a href="javascript:toggleSource('M000060_source')" id="l_M000060_source">show</a>
297
-
298
- | <a href="http://github.com/cousine/Authentasuarus-2/blob/9f35019b78d87fdf386c9d64834171263868b8aa/lib/authentasaurus/ac/routing.rb#L37" target="_blank" class="github_url">on GitHub</a>
299
-
300
- </p>
301
- <div id="M000060_source" class="dyn-source">
302
- <pre><span class="ruby-comment cmt"># File lib/authentasaurus/ac/routing.rb, line 37</span>
303
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">authentasaurus_sessions</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">opts</span>)
304
- <span class="ruby-identifier">get</span> <span class="ruby-value str">&quot;/sessions/sign-in(.:format)&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;sessions#new&quot;</span>, <span class="ruby-identifier">:as</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">:new_session</span>
305
- <span class="ruby-identifier">post</span> <span class="ruby-value str">&quot;/sessions(.:format)&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;sessions#create&quot;</span>, <span class="ruby-identifier">:as</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">:sessions</span>
306
- <span class="ruby-identifier">delete</span> <span class="ruby-value str">&quot;/sessions/sign-out(.:format)&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;sessions#destroy&quot;</span>, <span class="ruby-identifier">:as</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">:session</span>
307
- <span class="ruby-identifier">get</span> <span class="ruby-value str">&quot;/sessions/no-access(.:format)&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;sessions#no_access&quot;</span>, <span class="ruby-identifier">:as</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">:no_access_sessions</span>
308
- <span class="ruby-keyword kw">end</span></pre>
309
- </div>
310
- </div>
311
-
312
- </div>
313
-
314
- <div class="method">
315
- <div class="title" id="M000068">
316
-
317
- <a name="M000068"></a><b>authentasaurus_users</b>(*opts)
318
-
319
- </div>
320
-
321
- <div class="description">
322
- <p>
323
- TODO: add documentation here
324
- </p>
325
-
326
- </div>
327
-
328
-
329
-
330
-
331
- <div class="sourcecode">
332
- <p class="source-link">
333
- Source: <a href="javascript:toggleSource('M000068_source')" id="l_M000068_source">show</a>
334
-
335
- | <a href="http://github.com/cousine/Authentasuarus-2/blob/9f35019b78d87fdf386c9d64834171263868b8aa/lib/authentasaurus/ac/routing.rb#L45" target="_blank" class="github_url">on GitHub</a>
336
-
337
- </p>
338
- <div id="M000068_source" class="dyn-source">
339
- <pre><span class="ruby-comment cmt"># File lib/authentasaurus/ac/routing.rb, line 45</span>
340
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">authentasaurus_users</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">opts</span>)
341
- <span class="ruby-identifier">options</span> = <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">extract_options!</span>
342
-
343
- <span class="ruby-identifier">resources</span> <span class="ruby-identifier">:users</span>, <span class="ruby-identifier">options</span>.<span class="ruby-identifier">dup</span>
344
- <span class="ruby-keyword kw">end</span></pre>
345
- </div>
346
- </div>
347
-
348
- </div>
349
-
350
- <div class="method">
351
- <div class="title" id="M000073">
352
-
353
- <a name="M000073"></a><b>authentasaurus_validatable</b>()
354
-
355
- </div>
356
-
357
- <div class="description">
358
- <p>
359
- TODO: add documentation here
360
- </p>
361
-
362
- </div>
363
-
364
-
365
-
366
-
367
- <div class="sourcecode">
368
- <p class="source-link">
369
- Source: <a href="javascript:toggleSource('M000073_source')" id="l_M000073_source">show</a>
370
-
371
- | <a href="http://github.com/cousine/Authentasuarus-2/blob/9f35019b78d87fdf386c9d64834171263868b8aa/lib/authentasaurus/ac/routing.rb#L61" target="_blank" class="github_url">on GitHub</a>
372
-
373
- </p>
374
- <div id="M000073_source" class="dyn-source">
375
- <pre><span class="ruby-comment cmt"># File lib/authentasaurus/ac/routing.rb, line 61</span>
376
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">authentasaurus_validatable</span>
377
- <span class="ruby-identifier">match</span> <span class="ruby-value str">&quot;/validate&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;validations#validate&quot;</span>, <span class="ruby-identifier">:as</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'validate'</span>
378
- <span class="ruby-identifier">match</span> <span class="ruby-value str">&quot;/activate&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;validations#activate&quot;</span>, <span class="ruby-identifier">:as</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'activate'</span>
379
- <span class="ruby-identifier">match</span> <span class="ruby-value str">&quot;/resend-validation&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;validations#resend_validation_email&quot;</span>, <span class="ruby-identifier">:via</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">:get</span>, <span class="ruby-identifier">:as</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'recover_password'</span>
380
- <span class="ruby-identifier">match</span> <span class="ruby-value str">&quot;/resend-validation&quot;</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;validations#do_resend_validation_email&quot;</span>, <span class="ruby-identifier">:via</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">:post</span>, <span class="ruby-identifier">:as</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'do_recover_password'</span>
381
- <span class="ruby-keyword kw">end</span></pre>
382
- </div>
383
- </div>
384
-
385
- </div>
386
-
387
- </div>
388
- </div>
389
- </body>
390
- </html>
@@ -1,77 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <title>Authentasaurus::Ar</title>
7
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
- <link rel="stylesheet" href="../../css/reset.css" type="text/css" media="screen" />
9
- <link rel="stylesheet" href="../../css/main.css" type="text/css" media="screen" />
10
- <script src="../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
11
- <script src="../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
12
- <script src="../../js/main.js" type="text/javascript" charset="utf-8"></script>
13
- </head>
14
-
15
- <body>
16
- <div class="banner">
17
- <h1>
18
- <span class="type">Module</span>
19
- Authentasaurus::Ar
20
-
21
- </h1>
22
- <ul class="files">
23
-
24
- <li><a href="../../files/lib/authentasaurus/ar/authenticatable_rb.html">lib/authentasaurus/ar/authenticatable.rb</a></li>
25
-
26
- <li><a href="../../files/lib/authentasaurus/ar/migrations_rb.html">lib/authentasaurus/ar/migrations.rb</a></li>
27
-
28
- <li><a href="../../files/lib/authentasaurus/ar/acts_as_authenticatable_rb.html">lib/authentasaurus/ar/acts_as_authenticatable.rb</a></li>
29
-
30
- <li><a href="../../files/lib/authentasaurus/ar/acts_as_authenticatable_validatable_rb.html">lib/authentasaurus/ar/acts_as_authenticatable_validatable.rb</a></li>
31
-
32
- <li><a href="../../files/lib/authentasaurus/ar/acts_as_overrider_rb.html">lib/authentasaurus/ar/acts_as_overrider.rb</a></li>
33
-
34
- </ul>
35
- </div>
36
- <div id="bodyContent">
37
- <div id="content">
38
-
39
-
40
-
41
-
42
-
43
-
44
-
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
-
53
- <div class="sectiontitle">Classes and Modules</div>
54
- <ul>
55
-
56
- <li><span class="type">MODULE</span> <a href="Ar/ActsAsAuthenticatable.html">Authentasaurus::Ar::ActsAsAuthenticatable</a></li>
57
-
58
- <li><span class="type">MODULE</span> <a href="Ar/ActsAsAuthenticatableValidatable.html">Authentasaurus::Ar::ActsAsAuthenticatableValidatable</a></li>
59
-
60
- <li><span class="type">MODULE</span> <a href="Ar/ActsAsOverrider.html">Authentasaurus::Ar::ActsAsOverrider</a></li>
61
-
62
- <li><span class="type">MODULE</span> <a href="Ar/Authenticatable.html">Authentasaurus::Ar::Authenticatable</a></li>
63
-
64
- <li><span class="type">MODULE</span> <a href="Ar/Migrations.html">Authentasaurus::Ar::Migrations</a></li>
65
-
66
- </ul>
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
- </div>
75
- </div>
76
- </body>
77
- </html>