bleak_house 3.5.1 → 3.6

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 (64) hide show
  1. data/CHANGELOG +2 -0
  2. data/Manifest +49 -2
  3. data/README +4 -1
  4. data/TODO +1 -1
  5. data/bleak_house.gemspec +48 -0
  6. data/ext/bleak_house/logger/snapshot.c +6 -7
  7. data/lib/bleak_house/analyzer/analyzer.rb +2 -2
  8. data/lib/bleak_house/analyzer.rb +0 -2
  9. data/lib/bleak_house/rails/bleak_house.rb +2 -0
  10. data/lib/bleak_house/rails/dispatcher.rb +11 -15
  11. data/test/integration/app/README +203 -0
  12. data/test/integration/app/Rakefile +10 -0
  13. data/test/integration/app/app/controllers/application.rb +12 -0
  14. data/test/integration/app/app/controllers/items_controller.rb +6 -0
  15. data/test/integration/app/app/helpers/application_helper.rb +3 -0
  16. data/test/integration/app/app/helpers/items_helper.rb +2 -0
  17. data/test/integration/app/app/views/items/index.rhtml +2 -0
  18. data/test/integration/app/config/boot.rb +109 -0
  19. data/test/integration/app/config/database.yml +19 -0
  20. data/test/integration/app/config/environment.rb +15 -0
  21. data/test/integration/app/config/environments/development.rb +18 -0
  22. data/test/integration/app/config/environments/production.rb +19 -0
  23. data/test/integration/app/config/environments/test.rb +22 -0
  24. data/test/integration/app/config/initializers/inflections.rb +10 -0
  25. data/test/integration/app/config/initializers/mime_types.rb +5 -0
  26. data/test/integration/app/config/routes.rb +35 -0
  27. data/test/integration/app/doc/README_FOR_APP +2 -0
  28. data/test/integration/app/log/bleak_house_production.dump +237342 -0
  29. data/test/integration/app/public/404.html +30 -0
  30. data/test/integration/app/public/422.html +30 -0
  31. data/test/integration/app/public/500.html +30 -0
  32. data/test/integration/app/public/dispatch.cgi +10 -0
  33. data/test/integration/app/public/dispatch.fcgi +24 -0
  34. data/test/integration/app/public/dispatch.rb +10 -0
  35. data/test/integration/app/public/favicon.ico +0 -0
  36. data/test/integration/app/public/images/rails.png +0 -0
  37. data/test/integration/app/public/javascripts/application.js +2 -0
  38. data/test/integration/app/public/javascripts/controls.js +963 -0
  39. data/test/integration/app/public/javascripts/dragdrop.js +972 -0
  40. data/test/integration/app/public/javascripts/effects.js +1120 -0
  41. data/test/integration/app/public/javascripts/prototype.js +4225 -0
  42. data/test/integration/app/public/robots.txt +5 -0
  43. data/test/integration/app/script/about +3 -0
  44. data/test/integration/app/script/console +3 -0
  45. data/test/integration/app/script/destroy +3 -0
  46. data/test/integration/app/script/generate +3 -0
  47. data/test/integration/app/script/performance/benchmarker +3 -0
  48. data/test/integration/app/script/performance/profiler +3 -0
  49. data/test/integration/app/script/performance/request +3 -0
  50. data/test/integration/app/script/plugin +3 -0
  51. data/test/integration/app/script/process/inspector +3 -0
  52. data/test/integration/app/script/process/reaper +3 -0
  53. data/test/integration/app/script/process/spawner +3 -0
  54. data/test/integration/app/script/runner +3 -0
  55. data/test/integration/app/script/server +3 -0
  56. data/test/integration/app/test/functional/items_controller_test.rb +8 -0
  57. data/test/integration/app/test/test_helper.rb +38 -0
  58. data/test/integration/server_test.rb +91 -0
  59. data/test/test_helper.rb +6 -0
  60. data.tar.gz.sig +0 -0
  61. metadata +54 -5
  62. metadata.gz.sig +0 -0
  63. data/Rakefile +0 -26
  64. data/lib/bleak_house/support/rake.rb +0 -25
@@ -0,0 +1,18 @@
1
+ # Settings specified here will take precedence over those in config/environment.rb
2
+
3
+ # In the development environment your application's code is reloaded on
4
+ # every request. This slows down response time but is perfect for development
5
+ # since you don't have to restart the webserver when you make code changes.
6
+ config.cache_classes = false
7
+
8
+ # Log error messages when you accidentally call methods on nil.
9
+ config.whiny_nils = true
10
+
11
+ # Show full error reports and disable caching
12
+ config.action_controller.consider_all_requests_local = true
13
+ config.action_view.debug_rjs = true
14
+ config.action_controller.perform_caching = false
15
+ config.action_view.cache_template_extensions = false
16
+
17
+ # Don't care if the mailer can't send
18
+ config.action_mailer.raise_delivery_errors = false
@@ -0,0 +1,19 @@
1
+ # Settings specified here will take precedence over those in config/environment.rb
2
+
3
+ # The production environment is meant for finished, "live" apps.
4
+ # Code is not reloaded between requests
5
+ config.cache_classes = true
6
+
7
+ # Use a different logger for distributed setups
8
+ # config.logger = SyslogLogger.new
9
+
10
+ # Full error reports are disabled and caching is turned on
11
+ config.action_controller.consider_all_requests_local = false
12
+ config.action_controller.perform_caching = true
13
+ config.action_view.cache_template_loading = true
14
+
15
+ # Enable serving of images, stylesheets, and javascripts from an asset server
16
+ # config.action_controller.asset_host = "http://assets.example.com"
17
+
18
+ # Disable delivery errors, bad email addresses will be ignored
19
+ # config.action_mailer.raise_delivery_errors = false
@@ -0,0 +1,22 @@
1
+ # Settings specified here will take precedence over those in config/environment.rb
2
+
3
+ # The test environment is used exclusively to run your application's
4
+ # test suite. You never need to work with it otherwise. Remember that
5
+ # your test database is "scratch space" for the test suite and is wiped
6
+ # and recreated between test runs. Don't rely on the data there!
7
+ config.cache_classes = true
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.action_controller.consider_all_requests_local = true
14
+ config.action_controller.perform_caching = false
15
+
16
+ # Disable request forgery protection in test environment
17
+ config.action_controller.allow_forgery_protection = false
18
+
19
+ # Tell ActionMailer not to deliver emails to the real world.
20
+ # The :test delivery method accumulates sent emails in the
21
+ # ActionMailer::Base.deliveries array.
22
+ config.action_mailer.delivery_method = :test
@@ -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
+ # 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,35 @@
1
+ ActionController::Routing::Routes.draw do |map|
2
+ # The priority is based upon order of creation: first created -> highest priority.
3
+
4
+ # Sample of regular route:
5
+ # map.connect 'products/:id', :controller => 'catalog', :action => 'view'
6
+ # Keep in mind you can assign values other than :controller and :action
7
+
8
+ # Sample of named route:
9
+ # map.purchase 'products/:id/purchase', :controller => 'catalog', :action => 'purchase'
10
+ # This route can be invoked with purchase_url(:id => product.id)
11
+
12
+ # Sample resource route (maps HTTP verbs to controller actions automatically):
13
+ # map.resources :products
14
+
15
+ # Sample resource route with options:
16
+ # map.resources :products, :member => { :short => :get, :toggle => :post }, :collection => { :sold => :get }
17
+
18
+ # Sample resource route with sub-resources:
19
+ # map.resources :products, :has_many => [ :comments, :sales ], :has_one => :seller
20
+
21
+ # Sample resource route within a namespace:
22
+ # map.namespace :admin do |admin|
23
+ # # Directs /admin/products/* to Admin::ProductsController (app/controllers/admin/products_controller.rb)
24
+ # admin.resources :products
25
+ # end
26
+
27
+ # You can have the root of your site routed with map.root -- just remember to delete public/index.html.
28
+ # map.root :controller => "welcome"
29
+
30
+ # See how all your routes lay out with "rake routes"
31
+
32
+ # Install the default routes as the lowest priority.
33
+ map.connect ':controller/:action/:id'
34
+ map.connect ':controller/:action/:id.:format'
35
+ end
@@ -0,0 +1,2 @@
1
+ Use this README file to introduce your application and point to useful places in the API for learning more.
2
+ Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries.