deviseOne 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (246) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +12 -0
  3. data/.travis.yml +38 -0
  4. data/.yardopts +9 -0
  5. data/CHANGELOG.md +1117 -0
  6. data/CONTRIBUTING.md +14 -0
  7. data/Gemfile +29 -0
  8. data/Gemfile.lock +199 -0
  9. data/MIT-LICENSE +20 -0
  10. data/README.md +529 -0
  11. data/Rakefile +35 -0
  12. data/app/controllers/devise/confirmations_controller.rb +47 -0
  13. data/app/controllers/devise/omniauth_callbacks_controller.rb +30 -0
  14. data/app/controllers/devise/passwords_controller.rb +71 -0
  15. data/app/controllers/devise/registrations_controller.rb +143 -0
  16. data/app/controllers/devise/sessions_controller.rb +166 -0
  17. data/app/controllers/devise/unlocks_controller.rb +46 -0
  18. data/app/controllers/devise_controller.rb +193 -0
  19. data/app/helpers/devise_helper.rb +25 -0
  20. data/app/mailers/devise/mailer.rb +20 -0
  21. data/app/views/devise/confirmations/new.html.erb +16 -0
  22. data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
  23. data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
  24. data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
  25. data/app/views/devise/passwords/edit.html.erb +25 -0
  26. data/app/views/devise/passwords/new.html.erb +16 -0
  27. data/app/views/devise/registrations/edit.html.erb +39 -0
  28. data/app/views/devise/registrations/new.html.erb +29 -0
  29. data/app/views/devise/sessions/new.html.erb +27 -0
  30. data/app/views/devise/shared/_links.html.erb +21 -0
  31. data/app/views/devise/unlocks/new.html.erb +16 -0
  32. data/config/locales/en.yml +70 -0
  33. data/devise.gemspec +33 -0
  34. data/devise.png +0 -0
  35. data/gemfiles/Gemfile.rails-3.2-stable +29 -0
  36. data/gemfiles/Gemfile.rails-3.2-stable.lock +169 -0
  37. data/gemfiles/Gemfile.rails-4.0-stable +29 -0
  38. data/gemfiles/Gemfile.rails-4.0-stable.lock +165 -0
  39. data/gemfiles/Gemfile.rails-4.1-stable +29 -0
  40. data/gemfiles/Gemfile.rails-4.1-stable.lock +170 -0
  41. data/lib/devise.rb +499 -0
  42. data/lib/devise/controllers/helpers.rb +284 -0
  43. data/lib/devise/controllers/rememberable.rb +47 -0
  44. data/lib/devise/controllers/scoped_views.rb +17 -0
  45. data/lib/devise/controllers/sign_in_out.rb +102 -0
  46. data/lib/devise/controllers/store_location.rb +58 -0
  47. data/lib/devise/controllers/url_helpers.rb +69 -0
  48. data/lib/devise/delegator.rb +16 -0
  49. data/lib/devise/failure_app.rb +212 -0
  50. data/lib/devise/hooks/activatable.rb +10 -0
  51. data/lib/devise/hooks/csrf_cleaner.rb +7 -0
  52. data/lib/devise/hooks/forgetable.rb +9 -0
  53. data/lib/devise/hooks/lockable.rb +7 -0
  54. data/lib/devise/hooks/proxy.rb +21 -0
  55. data/lib/devise/hooks/rememberable.rb +7 -0
  56. data/lib/devise/hooks/timeoutable.rb +35 -0
  57. data/lib/devise/hooks/trackable.rb +9 -0
  58. data/lib/devise/mailers/helpers.rb +90 -0
  59. data/lib/devise/mapping.rb +175 -0
  60. data/lib/devise/models.rb +119 -0
  61. data/lib/devise/models/authenticatable.rb +290 -0
  62. data/lib/devise/models/confirmable.rb +305 -0
  63. data/lib/devise/models/database_authenticatable.rb +164 -0
  64. data/lib/devise/models/lockable.rb +196 -0
  65. data/lib/devise/models/omniauthable.rb +27 -0
  66. data/lib/devise/models/recoverable.rb +157 -0
  67. data/lib/devise/models/registerable.rb +25 -0
  68. data/lib/devise/models/rememberable.rb +142 -0
  69. data/lib/devise/models/timeoutable.rb +49 -0
  70. data/lib/devise/models/trackable.rb +38 -0
  71. data/lib/devise/models/validatable.rb +66 -0
  72. data/lib/devise/modules.rb +28 -0
  73. data/lib/devise/omniauth.rb +28 -0
  74. data/lib/devise/omniauth/config.rb +45 -0
  75. data/lib/devise/omniauth/url_helpers.rb +18 -0
  76. data/lib/devise/orm/active_record.rb +3 -0
  77. data/lib/devise/orm/mongoid.rb +3 -0
  78. data/lib/devise/parameter_filter.rb +40 -0
  79. data/lib/devise/parameter_sanitizer.rb +99 -0
  80. data/lib/devise/rails.rb +56 -0
  81. data/lib/devise/rails/routes.rb +495 -0
  82. data/lib/devise/rails/warden_compat.rb +22 -0
  83. data/lib/devise/strategies/authenticatable.rb +173 -0
  84. data/lib/devise/strategies/base.rb +20 -0
  85. data/lib/devise/strategies/database_authenticatable.rb +24 -0
  86. data/lib/devise/strategies/rememberable.rb +59 -0
  87. data/lib/devise/test_helpers.rb +132 -0
  88. data/lib/devise/time_inflector.rb +14 -0
  89. data/lib/devise/token_generator.rb +70 -0
  90. data/lib/devise/version.rb +3 -0
  91. data/lib/generators/active_record/devise_generator.rb +91 -0
  92. data/lib/generators/active_record/templates/migration.rb +18 -0
  93. data/lib/generators/active_record/templates/migration_existing.rb +25 -0
  94. data/lib/generators/devise/controllers_generator.rb +44 -0
  95. data/lib/generators/devise/devise_generator.rb +26 -0
  96. data/lib/generators/devise/install_generator.rb +29 -0
  97. data/lib/generators/devise/orm_helpers.rb +51 -0
  98. data/lib/generators/devise/views_generator.rb +135 -0
  99. data/lib/generators/mongoid/devise_generator.rb +55 -0
  100. data/lib/generators/templates/README +35 -0
  101. data/lib/generators/templates/controllers/README +14 -0
  102. data/lib/generators/templates/controllers/confirmations_controller.rb +28 -0
  103. data/lib/generators/templates/controllers/omniauth_callbacks_controller.rb +28 -0
  104. data/lib/generators/templates/controllers/passwords_controller.rb +32 -0
  105. data/lib/generators/templates/controllers/registrations_controller.rb +60 -0
  106. data/lib/generators/templates/controllers/sessions_controller.rb +25 -0
  107. data/lib/generators/templates/controllers/unlocks_controller.rb +28 -0
  108. data/lib/generators/templates/devise.rb +263 -0
  109. data/lib/generators/templates/markerb/confirmation_instructions.markerb +5 -0
  110. data/lib/generators/templates/markerb/reset_password_instructions.markerb +8 -0
  111. data/lib/generators/templates/markerb/unlock_instructions.markerb +7 -0
  112. data/lib/generators/templates/simple_form_for/confirmations/new.html.erb +16 -0
  113. data/lib/generators/templates/simple_form_for/passwords/edit.html.erb +19 -0
  114. data/lib/generators/templates/simple_form_for/passwords/new.html.erb +15 -0
  115. data/lib/generators/templates/simple_form_for/registrations/edit.html.erb +27 -0
  116. data/lib/generators/templates/simple_form_for/registrations/new.html.erb +17 -0
  117. data/lib/generators/templates/simple_form_for/sessions/new.html.erb +15 -0
  118. data/lib/generators/templates/simple_form_for/unlocks/new.html.erb +16 -0
  119. data/script/cached-bundle +49 -0
  120. data/script/s3-put +71 -0
  121. data/test/controllers/custom_registrations_controller_test.rb +35 -0
  122. data/test/controllers/custom_strategy_test.rb +62 -0
  123. data/test/controllers/helpers_test.rb +316 -0
  124. data/test/controllers/internal_helpers_test.rb +129 -0
  125. data/test/controllers/load_hooks_controller_test.rb +19 -0
  126. data/test/controllers/passwords_controller_test.rb +31 -0
  127. data/test/controllers/sessions_controller_test.rb +102 -0
  128. data/test/controllers/url_helpers_test.rb +65 -0
  129. data/test/delegator_test.rb +19 -0
  130. data/test/devise_test.rb +107 -0
  131. data/test/failure_app_test.rb +275 -0
  132. data/test/generators/active_record_generator_test.rb +109 -0
  133. data/test/generators/controllers_generator_test.rb +48 -0
  134. data/test/generators/devise_generator_test.rb +39 -0
  135. data/test/generators/install_generator_test.rb +13 -0
  136. data/test/generators/mongoid_generator_test.rb +23 -0
  137. data/test/generators/views_generator_test.rb +96 -0
  138. data/test/helpers/devise_helper_test.rb +49 -0
  139. data/test/integration/authenticatable_test.rb +731 -0
  140. data/test/integration/confirmable_test.rb +324 -0
  141. data/test/integration/database_authenticatable_test.rb +94 -0
  142. data/test/integration/http_authenticatable_test.rb +105 -0
  143. data/test/integration/lockable_test.rb +239 -0
  144. data/test/integration/omniauthable_test.rb +133 -0
  145. data/test/integration/recoverable_test.rb +334 -0
  146. data/test/integration/registerable_test.rb +361 -0
  147. data/test/integration/rememberable_test.rb +176 -0
  148. data/test/integration/timeoutable_test.rb +189 -0
  149. data/test/integration/trackable_test.rb +92 -0
  150. data/test/mailers/confirmation_instructions_test.rb +115 -0
  151. data/test/mailers/reset_password_instructions_test.rb +96 -0
  152. data/test/mailers/unlock_instructions_test.rb +91 -0
  153. data/test/mapping_test.rb +128 -0
  154. data/test/models/authenticatable_test.rb +23 -0
  155. data/test/models/confirmable_test.rb +461 -0
  156. data/test/models/database_authenticatable_test.rb +249 -0
  157. data/test/models/lockable_test.rb +328 -0
  158. data/test/models/omniauthable_test.rb +7 -0
  159. data/test/models/recoverable_test.rb +205 -0
  160. data/test/models/registerable_test.rb +7 -0
  161. data/test/models/rememberable_test.rb +198 -0
  162. data/test/models/serializable_test.rb +49 -0
  163. data/test/models/timeoutable_test.rb +51 -0
  164. data/test/models/trackable_test.rb +41 -0
  165. data/test/models/validatable_test.rb +127 -0
  166. data/test/models_test.rb +144 -0
  167. data/test/omniauth/config_test.rb +57 -0
  168. data/test/omniauth/url_helpers_test.rb +54 -0
  169. data/test/orm/active_record.rb +10 -0
  170. data/test/orm/mongoid.rb +13 -0
  171. data/test/parameter_sanitizer_test.rb +81 -0
  172. data/test/rails_app/Rakefile +6 -0
  173. data/test/rails_app/app/active_record/admin.rb +6 -0
  174. data/test/rails_app/app/active_record/shim.rb +2 -0
  175. data/test/rails_app/app/active_record/user.rb +6 -0
  176. data/test/rails_app/app/active_record/user_on_engine.rb +7 -0
  177. data/test/rails_app/app/active_record/user_on_main_app.rb +7 -0
  178. data/test/rails_app/app/controllers/admins/sessions_controller.rb +6 -0
  179. data/test/rails_app/app/controllers/admins_controller.rb +11 -0
  180. data/test/rails_app/app/controllers/application_controller.rb +12 -0
  181. data/test/rails_app/app/controllers/application_with_fake_engine.rb +30 -0
  182. data/test/rails_app/app/controllers/custom/registrations_controller.rb +21 -0
  183. data/test/rails_app/app/controllers/home_controller.rb +25 -0
  184. data/test/rails_app/app/controllers/publisher/registrations_controller.rb +2 -0
  185. data/test/rails_app/app/controllers/publisher/sessions_controller.rb +2 -0
  186. data/test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb +14 -0
  187. data/test/rails_app/app/controllers/users_controller.rb +31 -0
  188. data/test/rails_app/app/helpers/application_helper.rb +3 -0
  189. data/test/rails_app/app/mailers/users/from_proc_mailer.rb +3 -0
  190. data/test/rails_app/app/mailers/users/mailer.rb +3 -0
  191. data/test/rails_app/app/mailers/users/reply_to_mailer.rb +4 -0
  192. data/test/rails_app/app/mongoid/admin.rb +29 -0
  193. data/test/rails_app/app/mongoid/shim.rb +23 -0
  194. data/test/rails_app/app/mongoid/user.rb +39 -0
  195. data/test/rails_app/app/mongoid/user_on_engine.rb +39 -0
  196. data/test/rails_app/app/mongoid/user_on_main_app.rb +39 -0
  197. data/test/rails_app/app/views/admins/index.html.erb +1 -0
  198. data/test/rails_app/app/views/admins/sessions/new.html.erb +2 -0
  199. data/test/rails_app/app/views/home/admin_dashboard.html.erb +1 -0
  200. data/test/rails_app/app/views/home/index.html.erb +1 -0
  201. data/test/rails_app/app/views/home/join.html.erb +1 -0
  202. data/test/rails_app/app/views/home/private.html.erb +1 -0
  203. data/test/rails_app/app/views/home/user_dashboard.html.erb +1 -0
  204. data/test/rails_app/app/views/layouts/application.html.erb +24 -0
  205. data/test/rails_app/app/views/users/edit_form.html.erb +1 -0
  206. data/test/rails_app/app/views/users/index.html.erb +1 -0
  207. data/test/rails_app/app/views/users/mailer/confirmation_instructions.erb +1 -0
  208. data/test/rails_app/app/views/users/sessions/new.html.erb +1 -0
  209. data/test/rails_app/bin/bundle +3 -0
  210. data/test/rails_app/bin/rails +4 -0
  211. data/test/rails_app/bin/rake +4 -0
  212. data/test/rails_app/config.ru +4 -0
  213. data/test/rails_app/config/application.rb +40 -0
  214. data/test/rails_app/config/boot.rb +14 -0
  215. data/test/rails_app/config/database.yml +18 -0
  216. data/test/rails_app/config/environment.rb +5 -0
  217. data/test/rails_app/config/environments/development.rb +30 -0
  218. data/test/rails_app/config/environments/production.rb +80 -0
  219. data/test/rails_app/config/environments/test.rb +36 -0
  220. data/test/rails_app/config/initializers/backtrace_silencers.rb +7 -0
  221. data/test/rails_app/config/initializers/devise.rb +180 -0
  222. data/test/rails_app/config/initializers/inflections.rb +2 -0
  223. data/test/rails_app/config/initializers/secret_token.rb +8 -0
  224. data/test/rails_app/config/initializers/session_store.rb +1 -0
  225. data/test/rails_app/config/routes.rb +122 -0
  226. data/test/rails_app/db/migrate/20100401102949_create_tables.rb +71 -0
  227. data/test/rails_app/db/schema.rb +55 -0
  228. data/test/rails_app/lib/shared_admin.rb +17 -0
  229. data/test/rails_app/lib/shared_user.rb +29 -0
  230. data/test/rails_app/lib/shared_user_without_omniauth.rb +13 -0
  231. data/test/rails_app/public/404.html +26 -0
  232. data/test/rails_app/public/422.html +26 -0
  233. data/test/rails_app/public/500.html +26 -0
  234. data/test/rails_app/public/favicon.ico +0 -0
  235. data/test/routes_test.rb +264 -0
  236. data/test/support/action_controller/record_identifier.rb +10 -0
  237. data/test/support/assertions.rb +39 -0
  238. data/test/support/helpers.rb +73 -0
  239. data/test/support/integration.rb +92 -0
  240. data/test/support/locale/en.yml +8 -0
  241. data/test/support/mongoid.yml +6 -0
  242. data/test/support/webrat/integrations/rails.rb +24 -0
  243. data/test/test_helper.rb +34 -0
  244. data/test/test_helpers_test.rb +163 -0
  245. data/test/test_models.rb +33 -0
  246. metadata +531 -0
@@ -0,0 +1,33 @@
1
+ class Configurable < User
2
+ devise :database_authenticatable, :confirmable, :rememberable, :timeoutable, :lockable,
3
+ stretches: 15, pepper: 'abcdef', allow_unconfirmed_access_for: 5.days,
4
+ remember_for: 7.days, timeout_in: 15.minutes, unlock_in: 10.days
5
+ end
6
+
7
+ class WithValidation < Admin
8
+ devise :database_authenticatable, :validatable, password_length: 2..6
9
+ end
10
+
11
+ class UserWithValidation < User
12
+ validates_presence_of :username
13
+ end
14
+
15
+ class UserWithCustomEncryption < User
16
+ protected
17
+ def password_digest(password)
18
+ password.reverse
19
+ end
20
+ end
21
+
22
+ class UserWithVirtualAttributes < User
23
+ devise case_insensitive_keys: [ :email, :email_confirmation ]
24
+ validates :email, presence: true, confirmation: {on: :create}
25
+ end
26
+
27
+ class Several < Admin
28
+ devise :validatable
29
+ devise :lockable
30
+ end
31
+
32
+ class Inheritable < Admin
33
+ end
metadata ADDED
@@ -0,0 +1,531 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: deviseOne
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Solute Technolabs LLP
8
+ - Sachin Gevariya
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2015-01-12 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: warden
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: 1.2.3
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: 1.2.3
28
+ - !ruby/object:Gem::Dependency
29
+ name: orm_adapter
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '0.1'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '0.1'
42
+ - !ruby/object:Gem::Dependency
43
+ name: bcrypt
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '3.0'
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '3.0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: thread_safe
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '0.1'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '0.1'
70
+ - !ruby/object:Gem::Dependency
71
+ name: railties
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: 3.2.6
77
+ - - "<"
78
+ - !ruby/object:Gem::Version
79
+ version: '5'
80
+ type: :runtime
81
+ prerelease: false
82
+ version_requirements: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: 3.2.6
87
+ - - "<"
88
+ - !ruby/object:Gem::Version
89
+ version: '5'
90
+ - !ruby/object:Gem::Dependency
91
+ name: responders
92
+ requirement: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ type: :runtime
98
+ prerelease: false
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ - !ruby/object:Gem::Dependency
105
+ name: multimap
106
+ requirement: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ type: :runtime
112
+ prerelease: false
113
+ version_requirements: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ - !ruby/object:Gem::Dependency
119
+ name: rest-client
120
+ requirement: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 1.7.2
125
+ type: :runtime
126
+ prerelease: false
127
+ version_requirements: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 1.7.2
132
+ description: Flexible Login/signup with single view
133
+ email: rubydev@solutelabs.com
134
+ executables: []
135
+ extensions: []
136
+ extra_rdoc_files: []
137
+ files:
138
+ - ".gitignore"
139
+ - ".travis.yml"
140
+ - ".yardopts"
141
+ - CHANGELOG.md
142
+ - CONTRIBUTING.md
143
+ - Gemfile
144
+ - Gemfile.lock
145
+ - MIT-LICENSE
146
+ - README.md
147
+ - Rakefile
148
+ - app/controllers/devise/confirmations_controller.rb
149
+ - app/controllers/devise/omniauth_callbacks_controller.rb
150
+ - app/controllers/devise/passwords_controller.rb
151
+ - app/controllers/devise/registrations_controller.rb
152
+ - app/controllers/devise/sessions_controller.rb
153
+ - app/controllers/devise/unlocks_controller.rb
154
+ - app/controllers/devise_controller.rb
155
+ - app/helpers/devise_helper.rb
156
+ - app/mailers/devise/mailer.rb
157
+ - app/views/devise/confirmations/new.html.erb
158
+ - app/views/devise/mailer/confirmation_instructions.html.erb
159
+ - app/views/devise/mailer/reset_password_instructions.html.erb
160
+ - app/views/devise/mailer/unlock_instructions.html.erb
161
+ - app/views/devise/passwords/edit.html.erb
162
+ - app/views/devise/passwords/new.html.erb
163
+ - app/views/devise/registrations/edit.html.erb
164
+ - app/views/devise/registrations/new.html.erb
165
+ - app/views/devise/sessions/new.html.erb
166
+ - app/views/devise/shared/_links.html.erb
167
+ - app/views/devise/unlocks/new.html.erb
168
+ - config/locales/en.yml
169
+ - devise.gemspec
170
+ - devise.png
171
+ - gemfiles/Gemfile.rails-3.2-stable
172
+ - gemfiles/Gemfile.rails-3.2-stable.lock
173
+ - gemfiles/Gemfile.rails-4.0-stable
174
+ - gemfiles/Gemfile.rails-4.0-stable.lock
175
+ - gemfiles/Gemfile.rails-4.1-stable
176
+ - gemfiles/Gemfile.rails-4.1-stable.lock
177
+ - lib/devise.rb
178
+ - lib/devise/controllers/helpers.rb
179
+ - lib/devise/controllers/rememberable.rb
180
+ - lib/devise/controllers/scoped_views.rb
181
+ - lib/devise/controllers/sign_in_out.rb
182
+ - lib/devise/controllers/store_location.rb
183
+ - lib/devise/controllers/url_helpers.rb
184
+ - lib/devise/delegator.rb
185
+ - lib/devise/failure_app.rb
186
+ - lib/devise/hooks/activatable.rb
187
+ - lib/devise/hooks/csrf_cleaner.rb
188
+ - lib/devise/hooks/forgetable.rb
189
+ - lib/devise/hooks/lockable.rb
190
+ - lib/devise/hooks/proxy.rb
191
+ - lib/devise/hooks/rememberable.rb
192
+ - lib/devise/hooks/timeoutable.rb
193
+ - lib/devise/hooks/trackable.rb
194
+ - lib/devise/mailers/helpers.rb
195
+ - lib/devise/mapping.rb
196
+ - lib/devise/models.rb
197
+ - lib/devise/models/authenticatable.rb
198
+ - lib/devise/models/confirmable.rb
199
+ - lib/devise/models/database_authenticatable.rb
200
+ - lib/devise/models/lockable.rb
201
+ - lib/devise/models/omniauthable.rb
202
+ - lib/devise/models/recoverable.rb
203
+ - lib/devise/models/registerable.rb
204
+ - lib/devise/models/rememberable.rb
205
+ - lib/devise/models/timeoutable.rb
206
+ - lib/devise/models/trackable.rb
207
+ - lib/devise/models/validatable.rb
208
+ - lib/devise/modules.rb
209
+ - lib/devise/omniauth.rb
210
+ - lib/devise/omniauth/config.rb
211
+ - lib/devise/omniauth/url_helpers.rb
212
+ - lib/devise/orm/active_record.rb
213
+ - lib/devise/orm/mongoid.rb
214
+ - lib/devise/parameter_filter.rb
215
+ - lib/devise/parameter_sanitizer.rb
216
+ - lib/devise/rails.rb
217
+ - lib/devise/rails/routes.rb
218
+ - lib/devise/rails/warden_compat.rb
219
+ - lib/devise/strategies/authenticatable.rb
220
+ - lib/devise/strategies/base.rb
221
+ - lib/devise/strategies/database_authenticatable.rb
222
+ - lib/devise/strategies/rememberable.rb
223
+ - lib/devise/test_helpers.rb
224
+ - lib/devise/time_inflector.rb
225
+ - lib/devise/token_generator.rb
226
+ - lib/devise/version.rb
227
+ - lib/generators/active_record/devise_generator.rb
228
+ - lib/generators/active_record/templates/migration.rb
229
+ - lib/generators/active_record/templates/migration_existing.rb
230
+ - lib/generators/devise/controllers_generator.rb
231
+ - lib/generators/devise/devise_generator.rb
232
+ - lib/generators/devise/install_generator.rb
233
+ - lib/generators/devise/orm_helpers.rb
234
+ - lib/generators/devise/views_generator.rb
235
+ - lib/generators/mongoid/devise_generator.rb
236
+ - lib/generators/templates/README
237
+ - lib/generators/templates/controllers/README
238
+ - lib/generators/templates/controllers/confirmations_controller.rb
239
+ - lib/generators/templates/controllers/omniauth_callbacks_controller.rb
240
+ - lib/generators/templates/controllers/passwords_controller.rb
241
+ - lib/generators/templates/controllers/registrations_controller.rb
242
+ - lib/generators/templates/controllers/sessions_controller.rb
243
+ - lib/generators/templates/controllers/unlocks_controller.rb
244
+ - lib/generators/templates/devise.rb
245
+ - lib/generators/templates/markerb/confirmation_instructions.markerb
246
+ - lib/generators/templates/markerb/reset_password_instructions.markerb
247
+ - lib/generators/templates/markerb/unlock_instructions.markerb
248
+ - lib/generators/templates/simple_form_for/confirmations/new.html.erb
249
+ - lib/generators/templates/simple_form_for/passwords/edit.html.erb
250
+ - lib/generators/templates/simple_form_for/passwords/new.html.erb
251
+ - lib/generators/templates/simple_form_for/registrations/edit.html.erb
252
+ - lib/generators/templates/simple_form_for/registrations/new.html.erb
253
+ - lib/generators/templates/simple_form_for/sessions/new.html.erb
254
+ - lib/generators/templates/simple_form_for/unlocks/new.html.erb
255
+ - script/cached-bundle
256
+ - script/s3-put
257
+ - test/controllers/custom_registrations_controller_test.rb
258
+ - test/controllers/custom_strategy_test.rb
259
+ - test/controllers/helpers_test.rb
260
+ - test/controllers/internal_helpers_test.rb
261
+ - test/controllers/load_hooks_controller_test.rb
262
+ - test/controllers/passwords_controller_test.rb
263
+ - test/controllers/sessions_controller_test.rb
264
+ - test/controllers/url_helpers_test.rb
265
+ - test/delegator_test.rb
266
+ - test/devise_test.rb
267
+ - test/failure_app_test.rb
268
+ - test/generators/active_record_generator_test.rb
269
+ - test/generators/controllers_generator_test.rb
270
+ - test/generators/devise_generator_test.rb
271
+ - test/generators/install_generator_test.rb
272
+ - test/generators/mongoid_generator_test.rb
273
+ - test/generators/views_generator_test.rb
274
+ - test/helpers/devise_helper_test.rb
275
+ - test/integration/authenticatable_test.rb
276
+ - test/integration/confirmable_test.rb
277
+ - test/integration/database_authenticatable_test.rb
278
+ - test/integration/http_authenticatable_test.rb
279
+ - test/integration/lockable_test.rb
280
+ - test/integration/omniauthable_test.rb
281
+ - test/integration/recoverable_test.rb
282
+ - test/integration/registerable_test.rb
283
+ - test/integration/rememberable_test.rb
284
+ - test/integration/timeoutable_test.rb
285
+ - test/integration/trackable_test.rb
286
+ - test/mailers/confirmation_instructions_test.rb
287
+ - test/mailers/reset_password_instructions_test.rb
288
+ - test/mailers/unlock_instructions_test.rb
289
+ - test/mapping_test.rb
290
+ - test/models/authenticatable_test.rb
291
+ - test/models/confirmable_test.rb
292
+ - test/models/database_authenticatable_test.rb
293
+ - test/models/lockable_test.rb
294
+ - test/models/omniauthable_test.rb
295
+ - test/models/recoverable_test.rb
296
+ - test/models/registerable_test.rb
297
+ - test/models/rememberable_test.rb
298
+ - test/models/serializable_test.rb
299
+ - test/models/timeoutable_test.rb
300
+ - test/models/trackable_test.rb
301
+ - test/models/validatable_test.rb
302
+ - test/models_test.rb
303
+ - test/omniauth/config_test.rb
304
+ - test/omniauth/url_helpers_test.rb
305
+ - test/orm/active_record.rb
306
+ - test/orm/mongoid.rb
307
+ - test/parameter_sanitizer_test.rb
308
+ - test/rails_app/Rakefile
309
+ - test/rails_app/app/active_record/admin.rb
310
+ - test/rails_app/app/active_record/shim.rb
311
+ - test/rails_app/app/active_record/user.rb
312
+ - test/rails_app/app/active_record/user_on_engine.rb
313
+ - test/rails_app/app/active_record/user_on_main_app.rb
314
+ - test/rails_app/app/controllers/admins/sessions_controller.rb
315
+ - test/rails_app/app/controllers/admins_controller.rb
316
+ - test/rails_app/app/controllers/application_controller.rb
317
+ - test/rails_app/app/controllers/application_with_fake_engine.rb
318
+ - test/rails_app/app/controllers/custom/registrations_controller.rb
319
+ - test/rails_app/app/controllers/home_controller.rb
320
+ - test/rails_app/app/controllers/publisher/registrations_controller.rb
321
+ - test/rails_app/app/controllers/publisher/sessions_controller.rb
322
+ - test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb
323
+ - test/rails_app/app/controllers/users_controller.rb
324
+ - test/rails_app/app/helpers/application_helper.rb
325
+ - test/rails_app/app/mailers/users/from_proc_mailer.rb
326
+ - test/rails_app/app/mailers/users/mailer.rb
327
+ - test/rails_app/app/mailers/users/reply_to_mailer.rb
328
+ - test/rails_app/app/mongoid/admin.rb
329
+ - test/rails_app/app/mongoid/shim.rb
330
+ - test/rails_app/app/mongoid/user.rb
331
+ - test/rails_app/app/mongoid/user_on_engine.rb
332
+ - test/rails_app/app/mongoid/user_on_main_app.rb
333
+ - test/rails_app/app/views/admins/index.html.erb
334
+ - test/rails_app/app/views/admins/sessions/new.html.erb
335
+ - test/rails_app/app/views/home/admin_dashboard.html.erb
336
+ - test/rails_app/app/views/home/index.html.erb
337
+ - test/rails_app/app/views/home/join.html.erb
338
+ - test/rails_app/app/views/home/private.html.erb
339
+ - test/rails_app/app/views/home/user_dashboard.html.erb
340
+ - test/rails_app/app/views/layouts/application.html.erb
341
+ - test/rails_app/app/views/users/edit_form.html.erb
342
+ - test/rails_app/app/views/users/index.html.erb
343
+ - test/rails_app/app/views/users/mailer/confirmation_instructions.erb
344
+ - test/rails_app/app/views/users/sessions/new.html.erb
345
+ - test/rails_app/bin/bundle
346
+ - test/rails_app/bin/rails
347
+ - test/rails_app/bin/rake
348
+ - test/rails_app/config.ru
349
+ - test/rails_app/config/application.rb
350
+ - test/rails_app/config/boot.rb
351
+ - test/rails_app/config/database.yml
352
+ - test/rails_app/config/environment.rb
353
+ - test/rails_app/config/environments/development.rb
354
+ - test/rails_app/config/environments/production.rb
355
+ - test/rails_app/config/environments/test.rb
356
+ - test/rails_app/config/initializers/backtrace_silencers.rb
357
+ - test/rails_app/config/initializers/devise.rb
358
+ - test/rails_app/config/initializers/inflections.rb
359
+ - test/rails_app/config/initializers/secret_token.rb
360
+ - test/rails_app/config/initializers/session_store.rb
361
+ - test/rails_app/config/routes.rb
362
+ - test/rails_app/db/migrate/20100401102949_create_tables.rb
363
+ - test/rails_app/db/schema.rb
364
+ - test/rails_app/lib/shared_admin.rb
365
+ - test/rails_app/lib/shared_user.rb
366
+ - test/rails_app/lib/shared_user_without_omniauth.rb
367
+ - test/rails_app/public/404.html
368
+ - test/rails_app/public/422.html
369
+ - test/rails_app/public/500.html
370
+ - test/rails_app/public/favicon.ico
371
+ - test/routes_test.rb
372
+ - test/support/action_controller/record_identifier.rb
373
+ - test/support/assertions.rb
374
+ - test/support/helpers.rb
375
+ - test/support/integration.rb
376
+ - test/support/locale/en.yml
377
+ - test/support/mongoid.yml
378
+ - test/support/webrat/integrations/rails.rb
379
+ - test/test_helper.rb
380
+ - test/test_helpers_test.rb
381
+ - test/test_models.rb
382
+ homepage: https://github.com/solutelabs/deviseOne
383
+ licenses:
384
+ - MIT
385
+ metadata: {}
386
+ post_install_message:
387
+ rdoc_options: []
388
+ require_paths:
389
+ - lib
390
+ required_ruby_version: !ruby/object:Gem::Requirement
391
+ requirements:
392
+ - - ">="
393
+ - !ruby/object:Gem::Version
394
+ version: 1.9.3
395
+ required_rubygems_version: !ruby/object:Gem::Requirement
396
+ requirements:
397
+ - - ">="
398
+ - !ruby/object:Gem::Version
399
+ version: '0'
400
+ requirements: []
401
+ rubyforge_project: deviseOne
402
+ rubygems_version: 2.2.2
403
+ signing_key:
404
+ specification_version: 4
405
+ summary: Flexible authentication solution for Rails with Warden
406
+ test_files:
407
+ - test/controllers/custom_registrations_controller_test.rb
408
+ - test/controllers/custom_strategy_test.rb
409
+ - test/controllers/helpers_test.rb
410
+ - test/controllers/internal_helpers_test.rb
411
+ - test/controllers/load_hooks_controller_test.rb
412
+ - test/controllers/passwords_controller_test.rb
413
+ - test/controllers/sessions_controller_test.rb
414
+ - test/controllers/url_helpers_test.rb
415
+ - test/delegator_test.rb
416
+ - test/devise_test.rb
417
+ - test/failure_app_test.rb
418
+ - test/generators/active_record_generator_test.rb
419
+ - test/generators/controllers_generator_test.rb
420
+ - test/generators/devise_generator_test.rb
421
+ - test/generators/install_generator_test.rb
422
+ - test/generators/mongoid_generator_test.rb
423
+ - test/generators/views_generator_test.rb
424
+ - test/helpers/devise_helper_test.rb
425
+ - test/integration/authenticatable_test.rb
426
+ - test/integration/confirmable_test.rb
427
+ - test/integration/database_authenticatable_test.rb
428
+ - test/integration/http_authenticatable_test.rb
429
+ - test/integration/lockable_test.rb
430
+ - test/integration/omniauthable_test.rb
431
+ - test/integration/recoverable_test.rb
432
+ - test/integration/registerable_test.rb
433
+ - test/integration/rememberable_test.rb
434
+ - test/integration/timeoutable_test.rb
435
+ - test/integration/trackable_test.rb
436
+ - test/mailers/confirmation_instructions_test.rb
437
+ - test/mailers/reset_password_instructions_test.rb
438
+ - test/mailers/unlock_instructions_test.rb
439
+ - test/mapping_test.rb
440
+ - test/models/authenticatable_test.rb
441
+ - test/models/confirmable_test.rb
442
+ - test/models/database_authenticatable_test.rb
443
+ - test/models/lockable_test.rb
444
+ - test/models/omniauthable_test.rb
445
+ - test/models/recoverable_test.rb
446
+ - test/models/registerable_test.rb
447
+ - test/models/rememberable_test.rb
448
+ - test/models/serializable_test.rb
449
+ - test/models/timeoutable_test.rb
450
+ - test/models/trackable_test.rb
451
+ - test/models/validatable_test.rb
452
+ - test/models_test.rb
453
+ - test/omniauth/config_test.rb
454
+ - test/omniauth/url_helpers_test.rb
455
+ - test/orm/active_record.rb
456
+ - test/orm/mongoid.rb
457
+ - test/parameter_sanitizer_test.rb
458
+ - test/rails_app/Rakefile
459
+ - test/rails_app/app/active_record/admin.rb
460
+ - test/rails_app/app/active_record/shim.rb
461
+ - test/rails_app/app/active_record/user.rb
462
+ - test/rails_app/app/active_record/user_on_engine.rb
463
+ - test/rails_app/app/active_record/user_on_main_app.rb
464
+ - test/rails_app/app/controllers/admins/sessions_controller.rb
465
+ - test/rails_app/app/controllers/admins_controller.rb
466
+ - test/rails_app/app/controllers/application_controller.rb
467
+ - test/rails_app/app/controllers/application_with_fake_engine.rb
468
+ - test/rails_app/app/controllers/custom/registrations_controller.rb
469
+ - test/rails_app/app/controllers/home_controller.rb
470
+ - test/rails_app/app/controllers/publisher/registrations_controller.rb
471
+ - test/rails_app/app/controllers/publisher/sessions_controller.rb
472
+ - test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb
473
+ - test/rails_app/app/controllers/users_controller.rb
474
+ - test/rails_app/app/helpers/application_helper.rb
475
+ - test/rails_app/app/mailers/users/from_proc_mailer.rb
476
+ - test/rails_app/app/mailers/users/mailer.rb
477
+ - test/rails_app/app/mailers/users/reply_to_mailer.rb
478
+ - test/rails_app/app/mongoid/admin.rb
479
+ - test/rails_app/app/mongoid/shim.rb
480
+ - test/rails_app/app/mongoid/user.rb
481
+ - test/rails_app/app/mongoid/user_on_engine.rb
482
+ - test/rails_app/app/mongoid/user_on_main_app.rb
483
+ - test/rails_app/app/views/admins/index.html.erb
484
+ - test/rails_app/app/views/admins/sessions/new.html.erb
485
+ - test/rails_app/app/views/home/admin_dashboard.html.erb
486
+ - test/rails_app/app/views/home/index.html.erb
487
+ - test/rails_app/app/views/home/join.html.erb
488
+ - test/rails_app/app/views/home/private.html.erb
489
+ - test/rails_app/app/views/home/user_dashboard.html.erb
490
+ - test/rails_app/app/views/layouts/application.html.erb
491
+ - test/rails_app/app/views/users/edit_form.html.erb
492
+ - test/rails_app/app/views/users/index.html.erb
493
+ - test/rails_app/app/views/users/mailer/confirmation_instructions.erb
494
+ - test/rails_app/app/views/users/sessions/new.html.erb
495
+ - test/rails_app/bin/bundle
496
+ - test/rails_app/bin/rails
497
+ - test/rails_app/bin/rake
498
+ - test/rails_app/config.ru
499
+ - test/rails_app/config/application.rb
500
+ - test/rails_app/config/boot.rb
501
+ - test/rails_app/config/database.yml
502
+ - test/rails_app/config/environment.rb
503
+ - test/rails_app/config/environments/development.rb
504
+ - test/rails_app/config/environments/production.rb
505
+ - test/rails_app/config/environments/test.rb
506
+ - test/rails_app/config/initializers/backtrace_silencers.rb
507
+ - test/rails_app/config/initializers/devise.rb
508
+ - test/rails_app/config/initializers/inflections.rb
509
+ - test/rails_app/config/initializers/secret_token.rb
510
+ - test/rails_app/config/initializers/session_store.rb
511
+ - test/rails_app/config/routes.rb
512
+ - test/rails_app/db/migrate/20100401102949_create_tables.rb
513
+ - test/rails_app/db/schema.rb
514
+ - test/rails_app/lib/shared_admin.rb
515
+ - test/rails_app/lib/shared_user.rb
516
+ - test/rails_app/lib/shared_user_without_omniauth.rb
517
+ - test/rails_app/public/404.html
518
+ - test/rails_app/public/422.html
519
+ - test/rails_app/public/500.html
520
+ - test/rails_app/public/favicon.ico
521
+ - test/routes_test.rb
522
+ - test/support/action_controller/record_identifier.rb
523
+ - test/support/assertions.rb
524
+ - test/support/helpers.rb
525
+ - test/support/integration.rb
526
+ - test/support/locale/en.yml
527
+ - test/support/mongoid.yml
528
+ - test/support/webrat/integrations/rails.rb
529
+ - test/test_helper.rb
530
+ - test/test_helpers_test.rb
531
+ - test/test_models.rb