devise 4.3.0 → 4.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +205 -2
- data/MIT-LICENSE +2 -1
- data/README.md +214 -57
- data/app/controllers/devise/confirmations_controller.rb +3 -0
- data/app/controllers/devise/omniauth_callbacks_controller.rb +3 -1
- data/app/controllers/devise/passwords_controller.rb +5 -2
- data/app/controllers/devise/registrations_controller.rb +32 -12
- data/app/controllers/devise/sessions_controller.rb +4 -2
- data/app/controllers/devise/unlocks_controller.rb +3 -0
- data/app/controllers/devise_controller.rb +6 -3
- data/app/helpers/devise_helper.rb +23 -18
- data/app/mailers/devise/mailer.rb +7 -5
- data/app/views/devise/confirmations/new.html.erb +2 -2
- data/app/views/devise/passwords/edit.html.erb +3 -3
- data/app/views/devise/passwords/new.html.erb +2 -2
- data/app/views/devise/registrations/edit.html.erb +6 -6
- data/app/views/devise/registrations/new.html.erb +4 -4
- data/app/views/devise/sessions/new.html.erb +4 -4
- data/app/views/devise/shared/_error_messages.html.erb +15 -0
- data/app/views/devise/shared/_links.html.erb +8 -8
- data/app/views/devise/unlocks/new.html.erb +2 -2
- data/config/locales/en.yml +3 -2
- data/lib/devise/controllers/helpers.rb +10 -8
- data/lib/devise/controllers/rememberable.rb +2 -0
- data/lib/devise/controllers/responder.rb +35 -0
- data/lib/devise/controllers/scoped_views.rb +2 -0
- data/lib/devise/controllers/sign_in_out.rb +14 -4
- data/lib/devise/controllers/store_location.rb +24 -6
- data/lib/devise/controllers/url_helpers.rb +3 -1
- data/lib/devise/delegator.rb +2 -0
- data/lib/devise/encryptor.rb +2 -0
- data/lib/devise/failure_app.rb +33 -7
- data/lib/devise/hooks/activatable.rb +2 -0
- data/lib/devise/hooks/csrf_cleaner.rb +8 -1
- data/lib/devise/hooks/forgetable.rb +2 -0
- data/lib/devise/hooks/lockable.rb +4 -5
- data/lib/devise/hooks/proxy.rb +2 -0
- data/lib/devise/hooks/rememberable.rb +2 -0
- data/lib/devise/hooks/timeoutable.rb +4 -2
- data/lib/devise/hooks/trackable.rb +2 -0
- data/lib/devise/mailers/helpers.rb +2 -0
- data/lib/devise/mapping.rb +3 -1
- data/lib/devise/models/authenticatable.rb +55 -50
- data/lib/devise/models/confirmable.rb +36 -40
- data/lib/devise/models/database_authenticatable.rb +57 -36
- data/lib/devise/models/lockable.rb +18 -4
- data/lib/devise/models/omniauthable.rb +4 -2
- data/lib/devise/models/recoverable.rb +10 -19
- data/lib/devise/models/registerable.rb +4 -0
- data/lib/devise/models/rememberable.rb +5 -3
- data/lib/devise/models/timeoutable.rb +3 -1
- data/lib/devise/models/trackable.rb +15 -1
- data/lib/devise/models/validatable.rb +7 -10
- data/lib/devise/models.rb +3 -0
- data/lib/devise/modules.rb +2 -0
- data/lib/devise/omniauth/config.rb +2 -0
- data/lib/devise/omniauth/url_helpers.rb +2 -0
- data/lib/devise/omniauth.rb +4 -5
- data/lib/devise/orm/active_record.rb +2 -0
- data/lib/devise/orm/mongoid.rb +2 -0
- data/lib/devise/orm.rb +71 -0
- data/lib/devise/parameter_filter.rb +4 -0
- data/lib/devise/parameter_sanitizer.rb +15 -1
- data/lib/devise/rails/deprecated_constant_accessor.rb +39 -0
- data/lib/devise/rails/routes.rb +8 -6
- data/lib/devise/rails/warden_compat.rb +2 -0
- data/lib/devise/rails.rb +3 -5
- data/lib/devise/secret_key_finder.rb +27 -0
- data/lib/devise/strategies/authenticatable.rb +3 -1
- data/lib/devise/strategies/base.rb +2 -0
- data/lib/devise/strategies/database_authenticatable.rb +8 -1
- data/lib/devise/strategies/rememberable.rb +2 -0
- data/lib/devise/test/controller_helpers.rb +6 -1
- data/lib/devise/test/integration_helpers.rb +3 -1
- data/lib/devise/test_helpers.rb +2 -0
- data/lib/devise/time_inflector.rb +2 -0
- data/lib/devise/token_generator.rb +2 -0
- data/lib/devise/version.rb +3 -1
- data/lib/devise.rb +38 -12
- data/lib/generators/active_record/devise_generator.rb +40 -12
- data/lib/generators/active_record/templates/migration.rb +3 -1
- data/lib/generators/active_record/templates/migration_existing.rb +2 -0
- data/lib/generators/devise/controllers_generator.rb +3 -1
- data/lib/generators/devise/devise_generator.rb +5 -3
- data/lib/generators/devise/install_generator.rb +3 -5
- data/lib/generators/devise/orm_helpers.rb +9 -3
- data/lib/generators/devise/views_generator.rb +8 -9
- data/lib/generators/mongoid/devise_generator.rb +7 -5
- data/lib/generators/templates/README +9 -1
- data/lib/generators/templates/controllers/confirmations_controller.rb +2 -0
- data/lib/generators/templates/controllers/omniauth_callbacks_controller.rb +3 -1
- data/lib/generators/templates/controllers/passwords_controller.rb +2 -0
- data/lib/generators/templates/controllers/registrations_controller.rb +2 -0
- data/lib/generators/templates/controllers/sessions_controller.rb +2 -0
- data/lib/generators/templates/controllers/unlocks_controller.rb +2 -0
- data/lib/generators/templates/devise.rb +43 -7
- data/lib/generators/templates/simple_form_for/confirmations/new.html.erb +5 -1
- data/lib/generators/templates/simple_form_for/passwords/edit.html.erb +10 -2
- data/lib/generators/templates/simple_form_for/passwords/new.html.erb +4 -1
- data/lib/generators/templates/simple_form_for/registrations/edit.html.erb +12 -4
- data/lib/generators/templates/simple_form_for/registrations/new.html.erb +11 -3
- data/lib/generators/templates/simple_form_for/sessions/new.html.erb +7 -2
- data/lib/generators/templates/simple_form_for/unlocks/new.html.erb +4 -1
- metadata +24 -307
- data/.gitignore +0 -10
- data/.travis.yml +0 -58
- data/.yardopts +0 -9
- data/CODE_OF_CONDUCT.md +0 -22
- data/CONTRIBUTING.md +0 -79
- data/Gemfile +0 -40
- data/Gemfile.lock +0 -194
- data/Rakefile +0 -36
- data/bin/test +0 -13
- data/devise.gemspec +0 -26
- data/devise.png +0 -0
- data/gemfiles/Gemfile.rails-4.1-stable +0 -30
- data/gemfiles/Gemfile.rails-4.1-stable.lock +0 -171
- data/gemfiles/Gemfile.rails-4.2-stable +0 -30
- data/gemfiles/Gemfile.rails-4.2-stable.lock +0 -192
- data/gemfiles/Gemfile.rails-5.0-stable +0 -34
- data/gemfiles/Gemfile.rails-5.0-stable.lock +0 -193
- data/guides/bug_report_templates/integration_test.rb +0 -104
- data/test/controllers/custom_registrations_controller_test.rb +0 -40
- data/test/controllers/custom_strategy_test.rb +0 -64
- data/test/controllers/helper_methods_test.rb +0 -22
- data/test/controllers/helpers_test.rb +0 -316
- data/test/controllers/inherited_controller_i18n_messages_test.rb +0 -51
- data/test/controllers/internal_helpers_test.rb +0 -127
- data/test/controllers/load_hooks_controller_test.rb +0 -19
- data/test/controllers/passwords_controller_test.rb +0 -32
- data/test/controllers/sessions_controller_test.rb +0 -106
- data/test/controllers/url_helpers_test.rb +0 -65
- data/test/delegator_test.rb +0 -19
- data/test/devise_test.rb +0 -107
- data/test/failure_app_test.rb +0 -338
- data/test/generators/active_record_generator_test.rb +0 -83
- data/test/generators/controllers_generator_test.rb +0 -48
- data/test/generators/devise_generator_test.rb +0 -39
- data/test/generators/install_generator_test.rb +0 -24
- data/test/generators/mongoid_generator_test.rb +0 -23
- data/test/generators/views_generator_test.rb +0 -103
- data/test/helpers/devise_helper_test.rb +0 -49
- data/test/integration/authenticatable_test.rb +0 -698
- data/test/integration/confirmable_test.rb +0 -324
- data/test/integration/database_authenticatable_test.rb +0 -95
- data/test/integration/http_authenticatable_test.rb +0 -106
- data/test/integration/lockable_test.rb +0 -240
- data/test/integration/mounted_engine_test.rb +0 -36
- data/test/integration/omniauthable_test.rb +0 -135
- data/test/integration/recoverable_test.rb +0 -347
- data/test/integration/registerable_test.rb +0 -363
- data/test/integration/rememberable_test.rb +0 -217
- data/test/integration/timeoutable_test.rb +0 -184
- data/test/integration/trackable_test.rb +0 -92
- data/test/mailers/confirmation_instructions_test.rb +0 -115
- data/test/mailers/email_changed_test.rb +0 -130
- data/test/mailers/mailer_test.rb +0 -18
- data/test/mailers/reset_password_instructions_test.rb +0 -96
- data/test/mailers/unlock_instructions_test.rb +0 -91
- data/test/mapping_test.rb +0 -134
- data/test/models/authenticatable_test.rb +0 -23
- data/test/models/confirmable_test.rb +0 -536
- data/test/models/database_authenticatable_test.rb +0 -281
- data/test/models/lockable_test.rb +0 -350
- data/test/models/omniauthable_test.rb +0 -7
- data/test/models/recoverable_test.rb +0 -261
- data/test/models/registerable_test.rb +0 -7
- data/test/models/rememberable_test.rb +0 -182
- data/test/models/serializable_test.rb +0 -54
- data/test/models/timeoutable_test.rb +0 -51
- data/test/models/trackable_test.rb +0 -41
- data/test/models/validatable_test.rb +0 -119
- data/test/models_test.rb +0 -153
- data/test/omniauth/config_test.rb +0 -59
- data/test/omniauth/url_helpers_test.rb +0 -51
- data/test/orm/active_record.rb +0 -17
- data/test/orm/mongoid.rb +0 -13
- data/test/parameter_sanitizer_test.rb +0 -75
- data/test/rails_app/Rakefile +0 -6
- data/test/rails_app/app/active_record/admin.rb +0 -6
- data/test/rails_app/app/active_record/shim.rb +0 -2
- data/test/rails_app/app/active_record/user.rb +0 -7
- data/test/rails_app/app/active_record/user_on_engine.rb +0 -7
- data/test/rails_app/app/active_record/user_on_main_app.rb +0 -7
- data/test/rails_app/app/active_record/user_without_email.rb +0 -8
- data/test/rails_app/app/controllers/admins/sessions_controller.rb +0 -6
- data/test/rails_app/app/controllers/admins_controller.rb +0 -6
- data/test/rails_app/app/controllers/application_controller.rb +0 -11
- data/test/rails_app/app/controllers/application_with_fake_engine.rb +0 -30
- data/test/rails_app/app/controllers/custom/registrations_controller.rb +0 -31
- data/test/rails_app/app/controllers/home_controller.rb +0 -29
- data/test/rails_app/app/controllers/publisher/registrations_controller.rb +0 -2
- data/test/rails_app/app/controllers/publisher/sessions_controller.rb +0 -2
- data/test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb +0 -14
- data/test/rails_app/app/controllers/users_controller.rb +0 -31
- data/test/rails_app/app/helpers/application_helper.rb +0 -3
- data/test/rails_app/app/mailers/users/from_proc_mailer.rb +0 -3
- data/test/rails_app/app/mailers/users/mailer.rb +0 -3
- data/test/rails_app/app/mailers/users/reply_to_mailer.rb +0 -4
- data/test/rails_app/app/mongoid/admin.rb +0 -29
- data/test/rails_app/app/mongoid/shim.rb +0 -23
- data/test/rails_app/app/mongoid/user.rb +0 -39
- data/test/rails_app/app/mongoid/user_on_engine.rb +0 -39
- data/test/rails_app/app/mongoid/user_on_main_app.rb +0 -39
- data/test/rails_app/app/mongoid/user_without_email.rb +0 -33
- data/test/rails_app/app/views/admins/index.html.erb +0 -1
- data/test/rails_app/app/views/admins/sessions/new.html.erb +0 -2
- data/test/rails_app/app/views/home/admin_dashboard.html.erb +0 -1
- data/test/rails_app/app/views/home/index.html.erb +0 -1
- data/test/rails_app/app/views/home/join.html.erb +0 -1
- data/test/rails_app/app/views/home/private.html.erb +0 -1
- data/test/rails_app/app/views/home/user_dashboard.html.erb +0 -1
- data/test/rails_app/app/views/layouts/application.html.erb +0 -24
- data/test/rails_app/app/views/users/edit_form.html.erb +0 -1
- data/test/rails_app/app/views/users/index.html.erb +0 -1
- data/test/rails_app/app/views/users/mailer/confirmation_instructions.erb +0 -1
- data/test/rails_app/app/views/users/sessions/new.html.erb +0 -1
- data/test/rails_app/bin/bundle +0 -3
- data/test/rails_app/bin/rails +0 -4
- data/test/rails_app/bin/rake +0 -4
- data/test/rails_app/config/application.rb +0 -44
- data/test/rails_app/config/boot.rb +0 -20
- data/test/rails_app/config/database.yml +0 -18
- data/test/rails_app/config/environment.rb +0 -5
- data/test/rails_app/config/environments/development.rb +0 -30
- data/test/rails_app/config/environments/production.rb +0 -86
- data/test/rails_app/config/environments/test.rb +0 -45
- data/test/rails_app/config/initializers/backtrace_silencers.rb +0 -7
- data/test/rails_app/config/initializers/devise.rb +0 -180
- data/test/rails_app/config/initializers/inflections.rb +0 -2
- data/test/rails_app/config/initializers/secret_token.rb +0 -3
- data/test/rails_app/config/initializers/session_store.rb +0 -1
- data/test/rails_app/config/routes.rb +0 -126
- data/test/rails_app/config.ru +0 -4
- data/test/rails_app/db/migrate/20100401102949_create_tables.rb +0 -75
- data/test/rails_app/db/schema.rb +0 -55
- data/test/rails_app/lib/shared_admin.rb +0 -21
- data/test/rails_app/lib/shared_user.rb +0 -30
- data/test/rails_app/lib/shared_user_without_email.rb +0 -26
- data/test/rails_app/lib/shared_user_without_omniauth.rb +0 -13
- data/test/rails_app/public/404.html +0 -26
- data/test/rails_app/public/422.html +0 -26
- data/test/rails_app/public/500.html +0 -26
- data/test/rails_app/public/favicon.ico +0 -0
- data/test/rails_test.rb +0 -9
- data/test/routes_test.rb +0 -279
- data/test/support/action_controller/record_identifier.rb +0 -10
- data/test/support/assertions.rb +0 -28
- data/test/support/helpers.rb +0 -77
- data/test/support/http_method_compatibility.rb +0 -51
- data/test/support/integration.rb +0 -92
- data/test/support/locale/en.yml +0 -8
- data/test/support/mongoid.yml +0 -6
- data/test/support/webrat/integrations/rails.rb +0 -33
- data/test/test/controller_helpers_test.rb +0 -186
- data/test/test/integration_helpers_test.rb +0 -32
- data/test/test_helper.rb +0 -34
- data/test/test_models.rb +0 -33
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- José Valim
|
8
8
|
- Carlos Antônio
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-04-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: warden
|
@@ -60,9 +60,6 @@ dependencies:
|
|
60
60
|
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: 4.1.0
|
63
|
-
- - "<"
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
version: '5.2'
|
66
63
|
type: :runtime
|
67
64
|
prerelease: false
|
68
65
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -70,9 +67,6 @@ dependencies:
|
|
70
67
|
- - ">="
|
71
68
|
- !ruby/object:Gem::Version
|
72
69
|
version: 4.1.0
|
73
|
-
- - "<"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '5.2'
|
76
70
|
- !ruby/object:Gem::Dependency
|
77
71
|
name: responders
|
78
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,22 +82,14 @@ dependencies:
|
|
88
82
|
- !ruby/object:Gem::Version
|
89
83
|
version: '0'
|
90
84
|
description: Flexible authentication solution for Rails with Warden
|
91
|
-
email:
|
85
|
+
email: heartcombo@googlegroups.com
|
92
86
|
executables: []
|
93
87
|
extensions: []
|
94
88
|
extra_rdoc_files: []
|
95
89
|
files:
|
96
|
-
- ".gitignore"
|
97
|
-
- ".travis.yml"
|
98
|
-
- ".yardopts"
|
99
90
|
- CHANGELOG.md
|
100
|
-
- CODE_OF_CONDUCT.md
|
101
|
-
- CONTRIBUTING.md
|
102
|
-
- Gemfile
|
103
|
-
- Gemfile.lock
|
104
91
|
- MIT-LICENSE
|
105
92
|
- README.md
|
106
|
-
- Rakefile
|
107
93
|
- app/controllers/devise/confirmations_controller.rb
|
108
94
|
- app/controllers/devise/omniauth_callbacks_controller.rb
|
109
95
|
- app/controllers/devise/passwords_controller.rb
|
@@ -124,22 +110,14 @@ files:
|
|
124
110
|
- app/views/devise/registrations/edit.html.erb
|
125
111
|
- app/views/devise/registrations/new.html.erb
|
126
112
|
- app/views/devise/sessions/new.html.erb
|
113
|
+
- app/views/devise/shared/_error_messages.html.erb
|
127
114
|
- app/views/devise/shared/_links.html.erb
|
128
115
|
- app/views/devise/unlocks/new.html.erb
|
129
|
-
- bin/test
|
130
116
|
- config/locales/en.yml
|
131
|
-
- devise.gemspec
|
132
|
-
- devise.png
|
133
|
-
- gemfiles/Gemfile.rails-4.1-stable
|
134
|
-
- gemfiles/Gemfile.rails-4.1-stable.lock
|
135
|
-
- gemfiles/Gemfile.rails-4.2-stable
|
136
|
-
- gemfiles/Gemfile.rails-4.2-stable.lock
|
137
|
-
- gemfiles/Gemfile.rails-5.0-stable
|
138
|
-
- gemfiles/Gemfile.rails-5.0-stable.lock
|
139
|
-
- guides/bug_report_templates/integration_test.rb
|
140
117
|
- lib/devise.rb
|
141
118
|
- lib/devise/controllers/helpers.rb
|
142
119
|
- lib/devise/controllers/rememberable.rb
|
120
|
+
- lib/devise/controllers/responder.rb
|
143
121
|
- lib/devise/controllers/scoped_views.rb
|
144
122
|
- lib/devise/controllers/sign_in_out.rb
|
145
123
|
- lib/devise/controllers/store_location.rb
|
@@ -173,13 +151,16 @@ files:
|
|
173
151
|
- lib/devise/omniauth.rb
|
174
152
|
- lib/devise/omniauth/config.rb
|
175
153
|
- lib/devise/omniauth/url_helpers.rb
|
154
|
+
- lib/devise/orm.rb
|
176
155
|
- lib/devise/orm/active_record.rb
|
177
156
|
- lib/devise/orm/mongoid.rb
|
178
157
|
- lib/devise/parameter_filter.rb
|
179
158
|
- lib/devise/parameter_sanitizer.rb
|
180
159
|
- lib/devise/rails.rb
|
160
|
+
- lib/devise/rails/deprecated_constant_accessor.rb
|
181
161
|
- lib/devise/rails/routes.rb
|
182
162
|
- lib/devise/rails/warden_compat.rb
|
163
|
+
- lib/devise/secret_key_finder.rb
|
183
164
|
- lib/devise/strategies/authenticatable.rb
|
184
165
|
- lib/devise/strategies/base.rb
|
185
166
|
- lib/devise/strategies/database_authenticatable.rb
|
@@ -220,147 +201,20 @@ files:
|
|
220
201
|
- lib/generators/templates/simple_form_for/registrations/new.html.erb
|
221
202
|
- lib/generators/templates/simple_form_for/sessions/new.html.erb
|
222
203
|
- lib/generators/templates/simple_form_for/unlocks/new.html.erb
|
223
|
-
|
224
|
-
- test/controllers/custom_strategy_test.rb
|
225
|
-
- test/controllers/helper_methods_test.rb
|
226
|
-
- test/controllers/helpers_test.rb
|
227
|
-
- test/controllers/inherited_controller_i18n_messages_test.rb
|
228
|
-
- test/controllers/internal_helpers_test.rb
|
229
|
-
- test/controllers/load_hooks_controller_test.rb
|
230
|
-
- test/controllers/passwords_controller_test.rb
|
231
|
-
- test/controllers/sessions_controller_test.rb
|
232
|
-
- test/controllers/url_helpers_test.rb
|
233
|
-
- test/delegator_test.rb
|
234
|
-
- test/devise_test.rb
|
235
|
-
- test/failure_app_test.rb
|
236
|
-
- test/generators/active_record_generator_test.rb
|
237
|
-
- test/generators/controllers_generator_test.rb
|
238
|
-
- test/generators/devise_generator_test.rb
|
239
|
-
- test/generators/install_generator_test.rb
|
240
|
-
- test/generators/mongoid_generator_test.rb
|
241
|
-
- test/generators/views_generator_test.rb
|
242
|
-
- test/helpers/devise_helper_test.rb
|
243
|
-
- test/integration/authenticatable_test.rb
|
244
|
-
- test/integration/confirmable_test.rb
|
245
|
-
- test/integration/database_authenticatable_test.rb
|
246
|
-
- test/integration/http_authenticatable_test.rb
|
247
|
-
- test/integration/lockable_test.rb
|
248
|
-
- test/integration/mounted_engine_test.rb
|
249
|
-
- test/integration/omniauthable_test.rb
|
250
|
-
- test/integration/recoverable_test.rb
|
251
|
-
- test/integration/registerable_test.rb
|
252
|
-
- test/integration/rememberable_test.rb
|
253
|
-
- test/integration/timeoutable_test.rb
|
254
|
-
- test/integration/trackable_test.rb
|
255
|
-
- test/mailers/confirmation_instructions_test.rb
|
256
|
-
- test/mailers/email_changed_test.rb
|
257
|
-
- test/mailers/mailer_test.rb
|
258
|
-
- test/mailers/reset_password_instructions_test.rb
|
259
|
-
- test/mailers/unlock_instructions_test.rb
|
260
|
-
- test/mapping_test.rb
|
261
|
-
- test/models/authenticatable_test.rb
|
262
|
-
- test/models/confirmable_test.rb
|
263
|
-
- test/models/database_authenticatable_test.rb
|
264
|
-
- test/models/lockable_test.rb
|
265
|
-
- test/models/omniauthable_test.rb
|
266
|
-
- test/models/recoverable_test.rb
|
267
|
-
- test/models/registerable_test.rb
|
268
|
-
- test/models/rememberable_test.rb
|
269
|
-
- test/models/serializable_test.rb
|
270
|
-
- test/models/timeoutable_test.rb
|
271
|
-
- test/models/trackable_test.rb
|
272
|
-
- test/models/validatable_test.rb
|
273
|
-
- test/models_test.rb
|
274
|
-
- test/omniauth/config_test.rb
|
275
|
-
- test/omniauth/url_helpers_test.rb
|
276
|
-
- test/orm/active_record.rb
|
277
|
-
- test/orm/mongoid.rb
|
278
|
-
- test/parameter_sanitizer_test.rb
|
279
|
-
- test/rails_app/Rakefile
|
280
|
-
- test/rails_app/app/active_record/admin.rb
|
281
|
-
- test/rails_app/app/active_record/shim.rb
|
282
|
-
- test/rails_app/app/active_record/user.rb
|
283
|
-
- test/rails_app/app/active_record/user_on_engine.rb
|
284
|
-
- test/rails_app/app/active_record/user_on_main_app.rb
|
285
|
-
- test/rails_app/app/active_record/user_without_email.rb
|
286
|
-
- test/rails_app/app/controllers/admins/sessions_controller.rb
|
287
|
-
- test/rails_app/app/controllers/admins_controller.rb
|
288
|
-
- test/rails_app/app/controllers/application_controller.rb
|
289
|
-
- test/rails_app/app/controllers/application_with_fake_engine.rb
|
290
|
-
- test/rails_app/app/controllers/custom/registrations_controller.rb
|
291
|
-
- test/rails_app/app/controllers/home_controller.rb
|
292
|
-
- test/rails_app/app/controllers/publisher/registrations_controller.rb
|
293
|
-
- test/rails_app/app/controllers/publisher/sessions_controller.rb
|
294
|
-
- test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb
|
295
|
-
- test/rails_app/app/controllers/users_controller.rb
|
296
|
-
- test/rails_app/app/helpers/application_helper.rb
|
297
|
-
- test/rails_app/app/mailers/users/from_proc_mailer.rb
|
298
|
-
- test/rails_app/app/mailers/users/mailer.rb
|
299
|
-
- test/rails_app/app/mailers/users/reply_to_mailer.rb
|
300
|
-
- test/rails_app/app/mongoid/admin.rb
|
301
|
-
- test/rails_app/app/mongoid/shim.rb
|
302
|
-
- test/rails_app/app/mongoid/user.rb
|
303
|
-
- test/rails_app/app/mongoid/user_on_engine.rb
|
304
|
-
- test/rails_app/app/mongoid/user_on_main_app.rb
|
305
|
-
- test/rails_app/app/mongoid/user_without_email.rb
|
306
|
-
- test/rails_app/app/views/admins/index.html.erb
|
307
|
-
- test/rails_app/app/views/admins/sessions/new.html.erb
|
308
|
-
- test/rails_app/app/views/home/admin_dashboard.html.erb
|
309
|
-
- test/rails_app/app/views/home/index.html.erb
|
310
|
-
- test/rails_app/app/views/home/join.html.erb
|
311
|
-
- test/rails_app/app/views/home/private.html.erb
|
312
|
-
- test/rails_app/app/views/home/user_dashboard.html.erb
|
313
|
-
- test/rails_app/app/views/layouts/application.html.erb
|
314
|
-
- test/rails_app/app/views/users/edit_form.html.erb
|
315
|
-
- test/rails_app/app/views/users/index.html.erb
|
316
|
-
- test/rails_app/app/views/users/mailer/confirmation_instructions.erb
|
317
|
-
- test/rails_app/app/views/users/sessions/new.html.erb
|
318
|
-
- test/rails_app/bin/bundle
|
319
|
-
- test/rails_app/bin/rails
|
320
|
-
- test/rails_app/bin/rake
|
321
|
-
- test/rails_app/config.ru
|
322
|
-
- test/rails_app/config/application.rb
|
323
|
-
- test/rails_app/config/boot.rb
|
324
|
-
- test/rails_app/config/database.yml
|
325
|
-
- test/rails_app/config/environment.rb
|
326
|
-
- test/rails_app/config/environments/development.rb
|
327
|
-
- test/rails_app/config/environments/production.rb
|
328
|
-
- test/rails_app/config/environments/test.rb
|
329
|
-
- test/rails_app/config/initializers/backtrace_silencers.rb
|
330
|
-
- test/rails_app/config/initializers/devise.rb
|
331
|
-
- test/rails_app/config/initializers/inflections.rb
|
332
|
-
- test/rails_app/config/initializers/secret_token.rb
|
333
|
-
- test/rails_app/config/initializers/session_store.rb
|
334
|
-
- test/rails_app/config/routes.rb
|
335
|
-
- test/rails_app/db/migrate/20100401102949_create_tables.rb
|
336
|
-
- test/rails_app/db/schema.rb
|
337
|
-
- test/rails_app/lib/shared_admin.rb
|
338
|
-
- test/rails_app/lib/shared_user.rb
|
339
|
-
- test/rails_app/lib/shared_user_without_email.rb
|
340
|
-
- test/rails_app/lib/shared_user_without_omniauth.rb
|
341
|
-
- test/rails_app/public/404.html
|
342
|
-
- test/rails_app/public/422.html
|
343
|
-
- test/rails_app/public/500.html
|
344
|
-
- test/rails_app/public/favicon.ico
|
345
|
-
- test/rails_test.rb
|
346
|
-
- test/routes_test.rb
|
347
|
-
- test/support/action_controller/record_identifier.rb
|
348
|
-
- test/support/assertions.rb
|
349
|
-
- test/support/helpers.rb
|
350
|
-
- test/support/http_method_compatibility.rb
|
351
|
-
- test/support/integration.rb
|
352
|
-
- test/support/locale/en.yml
|
353
|
-
- test/support/mongoid.yml
|
354
|
-
- test/support/webrat/integrations/rails.rb
|
355
|
-
- test/test/controller_helpers_test.rb
|
356
|
-
- test/test/integration_helpers_test.rb
|
357
|
-
- test/test_helper.rb
|
358
|
-
- test/test_models.rb
|
359
|
-
homepage: https://github.com/plataformatec/devise
|
204
|
+
homepage: https://github.com/heartcombo/devise
|
360
205
|
licenses:
|
361
206
|
- MIT
|
362
|
-
metadata:
|
363
|
-
|
207
|
+
metadata:
|
208
|
+
homepage_uri: https://github.com/heartcombo/devise
|
209
|
+
documentation_uri: https://rubydoc.info/github/heartcombo/devise
|
210
|
+
changelog_uri: https://github.com/heartcombo/devise/blob/main/CHANGELOG.md
|
211
|
+
source_code_uri: https://github.com/heartcombo/devise
|
212
|
+
bug_tracker_uri: https://github.com/heartcombo/devise/issues
|
213
|
+
wiki_uri: https://github.com/heartcombo/devise/wiki
|
214
|
+
post_install_message: "\n[DEVISE] Please review the [changelog] and [upgrade guide]
|
215
|
+
for more info on Hotwire / Turbo integration.\n\n [changelog] https://github.com/heartcombo/devise/blob/main/CHANGELOG.md\n
|
216
|
+
\ [upgrade guide] https://github.com/heartcombo/devise/wiki/How-To:-Upgrade-to-Devise-4.9.0-%5BHotwire-Turbo-integration%5D\n
|
217
|
+
\ "
|
364
218
|
rdoc_options: []
|
365
219
|
require_paths:
|
366
220
|
- lib
|
@@ -375,145 +229,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
375
229
|
- !ruby/object:Gem::Version
|
376
230
|
version: '0'
|
377
231
|
requirements: []
|
378
|
-
|
379
|
-
|
380
|
-
signing_key:
|
232
|
+
rubygems_version: 3.0.3.1
|
233
|
+
signing_key:
|
381
234
|
specification_version: 4
|
382
235
|
summary: Flexible authentication solution for Rails with Warden
|
383
|
-
test_files:
|
384
|
-
- test/controllers/custom_registrations_controller_test.rb
|
385
|
-
- test/controllers/custom_strategy_test.rb
|
386
|
-
- test/controllers/helper_methods_test.rb
|
387
|
-
- test/controllers/helpers_test.rb
|
388
|
-
- test/controllers/inherited_controller_i18n_messages_test.rb
|
389
|
-
- test/controllers/internal_helpers_test.rb
|
390
|
-
- test/controllers/load_hooks_controller_test.rb
|
391
|
-
- test/controllers/passwords_controller_test.rb
|
392
|
-
- test/controllers/sessions_controller_test.rb
|
393
|
-
- test/controllers/url_helpers_test.rb
|
394
|
-
- test/delegator_test.rb
|
395
|
-
- test/devise_test.rb
|
396
|
-
- test/failure_app_test.rb
|
397
|
-
- test/generators/active_record_generator_test.rb
|
398
|
-
- test/generators/controllers_generator_test.rb
|
399
|
-
- test/generators/devise_generator_test.rb
|
400
|
-
- test/generators/install_generator_test.rb
|
401
|
-
- test/generators/mongoid_generator_test.rb
|
402
|
-
- test/generators/views_generator_test.rb
|
403
|
-
- test/helpers/devise_helper_test.rb
|
404
|
-
- test/integration/authenticatable_test.rb
|
405
|
-
- test/integration/confirmable_test.rb
|
406
|
-
- test/integration/database_authenticatable_test.rb
|
407
|
-
- test/integration/http_authenticatable_test.rb
|
408
|
-
- test/integration/lockable_test.rb
|
409
|
-
- test/integration/mounted_engine_test.rb
|
410
|
-
- test/integration/omniauthable_test.rb
|
411
|
-
- test/integration/recoverable_test.rb
|
412
|
-
- test/integration/registerable_test.rb
|
413
|
-
- test/integration/rememberable_test.rb
|
414
|
-
- test/integration/timeoutable_test.rb
|
415
|
-
- test/integration/trackable_test.rb
|
416
|
-
- test/mailers/confirmation_instructions_test.rb
|
417
|
-
- test/mailers/email_changed_test.rb
|
418
|
-
- test/mailers/mailer_test.rb
|
419
|
-
- test/mailers/reset_password_instructions_test.rb
|
420
|
-
- test/mailers/unlock_instructions_test.rb
|
421
|
-
- test/mapping_test.rb
|
422
|
-
- test/models/authenticatable_test.rb
|
423
|
-
- test/models/confirmable_test.rb
|
424
|
-
- test/models/database_authenticatable_test.rb
|
425
|
-
- test/models/lockable_test.rb
|
426
|
-
- test/models/omniauthable_test.rb
|
427
|
-
- test/models/recoverable_test.rb
|
428
|
-
- test/models/registerable_test.rb
|
429
|
-
- test/models/rememberable_test.rb
|
430
|
-
- test/models/serializable_test.rb
|
431
|
-
- test/models/timeoutable_test.rb
|
432
|
-
- test/models/trackable_test.rb
|
433
|
-
- test/models/validatable_test.rb
|
434
|
-
- test/models_test.rb
|
435
|
-
- test/omniauth/config_test.rb
|
436
|
-
- test/omniauth/url_helpers_test.rb
|
437
|
-
- test/orm/active_record.rb
|
438
|
-
- test/orm/mongoid.rb
|
439
|
-
- test/parameter_sanitizer_test.rb
|
440
|
-
- test/rails_app/Rakefile
|
441
|
-
- test/rails_app/app/active_record/admin.rb
|
442
|
-
- test/rails_app/app/active_record/shim.rb
|
443
|
-
- test/rails_app/app/active_record/user.rb
|
444
|
-
- test/rails_app/app/active_record/user_on_engine.rb
|
445
|
-
- test/rails_app/app/active_record/user_on_main_app.rb
|
446
|
-
- test/rails_app/app/active_record/user_without_email.rb
|
447
|
-
- test/rails_app/app/controllers/admins/sessions_controller.rb
|
448
|
-
- test/rails_app/app/controllers/admins_controller.rb
|
449
|
-
- test/rails_app/app/controllers/application_controller.rb
|
450
|
-
- test/rails_app/app/controllers/application_with_fake_engine.rb
|
451
|
-
- test/rails_app/app/controllers/custom/registrations_controller.rb
|
452
|
-
- test/rails_app/app/controllers/home_controller.rb
|
453
|
-
- test/rails_app/app/controllers/publisher/registrations_controller.rb
|
454
|
-
- test/rails_app/app/controllers/publisher/sessions_controller.rb
|
455
|
-
- test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb
|
456
|
-
- test/rails_app/app/controllers/users_controller.rb
|
457
|
-
- test/rails_app/app/helpers/application_helper.rb
|
458
|
-
- test/rails_app/app/mailers/users/from_proc_mailer.rb
|
459
|
-
- test/rails_app/app/mailers/users/mailer.rb
|
460
|
-
- test/rails_app/app/mailers/users/reply_to_mailer.rb
|
461
|
-
- test/rails_app/app/mongoid/admin.rb
|
462
|
-
- test/rails_app/app/mongoid/shim.rb
|
463
|
-
- test/rails_app/app/mongoid/user.rb
|
464
|
-
- test/rails_app/app/mongoid/user_on_engine.rb
|
465
|
-
- test/rails_app/app/mongoid/user_on_main_app.rb
|
466
|
-
- test/rails_app/app/mongoid/user_without_email.rb
|
467
|
-
- test/rails_app/app/views/admins/index.html.erb
|
468
|
-
- test/rails_app/app/views/admins/sessions/new.html.erb
|
469
|
-
- test/rails_app/app/views/home/admin_dashboard.html.erb
|
470
|
-
- test/rails_app/app/views/home/index.html.erb
|
471
|
-
- test/rails_app/app/views/home/join.html.erb
|
472
|
-
- test/rails_app/app/views/home/private.html.erb
|
473
|
-
- test/rails_app/app/views/home/user_dashboard.html.erb
|
474
|
-
- test/rails_app/app/views/layouts/application.html.erb
|
475
|
-
- test/rails_app/app/views/users/edit_form.html.erb
|
476
|
-
- test/rails_app/app/views/users/index.html.erb
|
477
|
-
- test/rails_app/app/views/users/mailer/confirmation_instructions.erb
|
478
|
-
- test/rails_app/app/views/users/sessions/new.html.erb
|
479
|
-
- test/rails_app/bin/bundle
|
480
|
-
- test/rails_app/bin/rails
|
481
|
-
- test/rails_app/bin/rake
|
482
|
-
- test/rails_app/config.ru
|
483
|
-
- test/rails_app/config/application.rb
|
484
|
-
- test/rails_app/config/boot.rb
|
485
|
-
- test/rails_app/config/database.yml
|
486
|
-
- test/rails_app/config/environment.rb
|
487
|
-
- test/rails_app/config/environments/development.rb
|
488
|
-
- test/rails_app/config/environments/production.rb
|
489
|
-
- test/rails_app/config/environments/test.rb
|
490
|
-
- test/rails_app/config/initializers/backtrace_silencers.rb
|
491
|
-
- test/rails_app/config/initializers/devise.rb
|
492
|
-
- test/rails_app/config/initializers/inflections.rb
|
493
|
-
- test/rails_app/config/initializers/secret_token.rb
|
494
|
-
- test/rails_app/config/initializers/session_store.rb
|
495
|
-
- test/rails_app/config/routes.rb
|
496
|
-
- test/rails_app/db/migrate/20100401102949_create_tables.rb
|
497
|
-
- test/rails_app/db/schema.rb
|
498
|
-
- test/rails_app/lib/shared_admin.rb
|
499
|
-
- test/rails_app/lib/shared_user.rb
|
500
|
-
- test/rails_app/lib/shared_user_without_email.rb
|
501
|
-
- test/rails_app/lib/shared_user_without_omniauth.rb
|
502
|
-
- test/rails_app/public/404.html
|
503
|
-
- test/rails_app/public/422.html
|
504
|
-
- test/rails_app/public/500.html
|
505
|
-
- test/rails_app/public/favicon.ico
|
506
|
-
- test/rails_test.rb
|
507
|
-
- test/routes_test.rb
|
508
|
-
- test/support/action_controller/record_identifier.rb
|
509
|
-
- test/support/assertions.rb
|
510
|
-
- test/support/helpers.rb
|
511
|
-
- test/support/http_method_compatibility.rb
|
512
|
-
- test/support/integration.rb
|
513
|
-
- test/support/locale/en.yml
|
514
|
-
- test/support/mongoid.yml
|
515
|
-
- test/support/webrat/integrations/rails.rb
|
516
|
-
- test/test/controller_helpers_test.rb
|
517
|
-
- test/test/integration_helpers_test.rb
|
518
|
-
- test/test_helper.rb
|
519
|
-
- test/test_models.rb
|
236
|
+
test_files: []
|
data/.gitignore
DELETED
data/.travis.yml
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
|
3
|
-
rvm:
|
4
|
-
- 2.1.10
|
5
|
-
- 2.2.7
|
6
|
-
- 2.3.4
|
7
|
-
- 2.4.1
|
8
|
-
- ruby-head
|
9
|
-
|
10
|
-
gemfile:
|
11
|
-
- Gemfile
|
12
|
-
- gemfiles/Gemfile.rails-5.0-stable
|
13
|
-
- gemfiles/Gemfile.rails-4.2-stable
|
14
|
-
- gemfiles/Gemfile.rails-4.1-stable
|
15
|
-
|
16
|
-
matrix:
|
17
|
-
exclude:
|
18
|
-
- rvm: 2.1.10
|
19
|
-
gemfile: Gemfile
|
20
|
-
- rvm: 2.4.1
|
21
|
-
gemfile: gemfiles/Gemfile.rails-4.1-stable
|
22
|
-
- rvm: ruby-head
|
23
|
-
gemfile: gemfiles/Gemfile.rails-4.1-stable
|
24
|
-
- rvm: 2.1.10
|
25
|
-
gemfile: gemfiles/Gemfile.rails-5.0-stable
|
26
|
-
- rvm: 2.1.10
|
27
|
-
gemfile: Gemfile
|
28
|
-
- env: DEVISE_ORM=mongoid
|
29
|
-
gemfile: Gemfile
|
30
|
-
- env: DEVISE_ORM=mongoid
|
31
|
-
gemfile: gemfiles/Gemfile.rails-5.0-stable
|
32
|
-
allow_failures:
|
33
|
-
- rvm: ruby-head
|
34
|
-
services:
|
35
|
-
- mongodb
|
36
|
-
|
37
|
-
sudo: false
|
38
|
-
|
39
|
-
cache: bundler
|
40
|
-
|
41
|
-
env:
|
42
|
-
matrix:
|
43
|
-
- DEVISE_ORM=active_record
|
44
|
-
- DEVISE_ORM=mongoid
|
45
|
-
|
46
|
-
before_install: "rm ${BUNDLE_GEMFILE}.lock"
|
47
|
-
|
48
|
-
before_script: "bundle update"
|
49
|
-
|
50
|
-
script: "bin/test"
|
51
|
-
|
52
|
-
notifications:
|
53
|
-
email: false
|
54
|
-
slack:
|
55
|
-
on_pull_requests: false
|
56
|
-
on_success: change
|
57
|
-
on_failure: always
|
58
|
-
secure: Q3M+kmude3FjisibEeeGe0wSMXgvwLH+vL7Zrx9//q4QtkfnrQ/BBMvY9KXxPEsNF+eys4YopYjTkJ8uRmeboUATW/oQ4Jrv3+u3zkIHK2sFn/Q2cQWpK5w+CbgEnHPjKYnUu34b09njXTgDlr/mqtbPqrKeZ1dLlpKXCB/q4GY=
|
data/.yardopts
DELETED
data/CODE_OF_CONDUCT.md
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
# Contributor Code of Conduct
|
2
|
-
|
3
|
-
As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
-
|
5
|
-
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality.
|
6
|
-
|
7
|
-
Examples of unacceptable behavior by participants include:
|
8
|
-
|
9
|
-
* The use of sexualized language or imagery
|
10
|
-
* Personal attacks
|
11
|
-
* Trolling or insulting/derogatory comments
|
12
|
-
* Public or private harassment
|
13
|
-
* Publishing other's private information, such as physical or electronic addresses, without explicit permission
|
14
|
-
* Other unethical or unprofessional conduct.
|
15
|
-
|
16
|
-
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. By adopting this Code of Conduct, project maintainers commit themselves to fairly and consistently applying these principles to every aspect of managing this project. Project maintainers who do not follow or enforce the Code of Conduct may be permanently removed from the project team.
|
17
|
-
|
18
|
-
This code of conduct applies both within project spaces and in public spaces when an individual is representing the project or its community.
|
19
|
-
|
20
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by sending an email to [conduct@plataformatec.com.br](conduct@plataformatec.com.br) or contacting one or more of the project maintainers.
|
21
|
-
|
22
|
-
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.2.0, available at [http://contributor-covenant.org/version/1/2/0/](http://contributor-covenant.org/version/1/2/0/)
|
data/CONTRIBUTING.md
DELETED
@@ -1,79 +0,0 @@
|
|
1
|
-
# How to contribute to Devise
|
2
|
-
|
3
|
-
Thanks for your interest on contributing to Devise! Here are a few general
|
4
|
-
guidelines on contributing and reporting bugs to Devise that we ask you to
|
5
|
-
take a look first. Notice that all of your interactions in the project are
|
6
|
-
expected to follow our [Code of Conduct](CODE_OF_CONDUCT.md).
|
7
|
-
|
8
|
-
## Reporting Issues
|
9
|
-
|
10
|
-
Before reporting a new issue, please be sure that the issue wasn't already
|
11
|
-
reported or fixed by searching on GitHub through our [issues](https://github.com/plataformatec/devise/issues).
|
12
|
-
|
13
|
-
When creating a new issue, be sure to include a **title and clear description**,
|
14
|
-
as much relevant information as possible, and either a test case example or
|
15
|
-
even better a **sample Rails app that replicates the issue** - Devise has a lot
|
16
|
-
of moving parts and it's functionality can be affected by third party gems, so
|
17
|
-
we need as much context and details as possible to identify what might be broken
|
18
|
-
for you. We have a [test case template](guides/bug_report_templates/integration_test.rb)
|
19
|
-
that can be used to replicate issues with minimal setup.
|
20
|
-
|
21
|
-
Please do not attempt to translate Devise built in views. The views are meant
|
22
|
-
to be a starting point for fresh apps and not production material - eventually
|
23
|
-
all applications will require custom views where you can write your own copy and
|
24
|
-
translate it if the application requires it . For historical references, please look into closed
|
25
|
-
[Issues/Pull Requests](https://github.com/plataformatec/devise/issues?q=i18n) regarding
|
26
|
-
internationalization.
|
27
|
-
|
28
|
-
Avoid opening new issues to ask questions in our issues tracker. Please go through
|
29
|
-
the project wiki, documentation and source code first, or try to ask your question
|
30
|
-
on [Stack Overflow](http://stackoverflow.com/questions/tagged/devise).
|
31
|
-
|
32
|
-
**If you find a security bug, do not report it through GitHub. Please send an
|
33
|
-
e-mail to [opensource@plataformatec.com.br](mailto:opensource@plataformatec.com.br)
|
34
|
-
instead.**
|
35
|
-
|
36
|
-
## Sending Pull Requests
|
37
|
-
|
38
|
-
Before sending a new Pull Request, take a look on existing Pull Requests and Issues
|
39
|
-
to see if the proposed change or fix has been discussed in the past, or if the
|
40
|
-
change was already implemented but not yet released.
|
41
|
-
|
42
|
-
We expect new Pull Requests to include enough tests for new or changed behavior,
|
43
|
-
and we aim to maintain everything as most backwards compatible as possible,
|
44
|
-
reserving breaking changes to be ship in major releases when necessary - you
|
45
|
-
can wrap the new code path with a setting toggle from the `Devise` module defined
|
46
|
-
as `false` by default to require developers to opt-in for the new behavior.
|
47
|
-
|
48
|
-
If your Pull Request includes new or changed behavior, be sure that the changes
|
49
|
-
are beneficial to a wide range of use cases or it's an application specific change
|
50
|
-
that might not be so valuable to other applications. Some changes can be introduced
|
51
|
-
as a new `devise-something` gem instead of belonging to the main codebase.
|
52
|
-
|
53
|
-
When adding new settings, you can take advantage of the [`Devise::Models.config`](https://github.com/plataformatec/devise/blob/245b1f9de0b3386b7913e14b60ea24f43b77feb0/lib/devise/models.rb#L13-L50) method to add class and instance level fallbacks
|
54
|
-
to the new setting.
|
55
|
-
|
56
|
-
We also welcome Pull Requests that improve our existing documentation (both our
|
57
|
-
`README.md` and the RDoc sections in the source code) or improve existing rough
|
58
|
-
edges in our API that might be blocking existing integrations or 3rd party gems.
|
59
|
-
|
60
|
-
## Other ways to contribute
|
61
|
-
|
62
|
-
We welcome anyone that wants to contribute to Devise to triage and reply to
|
63
|
-
open issues to help troubleshoot and fix existing bugs on Devise. Here is what
|
64
|
-
you can do:
|
65
|
-
|
66
|
-
* Help ensure that existing issues follows the recommendations from the
|
67
|
-
_[Reporting Issues](#reporting-issues)_ section, providing feeback to the issue's
|
68
|
-
author on what might be missing.
|
69
|
-
* Review and update the existing content of our [Wiki](https://github.com/plataformatec/devise/wiki)
|
70
|
-
with up to date instructions and code samples - the wiki was grown with several
|
71
|
-
different tutorials and references that we can't keep track of everything, so if
|
72
|
-
there is a page that showcases an integration or customization that you are
|
73
|
-
familiar with feel free to update it as necessary.
|
74
|
-
* Review existing Pull Requests, and testing patches against real existing
|
75
|
-
applications that use Devise.
|
76
|
-
|
77
|
-
Thanks again for your interest on contributing to the project!
|
78
|
-
|
79
|
-
:heart:
|
data/Gemfile
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
source "https://rubygems.org"
|
2
|
-
|
3
|
-
gemspec
|
4
|
-
|
5
|
-
gem "rails", "~> 5.1"
|
6
|
-
gem "omniauth", "~> 1.3"
|
7
|
-
gem "oauth2"
|
8
|
-
gem "omniauth-oauth2"
|
9
|
-
gem "rdoc"
|
10
|
-
|
11
|
-
gem "activemodel-serializers-xml", github: "rails/activemodel-serializers-xml"
|
12
|
-
|
13
|
-
gem "rails-controller-testing"
|
14
|
-
|
15
|
-
gem "responders", "~> 2.1"
|
16
|
-
|
17
|
-
# TODO: Remove this line when Rails 5.1.1 is released
|
18
|
-
gem "minitest", "< 5.10.2"
|
19
|
-
|
20
|
-
group :test do
|
21
|
-
gem "omniauth-facebook"
|
22
|
-
gem "omniauth-openid"
|
23
|
-
gem "webrat", "0.7.3", require: false
|
24
|
-
gem "mocha", "~> 1.1", require: false
|
25
|
-
end
|
26
|
-
|
27
|
-
platforms :jruby do
|
28
|
-
gem "activerecord-jdbc-adapter"
|
29
|
-
gem "activerecord-jdbcsqlite3-adapter"
|
30
|
-
gem "jruby-openssl"
|
31
|
-
end
|
32
|
-
|
33
|
-
platforms :ruby do
|
34
|
-
gem "sqlite3"
|
35
|
-
end
|
36
|
-
|
37
|
-
# TODO:
|
38
|
-
# group :mongoid do
|
39
|
-
# gem "mongoid", "~> 4.0.0"
|
40
|
-
# end
|