glow 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. data/lib/glow/version.rb +1 -1
  2. data/test/{dummy → rails3}/Gemfile +0 -0
  3. data/test/{dummy → rails3}/Gemfile.lock +0 -0
  4. data/test/{dummy → rails3}/Rakefile +1 -1
  5. data/test/{dummy → rails3}/app/controllers/application_controller.rb +0 -0
  6. data/test/{dummy → rails3}/app/controllers/flash_controller.rb +0 -0
  7. data/test/{dummy → rails3}/app/views/flash/ajax.js.erb +0 -0
  8. data/test/{dummy → rails3}/app/views/flash/show.html.erb +0 -0
  9. data/test/{dummy → rails3}/app/views/layouts/application.html.erb +0 -0
  10. data/test/{dummy → rails3}/config.ru +0 -0
  11. data/test/{dummy → rails3}/config/application.rb +1 -1
  12. data/test/{dummy → rails3}/config/boot.rb +0 -0
  13. data/test/{dummy → rails3}/config/environment.rb +0 -0
  14. data/test/{dummy → rails3}/config/environments/development.rb +0 -0
  15. data/test/{dummy → rails3}/config/environments/production.rb +0 -0
  16. data/test/{dummy → rails3}/config/environments/test.rb +0 -0
  17. data/test/{dummy → rails3}/config/initializers/backtrace_silencers.rb +0 -0
  18. data/test/{dummy → rails3}/config/initializers/inflections.rb +0 -0
  19. data/test/{dummy → rails3}/config/initializers/mime_types.rb +0 -0
  20. data/test/{dummy → rails3}/config/initializers/secret_token.rb +0 -0
  21. data/test/{dummy → rails3}/config/initializers/session_store.rb +0 -0
  22. data/test/{dummy → rails3}/config/initializers/wrap_parameters.rb +0 -0
  23. data/test/{dummy → rails3}/config/locales/en.yml +0 -0
  24. data/test/{dummy → rails3}/config/routes.rb +1 -1
  25. data/test/{dummy → rails3}/log/development.log +0 -0
  26. data/test/{dummy → rails3}/log/test.log +0 -0
  27. data/test/{dummy → rails3}/public/404.html +0 -0
  28. data/test/{dummy → rails3}/public/422.html +0 -0
  29. data/test/{dummy → rails3}/public/500.html +0 -0
  30. data/test/{dummy → rails3}/public/favicon.ico +0 -0
  31. data/test/{dummy → rails3}/public/javascripts/glow.js +0 -0
  32. data/test/{dummy → rails3}/public/javascripts/jquery.js +0 -0
  33. data/test/{dummy → rails3}/public/javascripts/jquery.min.js +0 -0
  34. data/test/{dummy → rails3}/public/javascripts/jquery_ujs.js +0 -0
  35. data/test/{dummy → rails3}/script/rails +0 -0
  36. data/test/{dummy → rails3}/spec/controllers/flash_controller_spec.rb +0 -0
  37. data/test/{dummy → rails3}/spec/integration/flash_spec.rb +0 -0
  38. data/test/{dummy → rails3}/spec/spec_helper.rb +0 -0
  39. data/test/rails31/Gemfile +33 -0
  40. data/test/rails31/Gemfile.lock +157 -0
  41. data/test/rails31/Rakefile +7 -0
  42. data/test/rails31/app/assets/images/rails.png +0 -0
  43. data/test/{dummy → rails31}/app/assets/javascripts/application.js +1 -0
  44. data/test/{dummy → rails31}/app/assets/stylesheets/application.css +0 -0
  45. data/test/rails31/app/controllers/application_controller.rb +3 -0
  46. data/test/rails31/app/controllers/flash_controller.rb +18 -0
  47. data/test/rails31/app/views/flash/ajax.js.erb +1 -0
  48. data/test/rails31/app/views/flash/show.html.erb +13 -0
  49. data/test/rails31/app/views/layouts/application.html.erb +14 -0
  50. data/test/rails31/config.ru +4 -0
  51. data/test/rails31/config/application.rb +51 -0
  52. data/test/rails31/config/boot.rb +6 -0
  53. data/test/rails31/config/environment.rb +5 -0
  54. data/test/rails31/config/environments/development.rb +30 -0
  55. data/test/rails31/config/environments/production.rb +60 -0
  56. data/test/rails31/config/environments/test.rb +42 -0
  57. data/test/rails31/config/initializers/backtrace_silencers.rb +7 -0
  58. data/test/rails31/config/initializers/inflections.rb +10 -0
  59. data/test/rails31/config/initializers/mime_types.rb +5 -0
  60. data/test/rails31/config/initializers/secret_token.rb +7 -0
  61. data/test/rails31/config/initializers/session_store.rb +8 -0
  62. data/test/rails31/config/initializers/wrap_parameters.rb +10 -0
  63. data/test/rails31/config/locales/en.yml +5 -0
  64. data/test/rails31/config/routes.rb +6 -0
  65. data/test/rails31/log/development.log +59 -0
  66. data/test/rails31/log/test.log +151 -0
  67. data/test/rails31/public/404.html +26 -0
  68. data/test/rails31/public/422.html +26 -0
  69. data/test/rails31/public/500.html +26 -0
  70. data/test/{dummy/db/development.sqlite3 → rails31/public/favicon.ico} +0 -0
  71. data/test/rails31/public/robots.txt +5 -0
  72. data/test/rails31/script/rails +6 -0
  73. data/test/rails31/spec/controllers/flash_controller_spec.rb +33 -0
  74. data/test/rails31/spec/integration/flash_spec.rb +17 -0
  75. data/test/rails31/spec/spec_helper.rb +31 -0
  76. data/test/rails31/tmp/cache/assets/CC6/400/sprockets%2Ffc6d386e5a58972d13920c9cd2528768 +0 -0
  77. data/test/rails31/tmp/cache/assets/CD8/F20/sprockets%2Fd66a691d6f63c00b6b0025ec732734c9 +0 -0
  78. data/test/rails31/tmp/cache/assets/CF0/DA0/sprockets%2Fd7d5b37686831d37c4dd75e645f5e016 +0 -0
  79. data/test/rails31/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  80. data/test/rails31/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
  81. data/test/rails31/tmp/cache/assets/D5F/DC0/sprockets%2F3bdad2a5487de08b16ac12dcd8411538 +0 -0
  82. data/test/rails31/tmp/cache/assets/D61/A80/sprockets%2Fa4b21f72f1e092ec190a2fc0d679c4c3 +0 -0
  83. data/test/rails31/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
  84. data/test/rails31/tmp/cache/assets/DA0/D40/sprockets%2Fa7b4ee1a4cf4cc742c0d968b2f40c779 +0 -0
  85. data/test/rails31/tmp/cache/assets/DB8/BB0/sprockets%2Fca4a6e5b550132e2e7e5ebd40dcc55a0 +0 -0
  86. data/test/rails31/tmp/cache/assets/DD8/AF0/sprockets%2F4297f5a02e59cff78bd076afd7b7faa1 +0 -0
  87. data/test/rails31/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  88. metadata +184 -95
  89. data/test/dummy/app/helpers/application_helper.rb +0 -2
  90. data/test/dummy/config/database.yml +0 -25
  91. data/test/dummy/db/test.sqlite3 +0 -0
@@ -0,0 +1,60 @@
1
+ Rails31::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # Code is not reloaded between requests
5
+ config.cache_classes = true
6
+
7
+ # Full error reports are disabled and caching is turned on
8
+ config.consider_all_requests_local = false
9
+ config.action_controller.perform_caching = true
10
+
11
+ # Disable Rails's static asset server (Apache or nginx will already do this)
12
+ config.serve_static_assets = false
13
+
14
+ # Compress JavaScripts and CSS
15
+ config.assets.compress = true
16
+
17
+ # Don't fallback to assets pipeline if a precompiled asset is missed
18
+ config.assets.compile = false
19
+
20
+ # Generate digests for assets URLs
21
+ config.assets.digest = true
22
+
23
+ # Defaults to Rails.root.join("public/assets")
24
+ # config.assets.manifest = YOUR_PATH
25
+
26
+ # Specifies the header that your server uses for sending files
27
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
28
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
29
+
30
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
31
+ # config.force_ssl = true
32
+
33
+ # See everything in the log (default is :info)
34
+ # config.log_level = :debug
35
+
36
+ # Use a different logger for distributed setups
37
+ # config.logger = SyslogLogger.new
38
+
39
+ # Use a different cache store in production
40
+ # config.cache_store = :mem_cache_store
41
+
42
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server
43
+ # config.action_controller.asset_host = "http://assets.example.com"
44
+
45
+ # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
46
+ # config.assets.precompile += %w( search.js )
47
+
48
+ # Disable delivery errors, bad email addresses will be ignored
49
+ # config.action_mailer.raise_delivery_errors = false
50
+
51
+ # Enable threaded mode
52
+ # config.threadsafe!
53
+
54
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
55
+ # the I18n.default_locale when a translation can not be found)
56
+ config.i18n.fallbacks = true
57
+
58
+ # Send deprecation notices to registered listeners
59
+ config.active_support.deprecation = :notify
60
+ end
@@ -0,0 +1,42 @@
1
+ Rails31::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
+ # Configure static asset server for tests with Cache-Control for performance
11
+ config.serve_static_assets = true
12
+ config.static_cache_control = "public, max-age=3600"
13
+
14
+ # Log error messages when you accidentally call methods on nil
15
+ config.whiny_nils = true
16
+
17
+ # Show full error reports and disable caching
18
+ config.consider_all_requests_local = true
19
+ config.action_controller.perform_caching = false
20
+
21
+ # Raise exceptions instead of rendering exception templates
22
+ config.action_dispatch.show_exceptions = false
23
+
24
+ # Disable request forgery protection in test environment
25
+ config.action_controller.allow_forgery_protection = false
26
+
27
+ # Tell Action Mailer not to deliver emails to the real world.
28
+ # The :test delivery method accumulates sent emails in the
29
+ # ActionMailer::Base.deliveries array.
30
+ config.action_mailer.delivery_method = :test
31
+
32
+ # Use SQL instead of Active Record's schema dumper when creating the test database.
33
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
34
+ # like if you have constraints or database-specific column types
35
+ # config.active_record.schema_format = :sql
36
+
37
+ # Print deprecation notices to the stderr
38
+ config.active_support.deprecation = :stderr
39
+
40
+ # Allow pass debug_assets=true as a query parameter to load pages with unpackaged assets
41
+ config.assets.allow_debugging = true
42
+ end
@@ -0,0 +1,7 @@
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!
@@ -0,0 +1,10 @@
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
@@ -0,0 +1,5 @@
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
@@ -0,0 +1,7 @@
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
+ Rails31::Application.config.secret_token = '011674f911be1c903e62ab0017799eee12f628b81403e2aab25a7feda2f551dcc743fb37804a36ee4105e66c51b3adedd7eee0666287c6b6b01cd96a4b58881c'
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails31::Application.config.session_store :cookie_store, key: '_rails31_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
+ # Rails31::Application.config.session_store :active_record_store
@@ -0,0 +1,10 @@
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
+
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,6 @@
1
+ Rails31::Application.routes.draw do
2
+ match '/flash/:type' => 'flash#redirect', via: [:get, :post]
3
+ match '/flash' => 'flash#show'
4
+ match '/flashajax/:type' => 'flash#ajax', via: [:get, :post]
5
+ root to: 'flash#show'
6
+ end
@@ -0,0 +1,59 @@
1
+
2
+
3
+ Started GET "/" for 127.0.0.1 at 2011-09-02 12:08:01 +0200
4
+ Processing by FlashController#show as HTML
5
+ Rendered flash/show.html.erb within layouts/application (33.3ms)
6
+ Compiled application.css (2ms) (pid 91779)
7
+ Compiled application.js (33ms) (pid 91779)
8
+ Compiled jquery.js (16ms) (pid 91779)
9
+ Compiled jquery_ujs.js (1ms) (pid 91779)
10
+ Compiled glow.js (684ms) (pid 91779)
11
+ Completed 200 OK in 1047ms (Views: 1046.6ms)
12
+
13
+
14
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-09-02 12:08:03 +0200
15
+ Served asset /jquery.js - 200 OK (53ms)
16
+
17
+
18
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-09-02 12:08:03 +0200
19
+ Served asset /jquery_ujs.js - 200 OK (78ms)
20
+
21
+
22
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-09-02 12:08:03 +0200
23
+ Served asset /application.css - 200 OK (51ms)
24
+
25
+
26
+ Started GET "/assets/glow.js?body=1" for 127.0.0.1 at 2011-09-02 12:08:03 +0200
27
+ Compiled glow.js (29ms) (pid 91779)
28
+ Served asset /glow.js - 200 OK (51ms)
29
+
30
+
31
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-09-02 12:08:03 +0200
32
+ Served asset /application.js - 200 OK (109ms)
33
+
34
+
35
+ Started GET "/flashajax/notice?message=rails+ajax%3A+%E2%9C%93+" for 127.0.0.1 at 2011-09-02 12:08:05 +0200
36
+ Processing by FlashController#ajax as JS
37
+ Parameters: {"message"=>"rails ajax: ✓ ", "type"=>"notice"}
38
+ Rendered flash/ajax.js.erb (1.0ms)
39
+ Completed 200 OK in 108ms (Views: 106.6ms)
40
+
41
+
42
+ Started GET "/flashajax/notice.js?message=jquery+utf8%3A+%E2%9C%93" for 127.0.0.1 at 2011-09-02 12:08:07 +0200
43
+ Processing by FlashController#ajax as JS
44
+ Parameters: {"message"=>"jquery utf8: ✓", "type"=>"notice"}
45
+ Rendered flash/ajax.js.erb (0.1ms)
46
+ Completed 200 OK in 12ms (Views: 11.2ms)
47
+
48
+
49
+ Started GET "/flash/notice?message=utf8%3A+%E2%9C%93+" for 127.0.0.1 at 2011-09-02 12:08:09 +0200
50
+ Processing by FlashController#redirect as HTML
51
+ Parameters: {"message"=>"utf8: ✓ ", "type"=>"notice"}
52
+ Redirected to http://localhost:3000/flash
53
+ Completed 302 Found in 2ms
54
+
55
+
56
+ Started GET "/flash" for 127.0.0.1 at 2011-09-02 12:08:09 +0200
57
+ Processing by FlashController#show as HTML
58
+ Rendered flash/show.html.erb within layouts/application (3.7ms)
59
+ Completed 200 OK in 16ms (Views: 15.0ms)
@@ -0,0 +1,151 @@
1
+ Processing by FlashController#redirect as HTML
2
+ Parameters: {"message"=>"Glow!", "type"=>"notice"}
3
+ Redirected to http://test.host/flash
4
+ Completed 302 Found in 2ms
5
+ Processing by FlashController#ajax as JS
6
+ Parameters: {"message"=>"Glow!", "type"=>"notice"}
7
+ Completed 200 OK in 285ms (Views: 284.2ms)
8
+ Processing by FlashController#ajax as JS
9
+ Parameters: {"message"=>"utf8: ✓", "type"=>"notice"}
10
+ Completed 200 OK in 3ms (Views: 2.2ms)
11
+
12
+
13
+ Started GET "/assets/rails.png" for 127.0.0.1 at 2011-09-02 11:52:36 +0200
14
+ Served asset /rails.png - 200 OK (35ms)
15
+ Processing by FlashController#redirect as HTML
16
+ Parameters: {"message"=>"Glow!", "type"=>"notice"}
17
+ Redirected to http://test.host/flash
18
+ Completed 302 Found in 2ms
19
+ Processing by FlashController#ajax as JS
20
+ Parameters: {"message"=>"Glow!", "type"=>"notice"}
21
+ Completed 200 OK in 211ms (Views: 209.6ms)
22
+ Processing by FlashController#ajax as JS
23
+ Parameters: {"message"=>"utf8: ✓", "type"=>"notice"}
24
+ Completed 200 OK in 3ms (Views: 2.3ms)
25
+
26
+
27
+ Started GET "/" for 127.0.0.1 at 2011-09-02 11:53:29 +0200
28
+ Processing by FlashController#show as HTML
29
+ Completed 200 OK in 25ms (Views: 24.1ms)
30
+
31
+
32
+ Started GET "/assets/application.js" for 127.0.0.1 at 2011-09-02 11:53:30 +0200
33
+ Compiled application.js (26ms) (pid 91635)
34
+ Compiled jquery.js (22ms) (pid 91635)
35
+ Compiled jquery_ujs.js (1ms) (pid 91635)
36
+ Compiled glow.js (604ms) (pid 91635)
37
+ Served asset /application.js - 200 OK (719ms)
38
+
39
+
40
+ Started GET "/assets/application.css" for 127.0.0.1 at 2011-09-02 11:53:30 +0200
41
+ Compiled application.css (42ms) (pid 91635)
42
+ Served asset /application.css - 200 OK (60ms)
43
+
44
+
45
+ Started GET "/flash/notice?message=utf8%3A+%E2%9C%93+" for 127.0.0.1 at 2011-09-02 11:53:31 +0200
46
+ Processing by FlashController#redirect as HTML
47
+ Parameters: {"message"=>"utf8: ✓ ", "type"=>"notice"}
48
+ Redirected to http://127.0.0.1:54436/flash
49
+ Completed 302 Found in 2ms
50
+
51
+
52
+ Started GET "/flash" for 127.0.0.1 at 2011-09-02 11:53:31 +0200
53
+ Processing by FlashController#show as HTML
54
+ Completed 200 OK in 8ms (Views: 7.3ms)
55
+
56
+
57
+ Started GET "/" for 127.0.0.1 at 2011-09-02 11:53:43 +0200
58
+ Processing by FlashController#show as HTML
59
+ Completed 200 OK in 6ms (Views: 5.3ms)
60
+
61
+
62
+ Started GET "/flashajax/notice.js?message=jquery+utf8%3A+%E2%9C%93" for 127.0.0.1 at 2011-09-02 11:53:43 +0200
63
+ Processing by FlashController#ajax as JS
64
+ Parameters: {"message"=>"jquery utf8: ✓", "type"=>"notice"}
65
+ Completed 200 OK in 3ms (Views: 2.3ms)
66
+ Processing by FlashController#redirect as HTML
67
+ Parameters: {"message"=>"Glow!", "type"=>"notice"}
68
+ Redirected to http://test.host/flash
69
+ Completed 302 Found in 2ms
70
+ Processing by FlashController#ajax as JS
71
+ Parameters: {"message"=>"Glow!", "type"=>"notice"}
72
+ Completed 200 OK in 203ms (Views: 201.8ms)
73
+ Processing by FlashController#ajax as JS
74
+ Parameters: {"message"=>"utf8: ✓", "type"=>"notice"}
75
+ Completed 200 OK in 3ms (Views: 2.2ms)
76
+
77
+
78
+ Started GET "/" for 127.0.0.1 at 2011-09-02 12:09:37 +0200
79
+ Processing by FlashController#show as HTML
80
+ Completed 200 OK in 81ms (Views: 79.9ms)
81
+
82
+
83
+ Started GET "/assets/application.js" for 127.0.0.1 at 2011-09-02 12:09:38 +0200
84
+ Compiled application.js (12ms) (pid 91840)
85
+ Compiled jquery.js (5ms) (pid 91840)
86
+ Compiled jquery_ujs.js (1ms) (pid 91840)
87
+ Compiled glow.js (428ms) (pid 91840)
88
+ Served asset /application.js - 200 OK (541ms)
89
+
90
+
91
+ Started GET "/assets/application.css" for 127.0.0.1 at 2011-09-02 12:09:38 +0200
92
+ Compiled application.css (2ms) (pid 91840)
93
+ Served asset /application.css - 200 OK (13ms)
94
+
95
+
96
+ Started GET "/flash/notice?message=utf8%3A+%E2%9C%93+" for 127.0.0.1 at 2011-09-02 12:09:39 +0200
97
+ Processing by FlashController#redirect as HTML
98
+ Parameters: {"message"=>"utf8: ✓ ", "type"=>"notice"}
99
+ Redirected to http://127.0.0.1:54664/flash
100
+ Completed 302 Found in 3ms
101
+
102
+
103
+ Started GET "/flash" for 127.0.0.1 at 2011-09-02 12:09:39 +0200
104
+ Processing by FlashController#show as HTML
105
+ Completed 200 OK in 6ms (Views: 6.0ms)
106
+ Processing by FlashController#redirect as HTML
107
+ Parameters: {"message"=>"Glow!", "type"=>"notice"}
108
+ Redirected to http://test.host/flash
109
+ Completed 302 Found in 2ms
110
+ Processing by FlashController#ajax as JS
111
+ Parameters: {"message"=>"Glow!", "type"=>"notice"}
112
+ Completed 200 OK in 261ms (Views: 259.5ms)
113
+ Processing by FlashController#ajax as JS
114
+ Parameters: {"message"=>"utf8: ✓", "type"=>"notice"}
115
+ Completed 200 OK in 3ms (Views: 2.3ms)
116
+
117
+
118
+ Started GET "/" for 127.0.0.1 at 2011-09-02 12:10:20 +0200
119
+ Processing by FlashController#show as HTML
120
+ Completed 200 OK in 15ms (Views: 13.6ms)
121
+
122
+
123
+ Started GET "/assets/application.css" for 127.0.0.1 at 2011-09-02 12:10:21 +0200
124
+ Served asset /application.css - 200 OK (10ms)
125
+
126
+
127
+ Started GET "/assets/application.js" for 127.0.0.1 at 2011-09-02 12:10:21 +0200
128
+ Served asset /application.js - 200 OK (21ms)
129
+
130
+
131
+ Started GET "/flash/notice?message=utf8%3A+%E2%9C%93+" for 127.0.0.1 at 2011-09-02 12:10:21 +0200
132
+ Processing by FlashController#redirect as HTML
133
+ Parameters: {"message"=>"utf8: ✓ ", "type"=>"notice"}
134
+ Redirected to http://127.0.0.1:54711/flash
135
+ Completed 302 Found in 2ms
136
+
137
+
138
+ Started GET "/flash" for 127.0.0.1 at 2011-09-02 12:10:21 +0200
139
+ Processing by FlashController#show as HTML
140
+ Completed 200 OK in 6ms (Views: 5.4ms)
141
+
142
+
143
+ Started GET "/" for 127.0.0.1 at 2011-09-02 12:10:42 +0200
144
+ Processing by FlashController#show as HTML
145
+ Completed 200 OK in 35ms (Views: 34.3ms)
146
+
147
+
148
+ Started GET "/flashajax/notice.js?message=jquery+utf8%3A+%E2%9C%93" for 127.0.0.1 at 2011-09-02 12:10:42 +0200
149
+ Processing by FlashController#ajax as JS
150
+ Parameters: {"message"=>"jquery utf8: ✓", "type"=>"notice"}
151
+ Completed 200 OK in 3ms (Views: 2.2ms)
@@ -0,0 +1,26 @@
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>
@@ -0,0 +1,26 @@
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>
@@ -0,0 +1,26 @@
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>