devise-multi_email 3.0.1 → 3.1.5
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.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +17 -0
- data/.github/workflows/ruby_spec.yml +41 -0
- data/.gitignore +4 -0
- data/Gemfile +1 -2
- data/README.md +5 -5
- data/devise-multi-email.code-workspace +8 -0
- data/devise-multi_email.gemspec +14 -13
- data/examples/{rails5_app → rails7_app}/Gemfile +5 -5
- data/examples/rails7_app/Gemfile.lock +442 -0
- data/examples/rails8_0_app/.gitignore +21 -0
- data/examples/rails8_0_app/Gemfile +55 -0
- data/examples/rails8_0_app/Gemfile.lock +442 -0
- data/examples/rails8_0_app/README.md +24 -0
- data/examples/rails8_0_app/Rakefile +6 -0
- data/examples/rails8_0_app/app/assets/config/manifest.js +3 -0
- data/examples/rails8_0_app/app/assets/images/.keep +0 -0
- data/examples/rails8_0_app/app/assets/javascripts/application.js +16 -0
- data/examples/rails8_0_app/app/assets/javascripts/cable.js +13 -0
- data/examples/rails8_0_app/app/assets/javascripts/channels/.keep +0 -0
- data/examples/rails8_0_app/app/assets/stylesheets/application.css +15 -0
- data/examples/rails8_0_app/app/channels/application_cable/channel.rb +4 -0
- data/examples/rails8_0_app/app/channels/application_cable/connection.rb +4 -0
- data/examples/rails8_0_app/app/controllers/application_controller.rb +3 -0
- data/examples/rails8_0_app/app/controllers/concerns/.keep +0 -0
- data/examples/rails8_0_app/app/helpers/application_helper.rb +2 -0
- data/examples/rails8_0_app/app/jobs/application_job.rb +2 -0
- data/examples/rails8_0_app/app/mailers/application_mailer.rb +4 -0
- data/examples/rails8_0_app/app/models/application_record.rb +3 -0
- data/examples/rails8_0_app/app/models/concerns/.keep +0 -0
- data/examples/rails8_0_app/app/models/email.rb +5 -0
- data/examples/rails8_0_app/app/models/user.rb +9 -0
- data/examples/rails8_0_app/app/views/layouts/application.html.erb +14 -0
- data/examples/rails8_0_app/app/views/layouts/mailer.html.erb +13 -0
- data/examples/rails8_0_app/app/views/layouts/mailer.text.erb +1 -0
- data/examples/rails8_0_app/bin/bundle +3 -0
- data/examples/rails8_0_app/bin/rails +4 -0
- data/examples/rails8_0_app/bin/rake +4 -0
- data/examples/rails8_0_app/bin/setup +34 -0
- data/examples/rails8_0_app/bin/update +29 -0
- data/examples/rails8_0_app/config/application.rb +15 -0
- data/examples/rails8_0_app/config/boot.rb +3 -0
- data/examples/rails8_0_app/config/cable.yml +9 -0
- data/examples/rails8_0_app/config/database.yml +25 -0
- data/examples/rails8_0_app/config/environment.rb +5 -0
- data/examples/rails8_0_app/config/environments/development.rb +56 -0
- data/examples/rails8_0_app/config/environments/production.rb +86 -0
- data/examples/rails8_0_app/config/environments/test.rb +42 -0
- data/examples/rails8_0_app/config/initializers/application_controller_renderer.rb +6 -0
- data/examples/rails8_0_app/config/initializers/assets.rb +11 -0
- data/examples/rails8_0_app/config/initializers/backtrace_silencers.rb +7 -0
- data/examples/rails8_0_app/config/initializers/cookies_serializer.rb +5 -0
- data/examples/rails8_0_app/config/initializers/devise.rb +274 -0
- data/examples/rails8_0_app/config/initializers/filter_parameter_logging.rb +4 -0
- data/examples/rails8_0_app/config/initializers/inflections.rb +16 -0
- data/examples/rails8_0_app/config/initializers/mime_types.rb +4 -0
- data/examples/rails8_0_app/config/initializers/new_framework_defaults.rb +24 -0
- data/examples/rails8_0_app/config/initializers/session_store.rb +3 -0
- data/examples/rails8_0_app/config/initializers/wrap_parameters.rb +14 -0
- data/examples/rails8_0_app/config/locales/devise.en.yml +62 -0
- data/examples/rails8_0_app/config/locales/en.yml +23 -0
- data/examples/rails8_0_app/config/puma.rb +47 -0
- data/examples/rails8_0_app/config/routes.rb +4 -0
- data/examples/rails8_0_app/config/secrets.yml +22 -0
- data/examples/rails8_0_app/config/spring.rb +6 -0
- data/examples/rails8_0_app/config.ru +5 -0
- data/examples/rails8_0_app/db/migrate/20170307140813_devise_create_users.rb +49 -0
- data/examples/rails8_0_app/db/migrate/20170307145547_add_password_salt_to_users.rb +5 -0
- data/examples/rails8_0_app/db/schema.rb +44 -0
- data/examples/rails8_0_app/db/seeds.rb +7 -0
- data/examples/rails8_0_app/lib/assets/.keep +0 -0
- data/examples/rails8_0_app/lib/tasks/.keep +0 -0
- data/examples/rails8_0_app/log/.keep +0 -0
- data/examples/rails8_0_app/public/404.html +67 -0
- data/examples/rails8_0_app/public/422.html +67 -0
- data/examples/rails8_0_app/public/500.html +66 -0
- data/examples/rails8_0_app/public/apple-touch-icon-precomposed.png +0 -0
- data/examples/rails8_0_app/public/apple-touch-icon.png +0 -0
- data/examples/rails8_0_app/public/favicon.ico +0 -0
- data/examples/rails8_0_app/public/robots.txt +5 -0
- data/examples/rails8_0_app/test/controllers/.keep +0 -0
- data/examples/rails8_0_app/test/fixtures/.keep +0 -0
- data/examples/rails8_0_app/test/fixtures/files/.keep +0 -0
- data/examples/rails8_0_app/test/helpers/.keep +0 -0
- data/examples/rails8_0_app/test/integration/.keep +0 -0
- data/examples/rails8_0_app/test/mailers/.keep +0 -0
- data/examples/rails8_0_app/test/models/.keep +0 -0
- data/examples/rails8_0_app/test/test_helper.rb +10 -0
- data/examples/rails8_0_app/tmp/.keep +0 -0
- data/examples/rails8_0_app/vendor/assets/javascripts/.keep +0 -0
- data/examples/rails8_0_app/vendor/assets/stylesheets/.keep +0 -0
- data/examples/rails8_1_app/.gitignore +21 -0
- data/examples/rails8_1_app/Gemfile +55 -0
- data/examples/rails8_1_app/Gemfile.lock +442 -0
- data/examples/rails8_1_app/README.md +24 -0
- data/examples/rails8_1_app/Rakefile +6 -0
- data/examples/rails8_1_app/app/assets/config/manifest.js +3 -0
- data/examples/rails8_1_app/app/assets/images/.keep +0 -0
- data/examples/rails8_1_app/app/assets/javascripts/application.js +16 -0
- data/examples/rails8_1_app/app/assets/javascripts/cable.js +13 -0
- data/examples/rails8_1_app/app/assets/javascripts/channels/.keep +0 -0
- data/examples/rails8_1_app/app/assets/stylesheets/application.css +15 -0
- data/examples/rails8_1_app/app/channels/application_cable/channel.rb +4 -0
- data/examples/rails8_1_app/app/channels/application_cable/connection.rb +4 -0
- data/examples/rails8_1_app/app/controllers/application_controller.rb +3 -0
- data/examples/rails8_1_app/app/controllers/concerns/.keep +0 -0
- data/examples/rails8_1_app/app/helpers/application_helper.rb +2 -0
- data/examples/rails8_1_app/app/jobs/application_job.rb +2 -0
- data/examples/rails8_1_app/app/mailers/application_mailer.rb +4 -0
- data/examples/rails8_1_app/app/models/application_record.rb +3 -0
- data/examples/rails8_1_app/app/models/concerns/.keep +0 -0
- data/examples/rails8_1_app/app/models/email.rb +5 -0
- data/examples/rails8_1_app/app/models/user.rb +9 -0
- data/examples/rails8_1_app/app/views/layouts/application.html.erb +14 -0
- data/examples/rails8_1_app/app/views/layouts/mailer.html.erb +13 -0
- data/examples/rails8_1_app/app/views/layouts/mailer.text.erb +1 -0
- data/examples/rails8_1_app/bin/bundle +3 -0
- data/examples/rails8_1_app/bin/rails +4 -0
- data/examples/rails8_1_app/bin/rake +4 -0
- data/examples/rails8_1_app/bin/setup +34 -0
- data/examples/rails8_1_app/bin/update +29 -0
- data/examples/rails8_1_app/config/application.rb +15 -0
- data/examples/rails8_1_app/config/boot.rb +3 -0
- data/examples/rails8_1_app/config/cable.yml +9 -0
- data/examples/rails8_1_app/config/database.yml +25 -0
- data/examples/rails8_1_app/config/environment.rb +5 -0
- data/examples/rails8_1_app/config/environments/development.rb +56 -0
- data/examples/rails8_1_app/config/environments/production.rb +86 -0
- data/examples/rails8_1_app/config/environments/test.rb +42 -0
- data/examples/rails8_1_app/config/initializers/application_controller_renderer.rb +6 -0
- data/examples/rails8_1_app/config/initializers/assets.rb +11 -0
- data/examples/rails8_1_app/config/initializers/backtrace_silencers.rb +7 -0
- data/examples/rails8_1_app/config/initializers/cookies_serializer.rb +5 -0
- data/examples/rails8_1_app/config/initializers/devise.rb +274 -0
- data/examples/rails8_1_app/config/initializers/filter_parameter_logging.rb +4 -0
- data/examples/rails8_1_app/config/initializers/inflections.rb +16 -0
- data/examples/rails8_1_app/config/initializers/mime_types.rb +4 -0
- data/examples/rails8_1_app/config/initializers/new_framework_defaults.rb +24 -0
- data/examples/rails8_1_app/config/initializers/session_store.rb +3 -0
- data/examples/rails8_1_app/config/initializers/wrap_parameters.rb +14 -0
- data/examples/rails8_1_app/config/locales/devise.en.yml +62 -0
- data/examples/rails8_1_app/config/locales/en.yml +23 -0
- data/examples/rails8_1_app/config/puma.rb +47 -0
- data/examples/rails8_1_app/config/routes.rb +4 -0
- data/examples/rails8_1_app/config/secrets.yml +22 -0
- data/examples/rails8_1_app/config/spring.rb +6 -0
- data/examples/rails8_1_app/config.ru +5 -0
- data/examples/rails8_1_app/db/migrate/20170307140813_devise_create_users.rb +49 -0
- data/examples/rails8_1_app/db/migrate/20170307145547_add_password_salt_to_users.rb +5 -0
- data/examples/rails8_1_app/db/schema.rb +44 -0
- data/examples/rails8_1_app/db/seeds.rb +7 -0
- data/examples/rails8_1_app/lib/assets/.keep +0 -0
- data/examples/rails8_1_app/lib/tasks/.keep +0 -0
- data/examples/rails8_1_app/log/.keep +0 -0
- data/examples/rails8_1_app/public/404.html +67 -0
- data/examples/rails8_1_app/public/422.html +67 -0
- data/examples/rails8_1_app/public/500.html +66 -0
- data/examples/rails8_1_app/public/apple-touch-icon-precomposed.png +0 -0
- data/examples/rails8_1_app/public/apple-touch-icon.png +0 -0
- data/examples/rails8_1_app/public/favicon.ico +0 -0
- data/examples/rails8_1_app/public/robots.txt +5 -0
- data/examples/rails8_1_app/test/controllers/.keep +0 -0
- data/examples/rails8_1_app/test/fixtures/.keep +0 -0
- data/examples/rails8_1_app/test/fixtures/files/.keep +0 -0
- data/examples/rails8_1_app/test/helpers/.keep +0 -0
- data/examples/rails8_1_app/test/integration/.keep +0 -0
- data/examples/rails8_1_app/test/mailers/.keep +0 -0
- data/examples/rails8_1_app/test/models/.keep +0 -0
- data/examples/rails8_1_app/test/test_helper.rb +10 -0
- data/examples/rails8_1_app/tmp/.keep +0 -0
- data/examples/rails8_1_app/vendor/assets/javascripts/.keep +0 -0
- data/examples/rails8_1_app/vendor/assets/stylesheets/.keep +0 -0
- data/gemfiles/{rails_5_2.gemfile → rails_7_0.gemfile} +1 -1
- data/gemfiles/{rails_5_1.gemfile → rails_8_0.gemfile} +1 -1
- data/lib/devise/multi_email/models/validatable.rb +2 -7
- data/lib/devise/multi_email/version.rb +1 -1
- data/mise.toml +2 -0
- metadata +288 -124
- data/examples/rails5_app/Gemfile.lock +0 -189
- data/gemfiles/rails_6_0.gemfile +0 -5
- /data/examples/{rails5_app → rails7_app}/.gitignore +0 -0
- /data/examples/{rails5_app → rails7_app}/README.md +0 -0
- /data/examples/{rails5_app → rails7_app}/Rakefile +0 -0
- /data/examples/{rails5_app → rails7_app}/app/assets/config/manifest.js +0 -0
- /data/examples/{rails5_app → rails7_app}/app/assets/images/.keep +0 -0
- /data/examples/{rails5_app → rails7_app}/app/assets/javascripts/application.js +0 -0
- /data/examples/{rails5_app → rails7_app}/app/assets/javascripts/cable.js +0 -0
- /data/examples/{rails5_app → rails7_app}/app/assets/javascripts/channels/.keep +0 -0
- /data/examples/{rails5_app → rails7_app}/app/assets/stylesheets/application.css +0 -0
- /data/examples/{rails5_app → rails7_app}/app/channels/application_cable/channel.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/app/channels/application_cable/connection.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/app/controllers/application_controller.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/app/controllers/concerns/.keep +0 -0
- /data/examples/{rails5_app → rails7_app}/app/helpers/application_helper.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/app/jobs/application_job.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/app/mailers/application_mailer.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/app/models/application_record.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/app/models/concerns/.keep +0 -0
- /data/examples/{rails5_app → rails7_app}/app/models/email.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/app/models/user.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/app/views/layouts/application.html.erb +0 -0
- /data/examples/{rails5_app → rails7_app}/app/views/layouts/mailer.html.erb +0 -0
- /data/examples/{rails5_app → rails7_app}/app/views/layouts/mailer.text.erb +0 -0
- /data/examples/{rails5_app → rails7_app}/bin/bundle +0 -0
- /data/examples/{rails5_app → rails7_app}/bin/rails +0 -0
- /data/examples/{rails5_app → rails7_app}/bin/rake +0 -0
- /data/examples/{rails5_app → rails7_app}/bin/setup +0 -0
- /data/examples/{rails5_app → rails7_app}/bin/update +0 -0
- /data/examples/{rails5_app → rails7_app}/config/application.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/config/boot.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/config/cable.yml +0 -0
- /data/examples/{rails5_app → rails7_app}/config/database.yml +0 -0
- /data/examples/{rails5_app → rails7_app}/config/environment.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/config/environments/development.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/config/environments/production.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/config/environments/test.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/config/initializers/application_controller_renderer.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/config/initializers/assets.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/config/initializers/backtrace_silencers.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/config/initializers/cookies_serializer.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/config/initializers/devise.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/config/initializers/filter_parameter_logging.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/config/initializers/inflections.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/config/initializers/mime_types.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/config/initializers/new_framework_defaults.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/config/initializers/session_store.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/config/initializers/wrap_parameters.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/config/locales/devise.en.yml +0 -0
- /data/examples/{rails5_app → rails7_app}/config/locales/en.yml +0 -0
- /data/examples/{rails5_app → rails7_app}/config/puma.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/config/routes.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/config/secrets.yml +0 -0
- /data/examples/{rails5_app → rails7_app}/config/spring.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/config.ru +0 -0
- /data/examples/{rails5_app → rails7_app}/db/migrate/20170307140813_devise_create_users.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/db/migrate/20170307145547_add_password_salt_to_users.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/db/schema.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/db/seeds.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/lib/assets/.keep +0 -0
- /data/examples/{rails5_app → rails7_app}/lib/tasks/.keep +0 -0
- /data/examples/{rails5_app → rails7_app}/log/.keep +0 -0
- /data/examples/{rails5_app → rails7_app}/public/404.html +0 -0
- /data/examples/{rails5_app → rails7_app}/public/422.html +0 -0
- /data/examples/{rails5_app → rails7_app}/public/500.html +0 -0
- /data/examples/{rails5_app → rails7_app}/public/apple-touch-icon-precomposed.png +0 -0
- /data/examples/{rails5_app → rails7_app}/public/apple-touch-icon.png +0 -0
- /data/examples/{rails5_app → rails7_app}/public/favicon.ico +0 -0
- /data/examples/{rails5_app → rails7_app}/public/robots.txt +0 -0
- /data/examples/{rails5_app → rails7_app}/test/controllers/.keep +0 -0
- /data/examples/{rails5_app → rails7_app}/test/fixtures/.keep +0 -0
- /data/examples/{rails5_app → rails7_app}/test/fixtures/files/.keep +0 -0
- /data/examples/{rails5_app → rails7_app}/test/helpers/.keep +0 -0
- /data/examples/{rails5_app → rails7_app}/test/integration/.keep +0 -0
- /data/examples/{rails5_app → rails7_app}/test/mailers/.keep +0 -0
- /data/examples/{rails5_app → rails7_app}/test/models/.keep +0 -0
- /data/examples/{rails5_app → rails7_app}/test/test_helper.rb +0 -0
- /data/examples/{rails5_app → rails7_app}/tmp/.keep +0 -0
- /data/examples/{rails5_app → rails7_app}/vendor/assets/javascripts/.keep +0 -0
- /data/examples/{rails5_app → rails7_app}/vendor/assets/stylesheets/.keep +0 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
6
|
+
<style>
|
|
7
|
+
body {
|
|
8
|
+
background-color: #EFEFEF;
|
|
9
|
+
color: #2E2F30;
|
|
10
|
+
text-align: center;
|
|
11
|
+
font-family: arial, sans-serif;
|
|
12
|
+
margin: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
div.dialog {
|
|
16
|
+
width: 95%;
|
|
17
|
+
max-width: 33em;
|
|
18
|
+
margin: 4em auto 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
div.dialog > div {
|
|
22
|
+
border: 1px solid #CCC;
|
|
23
|
+
border-right-color: #999;
|
|
24
|
+
border-left-color: #999;
|
|
25
|
+
border-bottom-color: #BBB;
|
|
26
|
+
border-top: #B00100 solid 4px;
|
|
27
|
+
border-top-left-radius: 9px;
|
|
28
|
+
border-top-right-radius: 9px;
|
|
29
|
+
background-color: white;
|
|
30
|
+
padding: 7px 12% 0;
|
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
h1 {
|
|
35
|
+
font-size: 100%;
|
|
36
|
+
color: #730E15;
|
|
37
|
+
line-height: 1.5em;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
div.dialog > p {
|
|
41
|
+
margin: 0 0 1em;
|
|
42
|
+
padding: 1em;
|
|
43
|
+
background-color: #F7F7F7;
|
|
44
|
+
border: 1px solid #CCC;
|
|
45
|
+
border-right-color: #999;
|
|
46
|
+
border-left-color: #999;
|
|
47
|
+
border-bottom-color: #999;
|
|
48
|
+
border-bottom-left-radius: 4px;
|
|
49
|
+
border-bottom-right-radius: 4px;
|
|
50
|
+
border-top-color: #DADADA;
|
|
51
|
+
color: #666;
|
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
|
53
|
+
}
|
|
54
|
+
</style>
|
|
55
|
+
</head>
|
|
56
|
+
|
|
57
|
+
<body>
|
|
58
|
+
<!-- This file lives in public/404.html -->
|
|
59
|
+
<div class="dialog">
|
|
60
|
+
<div>
|
|
61
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
|
62
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
|
63
|
+
</div>
|
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
|
65
|
+
</div>
|
|
66
|
+
</body>
|
|
67
|
+
</html>
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
6
|
+
<style>
|
|
7
|
+
body {
|
|
8
|
+
background-color: #EFEFEF;
|
|
9
|
+
color: #2E2F30;
|
|
10
|
+
text-align: center;
|
|
11
|
+
font-family: arial, sans-serif;
|
|
12
|
+
margin: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
div.dialog {
|
|
16
|
+
width: 95%;
|
|
17
|
+
max-width: 33em;
|
|
18
|
+
margin: 4em auto 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
div.dialog > div {
|
|
22
|
+
border: 1px solid #CCC;
|
|
23
|
+
border-right-color: #999;
|
|
24
|
+
border-left-color: #999;
|
|
25
|
+
border-bottom-color: #BBB;
|
|
26
|
+
border-top: #B00100 solid 4px;
|
|
27
|
+
border-top-left-radius: 9px;
|
|
28
|
+
border-top-right-radius: 9px;
|
|
29
|
+
background-color: white;
|
|
30
|
+
padding: 7px 12% 0;
|
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
h1 {
|
|
35
|
+
font-size: 100%;
|
|
36
|
+
color: #730E15;
|
|
37
|
+
line-height: 1.5em;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
div.dialog > p {
|
|
41
|
+
margin: 0 0 1em;
|
|
42
|
+
padding: 1em;
|
|
43
|
+
background-color: #F7F7F7;
|
|
44
|
+
border: 1px solid #CCC;
|
|
45
|
+
border-right-color: #999;
|
|
46
|
+
border-left-color: #999;
|
|
47
|
+
border-bottom-color: #999;
|
|
48
|
+
border-bottom-left-radius: 4px;
|
|
49
|
+
border-bottom-right-radius: 4px;
|
|
50
|
+
border-top-color: #DADADA;
|
|
51
|
+
color: #666;
|
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
|
53
|
+
}
|
|
54
|
+
</style>
|
|
55
|
+
</head>
|
|
56
|
+
|
|
57
|
+
<body>
|
|
58
|
+
<!-- This file lives in public/422.html -->
|
|
59
|
+
<div class="dialog">
|
|
60
|
+
<div>
|
|
61
|
+
<h1>The change you wanted was rejected.</h1>
|
|
62
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
|
63
|
+
</div>
|
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
|
65
|
+
</div>
|
|
66
|
+
</body>
|
|
67
|
+
</html>
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
6
|
+
<style>
|
|
7
|
+
body {
|
|
8
|
+
background-color: #EFEFEF;
|
|
9
|
+
color: #2E2F30;
|
|
10
|
+
text-align: center;
|
|
11
|
+
font-family: arial, sans-serif;
|
|
12
|
+
margin: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
div.dialog {
|
|
16
|
+
width: 95%;
|
|
17
|
+
max-width: 33em;
|
|
18
|
+
margin: 4em auto 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
div.dialog > div {
|
|
22
|
+
border: 1px solid #CCC;
|
|
23
|
+
border-right-color: #999;
|
|
24
|
+
border-left-color: #999;
|
|
25
|
+
border-bottom-color: #BBB;
|
|
26
|
+
border-top: #B00100 solid 4px;
|
|
27
|
+
border-top-left-radius: 9px;
|
|
28
|
+
border-top-right-radius: 9px;
|
|
29
|
+
background-color: white;
|
|
30
|
+
padding: 7px 12% 0;
|
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
h1 {
|
|
35
|
+
font-size: 100%;
|
|
36
|
+
color: #730E15;
|
|
37
|
+
line-height: 1.5em;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
div.dialog > p {
|
|
41
|
+
margin: 0 0 1em;
|
|
42
|
+
padding: 1em;
|
|
43
|
+
background-color: #F7F7F7;
|
|
44
|
+
border: 1px solid #CCC;
|
|
45
|
+
border-right-color: #999;
|
|
46
|
+
border-left-color: #999;
|
|
47
|
+
border-bottom-color: #999;
|
|
48
|
+
border-bottom-left-radius: 4px;
|
|
49
|
+
border-bottom-right-radius: 4px;
|
|
50
|
+
border-top-color: #DADADA;
|
|
51
|
+
color: #666;
|
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
|
53
|
+
}
|
|
54
|
+
</style>
|
|
55
|
+
</head>
|
|
56
|
+
|
|
57
|
+
<body>
|
|
58
|
+
<!-- This file lives in public/500.html -->
|
|
59
|
+
<div class="dialog">
|
|
60
|
+
<div>
|
|
61
|
+
<h1>We're sorry, but something went wrong.</h1>
|
|
62
|
+
</div>
|
|
63
|
+
<p>If you are the application owner check the logs for more information.</p>
|
|
64
|
+
</div>
|
|
65
|
+
</body>
|
|
66
|
+
</html>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
ENV['RAILS_ENV'] ||= 'test'
|
|
2
|
+
require File.expand_path('../../config/environment', __FILE__)
|
|
3
|
+
require 'rails/test_help'
|
|
4
|
+
|
|
5
|
+
class ActiveSupport::TestCase
|
|
6
|
+
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
|
|
7
|
+
fixtures :all
|
|
8
|
+
|
|
9
|
+
# Add more helper methods to be used by all tests here...
|
|
10
|
+
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
|
|
2
|
+
#
|
|
3
|
+
# If you find yourself ignoring temporary files generated by your text editor
|
|
4
|
+
# or operating system, you probably want to add a global ignore instead:
|
|
5
|
+
# git config --global core.excludesfile '~/.gitignore_global'
|
|
6
|
+
|
|
7
|
+
# Ignore bundler config.
|
|
8
|
+
/.bundle
|
|
9
|
+
|
|
10
|
+
# Ignore the default SQLite database.
|
|
11
|
+
/db/*.sqlite3
|
|
12
|
+
/db/*.sqlite3-journal
|
|
13
|
+
|
|
14
|
+
# Ignore all logfiles and tempfiles.
|
|
15
|
+
/log/*
|
|
16
|
+
/tmp/*
|
|
17
|
+
!/log/.keep
|
|
18
|
+
!/tmp/.keep
|
|
19
|
+
|
|
20
|
+
# Ignore Byebug command history file.
|
|
21
|
+
.byebug_history
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
source 'https://rubygems.org'
|
|
2
|
+
|
|
3
|
+
git_source(:github) do |repo_name|
|
|
4
|
+
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
|
|
5
|
+
"https://github.com/#{repo_name}.git"
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
|
10
|
+
gem 'rails', '~> 8.1'
|
|
11
|
+
# Use sqlite3 as the database for Active Record
|
|
12
|
+
gem 'sqlite3'
|
|
13
|
+
# Use Puma as the app server
|
|
14
|
+
gem 'puma', '~> 7.2'
|
|
15
|
+
# Use SCSS for stylesheets
|
|
16
|
+
gem 'sass-rails', '~> 6.0'
|
|
17
|
+
# Use Uglifier as compressor for JavaScript assets
|
|
18
|
+
gem 'uglifier', '>= 1.3.0'
|
|
19
|
+
# See https://github.com/rails/execjs#readme for more supported runtimes
|
|
20
|
+
# gem 'therubyracer', platforms: :ruby
|
|
21
|
+
|
|
22
|
+
# Use jquery as the JavaScript library
|
|
23
|
+
gem 'jquery-rails'
|
|
24
|
+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
|
25
|
+
gem 'turbolinks', '~> 5'
|
|
26
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
|
27
|
+
gem 'jbuilder', '~> 2.5'
|
|
28
|
+
# Use Redis adapter to run Action Cable in production
|
|
29
|
+
# gem 'redis', '~> 3.0'
|
|
30
|
+
# Use ActiveModel has_secure_password
|
|
31
|
+
# gem 'bcrypt', '~> 3.1.7'
|
|
32
|
+
|
|
33
|
+
# Use Capistrano for deployment
|
|
34
|
+
# gem 'capistrano-rails', group: :development
|
|
35
|
+
|
|
36
|
+
group :development, :test do
|
|
37
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
|
38
|
+
gem 'byebug', platform: :mri
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
group :development do
|
|
42
|
+
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
|
|
43
|
+
gem 'web-console', '>= 3.3.0'
|
|
44
|
+
gem 'listen', '~> 3.10.0'
|
|
45
|
+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
|
46
|
+
gem 'spring'
|
|
47
|
+
gem 'spring-watcher-listen', '~> 2.1.0'
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
|
51
|
+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
|
52
|
+
|
|
53
|
+
gem 'devise'
|
|
54
|
+
gem 'devise-multi_email'
|
|
55
|
+
gem 'devise-encryptable'
|