muck-raker 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +27 -8
- data/VERSION +1 -1
- data/app/controllers/recommender/entries_controller.rb +13 -12
- data/app/controllers/recommender/feeds_controller.rb +64 -0
- data/app/controllers/recommender/recommendations_controller.rb +1 -1
- data/app/helpers/muck_raker_feeds_helper.rb +3 -0
- data/app/helpers/muck_raker_helper.rb +27 -4
- data/app/models/entry.rb +5 -4
- data/app/models/feed.rb +1 -0
- data/app/models/tag_cloud.rb +3 -3
- data/app/views/entries/_result_status.html.erb +8 -1
- data/app/views/entries/_tag_cloud.html.erb +2 -2
- data/app/views/entries/browse_by_tags.html.erb +1 -1
- data/app/views/entries/details.html.erb +4 -4
- data/app/views/entries/search.html.erb +1 -1
- data/app/views/recommendations/index.xml.builder +5 -3
- data/config/muck_raker_routes.rb +1 -0
- data/db/migrate/20090716035935_change_tag_cloud_grain_sizes.rb +9 -0
- data/db/migrate/20090717173900_add_contributor_to_feeds.rb +9 -0
- data/db/migrate/20090717175825_normalize_entries_subjects.rb +17 -0
- data/lib/muck_raker/tasks.rb +21 -3
- data/locales/en.yml +11 -4
- data/muck-raker.gemspec +320 -10
- data/raker/lib/aggregatord.jar +0 -0
- data/raker/lib/recommenderd.jar +0 -0
- data/test/rails_root/.gitignore +8 -0
- data/test/rails_root/.rake_tasks +103 -0
- data/test/rails_root/Capfile +3 -0
- data/test/rails_root/Rakefile +15 -0
- data/test/rails_root/app/controllers/application_controller.rb +21 -0
- data/test/rails_root/app/controllers/default_controller.rb +7 -0
- data/test/rails_root/app/helpers/application_helper.rb +3 -0
- data/test/rails_root/app/models/.keep +0 -0
- data/test/rails_root/app/models/user.rb +6 -0
- data/test/rails_root/app/models/user_session.rb +2 -0
- data/test/rails_root/app/views/default/index.html.erb +0 -0
- data/test/rails_root/app/views/layouts/default.html.erb +26 -0
- data/test/rails_root/config/amazon_s3.yml +14 -0
- data/test/rails_root/config/boot.rb +109 -0
- data/test/rails_root/config/database.yml +14 -0
- data/test/rails_root/config/environment.rb +29 -0
- data/test/rails_root/config/environments/development.rb +19 -0
- data/test/rails_root/config/environments/production.rb +1 -0
- data/test/rails_root/config/environments/test.rb +34 -0
- data/test/rails_root/config/global_config.yml +77 -0
- data/test/rails_root/config/initializers/inflections.rb +10 -0
- data/test/rails_root/config/initializers/mime_types.rb +5 -0
- data/test/rails_root/config/initializers/requires.rb +13 -0
- data/test/rails_root/config/initializers/session_store.rb +8 -0
- data/test/rails_root/config/routes.rb +3 -0
- data/test/rails_root/config/solr/README.txt +0 -0
- data/test/rails_root/config/solr/cores/de/conf/protwords.txt +21 -0
- data/test/rails_root/config/solr/cores/de/conf/schema.xml +81 -0
- data/test/rails_root/config/solr/cores/de/conf/solrconfig.xml +304 -0
- data/test/rails_root/config/solr/cores/de/conf/stopwords.txt +341 -0
- data/test/rails_root/config/solr/cores/de/conf/synonyms.txt +31 -0
- data/test/rails_root/config/solr/cores/en/conf/protwords.txt +21 -0
- data/test/rails_root/config/solr/cores/en/conf/schema.xml +83 -0
- data/test/rails_root/config/solr/cores/en/conf/solrconfig.xml +304 -0
- data/test/rails_root/config/solr/cores/en/conf/stopwords.txt +341 -0
- data/test/rails_root/config/solr/cores/en/conf/synonyms.txt +31 -0
- data/test/rails_root/config/solr/cores/es/conf/protwords.txt +21 -0
- data/test/rails_root/config/solr/cores/es/conf/schema.xml +81 -0
- data/test/rails_root/config/solr/cores/es/conf/solrconfig.xml +304 -0
- data/test/rails_root/config/solr/cores/es/conf/stopwords.txt +206 -0
- data/test/rails_root/config/solr/cores/es/conf/synonyms.txt +31 -0
- data/test/rails_root/config/solr/cores/fr/conf/protwords.txt +21 -0
- data/test/rails_root/config/solr/cores/fr/conf/schema.xml +82 -0
- data/test/rails_root/config/solr/cores/fr/conf/solrconfig.xml +304 -0
- data/test/rails_root/config/solr/cores/fr/conf/stopwords.txt +57 -0
- data/test/rails_root/config/solr/cores/fr/conf/synonyms.txt +31 -0
- data/test/rails_root/config/solr/cores/ja/conf/protwords.txt +21 -0
- data/test/rails_root/config/solr/cores/ja/conf/schema.xml +69 -0
- data/test/rails_root/config/solr/cores/ja/conf/solrconfig.xml +304 -0
- data/test/rails_root/config/solr/cores/ja/conf/stopwords.txt +341 -0
- data/test/rails_root/config/solr/cores/ja/conf/synonyms.txt +31 -0
- data/test/rails_root/config/solr/cores/nl/conf/protwords.txt +21 -0
- data/test/rails_root/config/solr/cores/nl/conf/schema.xml +78 -0
- data/test/rails_root/config/solr/cores/nl/conf/solrconfig.xml +304 -0
- data/test/rails_root/config/solr/cores/nl/conf/stopwords.txt +45691 -0
- data/test/rails_root/config/solr/cores/nl/conf/synonyms.txt +31 -0
- data/test/rails_root/config/solr/cores/ru/conf/protwords.txt +21 -0
- data/test/rails_root/config/solr/cores/ru/conf/schema.xml +78 -0
- data/test/rails_root/config/solr/cores/ru/conf/solrconfig.xml +304 -0
- data/test/rails_root/config/solr/cores/ru/conf/stopwords.txt +341 -0
- data/test/rails_root/config/solr/cores/ru/conf/synonyms.txt +31 -0
- data/test/rails_root/config/solr/cores/zh/conf/protwords.txt +21 -0
- data/test/rails_root/config/solr/cores/zh/conf/schema.xml +72 -0
- data/test/rails_root/config/solr/cores/zh/conf/solrconfig.xml +304 -0
- data/test/rails_root/config/solr/cores/zh/conf/stopwords.txt +341 -0
- data/test/rails_root/config/solr/cores/zh/conf/synonyms.txt +31 -0
- data/test/rails_root/config/solr/solr.xml +50 -0
- data/test/rails_root/db/.keep +0 -0
- data/test/rails_root/db/migrate/20090320174818_create_muck_permissions_and_roles.rb +16 -0
- data/test/rails_root/db/migrate/20090602041838_create_users.rb +39 -0
- data/test/rails_root/db/migrate/20090704220055_create_slugs.rb +18 -0
- data/test/rails_root/db/migrate/20090704220120_acts_as_taggable_on_migration.rb +29 -0
- data/test/rails_root/db/migrate/20090717173900_add_contributor_to_feeds.rb +9 -0
- data/test/rails_root/db/schema.rb +166 -0
- data/test/rails_root/features/step_definitions/webrat_steps.rb +99 -0
- data/test/rails_root/features/support/env.rb +14 -0
- data/test/rails_root/migrate/20090602191243_create_muck_raker.rb +307 -0
- data/test/rails_root/migrate/20090619211125_create_tag_clouds.rb +19 -0
- data/test/rails_root/migrate/20090623181458_add_grain_size_to_entries.rb +16 -0
- data/test/rails_root/migrate/20090703175825_denormalize_entries_subjects.rb +16 -0
- data/test/rails_root/public/.htaccess +40 -0
- data/test/rails_root/public/404.html +30 -0
- data/test/rails_root/public/422.html +30 -0
- data/test/rails_root/public/500.html +30 -0
- data/test/rails_root/public/dispatch.rb +10 -0
- data/test/rails_root/public/favicon.ico +0 -0
- data/test/rails_root/public/images/arrow_left.gif +0 -0
- data/test/rails_root/public/images/arrow_right.gif +0 -0
- data/test/rails_root/public/images/blue/preview.gif +0 -0
- data/test/rails_root/public/images/icons/accept.png +0 -0
- data/test/rails_root/public/images/icons/add.png +0 -0
- data/test/rails_root/public/images/icons/delete.png +0 -0
- data/test/rails_root/public/images/icons/vote.png +0 -0
- data/test/rails_root/public/images/loading.gif +0 -0
- data/test/rails_root/public/images/profile_default.jpg +0 -0
- data/test/rails_root/public/images/rails.png +0 -0
- data/test/rails_root/public/images/red/preview.gif +0 -0
- data/test/rails_root/public/images/spinner.gif +0 -0
- data/test/rails_root/public/images/sprites.png +0 -0
- data/test/rails_root/public/javascripts/application.js +2 -0
- data/test/rails_root/public/javascripts/builder.js +136 -0
- data/test/rails_root/public/javascripts/controls.js +963 -0
- data/test/rails_root/public/javascripts/dragdrop.js +972 -0
- data/test/rails_root/public/javascripts/effects.js +1120 -0
- data/test/rails_root/public/javascripts/fancyzoom.min.js +1 -0
- data/test/rails_root/public/javascripts/jquery/jquery-ui.js +273 -0
- data/test/rails_root/public/javascripts/jquery/jquery.form.js +637 -0
- data/test/rails_root/public/javascripts/jquery/jquery.jgrowl.js +2 -0
- data/test/rails_root/public/javascripts/jquery/jquery.js +19 -0
- data/test/rails_root/public/javascripts/jquery/jquery.tips.js +69 -0
- data/test/rails_root/public/javascripts/muck.js +76 -0
- data/test/rails_root/public/javascripts/muck_activities.js +108 -0
- data/test/rails_root/public/javascripts/prototype.js +4225 -0
- data/test/rails_root/public/javascripts/scriptaculous.js +58 -0
- data/test/rails_root/public/javascripts/slider.js +277 -0
- data/test/rails_root/public/javascripts/sound.js +60 -0
- data/test/rails_root/public/robots.txt +1 -0
- data/test/rails_root/public/stylesheets/.keep +0 -0
- data/test/rails_root/public/stylesheets/admin.css +12 -0
- data/test/rails_root/public/stylesheets/blueprint/ie.css +26 -0
- data/test/rails_root/public/stylesheets/blueprint/liquid_screen.css +203 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/buttons/icons/cross.png +0 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/buttons/icons/key.png +0 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/buttons/icons/tick.png +0 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/buttons/readme.txt +32 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/buttons/screen.css +97 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/fancy-type/readme.txt +14 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/fancy-type/screen.css +71 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/doc.png +0 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/email.png +0 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/external.png +0 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/feed.png +0 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/im.png +0 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/pdf.png +0 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/visited.png +0 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/icons/xls.png +0 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/readme.txt +18 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/link-icons/screen.css +40 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/liquid/liquid.css +134 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/liquid/src/liquid.css +197 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/rtl/readme.txt +10 -0
- data/test/rails_root/public/stylesheets/blueprint/plugins/rtl/screen.css +109 -0
- data/test/rails_root/public/stylesheets/blueprint/print.css +30 -0
- data/test/rails_root/public/stylesheets/blueprint/screen.css +251 -0
- data/test/rails_root/public/stylesheets/blueprint/sprite.css +1 -0
- data/test/rails_root/public/stylesheets/blueprint/src/forms.css +49 -0
- data/test/rails_root/public/stylesheets/blueprint/src/grid.css +213 -0
- data/test/rails_root/public/stylesheets/blueprint/src/grid.png +0 -0
- data/test/rails_root/public/stylesheets/blueprint/src/ie.css +59 -0
- data/test/rails_root/public/stylesheets/blueprint/src/print.css +85 -0
- data/test/rails_root/public/stylesheets/blueprint/src/reset.css +38 -0
- data/test/rails_root/public/stylesheets/blueprint/src/typography.css +105 -0
- data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_glass_100_f0f0f0_1x400.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_glass_50_99c2ff_1x400.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_glass_80_e6e6e6_1x400.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-bg_highlight-soft_100_e7eef3_1x100.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_222222_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_2e83ff_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_888888_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/cupertino/jquery-ui-1.7.1.custom.css +404 -0
- data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_217bc0_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_469bdd_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/redmond/jquery-ui-1.7.1.custom.css +404 -0
- data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/smoothness/jquery-ui-1.7.1.custom.css +404 -0
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/jquery-ui-1.7.1.custom.css +404 -0
- data/test/rails_root/public/stylesheets/reset.css +0 -0
- data/test/rails_root/public/stylesheets/styles.css +79 -0
- data/test/rails_root/public/stylesheets/themes/blue/styles.css +1 -0
- data/test/rails_root/public/stylesheets/themes/red/styles.css +1 -0
- data/test/rails_root/script/about +3 -0
- data/test/rails_root/script/breakpointer +3 -0
- data/test/rails_root/script/console +3 -0
- data/test/rails_root/script/create_project.rb +52 -0
- data/test/rails_root/script/cucumber +7 -0
- data/test/rails_root/script/dbconsole +3 -0
- data/test/rails_root/script/destroy +3 -0
- data/test/rails_root/script/generate +3 -0
- data/test/rails_root/script/performance/benchmarker +3 -0
- data/test/rails_root/script/performance/profiler +3 -0
- data/test/rails_root/script/performance/request +3 -0
- data/test/rails_root/script/plugin +3 -0
- data/test/rails_root/script/process/inspector +3 -0
- data/test/rails_root/script/process/reaper +3 -0
- data/test/rails_root/script/process/spawner +3 -0
- data/test/rails_root/script/runner +3 -0
- data/test/rails_root/script/server +3 -0
- data/test/rails_root/test/factories.rb +96 -0
- data/test/rails_root/test/functional/.keep +0 -0
- data/test/rails_root/test/functional/feeds_controller_test.rb +14 -0
- data/test/rails_root/test/integration/.keep +0 -0
- data/test/rails_root/test/mocks/development/.keep +0 -0
- data/test/rails_root/test/mocks/test/.keep +0 -0
- data/test/rails_root/test/shoulda_macros/controller.rb +45 -0
- data/test/rails_root/test/shoulda_macros/forms.rb +32 -0
- data/test/rails_root/test/shoulda_macros/models.rb +50 -0
- data/test/rails_root/test/shoulda_macros/pagination.rb +53 -0
- data/test/rails_root/test/shoulda_macros/plugins.rb +34 -0
- data/test/rails_root/test/test_helper.rb +46 -0
- data/test/rails_root/test/unit/.keep +0 -0
- data/test/rails_root/test/unit/entry_test.rb +13 -0
- data/test/rails_root/test/unit/feed_test.rb +16 -0
- data/test/rails_root/test/unit/tag_cloud_test.rb +35 -0
- data/test/rails_root/vendor/plugins/ssl_requirement/README +43 -0
- data/test/rails_root/vendor/plugins/ssl_requirement/lib/ssl_requirement.rb +62 -0
- data/test/rails_root/vendor/plugins/ssl_requirement/test/ssl_requirement_test.rb +132 -0
- data/test/rails_root/vendor/plugins/validation_reflection/CHANGELOG +24 -0
- data/test/rails_root/vendor/plugins/validation_reflection/LICENSE +20 -0
- data/test/rails_root/vendor/plugins/validation_reflection/README +64 -0
- data/test/rails_root/vendor/plugins/validation_reflection/Rakefile +22 -0
- data/test/rails_root/vendor/plugins/validation_reflection/about.yml +7 -0
- data/test/rails_root/vendor/plugins/validation_reflection/init.rb +8 -0
- data/test/rails_root/vendor/plugins/validation_reflection/lib/boiler_plate/validation_reflection.rb +129 -0
- data/test/rails_root/vendor/plugins/validation_reflection/test/test_helper.rb +36 -0
- data/test/rails_root/vendor/plugins/validation_reflection/test/validation_reflection_test.rb +126 -0
- metadata +315 -7
- data/app/models/user.rb +0 -36
- data/test/recommender_test.rb +0 -8
- data/test/test_helper.rb +0 -20
@@ -0,0 +1,307 @@
|
|
1
|
+
class CreateMuckRaker < ActiveRecord::Migration
|
2
|
+
|
3
|
+
def self.up
|
4
|
+
|
5
|
+
create_table "action_types", :force => true do |t|
|
6
|
+
t.string "action_type"
|
7
|
+
t.integer "weight"
|
8
|
+
end
|
9
|
+
|
10
|
+
create_table "aggregation_feeds", :force => true do |t|
|
11
|
+
t.integer "aggregation_id"
|
12
|
+
t.integer "feed_id"
|
13
|
+
end
|
14
|
+
|
15
|
+
add_index "aggregation_feeds", ["aggregation_id"]
|
16
|
+
add_index "aggregation_feeds", ["feed_id"]
|
17
|
+
|
18
|
+
create_table "aggregations", :force => true do |t|
|
19
|
+
t.string "name"
|
20
|
+
t.string "title"
|
21
|
+
t.text "description"
|
22
|
+
t.text "top_tags"
|
23
|
+
t.integer "user_id"
|
24
|
+
t.datetime "created_at"
|
25
|
+
t.datetime "updated_at"
|
26
|
+
end
|
27
|
+
|
28
|
+
add_index "aggregations", ["user_id"]
|
29
|
+
|
30
|
+
create_table "attentions", :force => true do |t|
|
31
|
+
t.integer "attentionable_id"
|
32
|
+
t.string "attentionable_type"
|
33
|
+
t.integer "entry_id"
|
34
|
+
t.string "action_type"
|
35
|
+
t.float "weight"
|
36
|
+
end
|
37
|
+
|
38
|
+
create_table "clicks", :force => true do |t|
|
39
|
+
t.integer "recommendation_id"
|
40
|
+
t.datetime "when", :null => false
|
41
|
+
t.string "referrer", :limit => 2083
|
42
|
+
t.string "requester"
|
43
|
+
t.string "user_agent", :limit => 2083
|
44
|
+
end
|
45
|
+
|
46
|
+
add_index "clicks", ["recommendation_id"]
|
47
|
+
add_index "clicks", ["referrer"]
|
48
|
+
add_index "clicks", ["requester"]
|
49
|
+
add_index "clicks", ["user_agent"]
|
50
|
+
add_index "clicks", ["when"]
|
51
|
+
|
52
|
+
create_table "entries", :force => true do |t|
|
53
|
+
t.integer "feed_id", :null => false
|
54
|
+
t.string "permalink", :limit => 2083, :default => "", :null => false
|
55
|
+
t.string "author", :limit => 2083
|
56
|
+
t.text "title", :null => false
|
57
|
+
t.text "description"
|
58
|
+
t.text "content"
|
59
|
+
t.boolean "unique_content", :default => false
|
60
|
+
t.datetime "published_at", :null => false
|
61
|
+
t.datetime "entry_updated_at"
|
62
|
+
t.datetime "harvested_at"
|
63
|
+
t.string "oai_identifier", :limit => 2083
|
64
|
+
t.integer "language_id"
|
65
|
+
t.string "direct_link", :limit => 2083
|
66
|
+
t.datetime "indexed_at", :default => '1971-01-01 01:01:01', :null => false
|
67
|
+
t.datetime "relevance_calculated_at", :default => '1971-01-01 01:01:01', :null => false
|
68
|
+
t.text "popular"
|
69
|
+
t.text "relevant"
|
70
|
+
t.text "other"
|
71
|
+
end
|
72
|
+
|
73
|
+
add_index "entries", ["direct_link"]
|
74
|
+
add_index "entries", ["feed_id"]
|
75
|
+
add_index "entries", ["indexed_at"]
|
76
|
+
add_index "entries", ["language_id"]
|
77
|
+
add_index "entries", ["oai_identifier"]
|
78
|
+
add_index "entries", ["permalink"]
|
79
|
+
add_index "entries", ["published_at"]
|
80
|
+
add_index "entries", ["relevance_calculated_at"]
|
81
|
+
|
82
|
+
create_table "entries_users", :force => true do |t|
|
83
|
+
t.integer "entry_id", :null => false
|
84
|
+
t.integer "user_id", :default => 0
|
85
|
+
t.boolean "clicked_through", :default => false
|
86
|
+
t.datetime "created_at"
|
87
|
+
end
|
88
|
+
|
89
|
+
add_index "entries_users", ["entry_id", "user_id"]
|
90
|
+
add_index "entries_users", ["entry_id"]
|
91
|
+
add_index "entries_users", ["user_id"]
|
92
|
+
|
93
|
+
create_table "entry_images", :force => true do |t|
|
94
|
+
t.integer "entry_id"
|
95
|
+
t.string "uri", :limit => 2083
|
96
|
+
t.string "link", :limit => 2083
|
97
|
+
t.string "alt"
|
98
|
+
t.string "title"
|
99
|
+
t.integer "width"
|
100
|
+
t.integer "height"
|
101
|
+
end
|
102
|
+
|
103
|
+
add_index "entry_images", ["entry_id"]
|
104
|
+
|
105
|
+
create_table "feeds", :force => true do |t|
|
106
|
+
t.string "uri", :limit => 2083
|
107
|
+
t.string "display_uri", :limit => 2083
|
108
|
+
t.string "title", :limit => 1000
|
109
|
+
t.string "short_title", :limit => 100
|
110
|
+
t.text "description"
|
111
|
+
t.string "tag_filter", :limit => 1000
|
112
|
+
t.text "top_tags"
|
113
|
+
t.integer "priority", :default => 10
|
114
|
+
t.integer "status", :default => 1
|
115
|
+
t.datetime "last_requested_at"
|
116
|
+
t.datetime "last_harvested_at"
|
117
|
+
t.integer "harvest_interval", :default => 86400
|
118
|
+
t.integer "failed_requests", :default => 0
|
119
|
+
t.text "error_message"
|
120
|
+
t.integer "service_id", :default => 0, :null => false
|
121
|
+
t.string "login"
|
122
|
+
t.string "password"
|
123
|
+
t.datetime "created_at"
|
124
|
+
t.datetime "updated_at"
|
125
|
+
t.datetime "entries_changed_at"
|
126
|
+
t.string "harvested_from_display_uri", :limit => 2083
|
127
|
+
t.string "harvested_from_title", :limit => 1000
|
128
|
+
t.string "harvested_from_short_title", :limit => 100
|
129
|
+
t.integer "entries_count"
|
130
|
+
t.integer "default_language_id", :default => 0
|
131
|
+
t.boolean "ocw", :default => false
|
132
|
+
end
|
133
|
+
|
134
|
+
add_index "feeds", ["service_id"]
|
135
|
+
add_index "feeds", ["uri"]
|
136
|
+
|
137
|
+
create_table "micro_concerts", :force => true do |t|
|
138
|
+
t.integer "micro_event_id"
|
139
|
+
t.string "performer"
|
140
|
+
t.string "ticket_url", :limit => 2083
|
141
|
+
end
|
142
|
+
|
143
|
+
add_index "micro_concerts", ["micro_event_id"]
|
144
|
+
|
145
|
+
create_table "micro_conferences", :force => true do |t|
|
146
|
+
t.integer "micro_event_id"
|
147
|
+
t.string "theme"
|
148
|
+
t.datetime "register_by"
|
149
|
+
t.datetime "submit_by"
|
150
|
+
end
|
151
|
+
|
152
|
+
add_index "micro_conferences", ["micro_event_id"]
|
153
|
+
|
154
|
+
create_table "micro_event_links", :force => true do |t|
|
155
|
+
t.integer "micro_event_id"
|
156
|
+
t.string "uri"
|
157
|
+
t.string "title"
|
158
|
+
end
|
159
|
+
|
160
|
+
add_index "micro_event_links", ["micro_event_id"]
|
161
|
+
|
162
|
+
create_table "micro_event_people", :force => true do |t|
|
163
|
+
t.integer "micro_event_id"
|
164
|
+
t.string "name"
|
165
|
+
t.string "role"
|
166
|
+
t.string "email"
|
167
|
+
t.string "link", :limit => 2083
|
168
|
+
t.string "phone"
|
169
|
+
end
|
170
|
+
|
171
|
+
add_index "micro_event_people", ["micro_event_id"]
|
172
|
+
|
173
|
+
create_table "micro_events", :force => true do |t|
|
174
|
+
t.integer "entry_id", :null => false
|
175
|
+
t.string "name", :null => false
|
176
|
+
t.text "description"
|
177
|
+
t.string "price"
|
178
|
+
t.text "image"
|
179
|
+
t.text "address"
|
180
|
+
t.text "subaddress"
|
181
|
+
t.string "city"
|
182
|
+
t.string "state"
|
183
|
+
t.string "postcode"
|
184
|
+
t.string "country"
|
185
|
+
t.datetime "begins", :null => false
|
186
|
+
t.datetime "ends"
|
187
|
+
t.text "tags"
|
188
|
+
t.string "duration"
|
189
|
+
t.text "location"
|
190
|
+
end
|
191
|
+
|
192
|
+
add_index "micro_events", ["entry_id"]
|
193
|
+
|
194
|
+
create_table "oai_endpoints", :force => true do |t|
|
195
|
+
t.string "uri", :limit => 2083
|
196
|
+
t.string "display_uri", :limit => 2083
|
197
|
+
t.string "metadata_prefix"
|
198
|
+
t.string "title", :limit => 1000
|
199
|
+
t.string "short_title", :limit => 100
|
200
|
+
end
|
201
|
+
|
202
|
+
create_table "personal_recommendations", :force => true do |t|
|
203
|
+
t.integer "personal_recommendable_id"
|
204
|
+
t.string "personal_recommendable_type"
|
205
|
+
t.integer "destination_id"
|
206
|
+
t.string "destination_type"
|
207
|
+
t.integer "rank"
|
208
|
+
t.float "relevance"
|
209
|
+
end
|
210
|
+
|
211
|
+
create_table "queries", :force => true do |t|
|
212
|
+
t.text "name"
|
213
|
+
t.integer "frequency"
|
214
|
+
end
|
215
|
+
|
216
|
+
create_table "recommendations", :force => true do |t|
|
217
|
+
t.integer "entry_id"
|
218
|
+
t.integer "dest_entry_id"
|
219
|
+
t.integer "rank"
|
220
|
+
t.decimal "relevance", :precision => 8, :scale => 6, :default => 0.0
|
221
|
+
t.integer "clicks", :default => 0
|
222
|
+
t.integer "avg_time_at_dest", :default => 60
|
223
|
+
end
|
224
|
+
|
225
|
+
add_index "recommendations", ["dest_entry_id"]
|
226
|
+
add_index "recommendations", ["entry_id"]
|
227
|
+
|
228
|
+
create_table "services", :force => true do |t|
|
229
|
+
t.string "uri", :limit => 2083, :default => ""
|
230
|
+
t.string "title", :limit => 1000, :default => ""
|
231
|
+
t.string "api_uri", :limit => 2083, :default => ""
|
232
|
+
t.string "uri_template", :limit => 2083, :default => ""
|
233
|
+
t.string "icon", :limit => 2083, :default => 'rss.gif'
|
234
|
+
t.integer "sequence"
|
235
|
+
t.boolean "requires_password", :default => false
|
236
|
+
end
|
237
|
+
|
238
|
+
create_table "watched_pages", :force => true do |t|
|
239
|
+
t.integer "entry_id"
|
240
|
+
t.datetime "harvested_at"
|
241
|
+
t.boolean "has_microformats", :default => false
|
242
|
+
t.datetime "created_at"
|
243
|
+
t.datetime "updated_at"
|
244
|
+
end
|
245
|
+
|
246
|
+
add_index "watched_pages", ["entry_id"]
|
247
|
+
|
248
|
+
create_table "subjects", :force => true do |t|
|
249
|
+
t.string "name"
|
250
|
+
end
|
251
|
+
|
252
|
+
create_table "entries_subjects", :force => true do |t|
|
253
|
+
t.integer "subject_id"
|
254
|
+
t.integer "entry_id"
|
255
|
+
t.boolean "autogenerated", :default => false
|
256
|
+
end
|
257
|
+
execute "ALTER TABLE entries_subjects DROP COLUMN id, DROP PRIMARY KEY, ADD PRIMARY KEY USING BTREE(subject_id, entry_id);"
|
258
|
+
add_index "entries_subjects", ["subject_id"]
|
259
|
+
add_index "entries_subjects", ["entry_id"]
|
260
|
+
add_index "entries_subjects", ["autogenerated"]
|
261
|
+
|
262
|
+
create_table "cloud_caches", :force => true do |t|
|
263
|
+
t.integer "language_id"
|
264
|
+
t.string "filter"
|
265
|
+
t.string "tag_list", :limit => 2500
|
266
|
+
end
|
267
|
+
execute "ALTER TABLE cloud_caches DROP COLUMN id, DROP PRIMARY KEY, ADD PRIMARY KEY USING BTREE(language_id, filter);"
|
268
|
+
|
269
|
+
# add a flag to the languages table to flag languages we support
|
270
|
+
add_column :languages, :muck_raker_supported, :boolean, :default => false
|
271
|
+
add_column :languages, :indexed_records, :integer, :default => 0
|
272
|
+
add_index "languages", ["muck_raker_supported"]
|
273
|
+
end
|
274
|
+
|
275
|
+
def self.down
|
276
|
+
remove_column :languages, :muck_raker_supported
|
277
|
+
remove_column :languages, :indexed_records
|
278
|
+
|
279
|
+
drop_table :action_types
|
280
|
+
drop_table :aggregation_feeds
|
281
|
+
drop_table :aggregation_top_tags
|
282
|
+
drop_table :aggregations
|
283
|
+
drop_table :attentions
|
284
|
+
drop_table :clicks
|
285
|
+
drop_table :entries
|
286
|
+
drop_table :subjects
|
287
|
+
drop_table :entries_subjects
|
288
|
+
drop_table :cloud_caches
|
289
|
+
drop_table :entries_users
|
290
|
+
drop_table :entry_images
|
291
|
+
drop_table :feeds
|
292
|
+
drop_table :interests
|
293
|
+
drop_table :recommender_languages
|
294
|
+
drop_table :micro_concerts
|
295
|
+
drop_table :micro_conferences
|
296
|
+
drop_table :micro_event_links
|
297
|
+
drop_table :micro_event_people
|
298
|
+
drop_table :micro_events
|
299
|
+
drop_table :oai_endpoints
|
300
|
+
drop_table :personal_recommendations
|
301
|
+
drop_table :queries
|
302
|
+
drop_table :recommendations
|
303
|
+
drop_table :services
|
304
|
+
drop_table :watched_pages
|
305
|
+
end
|
306
|
+
|
307
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
class CreateTagClouds < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
|
4
|
+
drop_table "cloud_caches"
|
5
|
+
|
6
|
+
create_table "tag_clouds", :force => true do |t|
|
7
|
+
t.integer "language_id"
|
8
|
+
t.string "filter"
|
9
|
+
t.string "tag_list", :limit => 5000
|
10
|
+
end
|
11
|
+
|
12
|
+
add_index "tag_clouds", ["language_id", "filter"], {:unique => true}
|
13
|
+
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.down
|
17
|
+
drop_table "tag_clouds"
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
class AddGrainSizeToEntries < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
add_column :feeds, :default_content_type, :string, :default => "unknown"
|
4
|
+
execute "UPDATE feeds SET default_content_type = 'course' WHERE ocw = true"
|
5
|
+
remove_column :feeds, :ocw
|
6
|
+
|
7
|
+
add_column :entries, :content_type, :string, :default => "unknown"
|
8
|
+
add_index "entries", ["content_type"]
|
9
|
+
end
|
10
|
+
|
11
|
+
def self.down
|
12
|
+
remove_column :feeds, :default_content_type
|
13
|
+
remove_column :entries, :content_type
|
14
|
+
add_column :fields, :ocw, :boolean, :default => false
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
class DenormalizeEntriesSubjects < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
add_column :entries_subjects, :language_id, :integer
|
4
|
+
add_column :entries_subjects, :grain_size, :string
|
5
|
+
add_index "entries_subjects", ["language_id"]
|
6
|
+
add_index "entries_subjects", ["grain_size"]
|
7
|
+
execute "ALTER TABLE entries_subjects DROP PRIMARY KEY, ADD PRIMARY KEY USING BTREE(subject_id, language_id, grain_size, entry_id);"
|
8
|
+
execute "UPDATE entries_subjects AS es INNER JOIN entries AS e ON e.id = es.entry_id SET es.language_id = e.language_id, es.grain_size = e.grain_size"
|
9
|
+
end
|
10
|
+
|
11
|
+
def self.down
|
12
|
+
execute "ALTER TABLE entries_subjects DROP PRIMARY KEY, ADD PRIMARY KEY USING BTREE(subject_id, entry_id);"
|
13
|
+
remove_column :entries_subjects, :language_id
|
14
|
+
remove_column :entries_subjects, :grain_size
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# General Apache options
|
2
|
+
AddHandler fastcgi-script .fcgi
|
3
|
+
AddHandler cgi-script .cgi
|
4
|
+
Options +FollowSymLinks +ExecCGI
|
5
|
+
|
6
|
+
# If you don't want Rails to look in certain directories,
|
7
|
+
# use the following rewrite rules so that Apache won't rewrite certain requests
|
8
|
+
#
|
9
|
+
# Example:
|
10
|
+
# RewriteCond %{REQUEST_URI} ^/notrails.*
|
11
|
+
# RewriteRule .* - [L]
|
12
|
+
|
13
|
+
# Redirect all requests not available on the filesystem to Rails
|
14
|
+
# By default the cgi dispatcher is used which is very slow
|
15
|
+
#
|
16
|
+
# For better performance replace the dispatcher with the fastcgi one
|
17
|
+
#
|
18
|
+
# Example:
|
19
|
+
# RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
|
20
|
+
RewriteEngine On
|
21
|
+
|
22
|
+
# If your Rails application is accessed via an Alias directive,
|
23
|
+
# then you MUST also set the RewriteBase in this htaccess file.
|
24
|
+
#
|
25
|
+
# Example:
|
26
|
+
# Alias /myrailsapp /path/to/myrailsapp/public
|
27
|
+
# RewriteBase /myrailsapp
|
28
|
+
|
29
|
+
RewriteRule ^$ index.html [QSA]
|
30
|
+
RewriteRule ^([^.]+)$ $1.html [QSA]
|
31
|
+
RewriteCond %{REQUEST_FILENAME} !-f
|
32
|
+
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
|
33
|
+
|
34
|
+
# In case Rails experiences terminal errors
|
35
|
+
# Instead of displaying this message you can supply a file here which will be rendered instead
|
36
|
+
#
|
37
|
+
# Example:
|
38
|
+
# ErrorDocument 500 /500.html
|
39
|
+
|
40
|
+
ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
|
6
|
+
<head>
|
7
|
+
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
8
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
9
|
+
<style type="text/css">
|
10
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
11
|
+
div.dialog {
|
12
|
+
width: 25em;
|
13
|
+
padding: 0 4em;
|
14
|
+
margin: 4em auto 0 auto;
|
15
|
+
border: 1px solid #ccc;
|
16
|
+
border-right-color: #999;
|
17
|
+
border-bottom-color: #999;
|
18
|
+
}
|
19
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
20
|
+
</style>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body>
|
24
|
+
<!-- This file lives in public/404.html -->
|
25
|
+
<div class="dialog">
|
26
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
27
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
28
|
+
</div>
|
29
|
+
</body>
|
30
|
+
</html>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
|
6
|
+
<head>
|
7
|
+
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
8
|
+
<title>The change you wanted was rejected (422)</title>
|
9
|
+
<style type="text/css">
|
10
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
11
|
+
div.dialog {
|
12
|
+
width: 25em;
|
13
|
+
padding: 0 4em;
|
14
|
+
margin: 4em auto 0 auto;
|
15
|
+
border: 1px solid #ccc;
|
16
|
+
border-right-color: #999;
|
17
|
+
border-bottom-color: #999;
|
18
|
+
}
|
19
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
20
|
+
</style>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body>
|
24
|
+
<!-- This file lives in public/422.html -->
|
25
|
+
<div class="dialog">
|
26
|
+
<h1>The change you wanted was rejected.</h1>
|
27
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
28
|
+
</div>
|
29
|
+
</body>
|
30
|
+
</html>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
|
6
|
+
<head>
|
7
|
+
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
8
|
+
<title>We're sorry, but something went wrong</title>
|
9
|
+
<style type="text/css">
|
10
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
11
|
+
div.dialog {
|
12
|
+
width: 25em;
|
13
|
+
padding: 0 4em;
|
14
|
+
margin: 4em auto 0 auto;
|
15
|
+
border: 1px solid #ccc;
|
16
|
+
border-right-color: #999;
|
17
|
+
border-bottom-color: #999;
|
18
|
+
}
|
19
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
20
|
+
</style>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body>
|
24
|
+
<!-- This file lives in public/500.html -->
|
25
|
+
<div class="dialog">
|
26
|
+
<h1>We're sorry, but something went wrong.</h1>
|
27
|
+
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
28
|
+
</div>
|
29
|
+
</body>
|
30
|
+
</html>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
#!/opt/local/bin/ruby
|
2
|
+
|
3
|
+
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
|
4
|
+
|
5
|
+
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
|
6
|
+
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
|
7
|
+
require "dispatcher"
|
8
|
+
|
9
|
+
ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
|
10
|
+
Dispatcher.dispatch
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|