authentasaurus 0.8.8 → 0.8.9
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELIST +2 -6
- data/TODO +0 -5
- data/app/controllers/areas_controller.rb +1 -1
- data/app/controllers/groups_controller.rb +1 -1
- data/app/controllers/permissions_controller.rb +1 -1
- data/app/controllers/recoveries_controller.rb +1 -1
- data/app/controllers/registrations_controller.rb +1 -1
- data/app/controllers/sessions_controller.rb +2 -2
- data/app/controllers/user_invitations_controller.rb +1 -1
- data/app/controllers/users_controller.rb +1 -1
- data/app/controllers/validations_controller.rb +1 -1
- data/app/models/area.rb +1 -1
- data/app/models/authentasaurus_emailer.rb +6 -6
- data/app/models/group.rb +1 -1
- data/app/models/permission.rb +1 -1
- data/app/models/recovery.rb +1 -1
- data/app/models/user_invitation.rb +1 -1
- data/app/models/validation.rb +1 -1
- data/app/views/authentasaurus_emailer/invitation_mail.html.erb +2 -2
- data/app/views/authentasaurus_emailer/recovery_mail.html.erb +2 -2
- data/app/views/authentasaurus_emailer/validation_mail.html.erb +2 -2
- data/lib/authentasaurus.rb +18 -52
- metadata +2 -136
- data/app/models/authentasaurus_session.rb +0 -3
- data/lib/authentasaurus/ac/acts_as_overrider.rb +0 -48
- data/lib/authentasaurus/ac/controllers/areas_controller.rb +0 -75
- data/lib/authentasaurus/ac/controllers/groups_controller.rb +0 -77
- data/lib/authentasaurus/ac/controllers/permissions_controller.rb +0 -76
- data/lib/authentasaurus/ac/controllers/recoveries_controller.rb +0 -67
- data/lib/authentasaurus/ac/controllers/registrations_controller.rb +0 -40
- data/lib/authentasaurus/ac/controllers/sessions_controller.rb +0 -57
- data/lib/authentasaurus/ac/controllers/user_invitations_controller.rb +0 -45
- data/lib/authentasaurus/ac/controllers/users_controller.rb +0 -75
- data/lib/authentasaurus/ac/controllers/validations_controller.rb +0 -48
- data/lib/authentasaurus/ac/routing.rb +0 -86
- data/lib/authentasaurus/ar/acts_as_authenticatable.rb +0 -107
- data/lib/authentasaurus/ar/acts_as_authenticatable_validatable.rb +0 -35
- data/lib/authentasaurus/ar/acts_as_overrider.rb +0 -49
- data/lib/authentasaurus/ar/authenticatable.rb +0 -64
- data/lib/authentasaurus/ar/migrations.rb +0 -165
- data/lib/authentasaurus/ar/models/recovery.rb +0 -34
- data/lib/authentasaurus/ar/models/session.rb +0 -78
- data/lib/authentasaurus/ar/models/user_invitation.rb +0 -30
- data/lib/authentasaurus/ar/models/validation.rb +0 -27
- data/lib/authentasaurus/arel/acts_as_authenticatable.rb +0 -67
- data/lib/authentasaurus/arel/authenticatable.rb +0 -21
- data/lib/authentasaurus/authorization.rb +0 -344
- data/lib/authentasaurus/configuration.rb +0 -30
- data/lib/authentasaurus/railtie.rb +0 -10
- data/lib/generators/authentasaurus/install/USAGE +0 -5
- data/lib/generators/authentasaurus/install/install_generator.rb +0 -10
- data/lib/generators/authentasaurus/install/templates/authentasaurus_tasks.rake +0 -48
- data/lib/generators/authentasaurus/install/templates/defaults.yml +0 -57
- data/lib/generators/authentasaurus/views/USAGE +0 -13
- data/lib/generators/authentasaurus/views/templates/areas/edit.html.erb +0 -7
- data/lib/generators/authentasaurus/views/templates/areas/index.html.erb +0 -11
- data/lib/generators/authentasaurus/views/templates/areas/new.html.erb +0 -7
- data/lib/generators/authentasaurus/views/templates/areas/show.html.erb +0 -7
- data/lib/generators/authentasaurus/views/templates/authentasaurus_emailer/invitation_mail.html.erb +0 -4
- data/lib/generators/authentasaurus/views/templates/authentasaurus_emailer/recovery_mail.html.erb +0 -7
- data/lib/generators/authentasaurus/views/templates/authentasaurus_emailer/validation_mail.html.erb +0 -6
- data/lib/generators/authentasaurus/views/templates/groups/edit.html.erb +0 -7
- data/lib/generators/authentasaurus/views/templates/groups/index.html.erb +0 -11
- data/lib/generators/authentasaurus/views/templates/groups/new.html.erb +0 -7
- data/lib/generators/authentasaurus/views/templates/groups/show.html.erb +0 -7
- data/lib/generators/authentasaurus/views/templates/permissions/edit.html.erb +0 -19
- data/lib/generators/authentasaurus/views/templates/permissions/index.html.erb +0 -17
- data/lib/generators/authentasaurus/views/templates/permissions/new.html.erb +0 -19
- data/lib/generators/authentasaurus/views/templates/permissions/show.html.erb +0 -7
- data/lib/generators/authentasaurus/views/templates/recoveries/edit.html.erb +0 -24
- data/lib/generators/authentasaurus/views/templates/recoveries/new.html.erb +0 -15
- data/lib/generators/authentasaurus/views/templates/registrations/new.html.erb +0 -21
- data/lib/generators/authentasaurus/views/templates/sessions/new.html.erb +0 -41
- data/lib/generators/authentasaurus/views/templates/sessions/no_access.html.erb +0 -1
- data/lib/generators/authentasaurus/views/templates/user_invitations/index.html.erb +0 -14
- data/lib/generators/authentasaurus/views/templates/user_invitations/new.html.erb +0 -9
- data/lib/generators/authentasaurus/views/templates/users/edit.html.erb +0 -27
- data/lib/generators/authentasaurus/views/templates/users/index.html.erb +0 -19
- data/lib/generators/authentasaurus/views/templates/users/new.html.erb +0 -27
- data/lib/generators/authentasaurus/views/templates/users/show.html.erb +0 -11
- data/lib/generators/authentasaurus/views/templates/validations/resend_validation_email.html.erb +0 -6
- data/lib/generators/authentasaurus/views/templates/validations/validate.html.erb +0 -6
- data/lib/generators/authentasaurus/views/views_generator.rb +0 -76
- data/rdoc/apple-touch-icon.png +0 -0
- data/rdoc/classes/Authentasaurus.html +0 -65
- data/rdoc/classes/Authentasaurus/Ac.html +0 -72
- data/rdoc/classes/Authentasaurus/Ac/ActsAsOverrider.html +0 -104
- data/rdoc/classes/Authentasaurus/Ac/ActsAsOverrider/ClassMethods.html +0 -397
- data/rdoc/classes/Authentasaurus/Ac/Routing.html +0 -61
- data/rdoc/classes/Authentasaurus/Ac/Routing/InstanceMethods.html +0 -390
- data/rdoc/classes/Authentasaurus/Ar.html +0 -77
- data/rdoc/classes/Authentasaurus/Ar/ActsAsAuthenticatable.html +0 -107
- data/rdoc/classes/Authentasaurus/Ar/ActsAsAuthenticatable/ClassMethods.html +0 -168
- data/rdoc/classes/Authentasaurus/Ar/ActsAsAuthenticatable/InstanceMethods.html +0 -357
- data/rdoc/classes/Authentasaurus/Ar/ActsAsAuthenticatableValidatable.html +0 -109
- data/rdoc/classes/Authentasaurus/Ar/ActsAsAuthenticatableValidatable/ClassMethods.html +0 -113
- data/rdoc/classes/Authentasaurus/Ar/ActsAsAuthenticatableValidatable/InstanceMethods.html +0 -54
- data/rdoc/classes/Authentasaurus/Ar/ActsAsOverrider.html +0 -104
- data/rdoc/classes/Authentasaurus/Ar/ActsAsOverrider/ClassMethods.html +0 -320
- data/rdoc/classes/Authentasaurus/Ar/Authenticatable.html +0 -104
- data/rdoc/classes/Authentasaurus/Ar/Authenticatable/ClassMethods.html +0 -182
- data/rdoc/classes/Authentasaurus/Ar/Migrations.html +0 -63
- data/rdoc/classes/Authentasaurus/Ar/Migrations/Columns.html +0 -68
- data/rdoc/classes/Authentasaurus/Ar/Migrations/Columns/InstanceMethods.html +0 -106
- data/rdoc/classes/Authentasaurus/Ar/Migrations/Tables.html +0 -68
- data/rdoc/classes/Authentasaurus/Ar/Migrations/Tables/InstanceMethods.html +0 -703
- data/rdoc/classes/Authentasaurus/Arel.html +0 -65
- data/rdoc/classes/Authentasaurus/Arel/ActsAsAuthenticatable.html +0 -107
- data/rdoc/classes/Authentasaurus/Arel/ActsAsAuthenticatable/ClassMethods.html +0 -139
- data/rdoc/classes/Authentasaurus/Arel/ActsAsAuthenticatable/InstanceMethods.html +0 -113
- data/rdoc/classes/Authentasaurus/Arel/Authenticatable.html +0 -105
- data/rdoc/classes/Authentasaurus/Arel/Authenticatable/ClassMethods.html +0 -119
- data/rdoc/classes/Authentasaurus/Authorization.html +0 -230
- data/rdoc/classes/Authentasaurus/Authorization/ActionController.html +0 -63
- data/rdoc/classes/Authentasaurus/Authorization/ActionController/ClassMethods.html +0 -263
- data/rdoc/classes/Authentasaurus/Authorization/ActionController/InstanceMethods.html +0 -54
- data/rdoc/classes/Authentasaurus/Authorization/ActionView.html +0 -54
- data/rdoc/classes/Authentasaurus/Authorization/CommonInstanceMethods.html +0 -240
- data/rdoc/created.rid +0 -1
- data/rdoc/css/main.css +0 -278
- data/rdoc/css/panel.css +0 -383
- data/rdoc/css/reset.css +0 -53
- data/rdoc/favicon.ico +0 -0
- data/rdoc/files/README_rdoc.html +0 -366
- data/rdoc/files/TODO.html +0 -64
- data/rdoc/files/lib/authentasaurus/ac/acts_as_overrider_rb.html +0 -52
- data/rdoc/files/lib/authentasaurus/ac/routing_rb.html +0 -60
- data/rdoc/files/lib/authentasaurus/ar/acts_as_authenticatable_rb.html +0 -52
- data/rdoc/files/lib/authentasaurus/ar/acts_as_authenticatable_validatable_rb.html +0 -52
- data/rdoc/files/lib/authentasaurus/ar/acts_as_overrider_rb.html +0 -52
- data/rdoc/files/lib/authentasaurus/ar/authenticatable_rb.html +0 -52
- data/rdoc/files/lib/authentasaurus/ar/migrations_rb.html +0 -52
- data/rdoc/files/lib/authentasaurus/arel/acts_as_authenticatable_rb.html +0 -52
- data/rdoc/files/lib/authentasaurus/arel/authenticatable_rb.html +0 -72
- data/rdoc/files/lib/authentasaurus/authorization_rb.html +0 -208
- data/rdoc/i/arrows.png +0 -0
- data/rdoc/i/results_bg.png +0 -0
- data/rdoc/i/tree_bg.png +0 -0
- data/rdoc/index.html +0 -15
- data/rdoc/js/jquery-1.3.2.min.js +0 -19
- data/rdoc/js/jquery-effect.js +0 -593
- data/rdoc/js/main.js +0 -22
- data/rdoc/js/searchdoc.js +0 -628
- data/rdoc/panel/index.html +0 -71
- data/rdoc/panel/search_index.js +0 -1
- data/rdoc/panel/tree.js +0 -1
data/CHANGELIST
CHANGED
@@ -1,7 +1,3 @@
|
|
1
|
-
=Version 0.
|
1
|
+
=Version 0.4.14 > 0.5.4
|
2
2
|
|
3
|
-
*
|
4
|
-
* Improved configuration access
|
5
|
-
* Added user_model option to specify the default user model application wide
|
6
|
-
* Changed views generator template path to app instead of lib/generators/authentasaurus/views/templates
|
7
|
-
* Prefixed session model and routes with authentasaurus to avoid name collisions
|
3
|
+
* Improved inheritance of models by adding _model to all models in the libs folder
|
data/TODO
CHANGED
@@ -1,8 +1,3 @@
|
|
1
|
-
* Integrate with ActiveModel instead of ActiveRecord
|
2
|
-
* Complete documentation
|
3
|
-
* Add HAML support
|
4
|
-
--
|
5
|
-
* Convert mixins to use ActiveSupport::Concern [DONE]
|
6
1
|
* Update views to use the new flash convention [DONE]
|
7
2
|
* flash[:notice] for information messages [DONE]
|
8
3
|
* flash[:alert] for error messages [DONE]
|
@@ -1,3 +1,3 @@
|
|
1
1
|
class SessionsController < ApplicationController
|
2
|
-
|
3
|
-
end
|
2
|
+
include Authentasaurus::SessionsController
|
3
|
+
end
|
data/app/models/area.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
class AuthentasaurusEmailer < ActionMailer::Base
|
2
2
|
def validation_mail(name, email, validation_code, sent_at = Time.now)
|
3
|
-
subject
|
3
|
+
subject AUTHENTASAURUS[:modules][:validatable][:mail_subject]
|
4
4
|
recipients email
|
5
|
-
from
|
5
|
+
from AUTHENTASAURUS[:modules][:validatable][:mail_from]
|
6
6
|
sent_on sent_at
|
7
7
|
|
8
8
|
body :name => name, :vcode => validation_code
|
@@ -10,9 +10,9 @@ class AuthentasaurusEmailer < ActionMailer::Base
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def recovery_mail(user, token, sent_at = Time.now)
|
13
|
-
subject
|
13
|
+
subject AUTHENTASAURUS[:modules][:recoverable][:mail_subject]
|
14
14
|
recipients user.email
|
15
|
-
from
|
15
|
+
from AUTHENTASAURUS[:modules][:recoverable][:mail_from] # dont forget to change me
|
16
16
|
sent_on sent_at
|
17
17
|
|
18
18
|
body :name => user.name, :token => token
|
@@ -20,9 +20,9 @@ class AuthentasaurusEmailer < ActionMailer::Base
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def invitation_mail(email, token, sent_at = Time.now)
|
23
|
-
subject
|
23
|
+
subject AUTHENTASAURUS[:modules][:invitable][:mail_subject]
|
24
24
|
recipients email
|
25
|
-
from
|
25
|
+
from AUTHENTASAURUS[:modules][:invitable][:mail_from]
|
26
26
|
sent_on sent_at
|
27
27
|
|
28
28
|
body :token => token
|
data/app/models/group.rb
CHANGED
data/app/models/permission.rb
CHANGED
data/app/models/recovery.rb
CHANGED
data/app/models/validation.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<p>You've been invited to create an account at <%=
|
1
|
+
<p>You've been invited to create an account at <%= AUTHENTASAURUS[:mail][:host] %> follow this <%= link_to "link", new_registrations_url(:host => AUTHENTASAURUS[:mail][:host], :token => @token) %> to respond to the invitation.</p>
|
2
2
|
|
3
3
|
<p>Best Regards,</p>
|
4
|
-
<p><%=
|
4
|
+
<p><%= AUTHENTASAURUS[:mail][:host] %> Team</p>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<p>Dear <%= @name %>,</p>
|
2
2
|
|
3
3
|
<p>A request has been made to recover your account's password.</p>
|
4
|
-
<p>Please visit this <%= link_to "link", recover_password_url(:host =>
|
4
|
+
<p>Please visit this <%= link_to "link", recover_password_url(:host => AUTHENTASAURUS[:mail][:host], :token => @token) %> and follow the instructions.</p>
|
5
5
|
|
6
6
|
<p>Best Regards,</p>
|
7
|
-
<p><%=
|
7
|
+
<p><%= AUTHENTASAURUS[:mail][:host] %> Team</p>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<p>Dear <%= @name %>,</p>
|
2
2
|
|
3
|
-
<p>Please validate your account at <%=
|
3
|
+
<p>Please validate your account at <%= AUTHENTASAURUS[:mail][:host] %> by visiting this <%= link_to "link", activate_url(:host => AUTHENTASAURUS[:mail][:host] , :code => @vcode) %>.</p>
|
4
4
|
|
5
5
|
<p>Best Regards,</p>
|
6
|
-
<p><%=
|
6
|
+
<p><%= AUTHENTASAURUS[:mail][:host] %> Team</p>
|
data/lib/authentasaurus.rb
CHANGED
@@ -1,55 +1,21 @@
|
|
1
|
-
module Authentasaurus
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
if defined?(ActionController)
|
20
|
-
class ActionController::Base
|
21
|
-
include Authentasaurus::Authorization::ActionController
|
22
|
-
include Authentasaurus::Ac::ActsAsOverrider
|
23
|
-
end
|
24
|
-
|
25
|
-
class ActionView::Base
|
26
|
-
include Authentasaurus::Authorization::ActionView
|
27
|
-
end
|
28
|
-
|
29
|
-
class ActionDispatch::Routing::Mapper
|
30
|
-
include Authentasaurus::Ac::Routing
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
if defined?(ActiveRecord)
|
35
|
-
class ActiveRecord::Base
|
36
|
-
include Authentasaurus::Ar::Authenticatable
|
37
|
-
include Authentasaurus::Ar::ActsAsOverrider
|
38
|
-
end
|
39
|
-
|
40
|
-
class ActiveRecord::ConnectionAdapters::AbstractAdapter
|
41
|
-
include Authentasaurus::Ar::Migrations::Tables
|
42
|
-
end
|
43
|
-
|
44
|
-
class ActiveRecord::ConnectionAdapters::TableDefinition
|
45
|
-
include Authentasaurus::Ar::Migrations::Columns
|
46
|
-
end
|
47
|
-
end
|
48
|
-
|
49
|
-
if defined?(ActiveResource)
|
50
|
-
class ActiveResource::Base
|
51
|
-
class_inheritable_accessor :sync, :sync_to
|
52
|
-
include Authentasaurus::Arel::Authenticatable
|
1
|
+
module Authentasaurus
|
2
|
+
def self.evaluate_method(method, *args, &block)
|
3
|
+
case method
|
4
|
+
when Symbol
|
5
|
+
object = args.shift
|
6
|
+
object.send(method, *args, &block)
|
7
|
+
when String
|
8
|
+
eval(method, args.first.instance_eval { binding })
|
9
|
+
when Proc, Method
|
10
|
+
method.call(*args, &block)
|
11
|
+
else
|
12
|
+
if method == true || method == false
|
13
|
+
return method
|
14
|
+
else
|
15
|
+
raise ArgumentError,
|
16
|
+
"Callbacks must be a symbol denoting the method to call, a string to be evaluated, " +
|
17
|
+
"a block to be invoked, or a condition."
|
18
|
+
end
|
53
19
|
end
|
54
20
|
end
|
55
21
|
end
|
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authentasaurus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 47
|
5
4
|
prerelease:
|
6
|
-
|
7
|
-
- 0
|
8
|
-
- 8
|
9
|
-
- 8
|
10
|
-
version: 0.8.8
|
5
|
+
version: 0.8.9
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Omar Mekky
|
@@ -18,7 +13,7 @@ autorequire:
|
|
18
13
|
bindir: bin
|
19
14
|
cert_chain: []
|
20
15
|
|
21
|
-
date: 2011-
|
16
|
+
date: 2011-04-10 00:00:00 +02:00
|
22
17
|
default_executable:
|
23
18
|
dependencies: []
|
24
19
|
|
@@ -45,7 +40,6 @@ files:
|
|
45
40
|
- app/controllers/validations_controller.rb
|
46
41
|
- app/models/area.rb
|
47
42
|
- app/models/authentasaurus_emailer.rb
|
48
|
-
- app/models/authentasaurus_session.rb
|
49
43
|
- app/models/group.rb
|
50
44
|
- app/models/permission.rb
|
51
45
|
- app/models/recovery.rb
|
@@ -83,128 +77,6 @@ files:
|
|
83
77
|
- app/views/validations/validate.html.erb
|
84
78
|
- config/locales/en.yml
|
85
79
|
- lib/authentasaurus.rb
|
86
|
-
- lib/authentasaurus/ac/acts_as_overrider.rb
|
87
|
-
- lib/authentasaurus/ac/controllers/areas_controller.rb
|
88
|
-
- lib/authentasaurus/ac/controllers/groups_controller.rb
|
89
|
-
- lib/authentasaurus/ac/controllers/permissions_controller.rb
|
90
|
-
- lib/authentasaurus/ac/controllers/recoveries_controller.rb
|
91
|
-
- lib/authentasaurus/ac/controllers/registrations_controller.rb
|
92
|
-
- lib/authentasaurus/ac/controllers/sessions_controller.rb
|
93
|
-
- lib/authentasaurus/ac/controllers/user_invitations_controller.rb
|
94
|
-
- lib/authentasaurus/ac/controllers/users_controller.rb
|
95
|
-
- lib/authentasaurus/ac/controllers/validations_controller.rb
|
96
|
-
- lib/authentasaurus/ac/routing.rb
|
97
|
-
- lib/authentasaurus/ar/acts_as_authenticatable.rb
|
98
|
-
- lib/authentasaurus/ar/acts_as_authenticatable_validatable.rb
|
99
|
-
- lib/authentasaurus/ar/acts_as_overrider.rb
|
100
|
-
- lib/authentasaurus/ar/authenticatable.rb
|
101
|
-
- lib/authentasaurus/ar/migrations.rb
|
102
|
-
- lib/authentasaurus/ar/models/recovery.rb
|
103
|
-
- lib/authentasaurus/ar/models/session.rb
|
104
|
-
- lib/authentasaurus/ar/models/user_invitation.rb
|
105
|
-
- lib/authentasaurus/ar/models/validation.rb
|
106
|
-
- lib/authentasaurus/arel/acts_as_authenticatable.rb
|
107
|
-
- lib/authentasaurus/arel/authenticatable.rb
|
108
|
-
- lib/authentasaurus/authorization.rb
|
109
|
-
- lib/authentasaurus/configuration.rb
|
110
|
-
- lib/authentasaurus/railtie.rb
|
111
|
-
- lib/generators/authentasaurus/install/USAGE
|
112
|
-
- lib/generators/authentasaurus/install/install_generator.rb
|
113
|
-
- lib/generators/authentasaurus/install/templates/authentasaurus_tasks.rake
|
114
|
-
- lib/generators/authentasaurus/install/templates/defaults.yml
|
115
|
-
- lib/generators/authentasaurus/views/USAGE
|
116
|
-
- lib/generators/authentasaurus/views/templates/areas/edit.html.erb
|
117
|
-
- lib/generators/authentasaurus/views/templates/areas/index.html.erb
|
118
|
-
- lib/generators/authentasaurus/views/templates/areas/new.html.erb
|
119
|
-
- lib/generators/authentasaurus/views/templates/areas/show.html.erb
|
120
|
-
- lib/generators/authentasaurus/views/templates/authentasaurus_emailer/invitation_mail.html.erb
|
121
|
-
- lib/generators/authentasaurus/views/templates/authentasaurus_emailer/recovery_mail.html.erb
|
122
|
-
- lib/generators/authentasaurus/views/templates/authentasaurus_emailer/validation_mail.html.erb
|
123
|
-
- lib/generators/authentasaurus/views/templates/groups/edit.html.erb
|
124
|
-
- lib/generators/authentasaurus/views/templates/groups/index.html.erb
|
125
|
-
- lib/generators/authentasaurus/views/templates/groups/new.html.erb
|
126
|
-
- lib/generators/authentasaurus/views/templates/groups/show.html.erb
|
127
|
-
- lib/generators/authentasaurus/views/templates/permissions/edit.html.erb
|
128
|
-
- lib/generators/authentasaurus/views/templates/permissions/index.html.erb
|
129
|
-
- lib/generators/authentasaurus/views/templates/permissions/new.html.erb
|
130
|
-
- lib/generators/authentasaurus/views/templates/permissions/show.html.erb
|
131
|
-
- lib/generators/authentasaurus/views/templates/recoveries/edit.html.erb
|
132
|
-
- lib/generators/authentasaurus/views/templates/recoveries/new.html.erb
|
133
|
-
- lib/generators/authentasaurus/views/templates/registrations/new.html.erb
|
134
|
-
- lib/generators/authentasaurus/views/templates/sessions/new.html.erb
|
135
|
-
- lib/generators/authentasaurus/views/templates/sessions/no_access.html.erb
|
136
|
-
- lib/generators/authentasaurus/views/templates/user_invitations/index.html.erb
|
137
|
-
- lib/generators/authentasaurus/views/templates/user_invitations/new.html.erb
|
138
|
-
- lib/generators/authentasaurus/views/templates/users/edit.html.erb
|
139
|
-
- lib/generators/authentasaurus/views/templates/users/index.html.erb
|
140
|
-
- lib/generators/authentasaurus/views/templates/users/new.html.erb
|
141
|
-
- lib/generators/authentasaurus/views/templates/users/show.html.erb
|
142
|
-
- lib/generators/authentasaurus/views/templates/validations/resend_validation_email.html.erb
|
143
|
-
- lib/generators/authentasaurus/views/templates/validations/validate.html.erb
|
144
|
-
- lib/generators/authentasaurus/views/views_generator.rb
|
145
|
-
- rdoc/apple-touch-icon.png
|
146
|
-
- rdoc/classes/Authentasaurus.html
|
147
|
-
- rdoc/classes/Authentasaurus/Ac.html
|
148
|
-
- rdoc/classes/Authentasaurus/Ac/ActsAsOverrider.html
|
149
|
-
- rdoc/classes/Authentasaurus/Ac/ActsAsOverrider/ClassMethods.html
|
150
|
-
- rdoc/classes/Authentasaurus/Ac/Routing.html
|
151
|
-
- rdoc/classes/Authentasaurus/Ac/Routing/InstanceMethods.html
|
152
|
-
- rdoc/classes/Authentasaurus/Ar.html
|
153
|
-
- rdoc/classes/Authentasaurus/Ar/ActsAsAuthenticatable.html
|
154
|
-
- rdoc/classes/Authentasaurus/Ar/ActsAsAuthenticatable/ClassMethods.html
|
155
|
-
- rdoc/classes/Authentasaurus/Ar/ActsAsAuthenticatable/InstanceMethods.html
|
156
|
-
- rdoc/classes/Authentasaurus/Ar/ActsAsAuthenticatableValidatable.html
|
157
|
-
- rdoc/classes/Authentasaurus/Ar/ActsAsAuthenticatableValidatable/ClassMethods.html
|
158
|
-
- rdoc/classes/Authentasaurus/Ar/ActsAsAuthenticatableValidatable/InstanceMethods.html
|
159
|
-
- rdoc/classes/Authentasaurus/Ar/ActsAsOverrider.html
|
160
|
-
- rdoc/classes/Authentasaurus/Ar/ActsAsOverrider/ClassMethods.html
|
161
|
-
- rdoc/classes/Authentasaurus/Ar/Authenticatable.html
|
162
|
-
- rdoc/classes/Authentasaurus/Ar/Authenticatable/ClassMethods.html
|
163
|
-
- rdoc/classes/Authentasaurus/Ar/Migrations.html
|
164
|
-
- rdoc/classes/Authentasaurus/Ar/Migrations/Columns.html
|
165
|
-
- rdoc/classes/Authentasaurus/Ar/Migrations/Columns/InstanceMethods.html
|
166
|
-
- rdoc/classes/Authentasaurus/Ar/Migrations/Tables.html
|
167
|
-
- rdoc/classes/Authentasaurus/Ar/Migrations/Tables/InstanceMethods.html
|
168
|
-
- rdoc/classes/Authentasaurus/Arel.html
|
169
|
-
- rdoc/classes/Authentasaurus/Arel/ActsAsAuthenticatable.html
|
170
|
-
- rdoc/classes/Authentasaurus/Arel/ActsAsAuthenticatable/ClassMethods.html
|
171
|
-
- rdoc/classes/Authentasaurus/Arel/ActsAsAuthenticatable/InstanceMethods.html
|
172
|
-
- rdoc/classes/Authentasaurus/Arel/Authenticatable.html
|
173
|
-
- rdoc/classes/Authentasaurus/Arel/Authenticatable/ClassMethods.html
|
174
|
-
- rdoc/classes/Authentasaurus/Authorization.html
|
175
|
-
- rdoc/classes/Authentasaurus/Authorization/ActionController.html
|
176
|
-
- rdoc/classes/Authentasaurus/Authorization/ActionController/ClassMethods.html
|
177
|
-
- rdoc/classes/Authentasaurus/Authorization/ActionController/InstanceMethods.html
|
178
|
-
- rdoc/classes/Authentasaurus/Authorization/ActionView.html
|
179
|
-
- rdoc/classes/Authentasaurus/Authorization/CommonInstanceMethods.html
|
180
|
-
- rdoc/created.rid
|
181
|
-
- rdoc/css/main.css
|
182
|
-
- rdoc/css/panel.css
|
183
|
-
- rdoc/css/reset.css
|
184
|
-
- rdoc/favicon.ico
|
185
|
-
- rdoc/files/README_rdoc.html
|
186
|
-
- rdoc/files/TODO.html
|
187
|
-
- rdoc/files/lib/authentasaurus/ac/acts_as_overrider_rb.html
|
188
|
-
- rdoc/files/lib/authentasaurus/ac/routing_rb.html
|
189
|
-
- rdoc/files/lib/authentasaurus/ar/acts_as_authenticatable_rb.html
|
190
|
-
- rdoc/files/lib/authentasaurus/ar/acts_as_authenticatable_validatable_rb.html
|
191
|
-
- rdoc/files/lib/authentasaurus/ar/acts_as_overrider_rb.html
|
192
|
-
- rdoc/files/lib/authentasaurus/ar/authenticatable_rb.html
|
193
|
-
- rdoc/files/lib/authentasaurus/ar/migrations_rb.html
|
194
|
-
- rdoc/files/lib/authentasaurus/arel/acts_as_authenticatable_rb.html
|
195
|
-
- rdoc/files/lib/authentasaurus/arel/authenticatable_rb.html
|
196
|
-
- rdoc/files/lib/authentasaurus/authorization_rb.html
|
197
|
-
- rdoc/i/arrows.png
|
198
|
-
- rdoc/i/results_bg.png
|
199
|
-
- rdoc/i/tree_bg.png
|
200
|
-
- rdoc/index.html
|
201
|
-
- rdoc/js/jquery-1.3.2.min.js
|
202
|
-
- rdoc/js/jquery-effect.js
|
203
|
-
- rdoc/js/main.js
|
204
|
-
- rdoc/js/searchdoc.js
|
205
|
-
- rdoc/panel/index.html
|
206
|
-
- rdoc/panel/search_index.js
|
207
|
-
- rdoc/panel/tree.js
|
208
80
|
- CHANGELIST
|
209
81
|
- MIT-LICENSE
|
210
82
|
- README.rdoc
|
@@ -223,18 +95,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
223
95
|
requirements:
|
224
96
|
- - ">="
|
225
97
|
- !ruby/object:Gem::Version
|
226
|
-
hash: 3
|
227
|
-
segments:
|
228
|
-
- 0
|
229
98
|
version: "0"
|
230
99
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
231
100
|
none: false
|
232
101
|
requirements:
|
233
102
|
- - ">="
|
234
103
|
- !ruby/object:Gem::Version
|
235
|
-
hash: 3
|
236
|
-
segments:
|
237
|
-
- 0
|
238
104
|
version: "0"
|
239
105
|
requirements: []
|
240
106
|
|
@@ -1,48 +0,0 @@
|
|
1
|
-
module Authentasaurus::Ac
|
2
|
-
Dir[File.dirname(__FILE__) + '/controllers/*.rb'].each {|file| require file }
|
3
|
-
|
4
|
-
module ActsAsOverrider
|
5
|
-
extend ActiveSupport::Concern
|
6
|
-
|
7
|
-
module ClassMethods
|
8
|
-
def acts_as_areas
|
9
|
-
include Authentasaurus::Ac::Controllers::AreasController
|
10
|
-
end
|
11
|
-
|
12
|
-
def acts_as_groups
|
13
|
-
include Authentasaurus::Ac::Controllers::GroupsController
|
14
|
-
end
|
15
|
-
|
16
|
-
def acts_as_permissions
|
17
|
-
include Authentasaurus::Ac::Controllers::PermissionsController
|
18
|
-
end
|
19
|
-
|
20
|
-
def acts_as_recoveries
|
21
|
-
include Authentasaurus::Ac::Controllers::RecoveriesController
|
22
|
-
end
|
23
|
-
|
24
|
-
def acts_as_registrations
|
25
|
-
include Authentasaurus::Ac::Controllers::RegistrationsController
|
26
|
-
end
|
27
|
-
|
28
|
-
def acts_as_sessions(user_model = nil)
|
29
|
-
cattr_accessor :user_model
|
30
|
-
self.user_model = user_model || Authentasaurus::Configuration.instance.user_model.to_sym
|
31
|
-
|
32
|
-
include Authentasaurus::Ac::Controllers::SessionsController
|
33
|
-
end
|
34
|
-
|
35
|
-
def acts_as_user_invitations
|
36
|
-
include Authentasaurus::Ac::Controllers::UserInvitationsController
|
37
|
-
end
|
38
|
-
|
39
|
-
def acts_as_users
|
40
|
-
include Authentasaurus::Ac::Controllers::UsersController
|
41
|
-
end
|
42
|
-
|
43
|
-
def acts_as_validations
|
44
|
-
include Authentasaurus::Ac::Controllers::ValidationsController
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end
|
48
|
-
end
|