preserve 2.0.1 → 3.0.0

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.
Files changed (196) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/preserve/callback.rb +10 -6
  4. data/lib/preserve/compatibility.rb +1 -1
  5. data/lib/preserve/extension.rb +1 -1
  6. data/lib/preserve/session_key.rb +1 -2
  7. data/lib/preserve/version.rb +1 -1
  8. metadata +5 -478
  9. data/spec/dummy/common/app/controllers/admin/parameters_controller.rb +0 -7
  10. data/spec/dummy/common/app/controllers/application_controller.rb +0 -7
  11. data/spec/dummy/common/app/controllers/parameters_controller.rb +0 -9
  12. data/spec/dummy/common/config/routes.rb +0 -7
  13. data/spec/dummy/rails-3/README.rdoc +0 -261
  14. data/spec/dummy/rails-3/Rakefile +0 -7
  15. data/spec/dummy/rails-3/app/assets/javascripts/application.js +0 -15
  16. data/spec/dummy/rails-3/app/assets/stylesheets/application.css +0 -13
  17. data/spec/dummy/rails-3/app/controllers/admin/parameters_controller.rb +0 -1
  18. data/spec/dummy/rails-3/app/controllers/application_controller.rb +0 -1
  19. data/spec/dummy/rails-3/app/controllers/parameters_controller.rb +0 -1
  20. data/spec/dummy/rails-3/app/helpers/application_helper.rb +0 -2
  21. data/spec/dummy/rails-3/app/views/layouts/application.html.erb +0 -14
  22. data/spec/dummy/rails-3/config/application.rb +0 -65
  23. data/spec/dummy/rails-3/config/boot.rb +0 -10
  24. data/spec/dummy/rails-3/config/database.yml +0 -25
  25. data/spec/dummy/rails-3/config/environment.rb +0 -5
  26. data/spec/dummy/rails-3/config/environments/development.rb +0 -37
  27. data/spec/dummy/rails-3/config/environments/production.rb +0 -67
  28. data/spec/dummy/rails-3/config/environments/test.rb +0 -37
  29. data/spec/dummy/rails-3/config/initializers/backtrace_silencers.rb +0 -7
  30. data/spec/dummy/rails-3/config/initializers/inflections.rb +0 -15
  31. data/spec/dummy/rails-3/config/initializers/mime_types.rb +0 -5
  32. data/spec/dummy/rails-3/config/initializers/secret_token.rb +0 -7
  33. data/spec/dummy/rails-3/config/initializers/session_store.rb +0 -8
  34. data/spec/dummy/rails-3/config/initializers/wrap_parameters.rb +0 -14
  35. data/spec/dummy/rails-3/config/locales/en.yml +0 -5
  36. data/spec/dummy/rails-3/config/routes.rb +0 -1
  37. data/spec/dummy/rails-3/config.ru +0 -4
  38. data/spec/dummy/rails-3/db/test.sqlite3 +0 -0
  39. data/spec/dummy/rails-3/log/development.log +0 -5
  40. data/spec/dummy/rails-3/log/test.log +0 -7777
  41. data/spec/dummy/rails-3/public/404.html +0 -26
  42. data/spec/dummy/rails-3/public/422.html +0 -26
  43. data/spec/dummy/rails-3/public/500.html +0 -25
  44. data/spec/dummy/rails-3/public/favicon.ico +0 -0
  45. data/spec/dummy/rails-3/script/rails +0 -6
  46. data/spec/dummy/rails-4/README.rdoc +0 -28
  47. data/spec/dummy/rails-4/Rakefile +0 -6
  48. data/spec/dummy/rails-4/app/assets/javascripts/application.js +0 -13
  49. data/spec/dummy/rails-4/app/assets/stylesheets/application.css +0 -15
  50. data/spec/dummy/rails-4/app/controllers/admin/parameters_controller.rb +0 -1
  51. data/spec/dummy/rails-4/app/controllers/application_controller.rb +0 -1
  52. data/spec/dummy/rails-4/app/controllers/parameters_controller.rb +0 -1
  53. data/spec/dummy/rails-4/app/helpers/application_helper.rb +0 -2
  54. data/spec/dummy/rails-4/app/views/layouts/application.html.erb +0 -14
  55. data/spec/dummy/rails-4/bin/bundle +0 -3
  56. data/spec/dummy/rails-4/bin/rails +0 -4
  57. data/spec/dummy/rails-4/bin/rake +0 -4
  58. data/spec/dummy/rails-4/bin/setup +0 -29
  59. data/spec/dummy/rails-4/config/application.rb +0 -32
  60. data/spec/dummy/rails-4/config/boot.rb +0 -5
  61. data/spec/dummy/rails-4/config/database.yml +0 -25
  62. data/spec/dummy/rails-4/config/environment.rb +0 -5
  63. data/spec/dummy/rails-4/config/environments/development.rb +0 -41
  64. data/spec/dummy/rails-4/config/environments/production.rb +0 -79
  65. data/spec/dummy/rails-4/config/environments/test.rb +0 -42
  66. data/spec/dummy/rails-4/config/initializers/assets.rb +0 -11
  67. data/spec/dummy/rails-4/config/initializers/backtrace_silencers.rb +0 -7
  68. data/spec/dummy/rails-4/config/initializers/cookies_serializer.rb +0 -3
  69. data/spec/dummy/rails-4/config/initializers/filter_parameter_logging.rb +0 -4
  70. data/spec/dummy/rails-4/config/initializers/inflections.rb +0 -16
  71. data/spec/dummy/rails-4/config/initializers/mime_types.rb +0 -4
  72. data/spec/dummy/rails-4/config/initializers/session_store.rb +0 -3
  73. data/spec/dummy/rails-4/config/initializers/to_time_preserves_timezone.rb +0 -10
  74. data/spec/dummy/rails-4/config/initializers/wrap_parameters.rb +0 -14
  75. data/spec/dummy/rails-4/config/locales/en.yml +0 -23
  76. data/spec/dummy/rails-4/config/routes.rb +0 -1
  77. data/spec/dummy/rails-4/config/secrets.yml +0 -22
  78. data/spec/dummy/rails-4/config.ru +0 -4
  79. data/spec/dummy/rails-4/public/404.html +0 -67
  80. data/spec/dummy/rails-4/public/422.html +0 -67
  81. data/spec/dummy/rails-4/public/500.html +0 -66
  82. data/spec/dummy/rails-4/public/favicon.ico +0 -0
  83. data/spec/dummy/rails-5/Rakefile +0 -6
  84. data/spec/dummy/rails-5/app/assets/config/manifest.js +0 -3
  85. data/spec/dummy/rails-5/app/assets/javascripts/application.js +0 -15
  86. data/spec/dummy/rails-5/app/assets/javascripts/cable.js +0 -13
  87. data/spec/dummy/rails-5/app/assets/stylesheets/application.css +0 -15
  88. data/spec/dummy/rails-5/app/channels/application_cable/channel.rb +0 -4
  89. data/spec/dummy/rails-5/app/channels/application_cable/connection.rb +0 -4
  90. data/spec/dummy/rails-5/app/controllers/admin/parameters_controller.rb +0 -1
  91. data/spec/dummy/rails-5/app/controllers/application_controller.rb +0 -1
  92. data/spec/dummy/rails-5/app/controllers/parameters_controller.rb +0 -1
  93. data/spec/dummy/rails-5/app/helpers/application_helper.rb +0 -2
  94. data/spec/dummy/rails-5/app/jobs/application_job.rb +0 -2
  95. data/spec/dummy/rails-5/app/mailers/application_mailer.rb +0 -4
  96. data/spec/dummy/rails-5/app/models/application_record.rb +0 -3
  97. data/spec/dummy/rails-5/app/views/layouts/application.html.erb +0 -15
  98. data/spec/dummy/rails-5/app/views/layouts/mailer.html.erb +0 -13
  99. data/spec/dummy/rails-5/app/views/layouts/mailer.text.erb +0 -1
  100. data/spec/dummy/rails-5/bin/bundle +0 -3
  101. data/spec/dummy/rails-5/bin/rails +0 -4
  102. data/spec/dummy/rails-5/bin/rake +0 -4
  103. data/spec/dummy/rails-5/bin/setup +0 -36
  104. data/spec/dummy/rails-5/bin/update +0 -31
  105. data/spec/dummy/rails-5/bin/yarn +0 -11
  106. data/spec/dummy/rails-5/config/application.rb +0 -19
  107. data/spec/dummy/rails-5/config/boot.rb +0 -5
  108. data/spec/dummy/rails-5/config/cable.yml +0 -10
  109. data/spec/dummy/rails-5/config/database.yml +0 -25
  110. data/spec/dummy/rails-5/config/environment.rb +0 -5
  111. data/spec/dummy/rails-5/config/environments/development.rb +0 -61
  112. data/spec/dummy/rails-5/config/environments/production.rb +0 -94
  113. data/spec/dummy/rails-5/config/environments/test.rb +0 -46
  114. data/spec/dummy/rails-5/config/initializers/application_controller_renderer.rb +0 -8
  115. data/spec/dummy/rails-5/config/initializers/assets.rb +0 -14
  116. data/spec/dummy/rails-5/config/initializers/backtrace_silencers.rb +0 -7
  117. data/spec/dummy/rails-5/config/initializers/content_security_policy.rb +0 -25
  118. data/spec/dummy/rails-5/config/initializers/cookies_serializer.rb +0 -5
  119. data/spec/dummy/rails-5/config/initializers/filter_parameter_logging.rb +0 -4
  120. data/spec/dummy/rails-5/config/initializers/inflections.rb +0 -16
  121. data/spec/dummy/rails-5/config/initializers/mime_types.rb +0 -4
  122. data/spec/dummy/rails-5/config/initializers/wrap_parameters.rb +0 -14
  123. data/spec/dummy/rails-5/config/locales/en.yml +0 -33
  124. data/spec/dummy/rails-5/config/puma.rb +0 -37
  125. data/spec/dummy/rails-5/config/routes.rb +0 -1
  126. data/spec/dummy/rails-5/config/spring.rb +0 -6
  127. data/spec/dummy/rails-5/config/storage.yml +0 -34
  128. data/spec/dummy/rails-5/config.ru +0 -5
  129. data/spec/dummy/rails-5/db/test.sqlite3 +0 -0
  130. data/spec/dummy/rails-5/log/test.log +0 -119
  131. data/spec/dummy/rails-5/package.json +0 -5
  132. data/spec/dummy/rails-5/public/404.html +0 -67
  133. data/spec/dummy/rails-5/public/422.html +0 -67
  134. data/spec/dummy/rails-5/public/500.html +0 -66
  135. data/spec/dummy/rails-5/public/apple-touch-icon-precomposed.png +0 -0
  136. data/spec/dummy/rails-5/public/apple-touch-icon.png +0 -0
  137. data/spec/dummy/rails-5/public/favicon.ico +0 -0
  138. data/spec/dummy/rails-5/tmp/development_secret.txt +0 -1
  139. data/spec/dummy/rails-6/Rakefile +0 -6
  140. data/spec/dummy/rails-6/app/assets/config/manifest.js +0 -2
  141. data/spec/dummy/rails-6/app/assets/stylesheets/application.css +0 -15
  142. data/spec/dummy/rails-6/app/channels/application_cable/channel.rb +0 -4
  143. data/spec/dummy/rails-6/app/channels/application_cable/connection.rb +0 -4
  144. data/spec/dummy/rails-6/app/controllers/admin/parameters_controller.rb +0 -1
  145. data/spec/dummy/rails-6/app/controllers/application_controller.rb +0 -1
  146. data/spec/dummy/rails-6/app/controllers/parameters_controller.rb +0 -1
  147. data/spec/dummy/rails-6/app/helpers/application_helper.rb +0 -2
  148. data/spec/dummy/rails-6/app/javascript/packs/application.js +0 -15
  149. data/spec/dummy/rails-6/app/jobs/application_job.rb +0 -7
  150. data/spec/dummy/rails-6/app/mailers/application_mailer.rb +0 -4
  151. data/spec/dummy/rails-6/app/models/application_record.rb +0 -3
  152. data/spec/dummy/rails-6/app/views/layouts/application.html.erb +0 -14
  153. data/spec/dummy/rails-6/app/views/layouts/mailer.html.erb +0 -13
  154. data/spec/dummy/rails-6/app/views/layouts/mailer.text.erb +0 -1
  155. data/spec/dummy/rails-6/bin/rails +0 -4
  156. data/spec/dummy/rails-6/bin/rake +0 -4
  157. data/spec/dummy/rails-6/bin/setup +0 -33
  158. data/spec/dummy/rails-6/config/application.rb +0 -19
  159. data/spec/dummy/rails-6/config/boot.rb +0 -5
  160. data/spec/dummy/rails-6/config/cable.yml +0 -10
  161. data/spec/dummy/rails-6/config/database.yml +0 -25
  162. data/spec/dummy/rails-6/config/environment.rb +0 -5
  163. data/spec/dummy/rails-6/config/environments/development.rb +0 -62
  164. data/spec/dummy/rails-6/config/environments/production.rb +0 -112
  165. data/spec/dummy/rails-6/config/environments/test.rb +0 -49
  166. data/spec/dummy/rails-6/config/initializers/application_controller_renderer.rb +0 -8
  167. data/spec/dummy/rails-6/config/initializers/assets.rb +0 -12
  168. data/spec/dummy/rails-6/config/initializers/backtrace_silencers.rb +0 -7
  169. data/spec/dummy/rails-6/config/initializers/content_security_policy.rb +0 -28
  170. data/spec/dummy/rails-6/config/initializers/cookies_serializer.rb +0 -5
  171. data/spec/dummy/rails-6/config/initializers/filter_parameter_logging.rb +0 -4
  172. data/spec/dummy/rails-6/config/initializers/inflections.rb +0 -16
  173. data/spec/dummy/rails-6/config/initializers/mime_types.rb +0 -4
  174. data/spec/dummy/rails-6/config/initializers/wrap_parameters.rb +0 -14
  175. data/spec/dummy/rails-6/config/locales/en.yml +0 -33
  176. data/spec/dummy/rails-6/config/puma.rb +0 -38
  177. data/spec/dummy/rails-6/config/routes.rb +0 -1
  178. data/spec/dummy/rails-6/config/spring.rb +0 -6
  179. data/spec/dummy/rails-6/config/storage.yml +0 -34
  180. data/spec/dummy/rails-6/config.ru +0 -5
  181. data/spec/dummy/rails-6/db/development.sqlite3 +0 -0
  182. data/spec/dummy/rails-6/db/test.sqlite3 +0 -0
  183. data/spec/dummy/rails-6/log/development.log +0 -2332
  184. data/spec/dummy/rails-6/log/test.log +0 -17288
  185. data/spec/dummy/rails-6/public/404.html +0 -67
  186. data/spec/dummy/rails-6/public/422.html +0 -67
  187. data/spec/dummy/rails-6/public/500.html +0 -66
  188. data/spec/dummy/rails-6/public/apple-touch-icon-precomposed.png +0 -0
  189. data/spec/dummy/rails-6/public/apple-touch-icon.png +0 -0
  190. data/spec/dummy/rails-6/public/favicon.ico +0 -0
  191. data/spec/dummy/rails-6/tmp/development_secret.txt +0 -1
  192. data/spec/preserve/session_key_spec.rb +0 -31
  193. data/spec/preserve_spec.rb +0 -111
  194. data/spec/spec_helper.rb +0 -20
  195. data/spec/support/legacy_helpers.rb +0 -7
  196. data/spec/support/request_helpers.rb +0 -19
@@ -1,46 +0,0 @@
1
- Rails.application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb.
3
-
4
- # The test environment is used exclusively to run your application's
5
- # test suite. You never need to work with it otherwise. Remember that
6
- # your test database is "scratch space" for the test suite and is wiped
7
- # and recreated between test runs. Don't rely on the data there!
8
- config.cache_classes = true
9
-
10
- # Do not eager load code on boot. This avoids loading your whole application
11
- # just for the purpose of running a single test. If you are using a tool that
12
- # preloads Rails for running tests, you may have to set it to true.
13
- config.eager_load = false
14
-
15
- # Configure public file server for tests with Cache-Control for performance.
16
- config.public_file_server.enabled = true
17
- config.public_file_server.headers = {
18
- 'Cache-Control' => "public, max-age=#{1.hour.to_i}"
19
- }
20
-
21
- # Show full error reports and disable caching.
22
- config.consider_all_requests_local = true
23
- config.action_controller.perform_caching = false
24
-
25
- # Raise exceptions instead of rendering exception templates.
26
- config.action_dispatch.show_exceptions = false
27
-
28
- # Disable request forgery protection in test environment.
29
- config.action_controller.allow_forgery_protection = false
30
-
31
- # Store uploaded files on the local file system in a temporary directory
32
- config.active_storage.service = :test
33
-
34
- config.action_mailer.perform_caching = false
35
-
36
- # Tell Action Mailer not to deliver emails to the real world.
37
- # The :test delivery method accumulates sent emails in the
38
- # ActionMailer::Base.deliveries array.
39
- config.action_mailer.delivery_method = :test
40
-
41
- # Print deprecation notices to the stderr.
42
- config.active_support.deprecation = :stderr
43
-
44
- # Raises error for missing translations
45
- # config.action_view.raise_on_missing_translations = true
46
- end
@@ -1,8 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # ActiveSupport::Reloader.to_prepare do
4
- # ApplicationController.renderer.defaults.merge!(
5
- # http_host: 'example.org',
6
- # https: false
7
- # )
8
- # end
@@ -1,14 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Version of your assets, change this if you want to expire all your assets.
4
- Rails.application.config.assets.version = '1.0'
5
-
6
- # Add additional assets to the asset load path.
7
- # Rails.application.config.assets.paths << Emoji.images_path
8
- # Add Yarn node_modules folder to the asset load path.
9
- Rails.application.config.assets.paths << Rails.root.join('node_modules')
10
-
11
- # Precompile additional assets.
12
- # application.js, application.css, and all non-JS/CSS in the app/assets
13
- # folder are already added.
14
- # Rails.application.config.assets.precompile += %w( admin.js admin.css )
@@ -1,7 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
- # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
-
6
- # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
- # Rails.backtrace_cleaner.remove_silencers!
@@ -1,25 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Define an application-wide content security policy
4
- # For further information see the following documentation
5
- # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
6
-
7
- # Rails.application.config.content_security_policy do |policy|
8
- # policy.default_src :self, :https
9
- # policy.font_src :self, :https, :data
10
- # policy.img_src :self, :https, :data
11
- # policy.object_src :none
12
- # policy.script_src :self, :https
13
- # policy.style_src :self, :https
14
-
15
- # # Specify URI for violation reports
16
- # # policy.report_uri "/csp-violation-report-endpoint"
17
- # end
18
-
19
- # If you are using UJS then enable automatic nonce generation
20
- # Rails.application.config.content_security_policy_nonce_generator = -> request { SecureRandom.base64(16) }
21
-
22
- # Report CSP violations to a specified URI
23
- # For further information see the following documentation:
24
- # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only
25
- # Rails.application.config.content_security_policy_report_only = true
@@ -1,5 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Specify a serializer for the signed and encrypted cookie jars.
4
- # Valid options are :json, :marshal, and :hybrid.
5
- Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -1,4 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Configure sensitive parameters which will be filtered from the log file.
4
- Rails.application.config.filter_parameters += [:password]
@@ -1,16 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new inflection rules using the following format. Inflections
4
- # are locale specific, and you may define rules for as many different
5
- # locales as you wish. All of these examples are active by default:
6
- # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
- # inflect.plural /^(ox)$/i, '\1en'
8
- # inflect.singular /^(ox)en/i, '\1'
9
- # inflect.irregular 'person', 'people'
10
- # inflect.uncountable %w( fish sheep )
11
- # end
12
-
13
- # These inflection rules are supported but not enabled by default:
14
- # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
- # inflect.acronym 'RESTful'
16
- # end
@@ -1,4 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new mime types for use in respond_to blocks:
4
- # Mime::Type.register "text/richtext", :rtf
@@ -1,14 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # This file contains settings for ActionController::ParamsWrapper which
4
- # is enabled by default.
5
-
6
- # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
- ActiveSupport.on_load(:action_controller) do
8
- wrap_parameters format: [:json]
9
- end
10
-
11
- # To enable root element in JSON for ActiveRecord objects.
12
- # ActiveSupport.on_load(:active_record) do
13
- # self.include_root_in_json = true
14
- # end
@@ -1,33 +0,0 @@
1
- # Files in the config/locales directory are used for internationalization
2
- # and are automatically loaded by Rails. If you want to use locales other
3
- # than English, add the necessary files in this directory.
4
- #
5
- # To use the locales, use `I18n.t`:
6
- #
7
- # I18n.t 'hello'
8
- #
9
- # In views, this is aliased to just `t`:
10
- #
11
- # <%= t('hello') %>
12
- #
13
- # To use a different locale, set it with `I18n.locale`:
14
- #
15
- # I18n.locale = :es
16
- #
17
- # This would use the information in config/locales/es.yml.
18
- #
19
- # The following keys must be escaped otherwise they will not be retrieved by
20
- # the default I18n backend:
21
- #
22
- # true, false, on, off, yes, no
23
- #
24
- # Instead, surround them with single quotes.
25
- #
26
- # en:
27
- # 'true': 'foo'
28
- #
29
- # To learn more, please read the Rails Internationalization guide
30
- # available at http://guides.rubyonrails.org/i18n.html.
31
-
32
- en:
33
- hello: "Hello world"
@@ -1,37 +0,0 @@
1
- # Puma can serve each request in a thread from an internal thread pool.
2
- # The `threads` method setting takes two numbers: a minimum and maximum.
3
- # Any libraries that use thread pools should be configured to match
4
- # the maximum value specified for Puma. Default is set to 5 threads for minimum
5
- # and maximum; this matches the default thread size of Active Record.
6
- #
7
- threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
8
- threads threads_count, threads_count
9
-
10
- # Specifies the `port` that Puma will listen on to receive requests; default is 3000.
11
- #
12
- port ENV.fetch("PORT") { 3000 }
13
-
14
- # Specifies the `environment` that Puma will run in.
15
- #
16
- environment ENV.fetch("RAILS_ENV") { "development" }
17
-
18
- # Specifies the `pidfile` that Puma will use.
19
- pidfile ENV.fetch("PIDFILE") { "tmp/pids/server.pid" }
20
-
21
- # Specifies the number of `workers` to boot in clustered mode.
22
- # Workers are forked webserver processes. If using threads and workers together
23
- # the concurrency of the application would be max `threads` * `workers`.
24
- # Workers do not work on JRuby or Windows (both of which do not support
25
- # processes).
26
- #
27
- # workers ENV.fetch("WEB_CONCURRENCY") { 2 }
28
-
29
- # Use the `preload_app!` method when specifying a `workers` number.
30
- # This directive tells Puma to first boot the application and load code
31
- # before forking the application. This takes advantage of Copy On Write
32
- # process behavior so workers use less memory.
33
- #
34
- # preload_app!
35
-
36
- # Allow puma to be restarted by `rails restart` command.
37
- plugin :tmp_restart
@@ -1 +0,0 @@
1
- ../../common/config/routes.rb
@@ -1,6 +0,0 @@
1
- %w[
2
- .ruby-version
3
- .rbenv-vars
4
- tmp/restart.txt
5
- tmp/caching-dev.txt
6
- ].each { |path| Spring.watch(path) }
@@ -1,34 +0,0 @@
1
- test:
2
- service: Disk
3
- root: <%= Rails.root.join("tmp/storage") %>
4
-
5
- local:
6
- service: Disk
7
- root: <%= Rails.root.join("storage") %>
8
-
9
- # Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
10
- # amazon:
11
- # service: S3
12
- # access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
13
- # secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
14
- # region: us-east-1
15
- # bucket: your_own_bucket
16
-
17
- # Remember not to checkin your GCS keyfile to a repository
18
- # google:
19
- # service: GCS
20
- # project: your_project
21
- # credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
22
- # bucket: your_own_bucket
23
-
24
- # Use rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
25
- # microsoft:
26
- # service: AzureStorage
27
- # storage_account_name: your_account_name
28
- # storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
29
- # container: your_container_name
30
-
31
- # mirror:
32
- # service: Mirror
33
- # primary: local
34
- # mirrors: [ amazon, google, microsoft ]
@@ -1,5 +0,0 @@
1
- # This file is used by Rack-based servers to start the application.
2
-
3
- require_relative 'config/environment'
4
-
5
- run Rails.application
File without changes
@@ -1,119 +0,0 @@
1
- Started GET "/parameters?per_page=20" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
2
- Processing by ParametersController#index as HTML
3
- Parameters: {"per_page"=>"20"}
4
- Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)
5
- Started GET "/parameters" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
6
- Processing by ParametersController#index as HTML
7
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8
- Started GET "/parameters?order=created_at" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
9
- Processing by ParametersController#index as HTML
10
- Parameters: {"order"=>"created_at"}
11
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
12
- Started GET "/parameters?status=active" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
13
- Processing by ParametersController#index as HTML
14
- Parameters: {"status"=>"active"}
15
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
16
- Started GET "/parameters?status=" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
17
- Processing by ParametersController#index as HTML
18
- Parameters: {"status"=>""}
19
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
20
- Started GET "/parameters?per_page=20" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
21
- Processing by ParametersController#index as HTML
22
- Parameters: {"per_page"=>"20"}
23
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
24
- Started GET "/parameters?per_page=10" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
25
- Processing by ParametersController#index as HTML
26
- Parameters: {"per_page"=>"10"}
27
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
28
- Started GET "/parameters?page=5&per_page=20" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
29
- Processing by ParametersController#index as HTML
30
- Parameters: {"page"=>"5", "per_page"=>"20"}
31
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
32
- Started GET "/parameters" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
33
- Processing by ParametersController#index as HTML
34
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
35
- Started POST "/parameters" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
36
- Processing by ParametersController#create as HTML
37
- Parameters: {"per_page"=>"20"}
38
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
39
- Started POST "/parameters" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
40
- Processing by ParametersController#create as HTML
41
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
42
- Started GET "/parameters?locale=en" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
43
- Processing by ParametersController#index as HTML
44
- Parameters: {"locale"=>"en"}
45
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
46
- Started GET "/parameters" for 127.0.0.1 at 2020-09-02 19:04:48 +0200
47
- Processing by ParametersController#index as HTML
48
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
49
- Started GET "/parameters?sort[column]=name&sort[direction]=desc" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
50
- Processing by ParametersController#index as HTML
51
- Parameters: {"sort"=>{"column"=>"name", "direction"=>"desc"}}
52
- Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)
53
- Started GET "/parameters" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
54
- Processing by ParametersController#index as HTML
55
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
56
- Started GET "/admin/parameters?status=active" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
57
- Processing by Admin::ParametersController#index as HTML
58
- Parameters: {"status"=>"active"}
59
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
60
- Started GET "/parameters" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
61
- Processing by ParametersController#index as HTML
62
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
63
- Started GET "/parameters?status=active" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
64
- Processing by ParametersController#index as HTML
65
- Parameters: {"status"=>"active"}
66
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
67
- Started GET "/parameters?status=inactive" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
68
- Processing by ParametersController#index as HTML
69
- Parameters: {"status"=>"inactive"}
70
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
71
- Started GET "/parameters" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
72
- Processing by ParametersController#index as HTML
73
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
74
- Started GET "/parameters?status=active" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
75
- Processing by ParametersController#index as HTML
76
- Parameters: {"status"=>"active"}
77
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
78
- Started GET "/parameters?status=" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
79
- Processing by ParametersController#index as HTML
80
- Parameters: {"status"=>""}
81
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
82
- Started GET "/parameters?page=2&per_page=20" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
83
- Processing by ParametersController#index as HTML
84
- Parameters: {"page"=>"2", "per_page"=>"20"}
85
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
86
- Started GET "/parameters" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
87
- Processing by ParametersController#index as HTML
88
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
89
- Started GET "/parameters?status=active" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
90
- Processing by ParametersController#index as HTML
91
- Parameters: {"status"=>"active"}
92
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
93
- Started GET "/parameters" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
94
- Processing by ParametersController#index as HTML
95
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
96
- Started GET "/parameters?locale=en" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
97
- Processing by ParametersController#index as HTML
98
- Parameters: {"locale"=>"en"}
99
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
100
- Started GET "/parameters" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
101
- Processing by ParametersController#index as HTML
102
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
103
- Started GET "/admin/parameters" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
104
- Processing by Admin::ParametersController#index as HTML
105
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
106
- Started POST "/parameters" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
107
- Processing by ParametersController#create as HTML
108
- Parameters: {"status"=>"active"}
109
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
110
- Started POST "/parameters" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
111
- Processing by ParametersController#create as HTML
112
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
113
- Started GET "/parameters?status=active" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
114
- Processing by ParametersController#index as HTML
115
- Parameters: {"status"=>"active"}
116
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
117
- Started GET "/parameters" for 127.0.0.1 at 2020-09-10 18:22:12 +0200
118
- Processing by ParametersController#index as HTML
119
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
@@ -1,5 +0,0 @@
1
- {
2
- "name": "dummy",
3
- "private": true,
4
- "dependencies": {}
5
- }
@@ -1,67 +0,0 @@
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
- .rails-default-error-page {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- .rails-default-error-page div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- .rails-default-error-page 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
- .rails-default-error-page h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- .rails-default-error-page 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 class="rails-default-error-page">
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>
@@ -1,67 +0,0 @@
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
- .rails-default-error-page {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- .rails-default-error-page div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- .rails-default-error-page 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
- .rails-default-error-page h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- .rails-default-error-page 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 class="rails-default-error-page">
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>
@@ -1,66 +0,0 @@
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
- .rails-default-error-page {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- .rails-default-error-page div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- .rails-default-error-page 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
- .rails-default-error-page h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- .rails-default-error-page 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 class="rails-default-error-page">
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
@@ -1 +0,0 @@
1
- c5487cc1f926aeaf2b0ca7bb49d03782e85603c1e87346a9fd08eb5eea43461847f32a81644df78e2740df6480ebcfb15cb0ecdd7ddd5c30c2b878ab3f076894
@@ -1,6 +0,0 @@
1
- # Add your own tasks in files placed in lib/tasks ending in .rake,
2
- # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
-
4
- require_relative 'config/application'
5
-
6
- Rails.application.load_tasks
@@ -1,2 +0,0 @@
1
- //= link_tree ../images
2
- //= link_directory ../stylesheets .css
@@ -1,15 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10
- * files in this directory. Styles in this file should be added after the last require_* statement.
11
- * It is generally better to create a new file per style scope.
12
- *
13
- *= require_tree .
14
- *= require_self
15
- */
@@ -1,4 +0,0 @@
1
- module ApplicationCable
2
- class Channel < ActionCable::Channel::Base
3
- end
4
- end