restful_authentication 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. data/CHANGELOG +68 -0
  2. data/LICENSE +20 -0
  3. data/README.textile +232 -0
  4. data/Rakefile +54 -0
  5. data/TODO +15 -0
  6. data/generators/authenticated/USAGE +1 -0
  7. data/generators/authenticated/authenticated_generator.rb +493 -0
  8. data/generators/authenticated/lib/insert_routes.rb +69 -0
  9. data/generators/authenticated/templates/_model_partial.html.erb +8 -0
  10. data/generators/authenticated/templates/activation.erb +3 -0
  11. data/generators/authenticated/templates/authenticated_system.rb +189 -0
  12. data/generators/authenticated/templates/authenticated_test_helper.rb +12 -0
  13. data/generators/authenticated/templates/controller.rb +43 -0
  14. data/generators/authenticated/templates/features/accounts.feature +67 -0
  15. data/generators/authenticated/templates/features/sessions.feature +77 -0
  16. data/generators/authenticated/templates/features/step_definitions/ra_env.rb +7 -0
  17. data/generators/authenticated/templates/features/step_definitions/user_steps.rb +31 -0
  18. data/generators/authenticated/templates/helper.rb +2 -0
  19. data/generators/authenticated/templates/login.html.erb +14 -0
  20. data/generators/authenticated/templates/machinist_spec.rb +5 -0
  21. data/generators/authenticated/templates/machinist_test.rb +5 -0
  22. data/generators/authenticated/templates/mailer.rb +25 -0
  23. data/generators/authenticated/templates/migration.rb +24 -0
  24. data/generators/authenticated/templates/model.rb +83 -0
  25. data/generators/authenticated/templates/model_controller.rb +96 -0
  26. data/generators/authenticated/templates/model_helper.rb +93 -0
  27. data/generators/authenticated/templates/model_helper_spec.rb +157 -0
  28. data/generators/authenticated/templates/observer.rb +11 -0
  29. data/generators/authenticated/templates/signup.html.erb +19 -0
  30. data/generators/authenticated/templates/signup_notification.erb +8 -0
  31. data/generators/authenticated/templates/site_keys.rb +38 -0
  32. data/generators/authenticated/templates/spec/blueprints/user.rb +13 -0
  33. data/generators/authenticated/templates/spec/controllers/access_control_spec.rb +89 -0
  34. data/generators/authenticated/templates/spec/controllers/authenticated_system_spec.rb +107 -0
  35. data/generators/authenticated/templates/spec/controllers/sessions_controller_spec.rb +138 -0
  36. data/generators/authenticated/templates/spec/controllers/users_controller_spec.rb +197 -0
  37. data/generators/authenticated/templates/spec/fixtures/users.yml +60 -0
  38. data/generators/authenticated/templates/spec/helpers/users_helper_spec.rb +141 -0
  39. data/generators/authenticated/templates/spec/models/user_spec.rb +298 -0
  40. data/generators/authenticated/templates/tasks/auth.rake +33 -0
  41. data/generators/authenticated/templates/test/functional_test.rb +84 -0
  42. data/generators/authenticated/templates/test/mailer_test.rb +31 -0
  43. data/generators/authenticated/templates/test/model_functional_test.rb +91 -0
  44. data/generators/authenticated/templates/test/unit_test.rb +177 -0
  45. data/lib/authentication.rb +40 -0
  46. data/lib/authentication/by_cookie_token.rb +82 -0
  47. data/lib/authentication/by_password.rb +64 -0
  48. data/lib/authorization.rb +14 -0
  49. data/lib/authorization/aasm_roles.rb +64 -0
  50. data/lib/authorization/stateful_roles.rb +64 -0
  51. data/lib/restful_authentication.rb +6 -0
  52. data/lib/trustification.rb +14 -0
  53. data/lib/trustification/email_validation.rb +20 -0
  54. data/notes/AccessControl.txt +2 -0
  55. data/notes/Authentication.txt +5 -0
  56. data/notes/Authorization.txt +154 -0
  57. data/notes/RailsPlugins.txt +78 -0
  58. data/notes/SecurityFramework.graffle +0 -0
  59. data/notes/SecurityFramework.png +0 -0
  60. data/notes/SecurityPatterns.txt +163 -0
  61. data/notes/Tradeoffs.txt +126 -0
  62. data/notes/Trustification.txt +49 -0
  63. data/restful_authentication.gemspec +32 -0
  64. metadata +128 -0
metadata ADDED
@@ -0,0 +1,128 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: restful_authentication
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.6
5
+ platform: ruby
6
+ authors:
7
+ - RailsJedi
8
+ - Rick Olson
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2009-12-09 00:00:00 +01:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: rails
18
+ type: :runtime
19
+ version_requirement:
20
+ version_requirements: !ruby/object:Gem::Requirement
21
+ requirements:
22
+ - - ~>
23
+ - !ruby/object:Gem::Version
24
+ version: 2.3.4
25
+ version:
26
+ description: This widely-used plugin provides a foundation for securely managing user.
27
+ email: railsjedi@gmail.com
28
+ executables: []
29
+
30
+ extensions: []
31
+
32
+ extra_rdoc_files:
33
+ - README.textile
34
+ files:
35
+ - CHANGELOG
36
+ - generators/authenticated/authenticated_generator.rb
37
+ - generators/authenticated/lib/insert_routes.rb
38
+ - generators/authenticated/templates/_model_partial.html.erb
39
+ - generators/authenticated/templates/activation.erb
40
+ - generators/authenticated/templates/authenticated_system.rb
41
+ - generators/authenticated/templates/authenticated_test_helper.rb
42
+ - generators/authenticated/templates/controller.rb
43
+ - generators/authenticated/templates/features/accounts.feature
44
+ - generators/authenticated/templates/features/sessions.feature
45
+ - generators/authenticated/templates/features/step_definitions/ra_env.rb
46
+ - generators/authenticated/templates/features/step_definitions/user_steps.rb
47
+ - generators/authenticated/templates/helper.rb
48
+ - generators/authenticated/templates/login.html.erb
49
+ - generators/authenticated/templates/machinist_spec.rb
50
+ - generators/authenticated/templates/machinist_test.rb
51
+ - generators/authenticated/templates/mailer.rb
52
+ - generators/authenticated/templates/migration.rb
53
+ - generators/authenticated/templates/model.rb
54
+ - generators/authenticated/templates/model_controller.rb
55
+ - generators/authenticated/templates/model_helper.rb
56
+ - generators/authenticated/templates/model_helper_spec.rb
57
+ - generators/authenticated/templates/observer.rb
58
+ - generators/authenticated/templates/signup.html.erb
59
+ - generators/authenticated/templates/signup_notification.erb
60
+ - generators/authenticated/templates/site_keys.rb
61
+ - generators/authenticated/templates/spec/blueprints/user.rb
62
+ - generators/authenticated/templates/spec/controllers/access_control_spec.rb
63
+ - generators/authenticated/templates/spec/controllers/authenticated_system_spec.rb
64
+ - generators/authenticated/templates/spec/controllers/sessions_controller_spec.rb
65
+ - generators/authenticated/templates/spec/controllers/users_controller_spec.rb
66
+ - generators/authenticated/templates/spec/fixtures/users.yml
67
+ - generators/authenticated/templates/spec/helpers/users_helper_spec.rb
68
+ - generators/authenticated/templates/spec/models/user_spec.rb
69
+ - generators/authenticated/templates/tasks/auth.rake
70
+ - generators/authenticated/templates/test/functional_test.rb
71
+ - generators/authenticated/templates/test/mailer_test.rb
72
+ - generators/authenticated/templates/test/model_functional_test.rb
73
+ - generators/authenticated/templates/test/unit_test.rb
74
+ - generators/authenticated/USAGE
75
+ - lib/authentication/by_cookie_token.rb
76
+ - lib/authentication/by_password.rb
77
+ - lib/authentication.rb
78
+ - lib/authorization/aasm_roles.rb
79
+ - lib/authorization/stateful_roles.rb
80
+ - lib/authorization.rb
81
+ - lib/restful_authentication.rb
82
+ - lib/trustification/email_validation.rb
83
+ - lib/trustification.rb
84
+ - LICENSE
85
+ - notes/AccessControl.txt
86
+ - notes/Authentication.txt
87
+ - notes/Authorization.txt
88
+ - notes/RailsPlugins.txt
89
+ - notes/SecurityFramework.graffle
90
+ - notes/SecurityFramework.png
91
+ - notes/SecurityPatterns.txt
92
+ - notes/Tradeoffs.txt
93
+ - notes/Trustification.txt
94
+ - Rakefile
95
+ - README.textile
96
+ - restful_authentication.gemspec
97
+ - TODO
98
+ has_rdoc: true
99
+ homepage: http://github.com/jeremydurham/restful-authentication
100
+ licenses: []
101
+
102
+ post_install_message:
103
+ rdoc_options:
104
+ - --main
105
+ - README.textile
106
+ require_paths:
107
+ - lib
108
+ required_ruby_version: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: "0"
113
+ version:
114
+ required_rubygems_version: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: "0"
119
+ version:
120
+ requirements: []
121
+
122
+ rubyforge_project:
123
+ rubygems_version: 1.3.5
124
+ signing_key:
125
+ specification_version: 2
126
+ summary: Generates code for user login and authentication
127
+ test_files: []
128
+