high_voltage 2.2.1 → 2.3.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 (72) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -3
  3. data/.travis.yml +7 -14
  4. data/Appraisals +3 -10
  5. data/CONTRIBUTING.md +4 -1
  6. data/Gemfile.lock +61 -42
  7. data/MIT-LICENSE +1 -1
  8. data/NEWS.md +5 -0
  9. data/README.md +71 -10
  10. data/app/controllers/concerns/high_voltage/static_page.rb +7 -1
  11. data/gemfiles/{rails3.1.gemfile → rails4.2.gemfile} +3 -1
  12. data/high_voltage.gemspec +1 -1
  13. data/lib/high_voltage/page_finder.rb +11 -1
  14. data/lib/high_voltage/version.rb +1 -1
  15. data/spec/constraints/root_route_spec.rb +4 -4
  16. data/spec/controllers/pages_controller_spec.rb +57 -52
  17. data/spec/fake_app.rb +18 -0
  18. data/spec/{dummy → fixtures}/app/views/layouts/alternate.html.erb +0 -0
  19. data/spec/{dummy → fixtures}/app/views/layouts/application.html.erb +0 -0
  20. data/spec/{dummy → fixtures}/app/views/other/wrong.html.erb +0 -0
  21. data/spec/{dummy → fixtures}/app/views/other_pages/also_dir/also_nested.html.erb +0 -0
  22. data/spec/{dummy → fixtures}/app/views/other_pages/also_exists.html.erb +0 -0
  23. data/spec/{dummy → fixtures}/app/views/other_pages/also_exists_but_references_nonexistent_partial.html.erb +0 -0
  24. data/spec/{dummy → fixtures}/app/views/pages/also_dir/also_nested.html.erb +0 -0
  25. data/spec/{dummy → fixtures}/app/views/pages/also_exists.html.erb +0 -0
  26. data/spec/{dummy → fixtures}/app/views/pages/also_exists_but_references_nonexistent_partial.html.erb +0 -0
  27. data/spec/{dummy → fixtures}/app/views/pages/dir/nested.html.erb +0 -0
  28. data/spec/{dummy → fixtures}/app/views/pages/exists.html.erb +0 -0
  29. data/spec/{dummy → fixtures}/app/views/pages/exists_but_references_nonexistent_partial.html.erb +0 -0
  30. data/spec/{dummy → fixtures}/app/views/pages/rot13.html.erb +0 -0
  31. data/spec/fixtures/config/database.yml +3 -0
  32. data/spec/{dummy → fixtures}/config/routes.rb +0 -0
  33. data/spec/{dummy → fixtures}/public/pages/exists.html +0 -0
  34. data/spec/high_voltage/page_finder_spec.rb +30 -14
  35. data/spec/spec_helper.rb +14 -8
  36. data/spec/{dummy → support}/app/controllers/alternative_finder_controller.rb +0 -0
  37. data/spec/{dummy → support}/app/controllers/subclassed_pages_controller.rb +0 -0
  38. metadata +46 -105
  39. data/gemfiles/rails3.1.gemfile.lock +0 -121
  40. data/gemfiles/rails3.2.gemfile +0 -8
  41. data/gemfiles/rails3.2.gemfile.lock +0 -119
  42. data/gemfiles/rails4.0.gemfile.lock +0 -118
  43. data/gemfiles/rails4.1.gemfile.lock +0 -124
  44. data/spec/dummy/Rakefile +0 -7
  45. data/spec/dummy/app/controllers/application_controller.rb +0 -3
  46. data/spec/dummy/app/helpers/application_helper.rb +0 -2
  47. data/spec/dummy/config/application.rb +0 -43
  48. data/spec/dummy/config/boot.rb +0 -10
  49. data/spec/dummy/config/environment.rb +0 -5
  50. data/spec/dummy/config/environments/development.rb +0 -25
  51. data/spec/dummy/config/environments/production.rb +0 -49
  52. data/spec/dummy/config/environments/test.rb +0 -30
  53. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  54. data/spec/dummy/config/initializers/inflections.rb +0 -10
  55. data/spec/dummy/config/initializers/mime_types.rb +0 -5
  56. data/spec/dummy/config/initializers/secret_key_base.rb +0 -1
  57. data/spec/dummy/config/initializers/secret_token.rb +0 -7
  58. data/spec/dummy/config/initializers/session_store.rb +0 -8
  59. data/spec/dummy/config/locales/en.yml +0 -5
  60. data/spec/dummy/config.ru +0 -4
  61. data/spec/dummy/public/404.html +0 -26
  62. data/spec/dummy/public/422.html +0 -26
  63. data/spec/dummy/public/500.html +0 -26
  64. data/spec/dummy/public/favicon.ico +0 -0
  65. data/spec/dummy/public/javascripts/application.js +0 -2
  66. data/spec/dummy/public/javascripts/controls.js +0 -965
  67. data/spec/dummy/public/javascripts/dragdrop.js +0 -974
  68. data/spec/dummy/public/javascripts/effects.js +0 -1123
  69. data/spec/dummy/public/javascripts/prototype.js +0 -6001
  70. data/spec/dummy/public/javascripts/rails.js +0 -191
  71. data/spec/dummy/public/stylesheets/.gitkeep +0 -0
  72. data/spec/dummy/script/rails +0 -6
@@ -1,118 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- high_voltage (2.2.0)
5
-
6
- GEM
7
- remote: http://rubygems.org/
8
- specs:
9
- actionmailer (4.0.5)
10
- actionpack (= 4.0.5)
11
- mail (~> 2.5.4)
12
- actionpack (4.0.5)
13
- activesupport (= 4.0.5)
14
- builder (~> 3.1.0)
15
- erubis (~> 2.7.0)
16
- rack (~> 1.5.2)
17
- rack-test (~> 0.6.2)
18
- actionpack-action_caching (1.1.1)
19
- actionpack (>= 4.0.0, < 5.0)
20
- actionpack-page_caching (1.0.2)
21
- actionpack (>= 4.0.0, < 5)
22
- activemodel (4.0.5)
23
- activesupport (= 4.0.5)
24
- builder (~> 3.1.0)
25
- activerecord (4.0.5)
26
- activemodel (= 4.0.5)
27
- activerecord-deprecated_finders (~> 1.0.2)
28
- activesupport (= 4.0.5)
29
- arel (~> 4.0.0)
30
- activerecord-deprecated_finders (1.0.3)
31
- activesupport (4.0.5)
32
- i18n (~> 0.6, >= 0.6.9)
33
- minitest (~> 4.2)
34
- multi_json (~> 1.3)
35
- thread_safe (~> 0.1)
36
- tzinfo (~> 0.3.37)
37
- appraisal (1.0.0)
38
- bundler
39
- rake
40
- thor (>= 0.14.0)
41
- arel (4.0.2)
42
- builder (3.1.4)
43
- coderay (1.1.0)
44
- diff-lcs (1.2.5)
45
- erubis (2.7.0)
46
- hike (1.2.3)
47
- i18n (0.6.11)
48
- mail (2.5.4)
49
- mime-types (~> 1.16)
50
- treetop (~> 1.4.8)
51
- method_source (0.8.2)
52
- mime-types (1.25.1)
53
- minitest (4.7.5)
54
- multi_json (1.10.1)
55
- polyglot (0.3.5)
56
- pry (0.10.0)
57
- coderay (~> 1.1.0)
58
- method_source (~> 0.8.1)
59
- slop (~> 3.4)
60
- rack (1.5.2)
61
- rack-test (0.6.2)
62
- rack (>= 1.0)
63
- rails (4.0.5)
64
- actionmailer (= 4.0.5)
65
- actionpack (= 4.0.5)
66
- activerecord (= 4.0.5)
67
- activesupport (= 4.0.5)
68
- bundler (>= 1.3.0, < 2.0)
69
- railties (= 4.0.5)
70
- sprockets-rails (~> 2.0.0)
71
- railties (4.0.5)
72
- actionpack (= 4.0.5)
73
- activesupport (= 4.0.5)
74
- rake (>= 0.8.7)
75
- thor (>= 0.18.1, < 2.0)
76
- rake (10.3.2)
77
- rspec-core (2.14.8)
78
- rspec-expectations (2.14.5)
79
- diff-lcs (>= 1.1.3, < 2.0)
80
- rspec-mocks (2.14.6)
81
- rspec-rails (2.14.2)
82
- actionpack (>= 3.0)
83
- activemodel (>= 3.0)
84
- activesupport (>= 3.0)
85
- railties (>= 3.0)
86
- rspec-core (~> 2.14.0)
87
- rspec-expectations (~> 2.14.0)
88
- rspec-mocks (~> 2.14.0)
89
- slop (3.5.0)
90
- sprockets (2.12.0)
91
- hike (~> 1.2)
92
- multi_json (~> 1.0)
93
- rack (~> 1.0)
94
- tilt (~> 1.1, != 1.3.0)
95
- sprockets-rails (2.0.1)
96
- actionpack (>= 3.0)
97
- activesupport (>= 3.0)
98
- sprockets (~> 2.8)
99
- thor (0.19.1)
100
- thread_safe (0.3.4)
101
- tilt (1.4.1)
102
- treetop (1.4.15)
103
- polyglot
104
- polyglot (>= 0.3.1)
105
- tzinfo (0.3.39)
106
-
107
- PLATFORMS
108
- ruby
109
-
110
- DEPENDENCIES
111
- actionpack-action_caching
112
- actionpack-page_caching
113
- activesupport (>= 3.1.0)
114
- appraisal
115
- high_voltage!
116
- pry
117
- rails (~> 4.0.0)
118
- rspec-rails
@@ -1,124 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- high_voltage (2.2.0)
5
-
6
- GEM
7
- remote: http://rubygems.org/
8
- specs:
9
- actionmailer (4.1.4)
10
- actionpack (= 4.1.4)
11
- actionview (= 4.1.4)
12
- mail (~> 2.5.4)
13
- actionpack (4.1.4)
14
- actionview (= 4.1.4)
15
- activesupport (= 4.1.4)
16
- rack (~> 1.5.2)
17
- rack-test (~> 0.6.2)
18
- actionpack-action_caching (1.1.1)
19
- actionpack (>= 4.0.0, < 5.0)
20
- actionpack-page_caching (1.0.2)
21
- actionpack (>= 4.0.0, < 5)
22
- actionview (4.1.4)
23
- activesupport (= 4.1.4)
24
- builder (~> 3.1)
25
- erubis (~> 2.7.0)
26
- activemodel (4.1.4)
27
- activesupport (= 4.1.4)
28
- builder (~> 3.1)
29
- activerecord (4.1.4)
30
- activemodel (= 4.1.4)
31
- activesupport (= 4.1.4)
32
- arel (~> 5.0.0)
33
- activesupport (4.1.4)
34
- i18n (~> 0.6, >= 0.6.9)
35
- json (~> 1.7, >= 1.7.7)
36
- minitest (~> 5.1)
37
- thread_safe (~> 0.1)
38
- tzinfo (~> 1.1)
39
- appraisal (1.0.0)
40
- bundler
41
- rake
42
- thor (>= 0.14.0)
43
- arel (5.0.1.20140414130214)
44
- builder (3.2.2)
45
- coderay (1.1.0)
46
- diff-lcs (1.2.5)
47
- erubis (2.7.0)
48
- hike (1.2.3)
49
- i18n (0.6.11)
50
- json (1.8.1)
51
- mail (2.5.4)
52
- mime-types (~> 1.16)
53
- treetop (~> 1.4.8)
54
- method_source (0.8.2)
55
- mime-types (1.25.1)
56
- minitest (5.4.0)
57
- multi_json (1.10.1)
58
- polyglot (0.3.5)
59
- pry (0.10.0)
60
- coderay (~> 1.1.0)
61
- method_source (~> 0.8.1)
62
- slop (~> 3.4)
63
- rack (1.5.2)
64
- rack-test (0.6.2)
65
- rack (>= 1.0)
66
- rails (4.1.4)
67
- actionmailer (= 4.1.4)
68
- actionpack (= 4.1.4)
69
- actionview (= 4.1.4)
70
- activemodel (= 4.1.4)
71
- activerecord (= 4.1.4)
72
- activesupport (= 4.1.4)
73
- bundler (>= 1.3.0, < 2.0)
74
- railties (= 4.1.4)
75
- sprockets-rails (~> 2.0)
76
- railties (4.1.4)
77
- actionpack (= 4.1.4)
78
- activesupport (= 4.1.4)
79
- rake (>= 0.8.7)
80
- thor (>= 0.18.1, < 2.0)
81
- rake (10.3.2)
82
- rspec-core (2.14.8)
83
- rspec-expectations (2.14.5)
84
- diff-lcs (>= 1.1.3, < 2.0)
85
- rspec-mocks (2.14.6)
86
- rspec-rails (2.14.2)
87
- actionpack (>= 3.0)
88
- activemodel (>= 3.0)
89
- activesupport (>= 3.0)
90
- railties (>= 3.0)
91
- rspec-core (~> 2.14.0)
92
- rspec-expectations (~> 2.14.0)
93
- rspec-mocks (~> 2.14.0)
94
- slop (3.5.0)
95
- sprockets (2.12.0)
96
- hike (~> 1.2)
97
- multi_json (~> 1.0)
98
- rack (~> 1.0)
99
- tilt (~> 1.1, != 1.3.0)
100
- sprockets-rails (2.1.3)
101
- actionpack (>= 3.0)
102
- activesupport (>= 3.0)
103
- sprockets (~> 2.8)
104
- thor (0.19.1)
105
- thread_safe (0.3.4)
106
- tilt (1.4.1)
107
- treetop (1.4.15)
108
- polyglot
109
- polyglot (>= 0.3.1)
110
- tzinfo (1.2.1)
111
- thread_safe (~> 0.1)
112
-
113
- PLATFORMS
114
- ruby
115
-
116
- DEPENDENCIES
117
- actionpack-action_caching
118
- actionpack-page_caching
119
- activesupport (>= 3.1.0)
120
- appraisal
121
- high_voltage!
122
- pry
123
- rails (~> 4.1.0)
124
- rspec-rails
data/spec/dummy/Rakefile DELETED
@@ -1,7 +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 File.expand_path('../config/application', __FILE__)
5
- require 'rake'
6
-
7
- Dummy::Application.load_tasks
@@ -1,3 +0,0 @@
1
- class ApplicationController < ActionController::Base
2
- protect_from_forgery
3
- end
@@ -1,2 +0,0 @@
1
- module ApplicationHelper
2
- end
@@ -1,43 +0,0 @@
1
- require File.expand_path('../boot', __FILE__)
2
-
3
- require "active_model/railtie"
4
- require "action_controller/railtie"
5
- require "action_view/railtie"
6
-
7
- Bundler.require
8
- require "high_voltage"
9
-
10
- module Dummy
11
- class Application < Rails::Application
12
- # Settings in config/environments/* take precedence over those specified here.
13
- # Application configuration should go into files in config/initializers
14
- # -- all .rb files in that directory are automatically loaded.
15
-
16
- # Custom directories with classes and modules you want to be autoloadable.
17
- # config.autoload_paths += %W(#{config.root}/extras)
18
-
19
- # Only load the plugins named here, in the order given (default is alphabetical).
20
- # :all can be used as a placeholder for all plugins not explicitly named.
21
- # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
22
-
23
- # Activate observers that should always be running.
24
- # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
25
-
26
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
27
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
28
- # config.time_zone = 'Central Time (US & Canada)'
29
-
30
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
31
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
32
- # config.i18n.default_locale = :de
33
-
34
- # JavaScript files you want as :defaults (application.js is always included).
35
- # config.action_view.javascript_expansions[:defaults] = %w(jquery rails)
36
-
37
- # Configure the default encoding used in templates for Ruby 1.9.
38
- config.encoding = "utf-8"
39
-
40
- # Configure sensitive parameters which will be filtered from the log file.
41
- config.filter_parameters += [:password]
42
- end
43
- end
@@ -1,10 +0,0 @@
1
- require 'rubygems'
2
- gemfile = File.expand_path('../../../../Gemfile', __FILE__)
3
-
4
- if File.exist?(gemfile)
5
- ENV['BUNDLE_GEMFILE'] = gemfile
6
- require 'bundler'
7
- Bundler.setup
8
- end
9
-
10
- $:.unshift File.expand_path('../../../../lib', __FILE__)
@@ -1,5 +0,0 @@
1
- # Load the rails application
2
- require File.expand_path('../application', __FILE__)
3
-
4
- # Initialize the rails application
5
- Dummy::Application.initialize!
@@ -1,25 +0,0 @@
1
- Dummy::Application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb
3
-
4
- # In the development environment your application's code is reloaded on
5
- # every request. This slows down response time but is perfect for development
6
- # since you don't have to restart the webserver when you make code changes.
7
- config.cache_classes = false
8
-
9
- # Log error messages when you accidentally call methods on nil.
10
- config.whiny_nils = true
11
-
12
- # Show full error reports and disable caching
13
- config.consider_all_requests_local = true
14
- config.action_controller.perform_caching = false
15
-
16
- # Don't care if the mailer can't send
17
- config.action_mailer.raise_delivery_errors = false
18
-
19
- # Print deprecation notices to the Rails logger
20
- config.active_support.deprecation = :log
21
-
22
- # Only use best-standards-support built into browsers
23
- config.action_dispatch.best_standards_support = :builtin
24
- end
25
-
@@ -1,49 +0,0 @@
1
- Dummy::Application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb
3
-
4
- # The production environment is meant for finished, "live" apps.
5
- # Code is not reloaded between requests
6
- config.cache_classes = true
7
-
8
- # Full error reports are disabled and caching is turned on
9
- config.consider_all_requests_local = false
10
- config.action_controller.perform_caching = true
11
-
12
- # Specifies the header that your server uses for sending files
13
- config.action_dispatch.x_sendfile_header = "X-Sendfile"
14
-
15
- # For nginx:
16
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'
17
-
18
- # If you have no front-end server that supports something like X-Sendfile,
19
- # just comment this out and Rails will serve the files
20
-
21
- # See everything in the log (default is :info)
22
- # config.log_level = :debug
23
-
24
- # Use a different logger for distributed setups
25
- # config.logger = SyslogLogger.new
26
-
27
- # Use a different cache store in production
28
- # config.cache_store = :mem_cache_store
29
-
30
- # Disable Rails's static asset server
31
- # In production, Apache or nginx will already do this
32
- config.serve_static_assets = false
33
-
34
- # Enable serving of images, stylesheets, and javascripts from an asset server
35
- # config.action_controller.asset_host = "http://assets.example.com"
36
-
37
- # Disable delivery errors, bad email addresses will be ignored
38
- # config.action_mailer.raise_delivery_errors = false
39
-
40
- # Enable threaded mode
41
- # config.threadsafe!
42
-
43
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
44
- # the I18n.default_locale when a translation can not be found)
45
- config.i18n.fallbacks = true
46
-
47
- # Send deprecation notices to registered listeners
48
- config.active_support.deprecation = :notify
49
- end
@@ -1,30 +0,0 @@
1
- Dummy::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
- config.eager_load = false
11
-
12
- # Show full error reports and disable caching
13
- config.consider_all_requests_local = true
14
- config.action_controller.perform_caching = true
15
- config.action_controller.cache_store = :memory_store
16
-
17
- # Raise exceptions instead of rendering exception templates
18
- config.action_dispatch.show_exceptions = false
19
-
20
- # Disable request forgery protection in test environment
21
- config.action_controller.allow_forgery_protection = false
22
-
23
- # Use SQL instead of Active Record's schema dumper when creating the test database.
24
- # This is necessary if your schema can't be completely dumped by the schema dumper,
25
- # like if you have constraints or database-specific column types
26
- # config.active_record.schema_format = :sql
27
-
28
- # Print deprecation notices to the stderr
29
- config.active_support.deprecation = :stderr
30
- end
@@ -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,10 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new inflection rules using the following format
4
- # (all these examples are active by default):
5
- # ActiveSupport::Inflector.inflections do |inflect|
6
- # inflect.plural /^(ox)$/i, '\1en'
7
- # inflect.singular /^(ox)en/i, '\1'
8
- # inflect.irregular 'person', 'people'
9
- # inflect.uncountable %w( fish sheep )
10
- # end
@@ -1,5 +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
5
- # Mime::Type.register_alias "text/html", :iphone
@@ -1 +0,0 @@
1
- Dummy::Application.config.secret_key_base = '9c0b876ab8f513cc23d354b6d684c88eb9bc5f73ddc8d5843e7c6ac9176c5819adc2620e220980a3cb818de687753f1bfc56c66c4454b74fc7d432813f8e555a'
@@ -1,7 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Your secret key for verifying the integrity of signed cookies.
4
- # If you change this key, all old signed cookies will become invalid!
5
- # Make sure the secret is at least 30 characters and all random,
6
- # no regular words or you'll be exposed to dictionary attacks.
7
- Dummy::Application.config.secret_token = 'b8d5d5687c012c2ef1a7a6e8006172402c48a3dcccca67c076eaad81c4712ad236ca2717c3706df7b286468c749d223f22acb0d96c27bdf33bbdbb9684ad46e5'
@@ -1,8 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'
4
-
5
- # Use the database for sessions instead of the cookie-based default,
6
- # which shouldn't be used to store highly confidential information
7
- # (create the session table with "rails generate session_migration")
8
- # Dummy::Application.config.session_store :active_record_store
@@ -1,5 +0,0 @@
1
- # Sample localization file for English. Add more files in this directory for other locales.
2
- # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
-
4
- en:
5
- hello: "Hello world"
data/spec/dummy/config.ru DELETED
@@ -1,4 +0,0 @@
1
- # This file is used by Rack-based servers to start the application.
2
-
3
- require ::File.expand_path('../config/environment', __FILE__)
4
- run Dummy::Application
@@ -1,26 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The page you were looking for doesn't exist (404)</title>
5
- <style type="text/css">
6
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
- div.dialog {
8
- width: 25em;
9
- padding: 0 4em;
10
- margin: 4em auto 0 auto;
11
- border: 1px solid #ccc;
12
- border-right-color: #999;
13
- border-bottom-color: #999;
14
- }
15
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
- </style>
17
- </head>
18
-
19
- <body>
20
- <!-- This file lives in public/404.html -->
21
- <div class="dialog">
22
- <h1>The page you were looking for doesn't exist.</h1>
23
- <p>You may have mistyped the address or the page may have moved.</p>
24
- </div>
25
- </body>
26
- </html>
@@ -1,26 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The change you wanted was rejected (422)</title>
5
- <style type="text/css">
6
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
- div.dialog {
8
- width: 25em;
9
- padding: 0 4em;
10
- margin: 4em auto 0 auto;
11
- border: 1px solid #ccc;
12
- border-right-color: #999;
13
- border-bottom-color: #999;
14
- }
15
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
- </style>
17
- </head>
18
-
19
- <body>
20
- <!-- This file lives in public/422.html -->
21
- <div class="dialog">
22
- <h1>The change you wanted was rejected.</h1>
23
- <p>Maybe you tried to change something you didn't have access to.</p>
24
- </div>
25
- </body>
26
- </html>
@@ -1,26 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>We're sorry, but something went wrong (500)</title>
5
- <style type="text/css">
6
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
- div.dialog {
8
- width: 25em;
9
- padding: 0 4em;
10
- margin: 4em auto 0 auto;
11
- border: 1px solid #ccc;
12
- border-right-color: #999;
13
- border-bottom-color: #999;
14
- }
15
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
- </style>
17
- </head>
18
-
19
- <body>
20
- <!-- This file lives in public/500.html -->
21
- <div class="dialog">
22
- <h1>We're sorry, but something went wrong.</h1>
23
- <p>We've been notified about this issue and we'll take a look at it shortly.</p>
24
- </div>
25
- </body>
26
- </html>
File without changes
@@ -1,2 +0,0 @@
1
- // Place your application-specific JavaScript functions and classes here
2
- // This file is automatically included by javascript_include_tag :defaults