ruby2html 1.5.2 → 1.5.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gem/ruby2html/render.rb +1 -1
  3. data/lib/gem/ruby2html/version.rb +1 -1
  4. data/ruby2html.gemspec +33 -0
  5. metadata +2 -76
  6. data/.dockerignore +0 -48
  7. data/.rspec +0 -2
  8. data/.rubocop.yml +0 -16
  9. data/.ruby-version +0 -1
  10. data/Dockerfile +0 -71
  11. data/README.md +0 -318
  12. data/Rakefile +0 -8
  13. data/app/assets/config/manifest.js +0 -2
  14. data/app/assets/images/.keep +0 -0
  15. data/app/assets/stylesheets/application.css +0 -15
  16. data/app/channels/application_cable/channel.rb +0 -6
  17. data/app/channels/application_cable/connection.rb +0 -6
  18. data/app/components/application_component.rb +0 -5
  19. data/app/components/first_component.html.rb +0 -11
  20. data/app/components/first_component.rb +0 -19
  21. data/app/components/second_component.rb +0 -12
  22. data/app/components/third_component/third_component.html.rb +0 -6
  23. data/app/components/third_component.rb +0 -7
  24. data/app/controllers/application_controller.rb +0 -7
  25. data/app/controllers/benchmark_controller.rb +0 -48
  26. data/app/controllers/concerns/.keep +0 -0
  27. data/app/controllers/home_controller.rb +0 -16
  28. data/app/helpers/application_helper.rb +0 -4
  29. data/app/jobs/application_job.rb +0 -9
  30. data/app/mailers/application_mailer.rb +0 -6
  31. data/app/models/application_record.rb +0 -5
  32. data/app/models/concerns/.keep +0 -0
  33. data/app/views/benchmark/normal_html.html.erb +0 -31
  34. data/app/views/benchmark/ruby_2html.html.rb +0 -33
  35. data/app/views/home/form.html.rb +0 -14
  36. data/app/views/home/index.html.erb +0 -43
  37. data/app/views/home/rb_files.html.rb +0 -18
  38. data/app/views/layouts/application.html.erb +0 -21
  39. data/app/views/layouts/mailer.html.erb +0 -13
  40. data/app/views/layouts/mailer.text.erb +0 -1
  41. data/app/views/pwa/manifest.json.erb +0 -22
  42. data/app/views/pwa/service-worker.js +0 -26
  43. data/app/views/shared/_footer.html.rb +0 -3
  44. data/app/views/shared/_navbar.html.erb +0 -1
  45. data/config/application.rb +0 -45
  46. data/config/boot.rb +0 -6
  47. data/config/cable.yml +0 -10
  48. data/config/credentials.yml.enc +0 -1
  49. data/config/database.yml +0 -32
  50. data/config/environment.rb +0 -7
  51. data/config/environments/development.rb +0 -85
  52. data/config/environments/production.rb +0 -104
  53. data/config/environments/test.rb +0 -69
  54. data/config/initializers/assets.rb +0 -14
  55. data/config/initializers/content_security_policy.rb +0 -27
  56. data/config/initializers/filter_parameter_logging.rb +0 -10
  57. data/config/initializers/inflections.rb +0 -18
  58. data/config/initializers/permissions_policy.rb +0 -15
  59. data/config/locales/en.yml +0 -31
  60. data/config/puma.rb +0 -56
  61. data/config/routes.rb +0 -23
  62. data/config/storage.yml +0 -34
  63. data/config.ru +0 -8
  64. data/db/seeds.rb +0 -11
  65. data/lefthook.yml +0 -8
  66. data/lib/assets/.keep +0 -0
  67. data/lib/tasks/.keep +0 -0
  68. data/log/.keep +0 -0
  69. data/public/404.html +0 -67
  70. data/public/406-unsupported-browser.html +0 -66
  71. data/public/422.html +0 -67
  72. data/public/500.html +0 -66
  73. data/public/icon.png +0 -0
  74. data/public/icon.svg +0 -3
  75. data/public/robots.txt +0 -1
  76. data/storage/.keep +0 -0
  77. data/tmp/.keep +0 -0
  78. data/tmp/pids/.keep +0 -0
  79. data/tmp/storage/.keep +0 -0
  80. data/vendor/.keep +0 -0
@@ -1,104 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'active_support/core_ext/integer/time'
4
-
5
- Rails.application.configure do
6
- # Settings specified here will take precedence over those in config/application.rb.
7
-
8
- # Code is not reloaded between requests.
9
- config.enable_reloading = false
10
-
11
- # Eager load code on boot. This eager loads most of Rails and
12
- # your application in memory, allowing both threaded web servers
13
- # and those relying on copy on write to perform better.
14
- # Rake tasks automatically ignore this option for performance.
15
- config.eager_load = true
16
-
17
- # Full error reports are disabled and caching is turned on.
18
- config.consider_all_requests_local = false
19
- config.action_controller.perform_caching = true
20
-
21
- # Ensures that a master key has been made available in ENV["RAILS_MASTER_KEY"], config/master.key, or an environment
22
- # key such as config/credentials/production.key. This key is used to decrypt credentials (and other encrypted files).
23
- # config.require_master_key = true
24
-
25
- # Disable serving static files from `public/`, relying on NGINX/Apache to do so instead.
26
- # config.public_file_server.enabled = false
27
-
28
- # Compress CSS using a preprocessor.
29
- # config.assets.css_compressor = :sass
30
-
31
- # Do not fall back to assets pipeline if a precompiled asset is missed.
32
- config.assets.compile = false
33
-
34
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
35
- # config.asset_host = "http://assets.example.com"
36
-
37
- # Specifies the header that your server uses for sending files.
38
- # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for Apache
39
- # config.action_dispatch.x_sendfile_header = "X-Accel-Redirect" # for NGINX
40
-
41
- # Store uploaded files on the local file system (see config/storage.yml for options).
42
- config.active_storage.service = :local
43
-
44
- # Mount Action Cable outside main process or domain.
45
- # config.action_cable.mount_path = nil
46
- # config.action_cable.url = "wss://example.com/cable"
47
- # config.action_cable.allowed_request_origins = [ "http://example.com", /http:\/\/example.*/ ]
48
-
49
- # Assume all access to the app is happening through a SSL-terminating reverse proxy.
50
- # Can be used together with config.force_ssl for Strict-Transport-Security and secure cookies.
51
- # config.assume_ssl = true
52
-
53
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
54
- config.force_ssl = true
55
-
56
- # Skip http-to-https redirect for the default health check endpoint.
57
- # config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } }
58
-
59
- # Log to STDOUT by default
60
- config.logger = ActiveSupport::Logger.new(STDOUT)
61
- .tap { |logger| logger.formatter = ::Logger::Formatter.new }
62
- .then { |logger| ActiveSupport::TaggedLogging.new(logger) }
63
-
64
- # Prepend all log lines with the following tags.
65
- config.log_tags = [ :request_id ]
66
-
67
- # "info" includes generic and useful information about system operation, but avoids logging too much
68
- # information to avoid inadvertent exposure of personally identifiable information (PII). If you
69
- # want to log everything, set the level to "debug".
70
- config.log_level = ENV.fetch('RAILS_LOG_LEVEL', 'info')
71
-
72
- # Use a different cache store in production.
73
- # config.cache_store = :mem_cache_store
74
-
75
- # Use a real queuing backend for Active Job (and separate queues per environment).
76
- # config.active_job.queue_adapter = :resque
77
- # config.active_job.queue_name_prefix = "ruby2html_production"
78
-
79
- # Disable caching for Action Mailer templates even if Action Controller
80
- # caching is enabled.
81
- config.action_mailer.perform_caching = false
82
-
83
- # Ignore bad email addresses and do not raise email delivery errors.
84
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
85
- # config.action_mailer.raise_delivery_errors = false
86
-
87
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
88
- # the I18n.default_locale when a translation cannot be found).
89
- config.i18n.fallbacks = true
90
-
91
- # Don't log any deprecations.
92
- config.active_support.report_deprecations = false
93
-
94
- # Do not dump schema after migrations.
95
- config.active_record.dump_schema_after_migration = false
96
-
97
- # Enable DNS rebinding protection and other `Host` header attacks.
98
- # config.hosts = [
99
- # "example.com", # Allow requests from example.com
100
- # /.*\.example\.com/ # Allow requests from subdomains like `www.example.com`
101
- # ]
102
- # Skip DNS rebinding protection for the default health check endpoint.
103
- # config.host_authorization = { exclude: ->(request) { request.path == "/up" } }
104
- end
@@ -1,69 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'active_support/core_ext/integer/time'
4
-
5
- # The test environment is used exclusively to run your application's
6
- # test suite. You never need to work with it otherwise. Remember that
7
- # your test database is "scratch space" for the test suite and is wiped
8
- # and recreated between test runs. Don't rely on the data there!
9
-
10
- Rails.application.configure do
11
- # Settings specified here will take precedence over those in config/application.rb.
12
-
13
- # While tests run files are not watched, reloading is not necessary.
14
- config.enable_reloading = false
15
-
16
- # Eager loading loads your entire application. When running a single test locally,
17
- # this is usually not necessary, and can slow down your test suite. However, it's
18
- # recommended that you enable it in continuous integration systems to ensure eager
19
- # loading is working properly before deploying your code.
20
- config.eager_load = ENV['CI'].present?
21
-
22
- # Configure public file server for tests with Cache-Control for performance.
23
- config.public_file_server.headers = { 'Cache-Control' => "public, max-age=#{1.hour.to_i}" }
24
-
25
- # Show full error reports and disable caching.
26
- config.consider_all_requests_local = true
27
- config.action_controller.perform_caching = false
28
- config.cache_store = :null_store
29
-
30
- # Render exception templates for rescuable exceptions and raise for other exceptions.
31
- config.action_dispatch.show_exceptions = :rescuable
32
-
33
- # Disable request forgery protection in test environment.
34
- config.action_controller.allow_forgery_protection = false
35
-
36
- # Store uploaded files on the local file system in a temporary directory.
37
- config.active_storage.service = :test
38
-
39
- # Disable caching for Action Mailer templates even if Action Controller
40
- # caching is enabled.
41
- config.action_mailer.perform_caching = false
42
-
43
- # Tell Action Mailer not to deliver emails to the real world.
44
- # The :test delivery method accumulates sent emails in the
45
- # ActionMailer::Base.deliveries array.
46
- config.action_mailer.delivery_method = :test
47
-
48
- # Unlike controllers, the mailer instance doesn't have any context about the
49
- # incoming request so you'll need to provide the :host parameter yourself.
50
- config.action_mailer.default_url_options = { host: 'www.example.com' }
51
-
52
- # Print deprecation notices to the stderr.
53
- config.active_support.deprecation = :stderr
54
-
55
- # Raise exceptions for disallowed deprecations.
56
- config.active_support.disallowed_deprecation = :raise
57
-
58
- # Tell Active Support which deprecation messages to disallow.
59
- config.active_support.disallowed_deprecation_warnings = []
60
-
61
- # Raises error for missing translations.
62
- # config.i18n.raise_on_missing_translations = true
63
-
64
- # Annotate rendered view with file names.
65
- # config.action_view.annotate_rendered_view_with_filenames = true
66
-
67
- # Raise error when a before_action's only/except options reference missing actions.
68
- config.action_controller.raise_on_missing_callback_actions = true
69
- end
@@ -1,14 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Be sure to restart your server when you modify this file.
4
-
5
- # Version of your assets, change this if you want to expire all your assets.
6
- Rails.application.config.assets.version = '1.0'
7
-
8
- # Add additional assets to the asset load path.
9
- # Rails.application.config.assets.paths << Emoji.images_path
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,27 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Be sure to restart your server when you modify this file.
4
-
5
- # Define an application-wide content security policy.
6
- # See the Securing Rails Applications Guide for more information:
7
- # https://guides.rubyonrails.org/security.html#content-security-policy-header
8
-
9
- # Rails.application.configure do
10
- # config.content_security_policy do |policy|
11
- # policy.default_src :self, :https
12
- # policy.font_src :self, :https, :data
13
- # policy.img_src :self, :https, :data
14
- # policy.object_src :none
15
- # policy.script_src :self, :https
16
- # policy.style_src :self, :https
17
- # # Specify URI for violation reports
18
- # # policy.report_uri "/csp-violation-report-endpoint"
19
- # end
20
- #
21
- # # Generate session nonces for permitted importmap, inline scripts, and inline styles.
22
- # config.content_security_policy_nonce_generator = ->(request) { request.session.id.to_s }
23
- # config.content_security_policy_nonce_directives = %w(script-src style-src)
24
- #
25
- # # Report violations without enforcing the policy.
26
- # # config.content_security_policy_report_only = true
27
- # end
@@ -1,10 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Be sure to restart your server when you modify this file.
4
-
5
- # Configure parameters to be partially matched (e.g. passw matches password) and filtered from the log file.
6
- # Use this to limit dissemination of sensitive information.
7
- # See the ActiveSupport::ParameterFilter documentation for supported notations and behaviors.
8
- Rails.application.config.filter_parameters += [
9
- :passw, :email, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
10
- ]
@@ -1,18 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Be sure to restart your server when you modify this file.
4
-
5
- # Add new inflection rules using the following format. Inflections
6
- # are locale specific, and you may define rules for as many different
7
- # locales as you wish. All of these examples are active by default:
8
- # ActiveSupport::Inflector.inflections(:en) do |inflect|
9
- # inflect.plural /^(ox)$/i, "\\1en"
10
- # inflect.singular /^(ox)en/i, "\\1"
11
- # inflect.irregular "person", "people"
12
- # inflect.uncountable %w( fish sheep )
13
- # end
14
-
15
- # These inflection rules are supported but not enabled by default:
16
- # ActiveSupport::Inflector.inflections(:en) do |inflect|
17
- # inflect.acronym "RESTful"
18
- # end
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Be sure to restart your server when you modify this file.
4
-
5
- # Define an application-wide HTTP permissions policy. For further
6
- # information see: https://developers.google.com/web/updates/2018/06/feature-policy
7
-
8
- # Rails.application.config.permissions_policy do |policy|
9
- # policy.camera :none
10
- # policy.gyroscope :none
11
- # policy.microphone :none
12
- # policy.usb :none
13
- # policy.fullscreen :self
14
- # policy.payment :self, "https://secure.example.com"
15
- # end
@@ -1,31 +0,0 @@
1
- # Files in the config/locales directory are used for internationalization and
2
- # are automatically loaded by Rails. If you want to use locales other than
3
- # 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
- # To learn more about the API, please read the Rails Internationalization guide
20
- # at https://guides.rubyonrails.org/i18n.html.
21
- #
22
- # Be aware that YAML interprets the following case-insensitive strings as
23
- # booleans: `true`, `false`, `on`, `off`, `yes`, `no`. Therefore, these strings
24
- # must be quoted to be interpreted as strings. For example:
25
- #
26
- # en:
27
- # "yes": yup
28
- # enabled: "ON"
29
-
30
- en:
31
- hello: "Hello world"
data/config/puma.rb DELETED
@@ -1,56 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # This configuration file will be evaluated by Puma. The top-level methods that
4
- # are invoked here are part of Puma's configuration DSL. For more information
5
- # about methods provided by the DSL, see https://puma.io/puma/Puma/DSL.html.
6
-
7
- # Puma starts a configurable number of processes (workers) and each process
8
- # serves each request in a thread from an internal thread pool.
9
- #
10
- # The ideal number of threads per worker depends both on how much time the
11
- # application spends waiting for IO operations and on how much you wish to
12
- # to prioritize throughput over latency.
13
- #
14
- # As a rule of thumb, increasing the number of threads will increase how much
15
- # traffic a given process can handle (throughput), but due to CRuby's
16
- # Global VM Lock (GVL) it has diminishing returns and will degrade the
17
- # response time (latency) of the application.
18
- #
19
- # The default is set to 3 threads as it's deemed a decent compromise between
20
- # throughput and latency for the average Rails application.
21
- #
22
- # Any libraries that use a connection pool or another resource pool should
23
- # be configured to provide at least as many connections as the number of
24
- # threads. This includes Active Record's `pool` parameter in `database.yml`.
25
- threads_count = ENV.fetch('RAILS_MAX_THREADS', 3)
26
- threads threads_count, threads_count
27
-
28
- # Specifies the `environment` that Puma will run in.
29
- rails_env = ENV.fetch('RAILS_ENV', 'development')
30
- environment rails_env
31
-
32
- case rails_env
33
- when 'production'
34
- # If you are running more than 1 thread per process, the workers count
35
- # should be equal to the number of processors (CPU cores) in production.
36
- #
37
- # Automatically detect the number of available processors in production.
38
- require 'concurrent-ruby'
39
- workers_count = Integer(ENV.fetch('WEB_CONCURRENCY') { Concurrent.available_processor_count })
40
- workers workers_count if workers_count > 1
41
-
42
- preload_app!
43
- when 'development'
44
- # Specifies a very generous `worker_timeout` so that the worker
45
- # isn't killed by Puma when suspended by a debugger.
46
- worker_timeout 3600
47
- end
48
-
49
- # Specifies the `port` that Puma will listen on to receive requests; default is 3000.
50
- port ENV.fetch('PORT', 3000)
51
-
52
- # Allow puma to be restarted by `bin/rails restart` command.
53
- plugin :tmp_restart
54
-
55
- # Only use a pidfile when requested
56
- pidfile ENV['PIDFILE'] if ENV['PIDFILE']
data/config/routes.rb DELETED
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- Rails.application.routes.draw do
4
- root to: 'home#index'
5
- get '/benchmark/html', to: 'benchmark#normal_html'
6
- get '/benchmark/ruby', to: 'benchmark#ruby_2html'
7
-
8
- get '/rb_files', to: 'home#rb_files'
9
- get 'form', to: 'home#form'
10
-
11
- # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
12
-
13
- # Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
14
- # Can be used by load balancers and uptime monitors to verify that the app is live.
15
- get 'up' => 'rails/health#show', as: :rails_health_check
16
-
17
- # Render dynamic PWA files from app/views/pwa/*
18
- get 'service-worker' => 'rails/pwa#service_worker', as: :pwa_service_worker
19
- get 'manifest' => 'rails/pwa#manifest', as: :pwa_manifest
20
-
21
- # Defines the root path route ("/")
22
- # root "posts#index"
23
- end
data/config/storage.yml DELETED
@@ -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 bin/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-<%= Rails.env %>
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-<%= Rails.env %>
23
-
24
- # Use bin/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-<%= Rails.env %>
30
-
31
- # mirror:
32
- # service: Mirror
33
- # primary: local
34
- # mirrors: [ amazon, google, microsoft ]
data/config.ru DELETED
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # This file is used by Rack-based servers to start the application.
4
-
5
- require_relative 'config/environment'
6
-
7
- run Rails.application
8
- Rails.application.load_server
data/db/seeds.rb DELETED
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # This file should ensure the existence of records required to run the application in every environment (production,
4
- # development, test). The code here should be idempotent so that it can be executed at any point in every environment.
5
- # The data can then be loaded with the bin/rails db:seed command (or created alongside the database with db:setup).
6
- #
7
- # Example:
8
- #
9
- # ["Action", "Comedy", "Drama", "Horror"].each do |genre_name|
10
- # MovieGenre.find_or_create_by!(name: genre_name)
11
- # end
data/lefthook.yml DELETED
@@ -1,8 +0,0 @@
1
- pre-commit:
2
- commands:
3
- rubocop:
4
- run: bundle exec rubocop -A
5
- skip:
6
- - merge
7
- - rebase
8
- stage_fixed: true
data/lib/assets/.keep DELETED
File without changes
data/lib/tasks/.keep DELETED
File without changes
data/log/.keep DELETED
File without changes
data/public/404.html DELETED
@@ -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,66 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Your browser is not supported (406)</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/406-unsupported-browser.html -->
59
- <div class="dialog">
60
- <div>
61
- <h1>Your browser is not supported.</h1>
62
- <p>Please upgrade your browser to continue.</p>
63
- </div>
64
- </div>
65
- </body>
66
- </html>
data/public/422.html DELETED
@@ -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>