rails3-restful-authentication 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +70 -0
- data/README.textile +176 -0
- data/Rakefile +32 -0
- data/TODO +15 -0
- data/init.rb +3 -0
- data/lib/authentication.rb +40 -0
- data/lib/authentication/by_cookie_token.rb +73 -0
- data/lib/authentication/by_password.rb +64 -0
- data/lib/authorization.rb +14 -0
- data/lib/authorization/aasm_roles.rb +63 -0
- data/lib/authorization/stateful_roles.rb +62 -0
- data/lib/generators/authenticated/USAGE +1 -0
- data/lib/generators/authenticated/authenticated_generator.rb +524 -0
- data/lib/generators/authenticated/templates/_model_partial.html.erb +8 -0
- data/lib/generators/authenticated/templates/activation.erb +3 -0
- data/lib/generators/authenticated/templates/authenticated_system.rb +189 -0
- data/lib/generators/authenticated/templates/authenticated_test_helper.rb +22 -0
- data/lib/generators/authenticated/templates/controller.rb +41 -0
- data/lib/generators/authenticated/templates/features/accounts.feature +109 -0
- data/lib/generators/authenticated/templates/features/sessions.feature +134 -0
- data/lib/generators/authenticated/templates/features/step_definitions/ra_env.rb +9 -0
- data/lib/generators/authenticated/templates/features/step_definitions/ra_navigation_steps.rb +48 -0
- data/lib/generators/authenticated/templates/features/step_definitions/ra_resource_steps.rb +178 -0
- data/lib/generators/authenticated/templates/features/step_definitions/ra_response_steps.rb +169 -0
- data/lib/generators/authenticated/templates/features/step_definitions/rest_auth_features_helper.rb +81 -0
- data/lib/generators/authenticated/templates/features/step_definitions/user_steps.rb +131 -0
- data/lib/generators/authenticated/templates/helper.rb +2 -0
- data/lib/generators/authenticated/templates/login.html.erb +16 -0
- data/lib/generators/authenticated/templates/mailer.rb +26 -0
- data/lib/generators/authenticated/templates/migration.rb +26 -0
- data/lib/generators/authenticated/templates/model.rb +87 -0
- data/lib/generators/authenticated/templates/model_controller.rb +83 -0
- data/lib/generators/authenticated/templates/model_helper.rb +93 -0
- data/lib/generators/authenticated/templates/model_helper_spec.rb +158 -0
- data/lib/generators/authenticated/templates/observer.rb +11 -0
- data/lib/generators/authenticated/templates/signup.html.erb +19 -0
- data/lib/generators/authenticated/templates/signup_notification.erb +8 -0
- data/lib/generators/authenticated/templates/site_keys.rb +38 -0
- data/lib/generators/authenticated/templates/spec/controllers/access_control_spec.rb +101 -0
- data/lib/generators/authenticated/templates/spec/controllers/authenticated_system_spec.rb +102 -0
- data/lib/generators/authenticated/templates/spec/controllers/sessions_controller_spec.rb +127 -0
- data/lib/generators/authenticated/templates/spec/controllers/users_controller_spec.rb +131 -0
- data/lib/generators/authenticated/templates/spec/fixtures/users.yml +60 -0
- data/lib/generators/authenticated/templates/spec/helpers/users_helper_spec.rb +141 -0
- data/lib/generators/authenticated/templates/spec/models/user_spec.rb +227 -0
- data/lib/generators/authenticated/templates/test/functional_test.rb +82 -0
- data/lib/generators/authenticated/templates/test/mailer_test.rb +32 -0
- data/lib/generators/authenticated/templates/test/model_functional_test.rb +93 -0
- data/lib/generators/authenticated/templates/test/unit_test.rb +164 -0
- data/lib/restful_authentication.rb +3 -0
- data/lib/tasks/auth.rake +33 -0
- data/lib/trustification.rb +14 -0
- data/lib/trustification/email_validation.rb +20 -0
- metadata +130 -0
metadata
ADDED
@@ -0,0 +1,130 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rails3-restful-authentication
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 5
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 3
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 3.0.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Vishnu Atrai
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2012-05-10 00:00:00 Z
|
19
|
+
dependencies: []
|
20
|
+
|
21
|
+
description: Generates common user authentication code for Rails/Merb, with a full test/unit and rspec suite and optional Acts as State Machine support built-in..
|
22
|
+
email: vishnu.atrai@gmail.com
|
23
|
+
executables: []
|
24
|
+
|
25
|
+
extensions: []
|
26
|
+
|
27
|
+
extra_rdoc_files:
|
28
|
+
- README.textile
|
29
|
+
files:
|
30
|
+
- CHANGELOG
|
31
|
+
- README.textile
|
32
|
+
- Rakefile
|
33
|
+
- TODO
|
34
|
+
- lib/authentication/by_cookie_token.rb
|
35
|
+
- lib/authentication/by_password.rb
|
36
|
+
- lib/authentication.rb
|
37
|
+
- lib/authorization/aasm_roles.rb
|
38
|
+
- lib/authorization/stateful_roles.rb
|
39
|
+
- lib/authorization.rb
|
40
|
+
- lib/generators/authenticated/authenticated_generator.rb
|
41
|
+
- lib/generators/authenticated/templates/activation.erb
|
42
|
+
- lib/generators/authenticated/templates/authenticated_system.rb
|
43
|
+
- lib/generators/authenticated/templates/authenticated_test_helper.rb
|
44
|
+
- lib/generators/authenticated/templates/controller.rb
|
45
|
+
- lib/generators/authenticated/templates/features/accounts.feature
|
46
|
+
- lib/generators/authenticated/templates/features/sessions.feature
|
47
|
+
- lib/generators/authenticated/templates/features/step_definitions/ra_env.rb
|
48
|
+
- lib/generators/authenticated/templates/features/step_definitions/ra_navigation_steps.rb
|
49
|
+
- lib/generators/authenticated/templates/features/step_definitions/ra_resource_steps.rb
|
50
|
+
- lib/generators/authenticated/templates/features/step_definitions/ra_response_steps.rb
|
51
|
+
- lib/generators/authenticated/templates/features/step_definitions/rest_auth_features_helper.rb
|
52
|
+
- lib/generators/authenticated/templates/features/step_definitions/user_steps.rb
|
53
|
+
- lib/generators/authenticated/templates/helper.rb
|
54
|
+
- lib/generators/authenticated/templates/login.html.erb
|
55
|
+
- lib/generators/authenticated/templates/mailer.rb
|
56
|
+
- lib/generators/authenticated/templates/migration.rb
|
57
|
+
- lib/generators/authenticated/templates/model.rb
|
58
|
+
- lib/generators/authenticated/templates/model_controller.rb
|
59
|
+
- lib/generators/authenticated/templates/model_helper.rb
|
60
|
+
- lib/generators/authenticated/templates/model_helper_spec.rb
|
61
|
+
- lib/generators/authenticated/templates/observer.rb
|
62
|
+
- lib/generators/authenticated/templates/signup.html.erb
|
63
|
+
- lib/generators/authenticated/templates/signup_notification.erb
|
64
|
+
- lib/generators/authenticated/templates/site_keys.rb
|
65
|
+
- lib/generators/authenticated/templates/spec/controllers/access_control_spec.rb
|
66
|
+
- lib/generators/authenticated/templates/spec/controllers/authenticated_system_spec.rb
|
67
|
+
- lib/generators/authenticated/templates/spec/controllers/sessions_controller_spec.rb
|
68
|
+
- lib/generators/authenticated/templates/spec/controllers/users_controller_spec.rb
|
69
|
+
- lib/generators/authenticated/templates/spec/fixtures/users.yml
|
70
|
+
- lib/generators/authenticated/templates/spec/helpers/users_helper_spec.rb
|
71
|
+
- lib/generators/authenticated/templates/spec/models/user_spec.rb
|
72
|
+
- lib/generators/authenticated/templates/test/functional_test.rb
|
73
|
+
- lib/generators/authenticated/templates/test/mailer_test.rb
|
74
|
+
- lib/generators/authenticated/templates/test/model_functional_test.rb
|
75
|
+
- lib/generators/authenticated/templates/test/unit_test.rb
|
76
|
+
- lib/generators/authenticated/templates/_model_partial.html.erb
|
77
|
+
- lib/generators/authenticated/USAGE
|
78
|
+
- lib/restful_authentication.rb
|
79
|
+
- lib/tasks/auth.rake
|
80
|
+
- lib/trustification/email_validation.rb
|
81
|
+
- lib/trustification.rb
|
82
|
+
- init.rb
|
83
|
+
homepage: https://github.com/vatrai/restful_authentication
|
84
|
+
licenses: []
|
85
|
+
|
86
|
+
post_install_message: |
|
87
|
+
**************************************************
|
88
|
+
|
89
|
+
Thank you for installing rails3-restful-authentication-3.0.1!
|
90
|
+
|
91
|
+
This version ofrestful-authentication only works with
|
92
|
+
versions of rails >= 3.0.0.pre.
|
93
|
+
|
94
|
+
**************************************************
|
95
|
+
|
96
|
+
rdoc_options:
|
97
|
+
- --main
|
98
|
+
- README.textile
|
99
|
+
- --charset=UTF-8
|
100
|
+
require_paths:
|
101
|
+
- lib
|
102
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
103
|
+
none: false
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
hash: 3
|
108
|
+
segments:
|
109
|
+
- 0
|
110
|
+
version: "0"
|
111
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
|
+
none: false
|
113
|
+
requirements:
|
114
|
+
- - ">"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
hash: 25
|
117
|
+
segments:
|
118
|
+
- 1
|
119
|
+
- 3
|
120
|
+
- 1
|
121
|
+
version: 1.3.1
|
122
|
+
requirements: []
|
123
|
+
|
124
|
+
rubyforge_project:
|
125
|
+
rubygems_version: 1.8.24
|
126
|
+
signing_key:
|
127
|
+
specification_version: 3
|
128
|
+
summary: Generates code for user login and authentication
|
129
|
+
test_files: []
|
130
|
+
|