bushido 0.0.30 → 0.0.31

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 (56) hide show
  1. data/Gemfile +1 -5
  2. data/Rakefile +3 -6
  3. data/app/controllers/bushido/data_controller.rb +19 -10
  4. data/app/controllers/bushido/envs_controller.rb +3 -11
  5. data/config/routes.rb +1 -0
  6. data/lib/bushido/data.rb +4 -25
  7. data/lib/bushido/middleware.rb +1 -3
  8. data/lib/bushido/models.rb +8 -93
  9. data/lib/bushido/version.rb +1 -1
  10. data/lib/bushido.rb +0 -2
  11. data/lib/engine.rb +8 -5
  12. data/test/executable_test.rb +10 -0
  13. data/test/routes_test.rb +12 -0
  14. data/test/test_helper.rb +1 -2
  15. metadata +59 -134
  16. data/lib/bushido/ido_schema.rb +0 -17
  17. data/lib/rails/#routes.rb# +0 -16
  18. data/test/controllers/envs_controller_test.rb +0 -21
  19. data/test/rails_app/Rakefile +0 -9
  20. data/test/rails_app/app/controllers/application_controller.rb +0 -7
  21. data/test/rails_app/app/helpers/application_helper.rb +0 -2
  22. data/test/rails_app/app/views/application/index.html.erb +0 -1
  23. data/test/rails_app/app/views/layouts/application.html.erb +0 -14
  24. data/test/rails_app/config/application.rb +0 -50
  25. data/test/rails_app/config/boot.rb +0 -10
  26. data/test/rails_app/config/database.yml +0 -22
  27. data/test/rails_app/config/environment.rb +0 -5
  28. data/test/rails_app/config/environments/development.rb +0 -26
  29. data/test/rails_app/config/environments/production.rb +0 -49
  30. data/test/rails_app/config/environments/test.rb +0 -35
  31. data/test/rails_app/config/initializers/backtrace_silencers.rb +0 -7
  32. data/test/rails_app/config/initializers/inflections.rb +0 -10
  33. data/test/rails_app/config/initializers/mime_types.rb +0 -5
  34. data/test/rails_app/config/initializers/secret_token.rb +0 -7
  35. data/test/rails_app/config/initializers/session_store.rb +0 -8
  36. data/test/rails_app/config/locales/en.yml +0 -5
  37. data/test/rails_app/config/routes.rb +0 -62
  38. data/test/rails_app/config.ru +0 -4
  39. data/test/rails_app/db/development.sqlite3 +0 -0
  40. data/test/rails_app/db/test.sqlite3 +0 -0
  41. data/test/rails_app/log/development.log +0 -66
  42. data/test/rails_app/log/production.log +0 -0
  43. data/test/rails_app/log/server.log +0 -0
  44. data/test/rails_app/log/test.log +0 -0
  45. data/test/rails_app/public/404.html +0 -26
  46. data/test/rails_app/public/422.html +0 -26
  47. data/test/rails_app/public/500.html +0 -26
  48. data/test/rails_app/public/favicon.ico +0 -0
  49. data/test/rails_app/public/javascripts/application.js +0 -2
  50. data/test/rails_app/public/javascripts/controls.js +0 -965
  51. data/test/rails_app/public/javascripts/dragdrop.js +0 -974
  52. data/test/rails_app/public/javascripts/effects.js +0 -1123
  53. data/test/rails_app/public/javascripts/prototype.js +0 -6001
  54. data/test/rails_app/public/javascripts/rails.js +0 -191
  55. data/test/rails_app/public/stylesheets/.gitkeep +0 -0
  56. data/test/rails_app/script/rails +0 -6
@@ -1,17 +0,0 @@
1
- # This is probably a bad idea. Feel free to kill this file if you're unsure.
2
- module Bushido
3
- module IdoSchema
4
- class << self
5
- def schema_for(ido_model)
6
- # GET to /ido/schemas/:ido_model
7
- # TODO: Catch non-200 response code
8
- response = JSON.parse(RestClient.get("#{Bushido::Platform.host}/ido/schemas/#{ido_model}/#{ENV['BUSHIDO_PROJECT_SHA']}", :content_type => :json, :accept => :json))
9
- if response['ido_schema'].nil?
10
- return false
11
- end
12
-
13
- return response['ido_schema']
14
- end
15
- end
16
- end
17
- end
@@ -1,16 +0,0 @@
1
- module ActionDispatch::Routing
2
- class RouteSet #:nodoc:
3
- Mapper.class_eval do
4
- def bushido_routes
5
- puts "ADDING THE MOTHERFUCKING ROUTES"
6
-
7
- Rails.application.routes.draw do
8
- namespace 'bushido' do
9
- resources :envs, :only => [ :update ]
10
- match '/data' => "data#index"
11
- end
12
- end
13
- end
14
- end
15
- end
16
- end
@@ -1,21 +0,0 @@
1
- require 'test_helper'
2
-
3
- class EnvsControllerTest < ActionController::TestCase
4
- tests Bushido::EnvsController
5
-
6
- # test "should route to envs" do
7
- # assert_routing '/', { :controller => "application", :action => "turd"}
8
- # #assert_routing '/bushido/envs/1.json', { :controller => "envs", :action => "update"}
9
- # end
10
- test "updates env var on post" do
11
- post :controller => :envs, :action => :update,
12
- :params => {
13
- :key => ENV["BUSHIDO_APP_KEY"],
14
- :id => "env_id",
15
- :value => "env_value"
16
- }
17
-
18
- assert_equal 200, response.status
19
- assert_equal ENV["env_id"], "env_value"
20
- end
21
- end
@@ -1,9 +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
- require 'rake/testtask'
7
- require 'rake/rdoctask'
8
-
9
- Rails.application.load_tasks
@@ -1,7 +0,0 @@
1
- class ApplicationController < ActionController::Base
2
- protect_from_forgery
3
-
4
- def index
5
-
6
- end
7
- end
@@ -1,2 +0,0 @@
1
- module ApplicationHelper
2
- end
@@ -1 +0,0 @@
1
- <h1>dummy app</h1>
@@ -1,14 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Dummy</title>
5
- <%= stylesheet_link_tag :all %>
6
- <%= javascript_include_tag :defaults %>
7
- <%= csrf_meta_tag %>
8
- </head>
9
- <body>
10
-
11
- <%= yield %>
12
-
13
- </body>
14
- </html>
@@ -1,50 +0,0 @@
1
- require File.expand_path('../boot', __FILE__)
2
-
3
- require "active_model/railtie"
4
- require "active_record/railtie"
5
- require "action_controller/railtie"
6
- require "action_view/railtie"
7
- require "action_mailer/railtie"
8
-
9
- Bundler.require :default, :test
10
-
11
- require "bushido"
12
-
13
- puts "dummy app start"
14
- puts Bushido::Data.inspect
15
- puts Bushido::DataController.inspect
16
-
17
- module Dummy
18
- class Application < Rails::Application
19
- # Settings in config/environments/* take precedence over those specified here.
20
- # Application configuration should go into files in config/initializers
21
- # -- all .rb files in that directory are automatically loaded.
22
-
23
- # Custom directories with classes and modules you want to be autoloadable.
24
- # config.autoload_paths += %W(#{config.root}/extras)
25
-
26
- # Only load the plugins named here, in the order given (default is alphabetical).
27
- # :all can be used as a placeholder for all plugins not explicitly named.
28
- # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
29
-
30
- # Activate observers that should always be running.
31
- # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
32
-
33
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
34
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
35
- # config.time_zone = 'Central Time (US & Canada)'
36
-
37
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
38
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
39
- # config.i18n.default_locale = :de
40
-
41
- # JavaScript files you want as :defaults (application.js is always included).
42
- # config.action_view.javascript_expansions[:defaults] = %w(jquery rails)
43
-
44
- # Configure the default encoding used in templates for Ruby 1.9.
45
- config.encoding = "utf-8"
46
-
47
- # Configure sensitive parameters which will be filtered from the log file.
48
- config.filter_parameters += [:password]
49
- end
50
- 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,22 +0,0 @@
1
- # SQLite version 3.x
2
- # gem install sqlite3
3
- development:
4
- adapter: sqlite3
5
- database: db/development.sqlite3
6
- pool: 5
7
- timeout: 5000
8
-
9
- # Warning: The database defined as "test" will be erased and
10
- # re-generated from your development database when you run "rake".
11
- # Do not set this db to the same as development or production.
12
- test:
13
- adapter: sqlite3
14
- database: db/test.sqlite3
15
- pool: 5
16
- timeout: 5000
17
-
18
- production:
19
- adapter: sqlite3
20
- database: db/production.sqlite3
21
- pool: 5
22
- timeout: 5000
@@ -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,26 +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_view.debug_rjs = true
15
- config.action_controller.perform_caching = false
16
-
17
- # Don't care if the mailer can't send
18
- config.action_mailer.raise_delivery_errors = false
19
-
20
- # Print deprecation notices to the Rails logger
21
- config.active_support.deprecation = :log
22
-
23
- # Only use best-standards-support built into browsers
24
- config.action_dispatch.best_standards_support = :builtin
25
- end
26
-
@@ -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,35 +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
- # Log error messages when you accidentally call methods on nil.
11
- config.whiny_nils = true
12
-
13
- # Show full error reports and disable caching
14
- config.consider_all_requests_local = true
15
- config.action_controller.perform_caching = false
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
- # Tell Action Mailer not to deliver emails to the real world.
24
- # The :test delivery method accumulates sent emails in the
25
- # ActionMailer::Base.deliveries array.
26
- config.action_mailer.delivery_method = :test
27
-
28
- # Use SQL instead of Active Record's schema dumper when creating the test database.
29
- # This is necessary if your schema can't be completely dumped by the schema dumper,
30
- # like if you have constraints or database-specific column types
31
- # config.active_record.schema_format = :sql
32
-
33
- # Print deprecation notices to the stderr
34
- config.active_support.deprecation = :stderr
35
- 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,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 = '9ccf744918100309e39c317bd4a9305c3c427febdad14a034c93b83234aaac4a3ab1a15af558424afe05229c44fd9876db82bd7cc586b38810dffdf0c98d4803'
@@ -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"
@@ -1,62 +0,0 @@
1
- Rails.application.routes.draw do
2
-
3
- root :to => "application#index"
4
-
5
- bushido_routes
6
- # The priority is based upon order of creation:
7
- # first created -> highest priority.
8
-
9
- # Sample of regular route:
10
- # match 'products/:id' => 'catalog#view'
11
- # Keep in mind you can assign values other than :controller and :action
12
-
13
- # Sample of named route:
14
- # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
15
- # This route can be invoked with purchase_url(:id => product.id)
16
-
17
- # Sample resource route (maps HTTP verbs to controller actions automatically):
18
- # resources :products
19
-
20
- # Sample resource route with options:
21
- # resources :products do
22
- # member do
23
- # get 'short'
24
- # post 'toggle'
25
- # end
26
- #
27
- # collection do
28
- # get 'sold'
29
- # end
30
- # end
31
-
32
- # Sample resource route with sub-resources:
33
- # resources :products do
34
- # resources :comments, :sales
35
- # resource :seller
36
- # end
37
-
38
- # Sample resource route with more complex sub-resources
39
- # resources :products do
40
- # resources :comments
41
- # resources :sales do
42
- # get 'recent', :on => :collection
43
- # end
44
- # end
45
-
46
- # Sample resource route within a namespace:
47
- # namespace :admin do
48
- # # Directs /admin/products/* to Admin::ProductsController
49
- # # (app/controllers/admin/products_controller.rb)
50
- # resources :products
51
- # end
52
-
53
- # You can have the root of your site routed with "root"
54
- # just remember to delete public/index.html.
55
- # root :to => "welcome#index"
56
-
57
- # See how all your routes lay out with "rake routes"
58
-
59
- # This is a legacy wild controller route that's not recommended for RESTful applications.
60
- # Note: This route will make all actions in every controller accessible via GET requests.
61
- # match ':controller(/:action(/:id(.:format)))'
62
- end
@@ -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
File without changes
File without changes
@@ -1,66 +0,0 @@
1
- DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from service at /Users/kevisazombie/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111)
2
-
3
-
4
- Started GET "/" for 127.0.0.1 at 2011-06-24 17:56:21 -0700
5
- Processing by ApplicationController#index as HTML
6
- Completed 500 Internal Server Error in 20ms
7
-
8
- ActionView::MissingTemplate (Missing template application/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:html], :locale=>[:en, :en]} in view paths "/Users/kevisazombie/Projects/Web/bushidogem/test/rails_app/app/views", "/Users/kevisazombie/Projects/Web/bushidogem/app/views"):
9
-
10
-
11
- Rendered /Users/kevisazombie/.rvm/gems/ruby-1.9.2-p180@bushidogem/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (1.0ms)
12
-
13
-
14
- Started GET "/" for 127.0.0.1 at 2011-06-24 17:56:28 -0700
15
- Processing by ApplicationController#index as HTML
16
- Completed 500 Internal Server Error in 4ms
17
-
18
- ActionView::MissingTemplate (Missing template application/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:html], :locale=>[:en, :en]} in view paths "/Users/kevisazombie/Projects/Web/bushidogem/test/rails_app/app/views", "/Users/kevisazombie/Projects/Web/bushidogem/app/views"):
19
-
20
-
21
- Rendered /Users/kevisazombie/.rvm/gems/ruby-1.9.2-p180@bushidogem/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.9ms)
22
-
23
-
24
- Started GET "/" for 127.0.0.1 at 2011-06-24 17:57:14 -0700
25
- Processing by ApplicationController#index as HTML
26
- Rendered application/index.html.erb within layouts/application (1.7ms)
27
- Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
28
-
29
-
30
- Started GET "/" for 127.0.0.1 at 2011-06-24 17:57:16 -0700
31
- Processing by ApplicationController#index as HTML
32
- Rendered application/index.html.erb within layouts/application (1.7ms)
33
- Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
34
- DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from <top (required)> at /Users/kevisazombie/Projects/Web/bushidogem/test/rails_app/app/controllers/application_controller.rb:1)
35
- DEPRECATION WARNING: config.action_view.debug_rjs will be removed in 3.1, from 3.1 onwards you will need to install prototype-rails to continue to use RJS templates . (called from service at /Users/kevisazombie/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111)
36
-
37
-
38
- Started GET "/" for 127.0.0.1 at 2011-06-24 17:58:13 -0700
39
- Processing by ApplicationController#index as HTML
40
- Rendered application/index.html.erb within layouts/application (1.7ms)
41
- Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
42
-
43
-
44
- Started PUT "/" for 127.0.0.1 at 2011-06-24 17:58:43 -0700
45
- Processing by ApplicationController#index as
46
- Rendered application/index.html.erb within layouts/application (1.7ms)
47
- Completed 200 OK in 13ms (Views: 12.8ms | ActiveRecord: 0.0ms)
48
-
49
-
50
- Started PUT "/bushido/envs/cool.json" for 127.0.0.1 at 2011-06-24 17:59:16 -0700
51
- Processing by Bushido::EnvsController#update as JSON
52
- Parameters: {"value"=>"awesome", "id"=>"cool"}
53
- Completed 500 Internal Server Error in 3ms
54
-
55
- NameError (uninitialized constant Bushido::Hooks):
56
-
57
-
58
- Rendered /Users/kevisazombie/.rvm/gems/ruby-1.9.2-p180@bushidogem/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
59
- Rendered /Users/kevisazombie/.rvm/gems/ruby-1.9.2-p180@bushidogem/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (4.0ms)
60
- Rendered /Users/kevisazombie/.rvm/gems/ruby-1.9.2-p180@bushidogem/gems/actionpack-3.0.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.8ms)
61
-
62
-
63
- Started PUT "/bushido/envs/cool.json" for 127.0.0.1 at 2011-06-24 18:00:03 -0700
64
- Processing by Bushido::EnvsController#update as JSON
65
- Parameters: {"value"=>"awesome", "id"=>"cool"}
66
- Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms)
File without changes
File without changes
File without changes
@@ -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