spree 0.2.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of spree might be problematic. Click here for more details.
- data/CHANGELOG +22 -0
- data/CONTRIBUTORS +18 -1
- data/README.markdown +68 -9
- data/app/controllers/account_controller.rb +4 -18
- data/app/controllers/addresses_controller.rb +53 -0
- data/app/controllers/admin/base_controller.rb +0 -2
- data/app/controllers/admin/configurations_controller.rb +10 -0
- data/app/controllers/admin/images_controller.rb +10 -9
- data/app/controllers/admin/inventory_units_controller.rb +1 -25
- data/app/controllers/admin/mail_settings_controller.rb +14 -0
- data/app/controllers/admin/option_types_controller.rb +53 -61
- data/app/controllers/admin/orders_controller.rb +38 -250
- data/app/controllers/admin/product_properties_controller.rb +7 -0
- data/app/controllers/admin/products_controller.rb +38 -148
- data/app/controllers/admin/properties_controller.rb +25 -0
- data/app/controllers/admin/prototypes_controller.rb +49 -0
- data/app/controllers/admin/states_controller.rb +26 -0
- data/app/controllers/admin/tax_categories_controller.rb +11 -0
- data/app/controllers/admin/taxonomies_controller.rb +26 -0
- data/app/controllers/admin/taxons_controller.rb +137 -0
- data/app/controllers/admin/users_controller.rb +3 -0
- data/app/controllers/admin/variants_controller.rb +25 -0
- data/app/controllers/admin/zones_controller.rb +49 -0
- data/app/controllers/application.rb +9 -6
- data/app/controllers/countries_controller.rb +11 -0
- data/app/controllers/creditcard_payments_controller.rb +63 -0
- data/app/controllers/line_items_controller.rb +6 -0
- data/app/controllers/orders_controller.rb +70 -0
- data/app/controllers/products_controller.rb +33 -0
- data/app/controllers/spree/base_controller.rb +18 -23
- data/app/controllers/states_controller.rb +10 -0
- data/app/controllers/taxons_controller.rb +19 -0
- data/app/controllers/users_controller.rb +16 -7
- data/app/helpers/admin/base_helper.rb +7 -10
- data/app/helpers/admin/configurations_helper.rb +2 -0
- data/app/helpers/admin/mail_settings_helper.rb +2 -0
- data/app/helpers/admin/orders_helper.rb +18 -6
- data/app/helpers/admin/product_properties_helper.rb +13 -0
- data/app/helpers/admin/products_helper.rb +13 -1
- data/app/helpers/admin/properties_helper.rb +9 -0
- data/app/helpers/admin/prototypes_helper.rb +18 -0
- data/app/helpers/admin/taxonomies_helper.rb +62 -0
- data/app/helpers/admin/taxons_helper.rb +5 -0
- data/app/helpers/admin/variants_helper.rb +2 -0
- data/app/helpers/admin/zones_helper.rb +11 -0
- data/app/helpers/application_helper.rb +11 -0
- data/app/helpers/orders_helper.rb +14 -0
- data/app/helpers/payments_helper.rb +2 -0
- data/app/helpers/products_helper.rb +34 -0
- data/app/helpers/spree/base_helper.rb +10 -12
- data/app/helpers/store_helper.rb +0 -19
- data/app/helpers/tax_categories_helper.rb +2 -0
- data/app/helpers/taxons_helper.rb +31 -0
- data/app/models/address.rb +7 -2
- data/app/models/app_configuration.rb +27 -0
- data/app/models/configuration.rb +3 -0
- data/app/models/country.rb +1 -0
- data/app/models/creditcard.rb +6 -0
- data/app/models/creditcard_payment.rb +40 -0
- data/app/models/creditcard_txn.rb +6 -0
- data/app/models/image.rb +1 -2
- data/app/models/inventory_unit.rb +22 -9
- data/app/models/line_item.rb +21 -8
- data/app/models/option_type.rb +2 -2
- data/app/models/order.rb +105 -62
- data/app/models/order_filter.rb +25 -0
- data/app/models/order_mailer.rb +9 -4
- data/app/models/preference.rb +51 -0
- data/app/models/product.rb +63 -10
- data/app/models/product_property.rb +15 -0
- data/app/models/property.rb +18 -0
- data/app/models/prototype.rb +4 -0
- data/app/models/state.rb +3 -0
- data/app/models/state_event.rb +8 -0
- data/app/models/tax_category.rb +3 -0
- data/app/models/taxon.rb +5 -0
- data/app/models/taxonomy.rb +5 -0
- data/app/models/user.rb +10 -15
- data/app/models/variant.rb +38 -13
- data/app/models/variants.rb +2 -0
- data/app/models/zone.rb +37 -0
- data/app/models/zone_member.rb +4 -0
- data/app/presenters/payment_presenter.rb +4 -0
- data/app/views/account/login.html.erb +14 -0
- data/app/views/addresses/_form.html.erb +48 -0
- data/app/views/addresses/_states.html.erb +8 -0
- data/app/views/addresses/edit.html.erb +8 -0
- data/app/views/addresses/new.html.erb +8 -0
- data/app/views/admin/configurations/index.html.erb +42 -0
- data/app/views/admin/configurations/new.html.erb +13 -0
- data/app/views/admin/extensions/index.html.erb +22 -22
- data/app/views/admin/images/new.html.erb +3 -3
- data/app/views/admin/inventory_units/adjust.html.erb +27 -26
- data/app/views/admin/mail_settings/edit.html.erb +85 -0
- data/app/views/admin/mail_settings/show.html.erb +45 -0
- data/app/views/admin/option_types/_form.html.erb +37 -0
- data/app/views/admin/option_types/_option_value.html.erb +5 -0
- data/app/views/admin/option_types/available.html.erb +32 -0
- data/app/views/admin/option_types/edit.html.erb +8 -0
- data/app/views/admin/option_types/index.html.erb +38 -0
- data/app/views/admin/option_types/new.html.erb +8 -0
- data/app/views/admin/option_types/selected.html.erb +38 -0
- data/app/views/admin/orders/{_address.rhtml → _address.html.erb} +0 -0
- data/app/views/admin/orders/index.html.erb +95 -0
- data/app/views/admin/orders/show.html.erb +76 -0
- data/app/views/admin/overview/index.html.erb +3 -0
- data/app/views/admin/product_properties/_product_property.html.erb +22 -0
- data/app/views/admin/product_properties/index.html.erb +39 -0
- data/app/views/admin/products/_form.html.erb +58 -0
- data/app/views/admin/products/_images.html.erb +45 -0
- data/app/views/admin/products/{_option_types.rhtml → _option_types.html.erb} +0 -0
- data/app/views/admin/products/edit.html.erb +7 -0
- data/app/views/admin/products/index.html.erb +59 -0
- data/app/views/admin/products/new.html.erb +7 -0
- data/app/views/admin/products/show.html.erb +4 -0
- data/app/views/admin/properties/_form.html.erb +14 -0
- data/app/views/admin/properties/edit.html.erb +9 -0
- data/app/views/admin/properties/filtered.html.erb +1 -0
- data/app/views/admin/properties/index.html.erb +36 -0
- data/app/views/admin/properties/new.html.erb +9 -0
- data/app/views/admin/prototypes/_form.html.erb +21 -0
- data/app/views/admin/prototypes/available.html.erb +27 -0
- data/app/views/admin/prototypes/edit.html.erb +9 -0
- data/app/views/admin/prototypes/index.html.erb +34 -0
- data/app/views/admin/prototypes/new.html.erb +9 -0
- data/app/views/admin/prototypes/select.rjs +5 -0
- data/app/views/admin/reports/index.html.erb +28 -0
- data/app/views/admin/reports/sales_total.html.erb +28 -0
- data/app/views/admin/states/_form.html.erb +10 -0
- data/app/views/admin/states/_state_list.html.erb +25 -0
- data/app/views/admin/states/edit.html.erb +10 -0
- data/app/views/admin/states/index.html.erb +18 -0
- data/app/views/admin/states/new.html.erb +10 -0
- data/app/views/admin/tax_categories/_form.html.erb +11 -0
- data/app/views/admin/tax_categories/edit.html.erb +10 -0
- data/app/views/admin/tax_categories/index.html.erb +27 -0
- data/app/views/admin/tax_categories/new.html.erb +10 -0
- data/{foozah/README → app/views/admin/tax_categories/show.html.erb} +0 -0
- data/app/views/admin/taxonomies/_form.html.erb +9 -0
- data/app/views/admin/taxonomies/_list.html.erb +18 -0
- data/app/views/admin/taxonomies/_manage_products.rhtml +31 -0
- data/app/views/admin/taxonomies/_success.rhtml +1 -0
- data/app/views/admin/taxonomies/_yui_head.html.erb +31 -0
- data/app/views/admin/taxonomies/edit.html.erb +16 -0
- data/app/views/admin/taxonomies/index.html.erb +7 -0
- data/app/views/admin/taxonomies/new.html.erb +9 -0
- data/app/views/admin/taxons/_taxon_table.html.erb +28 -0
- data/app/views/admin/taxons/available.js.erb +36 -0
- data/app/views/admin/taxons/remove.html.erb +1 -0
- data/app/views/admin/taxons/select.html.erb +1 -0
- data/app/views/admin/taxons/selected.html.erb +24 -0
- data/app/views/admin/users/_form.html.erb +22 -0
- data/app/views/admin/users/edit.html.erb +9 -0
- data/app/views/admin/users/index.html.erb +21 -0
- data/app/views/admin/users/new.html.erb +11 -0
- data/app/views/admin/users/show.html.erb +11 -0
- data/app/views/admin/variants/_form.html.erb +32 -0
- data/app/views/admin/variants/edit.html.erb +9 -0
- data/app/views/admin/variants/index.html.erb +48 -0
- data/app/views/admin/variants/new.html.erb +8 -0
- data/app/views/admin/zones/_country.html.erb +15 -0
- data/app/views/admin/zones/_form.html.erb +68 -0
- data/app/views/admin/zones/_function.rjs +11 -0
- data/app/views/admin/zones/_state.html.erb +15 -0
- data/app/views/admin/zones/_zone.html.erb +15 -0
- data/app/views/admin/zones/edit.html.erb +10 -0
- data/app/views/admin/zones/index.html.erb +26 -0
- data/app/views/admin/zones/index.js.erb +1 -0
- data/app/views/admin/zones/new.html.erb +10 -0
- data/app/views/admin/zones/show.html.erb +4 -0
- data/app/views/countries/index.js.erb +1 -0
- data/app/views/creditcard_payments/_form_billing.html.erb +49 -0
- data/app/views/creditcard_payments/_form_credit_card.html.erb +30 -0
- data/app/views/creditcard_payments/_states.html.erb +8 -0
- data/app/views/creditcard_payments/cvv.html.erb +15 -0
- data/app/views/creditcard_payments/new.html.erb +17 -0
- data/app/views/layouts/admin.html.erb +67 -0
- data/app/views/layouts/application.html.erb +79 -0
- data/app/views/line_items/index.html.erb +1 -0
- data/app/views/order_mailer/cancel.html.erb +15 -0
- data/app/views/order_mailer/confirm.html.erb +18 -0
- data/app/views/orders/_form.html.erb +15 -0
- data/app/views/orders/_line_item.html.erb +20 -0
- data/app/views/orders/edit.html.erb +20 -0
- data/app/views/orders/new.html.erb +6 -0
- data/app/views/orders/show.html.erb +11 -0
- data/app/views/{store → products}/_image.html.erb +0 -0
- data/app/views/products/_products.html.erb +10 -0
- data/app/views/products/_thumbnails.html.erb +8 -0
- data/app/views/products/index.html.erb +11 -0
- data/app/views/products/show.html.erb +60 -0
- data/app/views/shared/_edit_resource_links.html.erb +1 -0
- data/app/views/shared/_footer.html.erb +5 -0
- data/app/views/shared/_new_resource_links.html.erb +1 -0
- data/app/views/shared/_order_details.html.erb +35 -0
- data/app/views/shared/_paginate.html.erb +34 -0
- data/app/views/shared/_product_sub_menu.html.erb +10 -0
- data/app/views/shared/_product_tabs.html.erb +29 -0
- data/app/views/shared/_products.html.erb +13 -0
- data/app/views/shared/_report_criteria.html.erb +33 -0
- data/app/views/shared/_show_resource_links.html.erb +3 -0
- data/app/views/shared/_store_menu.html.erb +5 -0
- data/app/views/shared/_taxonomies.html.erb +8 -0
- data/app/views/states/index.js.erb +1 -0
- data/app/views/taxons/_taxon.html.erb +5 -0
- data/app/views/taxons/show.html.erb +8 -0
- data/app/views/users/_form.html.erb +8 -6
- data/app/views/users/edit.html.erb +3 -3
- data/app/views/users/index.html.erb +16 -16
- data/app/views/users/new.html.erb +3 -5
- data/app/views/users/show.html.erb +3 -3
- data/bin/spree +9 -3
- data/config/boot.rb +62 -53
- data/config/database.yml +32 -10
- data/config/easy_role_permissions.yml +75 -0
- data/config/environment.rb +51 -72
- data/config/environments/development.rb +3 -1
- data/config/environments/staging.rb +13 -0
- data/config/environments/test.rb +4 -1
- data/config/initializers/mime_types.rb +8 -0
- data/config/initializers/spree.rb +40 -0
- data/config/routes.rb +39 -9
- data/db/migrate/20080620113300_create_taxonomies.rb +13 -0
- data/db/migrate/20080620113400_create_taxons.rb +16 -0
- data/db/migrate/20080622173128_drop_extension_meta.rb +13 -0
- data/db/migrate/20080622194800_create_prototypes.rb +13 -0
- data/db/migrate/20080622194830_create_properties.rb +13 -0
- data/db/migrate/20080622195000_create_properties_prototypes.rb +12 -0
- data/db/migrate/20080622195100_create_property_values.rb +14 -0
- data/db/migrate/20080630003326_create_zones.rb +13 -0
- data/db/migrate/20080630150630_create_preferences.rb +19 -0
- data/db/migrate/20080630152702_add_iso_country_information.rb +248 -0
- data/db/migrate/20080630154400_create_countries_zones.rb +12 -0
- data/db/migrate/20080630215310_create_zone_members.rb +13 -0
- data/db/migrate/20080703184654_update_country_rename_name.rb +20 -0
- data/db/migrate/20080704181428_create_app_configurations.rb +12 -0
- data/db/migrate/20080704190355_add_permalink_and_published_to_products.rb +15 -0
- data/db/migrate/20080706233224_create_eu_vat_zone.rb +19 -0
- data/db/migrate/20080707002329_create_tax_categories.rb +21 -0
- data/db/migrate/20080708170103_remove_login.rb +9 -0
- data/db/migrate/20080715014028_add_optimistic_locking_to_cart.rb +13 -0
- data/db/migrate/20080716155613_products_taxons.rb +12 -0
- data/db/migrate/20080720190623_rename_txn_table.rb +9 -0
- data/db/migrate/20080729213052_drop_categories.rb +8 -0
- data/db/migrate/20080803010846_remove_prototype_presentation.rb +13 -0
- data/db/migrate/20080807214829_create_product_property.rb +15 -0
- data/db/migrate/20080815173251_remove_cart.rb +10 -0
- data/db/migrate/20080830173354_add_checkout_state_to_order.rb +13 -0
- data/db/migrate/20080901002711_address_refactor.rb +14 -0
- data/db/migrate/20080902001408_create_creditcard_payments.rb +17 -0
- data/db/migrate/20080904150723_refactor_order_state.rb +33 -0
- data/db/migrate/20080904234457_create_state_events.rb +15 -0
- data/db/migrate/20080905012833_add_inventory_state.rb +13 -0
- data/db/migrate/20080906174748_change_inventory_state_type.rb +8 -0
- data/db/migrate/20080909100504_add_state_name_to_address.rb +9 -0
- data/db/migrate/20080915211650_remove_user_address.rb +10 -0
- data/db/migrate/20080918083321_remove_presentation_from_taxonomy.rb +11 -0
- data/db/migrate/20080918140438_rename_app_configuration.rb +16 -0
- data/db/sample/addresses.yml +8 -7
- data/db/sample/creditcard_payments.yml +10 -0
- data/db/sample/creditcard_txns.yml +7 -0
- data/db/sample/images.yml +51 -1
- data/db/sample/inventory_units.yml +19 -24
- data/db/sample/orders.yml +2 -4
- data/db/sample/product_properties.yml +136 -0
- data/db/sample/products.yml +26 -7
- data/db/sample/properties.yml +39 -0
- data/db/sample/prototypes.yml +9 -0
- data/db/sample/states.yml +52 -2
- data/db/sample/tax_categories.yml +6 -0
- data/db/sample/taxonomies.yml +4 -0
- data/db/sample/taxons.yml +61 -0
- data/db/sample/users.yml +0 -1
- data/db/sample/variants.yml +9 -1
- data/lang/ui/de-DE.yml +207 -0
- data/lang/ui/en-US.yml +225 -0
- data/lang/ui/es-ES.yml +202 -0
- data/lang/ui/it-IT.yml +194 -0
- data/lang/ui/pl-PL.yml +213 -0
- data/lang/ui/pt-BR.yml +219 -0
- data/lib/authenticated_system.rb +3 -3
- data/lib/authenticated_test_helper.rb +1 -1
- data/lib/commands/extension.rb +250 -0
- data/lib/easy_role_requirement_system.rb +1 -1
- data/lib/gateway_error.rb +1 -0
- data/lib/generators/extension/extension_generator.rb +11 -10
- data/lib/generators/extension/templates/{README → README.markdown} +0 -0
- data/lib/generators/extension/templates/Rakefile +0 -0
- data/lib/generators/extension/templates/tasks.rake +1 -12
- data/lib/generators/extension_controller/extension_controller_generator.rb +19 -19
- data/lib/generators/extension_controller/templates/{view.rhtml → view.html.erb} +0 -0
- data/lib/generators/instance/instance_generator.rb +24 -8
- data/lib/plugins/extension_patches/init.rb +2 -1
- data/lib/plugins/extension_patches/lib/asset_copy.rb +63 -0
- data/lib/plugins/extension_patches/lib/routing_extension.rb +1 -1
- data/lib/preference_access.rb +27 -0
- data/lib/profiler/add_to_cart_profiler.rb +2 -0
- data/lib/profiler/product_details_profiler.rb +2 -0
- data/lib/role_requirement_system.rb +10 -8
- data/lib/spree.rb +1 -1
- data/lib/spree/config.rb +20 -0
- data/lib/spree/gateway_error.rb +3 -0
- data/lib/spree/initializer.rb +19 -16
- data/lib/spree/preferences/mail_settings.rb +57 -0
- data/lib/spree/preferences/model_hooks.rb +290 -0
- data/lib/spree/preferences/preference_definition.rb +53 -0
- data/lib/spree/setup.rb +9 -29
- data/lib/spree/support/core_extensions/array.rb +23 -0
- data/lib/spree/support/core_extensions/string.rb +18 -0
- data/lib/tasks/database.rake +13 -22
- data/lib/tasks/extensions.rake +65 -59
- data/lib/tasks/framework.rake +34 -31
- data/lib/tasks/release.rake +4 -1
- data/lib/tasks/sample/products/0000/1004/apache_baseball.png +0 -0
- data/lib/tasks/sample/products/0000/1004/apache_baseball_mini.png +0 -0
- data/lib/tasks/sample/products/0000/1004/apache_baseball_product.png +0 -0
- data/lib/tasks/sample/products/0000/1004/apache_baseball_small.png +0 -0
- data/lib/tasks/sample/products/0000/1008/ruby_baseball.png +0 -0
- data/lib/tasks/sample/products/0000/1008/ruby_baseball_mini.png +0 -0
- data/lib/tasks/sample/products/0000/1008/ruby_baseball_product.png +0 -0
- data/lib/tasks/sample/products/0000/1008/ruby_baseball_small.png +0 -0
- data/public/{.htaccess → .htaccess.example} +0 -0
- data/public/images/breadcrumb.gif +0 -0
- data/public/images/flags/ad.png +0 -0
- data/public/images/flags/ae.png +0 -0
- data/public/images/flags/af.png +0 -0
- data/public/images/flags/ag.png +0 -0
- data/public/images/flags/ai.png +0 -0
- data/public/images/flags/al.png +0 -0
- data/public/images/flags/am.png +0 -0
- data/public/images/flags/an.png +0 -0
- data/public/images/flags/ao.png +0 -0
- data/public/images/flags/ar.png +0 -0
- data/public/images/flags/as.png +0 -0
- data/public/images/flags/at.png +0 -0
- data/public/images/flags/au.png +0 -0
- data/public/images/flags/aw.png +0 -0
- data/public/images/flags/ax.png +0 -0
- data/public/images/flags/az.png +0 -0
- data/public/images/flags/ba.png +0 -0
- data/public/images/flags/bb.png +0 -0
- data/public/images/flags/bd.png +0 -0
- data/public/images/flags/be.png +0 -0
- data/public/images/flags/bf.png +0 -0
- data/public/images/flags/bg.png +0 -0
- data/public/images/flags/bh.png +0 -0
- data/public/images/flags/bi.png +0 -0
- data/public/images/flags/bj.png +0 -0
- data/public/images/flags/bm.png +0 -0
- data/public/images/flags/bn.png +0 -0
- data/public/images/flags/bo.png +0 -0
- data/public/images/flags/br.png +0 -0
- data/public/images/flags/bs.png +0 -0
- data/public/images/flags/bt.png +0 -0
- data/public/images/flags/bv.png +0 -0
- data/public/images/flags/bw.png +0 -0
- data/public/images/flags/by.png +0 -0
- data/public/images/flags/bz.png +0 -0
- data/public/images/flags/ca.png +0 -0
- data/public/images/flags/catalonia.png +0 -0
- data/public/images/flags/cc.png +0 -0
- data/public/images/flags/cd.png +0 -0
- data/public/images/flags/cf.png +0 -0
- data/public/images/flags/cg.png +0 -0
- data/public/images/flags/ch.png +0 -0
- data/public/images/flags/ci.png +0 -0
- data/public/images/flags/ck.png +0 -0
- data/public/images/flags/cl.png +0 -0
- data/public/images/flags/cm.png +0 -0
- data/public/images/flags/cn.png +0 -0
- data/public/images/flags/co.png +0 -0
- data/public/images/flags/cr.png +0 -0
- data/public/images/flags/cs.png +0 -0
- data/public/images/flags/cu.png +0 -0
- data/public/images/flags/cv.png +0 -0
- data/public/images/flags/cx.png +0 -0
- data/public/images/flags/cy.png +0 -0
- data/public/images/flags/cz.png +0 -0
- data/public/images/flags/de.png +0 -0
- data/public/images/flags/dj.png +0 -0
- data/public/images/flags/dk.png +0 -0
- data/public/images/flags/dm.png +0 -0
- data/public/images/flags/do.png +0 -0
- data/public/images/flags/dz.png +0 -0
- data/public/images/flags/ec.png +0 -0
- data/public/images/flags/ee.png +0 -0
- data/public/images/flags/eg.png +0 -0
- data/public/images/flags/eh.png +0 -0
- data/public/images/flags/england.png +0 -0
- data/public/images/flags/er.png +0 -0
- data/public/images/flags/es.png +0 -0
- data/public/images/flags/et.png +0 -0
- data/public/images/flags/europeanunion.png +0 -0
- data/public/images/flags/fam.png +0 -0
- data/public/images/flags/fi.png +0 -0
- data/public/images/flags/fj.png +0 -0
- data/public/images/flags/fk.png +0 -0
- data/public/images/flags/fm.png +0 -0
- data/public/images/flags/fo.png +0 -0
- data/public/images/flags/fr.png +0 -0
- data/public/images/flags/ga.png +0 -0
- data/public/images/flags/gb.png +0 -0
- data/public/images/flags/gd.png +0 -0
- data/public/images/flags/ge.png +0 -0
- data/public/images/flags/gf.png +0 -0
- data/public/images/flags/gh.png +0 -0
- data/public/images/flags/gi.png +0 -0
- data/public/images/flags/gl.png +0 -0
- data/public/images/flags/gm.png +0 -0
- data/public/images/flags/gn.png +0 -0
- data/public/images/flags/gp.png +0 -0
- data/public/images/flags/gq.png +0 -0
- data/public/images/flags/gr.png +0 -0
- data/public/images/flags/gs.png +0 -0
- data/public/images/flags/gt.png +0 -0
- data/public/images/flags/gu.png +0 -0
- data/public/images/flags/gw.png +0 -0
- data/public/images/flags/gy.png +0 -0
- data/public/images/flags/hk.png +0 -0
- data/public/images/flags/hm.png +0 -0
- data/public/images/flags/hn.png +0 -0
- data/public/images/flags/hr.png +0 -0
- data/public/images/flags/ht.png +0 -0
- data/public/images/flags/hu.png +0 -0
- data/public/images/flags/id.png +0 -0
- data/public/images/flags/ie.png +0 -0
- data/public/images/flags/il.png +0 -0
- data/public/images/flags/in.png +0 -0
- data/public/images/flags/io.png +0 -0
- data/public/images/flags/iq.png +0 -0
- data/public/images/flags/ir.png +0 -0
- data/public/images/flags/is.png +0 -0
- data/public/images/flags/it.png +0 -0
- data/public/images/flags/jm.png +0 -0
- data/public/images/flags/jo.png +0 -0
- data/public/images/flags/jp.png +0 -0
- data/public/images/flags/ke.png +0 -0
- data/public/images/flags/kg.png +0 -0
- data/public/images/flags/kh.png +0 -0
- data/public/images/flags/ki.png +0 -0
- data/public/images/flags/km.png +0 -0
- data/public/images/flags/kn.png +0 -0
- data/public/images/flags/kp.png +0 -0
- data/public/images/flags/kr.png +0 -0
- data/public/images/flags/kw.png +0 -0
- data/public/images/flags/ky.png +0 -0
- data/public/images/flags/kz.png +0 -0
- data/public/images/flags/la.png +0 -0
- data/public/images/flags/lb.png +0 -0
- data/public/images/flags/lc.png +0 -0
- data/public/images/flags/li.png +0 -0
- data/public/images/flags/lk.png +0 -0
- data/public/images/flags/lr.png +0 -0
- data/public/images/flags/ls.png +0 -0
- data/public/images/flags/lt.png +0 -0
- data/public/images/flags/lu.png +0 -0
- data/public/images/flags/lv.png +0 -0
- data/public/images/flags/ly.png +0 -0
- data/public/images/flags/ma.png +0 -0
- data/public/images/flags/mc.png +0 -0
- data/public/images/flags/md.png +0 -0
- data/public/images/flags/me.png +0 -0
- data/public/images/flags/mg.png +0 -0
- data/public/images/flags/mh.png +0 -0
- data/public/images/flags/mk.png +0 -0
- data/public/images/flags/ml.png +0 -0
- data/public/images/flags/mm.png +0 -0
- data/public/images/flags/mn.png +0 -0
- data/public/images/flags/mo.png +0 -0
- data/public/images/flags/mp.png +0 -0
- data/public/images/flags/mq.png +0 -0
- data/public/images/flags/mr.png +0 -0
- data/public/images/flags/ms.png +0 -0
- data/public/images/flags/mt.png +0 -0
- data/public/images/flags/mu.png +0 -0
- data/public/images/flags/mv.png +0 -0
- data/public/images/flags/mw.png +0 -0
- data/public/images/flags/mx.png +0 -0
- data/public/images/flags/my.png +0 -0
- data/public/images/flags/mz.png +0 -0
- data/public/images/flags/na.png +0 -0
- data/public/images/flags/nc.png +0 -0
- data/public/images/flags/ne.png +0 -0
- data/public/images/flags/nf.png +0 -0
- data/public/images/flags/ng.png +0 -0
- data/public/images/flags/ni.png +0 -0
- data/public/images/flags/nl.png +0 -0
- data/public/images/flags/no.png +0 -0
- data/public/images/flags/np.png +0 -0
- data/public/images/flags/nr.png +0 -0
- data/public/images/flags/nu.png +0 -0
- data/public/images/flags/nz.png +0 -0
- data/public/images/flags/om.png +0 -0
- data/public/images/flags/pa.png +0 -0
- data/public/images/flags/pe.png +0 -0
- data/public/images/flags/pf.png +0 -0
- data/public/images/flags/pg.png +0 -0
- data/public/images/flags/ph.png +0 -0
- data/public/images/flags/pk.png +0 -0
- data/public/images/flags/pl.png +0 -0
- data/public/images/flags/pm.png +0 -0
- data/public/images/flags/pn.png +0 -0
- data/public/images/flags/pr.png +0 -0
- data/public/images/flags/ps.png +0 -0
- data/public/images/flags/pt.png +0 -0
- data/public/images/flags/pw.png +0 -0
- data/public/images/flags/py.png +0 -0
- data/public/images/flags/qa.png +0 -0
- data/public/images/flags/re.png +0 -0
- data/public/images/flags/ro.png +0 -0
- data/public/images/flags/rs.png +0 -0
- data/public/images/flags/ru.png +0 -0
- data/public/images/flags/rw.png +0 -0
- data/public/images/flags/sa.png +0 -0
- data/public/images/flags/sb.png +0 -0
- data/public/images/flags/sc.png +0 -0
- data/public/images/flags/scotland.png +0 -0
- data/public/images/flags/sd.png +0 -0
- data/public/images/flags/se.png +0 -0
- data/public/images/flags/sg.png +0 -0
- data/public/images/flags/sh.png +0 -0
- data/public/images/flags/si.png +0 -0
- data/public/images/flags/sj.png +0 -0
- data/public/images/flags/sk.png +0 -0
- data/public/images/flags/sl.png +0 -0
- data/public/images/flags/sm.png +0 -0
- data/public/images/flags/sn.png +0 -0
- data/public/images/flags/so.png +0 -0
- data/public/images/flags/sr.png +0 -0
- data/public/images/flags/st.png +0 -0
- data/public/images/flags/sv.png +0 -0
- data/public/images/flags/sy.png +0 -0
- data/public/images/flags/sz.png +0 -0
- data/public/images/flags/tc.png +0 -0
- data/public/images/flags/td.png +0 -0
- data/public/images/flags/tf.png +0 -0
- data/public/images/flags/tg.png +0 -0
- data/public/images/flags/th.png +0 -0
- data/public/images/flags/tj.png +0 -0
- data/public/images/flags/tk.png +0 -0
- data/public/images/flags/tl.png +0 -0
- data/public/images/flags/tm.png +0 -0
- data/public/images/flags/tn.png +0 -0
- data/public/images/flags/to.png +0 -0
- data/public/images/flags/tr.png +0 -0
- data/public/images/flags/tt.png +0 -0
- data/public/images/flags/tv.png +0 -0
- data/public/images/flags/tw.png +0 -0
- data/public/images/flags/tz.png +0 -0
- data/public/images/flags/ua.png +0 -0
- data/public/images/flags/ug.png +0 -0
- data/public/images/flags/um.png +0 -0
- data/public/images/flags/us.png +0 -0
- data/public/images/flags/uy.png +0 -0
- data/public/images/flags/uz.png +0 -0
- data/public/images/flags/va.png +0 -0
- data/public/images/flags/vc.png +0 -0
- data/public/images/flags/ve.png +0 -0
- data/public/images/flags/vg.png +0 -0
- data/public/images/flags/vi.png +0 -0
- data/public/images/flags/vn.png +0 -0
- data/public/images/flags/vu.png +0 -0
- data/public/images/flags/wales.png +0 -0
- data/public/images/flags/wf.png +0 -0
- data/public/images/flags/ws.png +0 -0
- data/public/images/flags/ye.png +0 -0
- data/public/images/flags/yt.png +0 -0
- data/public/images/flags/za.png +0 -0
- data/public/images/flags/zm.png +0 -0
- data/public/images/flags/zw.png +0 -0
- data/public/images/pp_checkout.gif +0 -0
- data/public/images/tab_bottom.gif +0 -0
- data/public/images/tree-nav-icons/bullet.gif +0 -0
- data/public/images/tree-nav-icons/minus.gif +0 -0
- data/public/images/tree-nav-icons/plus.gif +0 -0
- data/public/javascripts/controls.js +484 -354
- data/public/javascripts/dragdrop.js +88 -58
- data/public/javascripts/effects.js +396 -364
- data/public/javascripts/prototype.js +132 -91
- data/public/javascripts/spree-yui.js +693 -0
- data/public/javascripts/spree.js +9 -0
- data/public/stylesheets/application.css +4 -1
- data/public/stylesheets/orders/_controller.css +105 -1
- data/public/stylesheets/prototypes/_controller.css +9 -0
- data/public/stylesheets/spree-admin.css +174 -4
- data/public/stylesheets/spree.css +142 -42
- data/script/about +0 -0
- data/script/breakpointer +0 -0
- data/script/console +0 -0
- data/script/dbconsole +3 -0
- data/script/destroy +0 -0
- data/script/extension +3 -0
- data/script/generate +0 -0
- data/{vendor/rails/railties/bin → script}/performance/request +0 -0
- data/script/plugin +0 -0
- data/script/runner +0 -0
- data/script/server +0 -0
- data/script/spec +0 -0
- data/script/spec_server +0 -0
- data/spec/controllers/admin/configurations_controller_spec.rb +9 -0
- data/spec/controllers/admin/mail_settings_controller_spec.rb +24 -0
- data/spec/controllers/orders_controller_spec.rb +30 -0
- data/spec/controllers/tax_categories_routing_spec.rb +61 -0
- data/spec/controllers/zones_routing_spec.rb +61 -0
- data/spec/fixtures/app_configurations.yml +7 -0
- data/spec/fixtures/preferences.yml +7 -0
- data/spec/fixtures/tax_categories.yml +4 -0
- data/spec/fixtures/users.yml +1 -2
- data/spec/fixtures/zone_members.yml +7 -0
- data/spec/fixtures/zones.yml +4 -0
- data/spec/helpers/admin/configurations_helper_spec.rb +11 -0
- data/spec/helpers/admin/mail_settings_helper_spec.rb +11 -0
- data/spec/helpers/products_helper_spec.rb +12 -0
- data/spec/helpers/spree/base_helper_spec.rb +25 -1
- data/spec/helpers/tax_categories_helper_spec.rb +11 -0
- data/spec/models/app_configuration_spec.rb +13 -0
- data/spec/models/creditcard_payment_spec.rb +12 -0
- data/spec/models/line_item_spec.rb +66 -21
- data/spec/models/order_spec.rb +80 -25
- data/spec/models/preference_definition_spec.rb +185 -0
- data/spec/models/preference_spec.rb +185 -0
- data/spec/models/product_spec.rb +74 -2
- data/spec/models/state_event_spec.rb +12 -0
- data/spec/models/tax_category_spec.rb +11 -0
- data/spec/models/zone_member_spec.rb +5 -0
- data/spec/models/zone_spec.rb +113 -0
- data/spec/preference_factory.rb +58 -0
- data/spec/spec_helper.rb +1 -0
- data/spec/views/admin/configurations/index.html.erb_spec.rb +8 -0
- data/spec/views/admin/mail_settings/edit.html.erb_spec.rb +14 -0
- data/spec/views/admin/mail_settings/show.html.erb_spec.rb +12 -0
- data/{vendor/rails/railties/helpers → test}/test_helper.rb +0 -0
- data/vendor/extensions/localization/README.rdoc +5 -0
- data/vendor/extensions/localization/Rakefile +120 -0
- data/vendor/extensions/localization/app/controllers/admin/localization_controller.rb +6 -0
- data/vendor/extensions/localization/app/controllers/locale_controller.rb +12 -0
- data/vendor/extensions/localization/app/helpers/locale_helper.rb +2 -0
- data/vendor/extensions/localization/app/helpers/localization_helper.rb +2 -0
- data/vendor/extensions/localization/app/views/shared/_language_bar.html.erb +10 -0
- data/vendor/extensions/localization/lang/ui/de-DE.yml +2 -0
- data/vendor/extensions/localization/lang/ui/en-US.yml +2 -0
- data/vendor/extensions/localization/lang/ui/es-ES.yml +2 -0
- data/vendor/extensions/localization/lang/ui/it-IT.yml +2 -0
- data/vendor/extensions/localization/lib/localization.rb +93 -0
- data/vendor/extensions/localization/lib/localization/user_preferences.rb +9 -0
- data/vendor/extensions/localization/lib/tasks/localization_extension_tasks.rake +17 -0
- data/vendor/extensions/localization/localization_extension.rb +37 -0
- data/vendor/extensions/localization/public/images/flags/ad.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ae.png +0 -0
- data/vendor/extensions/localization/public/images/flags/af.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ag.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ai.png +0 -0
- data/vendor/extensions/localization/public/images/flags/al.png +0 -0
- data/vendor/extensions/localization/public/images/flags/am.png +0 -0
- data/vendor/extensions/localization/public/images/flags/an.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ao.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ar.png +0 -0
- data/vendor/extensions/localization/public/images/flags/as.png +0 -0
- data/vendor/extensions/localization/public/images/flags/at.png +0 -0
- data/vendor/extensions/localization/public/images/flags/au.png +0 -0
- data/vendor/extensions/localization/public/images/flags/aw.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ax.png +0 -0
- data/vendor/extensions/localization/public/images/flags/az.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ba.png +0 -0
- data/vendor/extensions/localization/public/images/flags/bb.png +0 -0
- data/vendor/extensions/localization/public/images/flags/bd.png +0 -0
- data/vendor/extensions/localization/public/images/flags/be.png +0 -0
- data/vendor/extensions/localization/public/images/flags/bf.png +0 -0
- data/vendor/extensions/localization/public/images/flags/bg.png +0 -0
- data/vendor/extensions/localization/public/images/flags/bh.png +0 -0
- data/vendor/extensions/localization/public/images/flags/bi.png +0 -0
- data/vendor/extensions/localization/public/images/flags/bj.png +0 -0
- data/vendor/extensions/localization/public/images/flags/bm.png +0 -0
- data/vendor/extensions/localization/public/images/flags/bn.png +0 -0
- data/vendor/extensions/localization/public/images/flags/bo.png +0 -0
- data/vendor/extensions/localization/public/images/flags/br.png +0 -0
- data/vendor/extensions/localization/public/images/flags/bs.png +0 -0
- data/vendor/extensions/localization/public/images/flags/bt.png +0 -0
- data/vendor/extensions/localization/public/images/flags/bv.png +0 -0
- data/vendor/extensions/localization/public/images/flags/bw.png +0 -0
- data/vendor/extensions/localization/public/images/flags/by.png +0 -0
- data/vendor/extensions/localization/public/images/flags/bz.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ca.png +0 -0
- data/vendor/extensions/localization/public/images/flags/catalonia.png +0 -0
- data/vendor/extensions/localization/public/images/flags/cc.png +0 -0
- data/vendor/extensions/localization/public/images/flags/cd.png +0 -0
- data/vendor/extensions/localization/public/images/flags/cf.png +0 -0
- data/vendor/extensions/localization/public/images/flags/cg.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ch.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ci.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ck.png +0 -0
- data/vendor/extensions/localization/public/images/flags/cl.png +0 -0
- data/vendor/extensions/localization/public/images/flags/cm.png +0 -0
- data/vendor/extensions/localization/public/images/flags/cn.png +0 -0
- data/vendor/extensions/localization/public/images/flags/co.png +0 -0
- data/vendor/extensions/localization/public/images/flags/cr.png +0 -0
- data/vendor/extensions/localization/public/images/flags/cs.png +0 -0
- data/vendor/extensions/localization/public/images/flags/cu.png +0 -0
- data/vendor/extensions/localization/public/images/flags/cv.png +0 -0
- data/vendor/extensions/localization/public/images/flags/cx.png +0 -0
- data/vendor/extensions/localization/public/images/flags/cy.png +0 -0
- data/vendor/extensions/localization/public/images/flags/cz.png +0 -0
- data/vendor/extensions/localization/public/images/flags/de.png +0 -0
- data/vendor/extensions/localization/public/images/flags/dj.png +0 -0
- data/vendor/extensions/localization/public/images/flags/dk.png +0 -0
- data/vendor/extensions/localization/public/images/flags/dm.png +0 -0
- data/vendor/extensions/localization/public/images/flags/do.png +0 -0
- data/vendor/extensions/localization/public/images/flags/dz.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ec.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ee.png +0 -0
- data/vendor/extensions/localization/public/images/flags/eg.png +0 -0
- data/vendor/extensions/localization/public/images/flags/eh.png +0 -0
- data/vendor/extensions/localization/public/images/flags/england.png +0 -0
- data/vendor/extensions/localization/public/images/flags/er.png +0 -0
- data/vendor/extensions/localization/public/images/flags/es.png +0 -0
- data/vendor/extensions/localization/public/images/flags/et.png +0 -0
- data/vendor/extensions/localization/public/images/flags/europeanunion.png +0 -0
- data/vendor/extensions/localization/public/images/flags/fam.png +0 -0
- data/vendor/extensions/localization/public/images/flags/fi.png +0 -0
- data/vendor/extensions/localization/public/images/flags/fj.png +0 -0
- data/vendor/extensions/localization/public/images/flags/fk.png +0 -0
- data/vendor/extensions/localization/public/images/flags/fm.png +0 -0
- data/vendor/extensions/localization/public/images/flags/fo.png +0 -0
- data/vendor/extensions/localization/public/images/flags/fr.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ga.png +0 -0
- data/vendor/extensions/localization/public/images/flags/gb.png +0 -0
- data/vendor/extensions/localization/public/images/flags/gd.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ge.png +0 -0
- data/vendor/extensions/localization/public/images/flags/gf.png +0 -0
- data/vendor/extensions/localization/public/images/flags/gh.png +0 -0
- data/vendor/extensions/localization/public/images/flags/gi.png +0 -0
- data/vendor/extensions/localization/public/images/flags/gl.png +0 -0
- data/vendor/extensions/localization/public/images/flags/gm.png +0 -0
- data/vendor/extensions/localization/public/images/flags/gn.png +0 -0
- data/vendor/extensions/localization/public/images/flags/gp.png +0 -0
- data/vendor/extensions/localization/public/images/flags/gq.png +0 -0
- data/vendor/extensions/localization/public/images/flags/gr.png +0 -0
- data/vendor/extensions/localization/public/images/flags/gs.png +0 -0
- data/vendor/extensions/localization/public/images/flags/gt.png +0 -0
- data/vendor/extensions/localization/public/images/flags/gu.png +0 -0
- data/vendor/extensions/localization/public/images/flags/gw.png +0 -0
- data/vendor/extensions/localization/public/images/flags/gy.png +0 -0
- data/vendor/extensions/localization/public/images/flags/hk.png +0 -0
- data/vendor/extensions/localization/public/images/flags/hm.png +0 -0
- data/vendor/extensions/localization/public/images/flags/hn.png +0 -0
- data/vendor/extensions/localization/public/images/flags/hr.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ht.png +0 -0
- data/vendor/extensions/localization/public/images/flags/hu.png +0 -0
- data/vendor/extensions/localization/public/images/flags/id.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ie.png +0 -0
- data/vendor/extensions/localization/public/images/flags/il.png +0 -0
- data/vendor/extensions/localization/public/images/flags/in.png +0 -0
- data/vendor/extensions/localization/public/images/flags/io.png +0 -0
- data/vendor/extensions/localization/public/images/flags/iq.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ir.png +0 -0
- data/vendor/extensions/localization/public/images/flags/is.png +0 -0
- data/vendor/extensions/localization/public/images/flags/it.png +0 -0
- data/vendor/extensions/localization/public/images/flags/jm.png +0 -0
- data/vendor/extensions/localization/public/images/flags/jo.png +0 -0
- data/vendor/extensions/localization/public/images/flags/jp.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ke.png +0 -0
- data/vendor/extensions/localization/public/images/flags/kg.png +0 -0
- data/vendor/extensions/localization/public/images/flags/kh.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ki.png +0 -0
- data/vendor/extensions/localization/public/images/flags/km.png +0 -0
- data/vendor/extensions/localization/public/images/flags/kn.png +0 -0
- data/vendor/extensions/localization/public/images/flags/kp.png +0 -0
- data/vendor/extensions/localization/public/images/flags/kr.png +0 -0
- data/vendor/extensions/localization/public/images/flags/kw.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ky.png +0 -0
- data/vendor/extensions/localization/public/images/flags/kz.png +0 -0
- data/vendor/extensions/localization/public/images/flags/la.png +0 -0
- data/vendor/extensions/localization/public/images/flags/lb.png +0 -0
- data/vendor/extensions/localization/public/images/flags/lc.png +0 -0
- data/vendor/extensions/localization/public/images/flags/li.png +0 -0
- data/vendor/extensions/localization/public/images/flags/lk.png +0 -0
- data/vendor/extensions/localization/public/images/flags/lr.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ls.png +0 -0
- data/vendor/extensions/localization/public/images/flags/lt.png +0 -0
- data/vendor/extensions/localization/public/images/flags/lu.png +0 -0
- data/vendor/extensions/localization/public/images/flags/lv.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ly.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ma.png +0 -0
- data/vendor/extensions/localization/public/images/flags/mc.png +0 -0
- data/vendor/extensions/localization/public/images/flags/md.png +0 -0
- data/vendor/extensions/localization/public/images/flags/me.png +0 -0
- data/vendor/extensions/localization/public/images/flags/mg.png +0 -0
- data/vendor/extensions/localization/public/images/flags/mh.png +0 -0
- data/vendor/extensions/localization/public/images/flags/mk.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ml.png +0 -0
- data/vendor/extensions/localization/public/images/flags/mm.png +0 -0
- data/vendor/extensions/localization/public/images/flags/mn.png +0 -0
- data/vendor/extensions/localization/public/images/flags/mo.png +0 -0
- data/vendor/extensions/localization/public/images/flags/mp.png +0 -0
- data/vendor/extensions/localization/public/images/flags/mq.png +0 -0
- data/vendor/extensions/localization/public/images/flags/mr.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ms.png +0 -0
- data/vendor/extensions/localization/public/images/flags/mt.png +0 -0
- data/vendor/extensions/localization/public/images/flags/mu.png +0 -0
- data/vendor/extensions/localization/public/images/flags/mv.png +0 -0
- data/vendor/extensions/localization/public/images/flags/mw.png +0 -0
- data/vendor/extensions/localization/public/images/flags/mx.png +0 -0
- data/vendor/extensions/localization/public/images/flags/my.png +0 -0
- data/vendor/extensions/localization/public/images/flags/mz.png +0 -0
- data/vendor/extensions/localization/public/images/flags/na.png +0 -0
- data/vendor/extensions/localization/public/images/flags/nc.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ne.png +0 -0
- data/vendor/extensions/localization/public/images/flags/nf.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ng.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ni.png +0 -0
- data/vendor/extensions/localization/public/images/flags/nl.png +0 -0
- data/vendor/extensions/localization/public/images/flags/no.png +0 -0
- data/vendor/extensions/localization/public/images/flags/np.png +0 -0
- data/vendor/extensions/localization/public/images/flags/nr.png +0 -0
- data/vendor/extensions/localization/public/images/flags/nu.png +0 -0
- data/vendor/extensions/localization/public/images/flags/nz.png +0 -0
- data/vendor/extensions/localization/public/images/flags/om.png +0 -0
- data/vendor/extensions/localization/public/images/flags/pa.png +0 -0
- data/vendor/extensions/localization/public/images/flags/pe.png +0 -0
- data/vendor/extensions/localization/public/images/flags/pf.png +0 -0
- data/vendor/extensions/localization/public/images/flags/pg.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ph.png +0 -0
- data/vendor/extensions/localization/public/images/flags/pk.png +0 -0
- data/vendor/extensions/localization/public/images/flags/pl.png +0 -0
- data/vendor/extensions/localization/public/images/flags/pm.png +0 -0
- data/vendor/extensions/localization/public/images/flags/pn.png +0 -0
- data/vendor/extensions/localization/public/images/flags/pr.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ps.png +0 -0
- data/vendor/extensions/localization/public/images/flags/pt.png +0 -0
- data/vendor/extensions/localization/public/images/flags/pw.png +0 -0
- data/vendor/extensions/localization/public/images/flags/py.png +0 -0
- data/vendor/extensions/localization/public/images/flags/qa.png +0 -0
- data/vendor/extensions/localization/public/images/flags/re.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ro.png +0 -0
- data/vendor/extensions/localization/public/images/flags/rs.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ru.png +0 -0
- data/vendor/extensions/localization/public/images/flags/rw.png +0 -0
- data/vendor/extensions/localization/public/images/flags/sa.png +0 -0
- data/vendor/extensions/localization/public/images/flags/sb.png +0 -0
- data/vendor/extensions/localization/public/images/flags/sc.png +0 -0
- data/vendor/extensions/localization/public/images/flags/scotland.png +0 -0
- data/vendor/extensions/localization/public/images/flags/sd.png +0 -0
- data/vendor/extensions/localization/public/images/flags/se.png +0 -0
- data/vendor/extensions/localization/public/images/flags/sg.png +0 -0
- data/vendor/extensions/localization/public/images/flags/sh.png +0 -0
- data/vendor/extensions/localization/public/images/flags/si.png +0 -0
- data/vendor/extensions/localization/public/images/flags/sj.png +0 -0
- data/vendor/extensions/localization/public/images/flags/sk.png +0 -0
- data/vendor/extensions/localization/public/images/flags/sl.png +0 -0
- data/vendor/extensions/localization/public/images/flags/sm.png +0 -0
- data/vendor/extensions/localization/public/images/flags/sn.png +0 -0
- data/vendor/extensions/localization/public/images/flags/so.png +0 -0
- data/vendor/extensions/localization/public/images/flags/sr.png +0 -0
- data/vendor/extensions/localization/public/images/flags/st.png +0 -0
- data/vendor/extensions/localization/public/images/flags/sv.png +0 -0
- data/vendor/extensions/localization/public/images/flags/sy.png +0 -0
- data/vendor/extensions/localization/public/images/flags/sz.png +0 -0
- data/vendor/extensions/localization/public/images/flags/tc.png +0 -0
- data/vendor/extensions/localization/public/images/flags/td.png +0 -0
- data/vendor/extensions/localization/public/images/flags/tf.png +0 -0
- data/vendor/extensions/localization/public/images/flags/tg.png +0 -0
- data/vendor/extensions/localization/public/images/flags/th.png +0 -0
- data/vendor/extensions/localization/public/images/flags/tj.png +0 -0
- data/vendor/extensions/localization/public/images/flags/tk.png +0 -0
- data/vendor/extensions/localization/public/images/flags/tl.png +0 -0
- data/vendor/extensions/localization/public/images/flags/tm.png +0 -0
- data/vendor/extensions/localization/public/images/flags/tn.png +0 -0
- data/vendor/extensions/localization/public/images/flags/to.png +0 -0
- data/vendor/extensions/localization/public/images/flags/tr.png +0 -0
- data/vendor/extensions/localization/public/images/flags/tt.png +0 -0
- data/vendor/extensions/localization/public/images/flags/tv.png +0 -0
- data/vendor/extensions/localization/public/images/flags/tw.png +0 -0
- data/vendor/extensions/localization/public/images/flags/tz.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ua.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ug.png +0 -0
- data/vendor/extensions/localization/public/images/flags/um.png +0 -0
- data/vendor/extensions/localization/public/images/flags/us.png +0 -0
- data/vendor/extensions/localization/public/images/flags/uy.png +0 -0
- data/vendor/extensions/localization/public/images/flags/uz.png +0 -0
- data/vendor/extensions/localization/public/images/flags/va.png +0 -0
- data/vendor/extensions/localization/public/images/flags/vc.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ve.png +0 -0
- data/vendor/extensions/localization/public/images/flags/vg.png +0 -0
- data/vendor/extensions/localization/public/images/flags/vi.png +0 -0
- data/vendor/extensions/localization/public/images/flags/vn.png +0 -0
- data/vendor/extensions/localization/public/images/flags/vu.png +0 -0
- data/vendor/extensions/localization/public/images/flags/wales.png +0 -0
- data/vendor/extensions/localization/public/images/flags/wf.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ws.png +0 -0
- data/vendor/extensions/localization/public/images/flags/ye.png +0 -0
- data/vendor/extensions/localization/public/images/flags/yt.png +0 -0
- data/vendor/extensions/localization/public/images/flags/za.png +0 -0
- data/vendor/extensions/localization/public/images/flags/zm.png +0 -0
- data/vendor/extensions/localization/public/images/flags/zw.png +0 -0
- data/vendor/extensions/localization/spec/controllers/admin/localization_controller_spec.rb +10 -0
- data/vendor/extensions/localization/spec/controllers/locale_controller_spec.rb +35 -0
- data/vendor/extensions/localization/spec/helpers/locale_helper_spec.rb +5 -0
- data/vendor/extensions/localization/spec/helpers/localization_helper_spec.rb +5 -0
- data/vendor/{plugins/rspec_on_rails/generators/rspec/templates → extensions/localization/spec}/spec.opts +0 -0
- data/vendor/extensions/localization/spec/spec_helper.rb +37 -0
- data/vendor/extensions/payment_gateway/README_PAYPAL.markdown +21 -0
- data/vendor/extensions/payment_gateway/app/controllers/admin/gateway_configurations_controller.rb +2 -0
- data/vendor/extensions/payment_gateway/app/controllers/admin/gateway_option_values_controller.rb +2 -0
- data/vendor/extensions/payment_gateway/app/controllers/admin/gateways_controller.rb +1 -0
- data/vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/_form.html.erb +3 -3
- data/vendor/extensions/payment_gateway/db/migrate/{001_create_gateway_configurations.rb → 20080620120002_create_gateway_configurations.rb} +0 -0
- data/vendor/extensions/payment_gateway/db/migrate/{002_create_gateways.rb → 20080620120003_create_gateways.rb} +0 -0
- data/vendor/extensions/payment_gateway/db/migrate/{003_create_gateway_options.rb → 20080620120004_create_gateway_options.rb} +0 -0
- data/vendor/extensions/payment_gateway/db/migrate/{004_create_gateway_option_values.rb → 20080620120005_create_gateway_option_values.rb} +0 -0
- data/vendor/extensions/payment_gateway/db/migrate/{005_create_bogus_gateway.rb → 20080620120006_create_bogus_gateway.rb} +0 -0
- data/vendor/extensions/payment_gateway/db/migrate/{006_create_linkpoint_gateway.rb → 20080620120007_create_linkpoint_gateway.rb} +0 -0
- data/vendor/extensions/payment_gateway/db/migrate/20080703120008_create_paypal_gateway.rb +19 -0
- data/vendor/extensions/payment_gateway/lib/spree/payment_gateway.rb +60 -2
- data/vendor/extensions/payment_gateway/lib/tasks/payment_gateway_extension_tasks.rake +1 -11
- data/vendor/extensions/payment_gateway/payment_gateway_extension.rb +9 -2
- data/vendor/extensions/payment_gateway/spec/helpers/admin/gateways_helper_spec.rb +0 -5
- data/vendor/extensions/payment_gateway/spec/models/creditcard_payment_spec.rb +24 -0
- data/vendor/extensions/payment_gateway/spec/models/order_spec.rb +42 -0
- data/vendor/extensions/tax_calculator/app/controllers/admin/tax_rates_controller.rb +19 -3
- data/vendor/extensions/tax_calculator/app/models/tax_rate.rb +7 -4
- data/vendor/extensions/tax_calculator/app/views/admin/tax_rates/_form.html.erb +14 -4
- data/vendor/extensions/tax_calculator/app/views/admin/tax_rates/edit.html.erb +2 -1
- data/vendor/extensions/tax_calculator/app/views/admin/tax_rates/index.html.erb +14 -10
- data/vendor/extensions/tax_calculator/app/views/admin/tax_rates/new.html.erb +3 -5
- data/vendor/extensions/tax_calculator/db/migrate/20080620100001_create_tax_rates.rb +13 -0
- data/vendor/extensions/tax_calculator/db/migrate/20080704192456_update_tax_rates_add_zones_etc.rb +17 -0
- data/vendor/extensions/tax_calculator/lang/en-US.yml +11 -0
- data/vendor/extensions/tax_calculator/lang/pt-BR.yml +11 -0
- data/vendor/extensions/tax_calculator/lib/spree/sales_tax_calculator.rb +23 -0
- data/vendor/extensions/tax_calculator/lib/spree/tax/config.rb +22 -0
- data/vendor/extensions/tax_calculator/lib/spree/tax_calculator.rb +15 -14
- data/vendor/extensions/tax_calculator/lib/spree/vat_calculator.rb +47 -0
- data/vendor/extensions/tax_calculator/lib/tasks/tax_calculator_extension_tasks.rake +0 -10
- data/vendor/extensions/tax_calculator/lib/tax_configuration.rb +7 -0
- data/vendor/extensions/tax_calculator/spec/controllers/tax_calculator_spec.rb +3 -20
- data/vendor/extensions/tax_calculator/spec/helpers/admin/tax_rates_helper_spec.rb +1 -6
- data/vendor/extensions/tax_calculator/spec/helpers/products_helper_spec.rb +85 -0
- data/vendor/extensions/tax_calculator/spec/models/order_spec.rb +22 -0
- data/vendor/extensions/tax_calculator/spec/models/sales_tax_calculator_spec.rb +53 -0
- data/vendor/extensions/tax_calculator/spec/models/tax_calculator_spec.rb +54 -0
- data/vendor/extensions/tax_calculator/spec/models/tax_rate_spec.rb +5 -14
- data/vendor/extensions/tax_calculator/spec/models/vat_calculator_spec.rb +56 -0
- data/vendor/extensions/tax_calculator/tax_calculator_extension.rb +29 -3
- data/vendor/gems/active_presenter-0.0.4/LICENSE +22 -0
- data/vendor/gems/active_presenter-0.0.4/README +75 -0
- data/vendor/gems/active_presenter-0.0.4/Rakefile +10 -0
- data/vendor/gems/active_presenter-0.0.4/lib/active_presenter.rb +7 -0
- data/vendor/gems/active_presenter-0.0.4/lib/active_presenter/base.rb +174 -0
- data/vendor/gems/active_presenter-0.0.4/lib/active_presenter/version.rb +9 -0
- data/vendor/gems/active_presenter-0.0.4/lib/tasks/doc.rake +19 -0
- data/vendor/gems/active_presenter-0.0.4/lib/tasks/gem.rake +62 -0
- data/vendor/gems/active_presenter-0.0.4/test/base_test.rb +152 -0
- data/vendor/gems/active_presenter-0.0.4/test/test_helper.rb +38 -0
- data/vendor/plugins/acts_as_adjacency_list/MIT-LICENSE +20 -0
- data/vendor/plugins/acts_as_adjacency_list/README +13 -0
- data/vendor/plugins/acts_as_adjacency_list/Rakefile +22 -0
- data/vendor/plugins/acts_as_adjacency_list/init.rb +9 -0
- data/vendor/{rails/railties/lib/rails_generator/generators/components/plugin/templates → plugins/acts_as_adjacency_list}/install.rb +0 -0
- data/vendor/plugins/acts_as_adjacency_list/lib/active_record/acts/adjacency_list.rb +237 -0
- data/vendor/plugins/acts_as_adjacency_list/tasks/acts_as_adjacency_list_tasks.rake +4 -0
- data/vendor/plugins/acts_as_adjacency_list/test/acts_as_adjacency_list_test.rb +293 -0
- data/vendor/{rails/railties/lib/rails_generator/generators/components/plugin/templates → plugins/acts_as_adjacency_list}/uninstall.rb +0 -0
- data/vendor/plugins/attachment_fu/CHANGELOG +12 -1
- data/vendor/plugins/attachment_fu/README +25 -1
- data/vendor/plugins/attachment_fu/init.rb +3 -1
- data/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb +171 -108
- data/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/file_system_backend.rb +8 -4
- data/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/s3_backend.rb +6 -12
- data/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/core_image_processor.rb +59 -0
- data/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/gd2_processor.rb +54 -0
- data/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/image_science_processor.rb +1 -1
- data/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/mini_magick_processor.rb +12 -9
- data/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/rmagick_processor.rb +5 -4
- data/vendor/plugins/attachment_fu/test/backends/remote/s3_test.rb +17 -1
- data/vendor/plugins/attachment_fu/test/base_attachment_tests.rb +20 -0
- data/vendor/plugins/attachment_fu/test/basic_test.rb +6 -0
- data/vendor/plugins/attachment_fu/test/extra_attachment_test.rb +10 -0
- data/vendor/plugins/attachment_fu/test/fixtures/attachment.rb +22 -1
- data/vendor/plugins/attachment_fu/test/processors/core_image_test.rb +37 -0
- data/vendor/plugins/attachment_fu/test/processors/gd2_test.rb +31 -0
- data/vendor/plugins/attachment_fu/test/processors/rmagick_test.rb +19 -5
- data/vendor/plugins/attachment_fu/test/schema.rb +22 -0
- data/vendor/plugins/attachment_fu/test/test_helper.rb +10 -2
- data/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/filters/color.rb +27 -0
- data/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/filters/effects.rb +31 -0
- data/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/filters/perspective.rb +25 -0
- data/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/filters/quality.rb +25 -0
- data/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/filters/scale.rb +47 -0
- data/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/filters/watermark.rb +32 -0
- data/vendor/plugins/attachment_fu/vendor/red_artisan/core_image/processor.rb +123 -0
- data/vendor/plugins/attribute_fu/MIT-LICENSE +20 -0
- data/vendor/plugins/attribute_fu/README +115 -0
- data/vendor/plugins/attribute_fu/Rakefile +22 -0
- data/vendor/plugins/attribute_fu/init.rb +4 -0
- data/vendor/plugins/attribute_fu/lib/attribute_fu.rb +2 -0
- data/vendor/plugins/attribute_fu/lib/attribute_fu/associated_form_helper.rb +139 -0
- data/vendor/plugins/attribute_fu/lib/attribute_fu/associations.rb +124 -0
- data/vendor/plugins/attribute_fu/tasks/attribute_fu_tasks.rake +4 -0
- data/vendor/{rails/railties/fresh_rakefile → plugins/attribute_fu/test/Rakefile} +0 -0
- data/vendor/plugins/attribute_fu/test/app/controllers/application.rb +10 -0
- data/vendor/{rails/railties → plugins/attribute_fu/test/app}/helpers/application_helper.rb +0 -0
- data/vendor/plugins/attribute_fu/test/app/models/comment.rb +8 -0
- data/vendor/plugins/attribute_fu/test/app/models/photo.rb +3 -0
- data/vendor/plugins/attribute_fu/test/config/boot.rb +97 -0
- data/vendor/plugins/attribute_fu/test/config/database.yml +15 -0
- data/vendor/plugins/attribute_fu/test/config/environment.rb +15 -0
- data/vendor/plugins/attribute_fu/test/config/environments/development.rb +18 -0
- data/vendor/{rails/railties → plugins/attribute_fu/test/config}/environments/test.rb +0 -0
- data/vendor/{rails/railties/configs → plugins/attribute_fu/test/config}/routes.rb +0 -0
- data/vendor/plugins/attribute_fu/test/db/migrate/001_create_photos.rb +14 -0
- data/vendor/plugins/attribute_fu/test/db/migrate/002_create_comments.rb +15 -0
- data/vendor/{rails/railties/bin → plugins/attribute_fu/test/script}/console +0 -0
- data/vendor/{rails/railties/bin → plugins/attribute_fu/test/script}/destroy +0 -0
- data/vendor/{rails/railties/bin → plugins/attribute_fu/test/script}/generate +0 -0
- data/vendor/{rails/railties/bin → plugins/attribute_fu/test/script}/server +0 -0
- data/vendor/plugins/attribute_fu/test/test/test_helper.rb +6 -0
- data/vendor/plugins/attribute_fu/test/test/unit/associated_form_helper_test.rb +376 -0
- data/vendor/plugins/attribute_fu/test/test/unit/comment_test.rb +6 -0
- data/vendor/plugins/attribute_fu/test/test/unit/photo_test.rb +149 -0
- data/vendor/plugins/attribute_fu/test/vendor/plugins/shoulda/init.rb +3 -0
- data/vendor/plugins/attribute_fu/test/vendor/plugins/shoulda/lib/shoulda.rb +20 -0
- data/vendor/plugins/attribute_fu/test/vendor/plugins/shoulda/lib/shoulda/active_record_helpers.rb +338 -0
- data/vendor/plugins/attribute_fu/test/vendor/plugins/shoulda/lib/shoulda/context.rb +143 -0
- data/vendor/plugins/attribute_fu/test/vendor/plugins/shoulda/lib/shoulda/general.rb +119 -0
- data/vendor/plugins/attribute_fu/test/vendor/plugins/shoulda/lib/shoulda/private_helpers.rb +17 -0
- data/vendor/plugins/attribute_fu/uninstall.rb +1 -0
- data/vendor/plugins/auto_complete/README +23 -0
- data/vendor/plugins/auto_complete/Rakefile +22 -0
- data/vendor/plugins/auto_complete/init.rb +2 -0
- data/vendor/plugins/auto_complete/lib/auto_complete.rb +47 -0
- data/vendor/plugins/auto_complete/lib/auto_complete_macros_helper.rb +142 -0
- data/vendor/plugins/auto_complete/test/auto_complete_test.rb +67 -0
- data/vendor/plugins/enumerable_constants/lib/enumerable_constants.rb +4 -0
- data/vendor/plugins/find_by_param/MIT-LICENSE +20 -0
- data/vendor/plugins/find_by_param/README +48 -0
- data/vendor/plugins/find_by_param/Rakefile +22 -0
- data/vendor/plugins/find_by_param/init.rb +18 -0
- data/vendor/plugins/find_by_param/install.rb +1 -0
- data/vendor/plugins/find_by_param/lib/find_by_param.rb +143 -0
- data/vendor/plugins/find_by_param/tasks/find_by_param_tasks.rake +4 -0
- data/vendor/plugins/find_by_param/test/find_by_param_test.rb +74 -0
- data/vendor/plugins/find_by_param/test/schema.rb +16 -0
- data/vendor/plugins/find_by_param/test/test_helper.rb +17 -0
- data/vendor/plugins/find_by_param/uninstall.rb +1 -0
- data/vendor/plugins/globalite/CHANGELOG +22 -0
- data/vendor/plugins/globalite/README +199 -0
- data/vendor/plugins/globalite/README.rdoc +199 -0
- data/vendor/plugins/globalite/Rakefile +32 -0
- data/vendor/plugins/globalite/globalite.gemspec +14 -0
- data/vendor/plugins/globalite/init.rb +1 -0
- data/vendor/plugins/globalite/install.rb +1 -0
- data/vendor/plugins/globalite/lang/rails/de-DE.yml +357 -0
- data/vendor/plugins/globalite/lang/rails/en-UK.yml +357 -0
- data/vendor/plugins/globalite/lang/rails/en-US.yml +357 -0
- data/vendor/plugins/globalite/lang/rails/es-AR.yml +357 -0
- data/vendor/plugins/globalite/lang/rails/es-ES.yml +359 -0
- data/vendor/plugins/globalite/lang/rails/fi-FI.yml +357 -0
- data/vendor/plugins/globalite/lang/rails/fr-FR.yml +359 -0
- data/vendor/plugins/globalite/lang/rails/hu-HU.yml +357 -0
- data/vendor/plugins/globalite/lang/rails/it.yml +358 -0
- data/vendor/plugins/globalite/lang/rails/nl-NL.yml +347 -0
- data/vendor/plugins/globalite/lang/rails/pl-PL.yml +358 -0
- data/vendor/plugins/globalite/lang/rails/pt-BR.yml +324 -0
- data/vendor/plugins/globalite/lang/rails/pt-PT.yml +324 -0
- data/vendor/plugins/globalite/lang/rails/ru-RU.yml +357 -0
- data/vendor/plugins/globalite/lang/rails/sr-CP.yml +357 -0
- data/vendor/plugins/globalite/lang/rails/sr-SR.yml +357 -0
- data/vendor/plugins/globalite/lang/rails/tr.yml +186 -0
- data/vendor/plugins/globalite/lang/rails/zh-CN.yml +357 -0
- data/vendor/plugins/globalite/lang/rails/zh-HK.yml +357 -0
- data/vendor/plugins/globalite/lang/rails/zh-TW.yml +357 -0
- data/vendor/plugins/globalite/lib/globalite.rb +28 -0
- data/vendor/plugins/globalite/lib/globalite/l10n.rb +302 -0
- data/vendor/plugins/globalite/lib/globalite/locale.rb +56 -0
- data/vendor/plugins/globalite/lib/rails/core_ext.rb +19 -0
- data/vendor/plugins/globalite/lib/rails/localization.rb +58 -0
- data/vendor/plugins/globalite/lib/rails/localized_action_view.rb +211 -0
- data/vendor/plugins/globalite/lib/rails/localized_active_record.rb +80 -0
- data/vendor/plugins/globalite/spec/core_localization_spec.rb +116 -0
- data/vendor/plugins/globalite/spec/helpers/spec_helper.rb +16 -0
- data/vendor/plugins/globalite/spec/l10n_spec.rb +251 -0
- data/vendor/plugins/globalite/spec/lang/rails/zz.yml +13 -0
- data/vendor/plugins/globalite/spec/lang/ui/en-UK.yml +3 -0
- data/vendor/plugins/globalite/spec/lang/ui/en-US.yml +3 -0
- data/vendor/plugins/globalite/spec/lang/ui/es.yml +3 -0
- data/vendor/plugins/globalite/spec/lang/ui/fr-FR.yml +8 -0
- data/vendor/plugins/globalite/tasks/cruise.rake +4 -0
- data/vendor/plugins/globalite/tasks/globalite_tasks.rake +47 -0
- data/vendor/plugins/globalite/uninstall.rb +1 -0
- data/vendor/plugins/in_place_editing/lib/in_place_macros_helper.rb +7 -1
- data/vendor/plugins/in_place_editing/test/in_place_editing_test.rb +25 -5
- data/vendor/plugins/resource_controller/LICENSE +1 -1
- data/vendor/plugins/resource_controller/README.rdoc +282 -0
- data/vendor/plugins/resource_controller/Rakefile +14 -1
- data/vendor/plugins/resource_controller/TODO +1 -0
- data/vendor/plugins/resource_controller/generators/scaffold_resource/scaffold_resource_generator.rb +99 -34
- data/vendor/plugins/resource_controller/generators/scaffold_resource/templates/rspec/functional_spec.rb +255 -0
- data/vendor/plugins/resource_controller/generators/scaffold_resource/templates/rspec/helper_spec.rb +11 -0
- data/vendor/plugins/resource_controller/generators/scaffold_resource/templates/rspec/routing_spec.rb +61 -0
- data/vendor/plugins/resource_controller/generators/scaffold_resource/templates/rspec/unit_spec.rb +11 -0
- data/vendor/plugins/resource_controller/generators/scaffold_resource/templates/rspec/views/edit_spec.rb +28 -0
- data/vendor/plugins/resource_controller/generators/scaffold_resource/templates/rspec/views/index_spec.rb +26 -0
- data/vendor/plugins/resource_controller/generators/scaffold_resource/templates/rspec/views/new_spec.rb +30 -0
- data/vendor/plugins/resource_controller/generators/scaffold_resource/templates/rspec/views/show_spec.rb +25 -0
- data/vendor/plugins/resource_controller/init.rb +1 -6
- data/vendor/plugins/resource_controller/lib/resource_controller.rb +15 -6
- data/vendor/plugins/resource_controller/lib/resource_controller/accessors.rb +11 -14
- data/vendor/plugins/resource_controller/lib/resource_controller/action_options.rb +12 -0
- data/vendor/plugins/resource_controller/lib/resource_controller/class_methods.rb +3 -1
- data/vendor/plugins/resource_controller/lib/resource_controller/controller.rb +10 -4
- data/vendor/plugins/resource_controller/lib/resource_controller/failable_action_options.rb +9 -1
- data/vendor/plugins/resource_controller/lib/resource_controller/helpers/current_objects.rb +11 -1
- data/vendor/plugins/resource_controller/lib/resource_controller/helpers/internal.rb +19 -2
- data/vendor/plugins/resource_controller/lib/resource_controller/helpers/nested.rb +27 -3
- data/vendor/plugins/resource_controller/lib/resource_controller/helpers/singleton_customizations.rb +60 -0
- data/vendor/plugins/resource_controller/lib/resource_controller/helpers/urls.rb +6 -2
- data/vendor/plugins/resource_controller/lib/resource_controller/response_collector.rb +6 -0
- data/vendor/plugins/resource_controller/lib/resource_controller/singleton.rb +15 -0
- data/vendor/plugins/resource_controller/lib/resource_controller/version.rb +9 -0
- data/vendor/plugins/resource_controller/rails/init.rb +6 -0
- data/vendor/plugins/resource_controller/resource_controller.gemspec +343 -0
- data/vendor/plugins/resource_controller/test/Rakefile +10 -0
- data/vendor/plugins/resource_controller/test/app/controllers/accounts_controller.rb +6 -0
- data/vendor/plugins/resource_controller/test/app/controllers/application.rb +7 -0
- data/vendor/plugins/resource_controller/test/app/controllers/cms/options_controller.rb +3 -0
- data/vendor/plugins/resource_controller/test/app/controllers/cms/products_controller.rb +3 -0
- data/vendor/plugins/resource_controller/test/app/controllers/comments_controller.rb +3 -0
- data/vendor/plugins/resource_controller/test/app/controllers/images_controller.rb +4 -0
- data/vendor/plugins/resource_controller/test/app/controllers/options_controller.rb +8 -0
- data/vendor/plugins/resource_controller/test/app/controllers/people_controller.rb +9 -0
- data/vendor/plugins/resource_controller/test/app/controllers/photos_controller.rb +11 -0
- data/vendor/plugins/resource_controller/test/app/controllers/posts_controller.rb +10 -0
- data/vendor/plugins/resource_controller/test/app/controllers/projects_controller.rb +3 -0
- data/vendor/plugins/resource_controller/test/app/controllers/somethings_controller.rb +3 -0
- data/vendor/plugins/resource_controller/test/app/controllers/tags_controller.rb +13 -0
- data/vendor/plugins/resource_controller/test/app/controllers/users_controller.rb +12 -0
- data/vendor/plugins/resource_controller/test/app/helpers/accounts_helper.rb +2 -0
- data/vendor/plugins/resource_controller/test/app/helpers/application_helper.rb +3 -0
- data/vendor/plugins/resource_controller/test/app/helpers/cms/products_helper.rb +2 -0
- data/vendor/plugins/resource_controller/test/app/helpers/comments_helper.rb +2 -0
- data/vendor/plugins/resource_controller/test/app/helpers/images_helper.rb +2 -0
- data/vendor/plugins/resource_controller/test/app/helpers/options_helper.rb +2 -0
- data/vendor/plugins/resource_controller/test/app/helpers/people_helper.rb +2 -0
- data/vendor/plugins/resource_controller/test/app/helpers/photos_helper.rb +2 -0
- data/vendor/plugins/resource_controller/test/app/helpers/posts_helper.rb +2 -0
- data/vendor/plugins/resource_controller/test/app/helpers/projects_helper.rb +2 -0
- data/vendor/plugins/resource_controller/test/app/helpers/somethings_helper.rb +2 -0
- data/vendor/plugins/resource_controller/test/app/helpers/tags_helper.rb +2 -0
- data/vendor/plugins/resource_controller/test/app/helpers/users_helper.rb +2 -0
- data/vendor/plugins/resource_controller/test/app/models/account.rb +4 -0
- data/vendor/plugins/resource_controller/test/app/models/comment.rb +3 -0
- data/vendor/plugins/resource_controller/test/app/models/image.rb +3 -0
- data/vendor/plugins/resource_controller/test/app/models/option.rb +3 -0
- data/vendor/plugins/resource_controller/test/app/models/photo.rb +4 -0
- data/vendor/plugins/resource_controller/test/app/models/post.rb +3 -0
- data/vendor/plugins/resource_controller/test/app/models/product.rb +3 -0
- data/vendor/plugins/resource_controller/test/app/models/project.rb +2 -0
- data/vendor/plugins/resource_controller/test/app/models/something.rb +2 -0
- data/vendor/plugins/resource_controller/test/app/models/tag.rb +3 -0
- data/vendor/plugins/resource_controller/test/app/models/user.rb +3 -0
- data/vendor/plugins/resource_controller/test/app/views/accounts/_form.html.erb +4 -0
- data/vendor/plugins/resource_controller/test/app/views/accounts/edit.html.erb +14 -0
- data/vendor/plugins/resource_controller/test/app/views/accounts/new.html.erb +12 -0
- data/vendor/plugins/resource_controller/test/app/views/accounts/show.html.erb +5 -0
- data/vendor/plugins/resource_controller/test/app/views/cms/options/edit.rhtml +17 -0
- data/vendor/plugins/resource_controller/test/app/views/cms/options/index.rhtml +20 -0
- data/vendor/plugins/resource_controller/test/app/views/cms/options/new.rhtml +16 -0
- data/vendor/plugins/resource_controller/test/app/views/cms/options/show.rhtml +8 -0
- data/vendor/plugins/resource_controller/test/app/views/cms/products/edit.rhtml +17 -0
- data/vendor/plugins/resource_controller/test/app/views/cms/products/index.rhtml +20 -0
- data/vendor/plugins/resource_controller/test/app/views/cms/products/new.rhtml +16 -0
- data/vendor/plugins/resource_controller/test/app/views/cms/products/show.rhtml +8 -0
- data/vendor/plugins/resource_controller/test/app/views/comments/edit.rhtml +27 -0
- data/vendor/plugins/resource_controller/test/app/views/comments/index.rhtml +24 -0
- data/vendor/plugins/resource_controller/test/app/views/comments/new.rhtml +26 -0
- data/vendor/plugins/resource_controller/test/app/views/comments/show.rhtml +18 -0
- data/vendor/plugins/resource_controller/test/app/views/images/_form.html.erb +4 -0
- data/vendor/plugins/resource_controller/test/app/views/images/edit.html.erb +14 -0
- data/vendor/plugins/resource_controller/test/app/views/images/new.html.erb +12 -0
- data/vendor/plugins/resource_controller/test/app/views/layouts/application.rhtml +17 -0
- data/vendor/plugins/resource_controller/test/app/views/layouts/comments.rhtml +17 -0
- data/vendor/plugins/resource_controller/test/app/views/layouts/options.rhtml +17 -0
- data/vendor/plugins/resource_controller/test/app/views/layouts/people.rhtml +17 -0
- data/vendor/plugins/resource_controller/test/app/views/layouts/photos.rhtml +17 -0
- data/vendor/plugins/resource_controller/test/app/views/layouts/projects.rhtml +17 -0
- data/vendor/plugins/resource_controller/test/app/views/layouts/somethings.rhtml +17 -0
- data/vendor/plugins/resource_controller/test/app/views/layouts/tags.rhtml +17 -0
- data/vendor/plugins/resource_controller/test/app/views/options/_form.html.erb +8 -0
- data/vendor/plugins/resource_controller/test/app/views/options/edit.html.erb +16 -0
- data/vendor/plugins/resource_controller/test/app/views/options/index.html.erb +21 -0
- data/vendor/plugins/resource_controller/test/app/views/options/new.html.erb +12 -0
- data/vendor/plugins/resource_controller/test/app/views/options/show.html.erb +10 -0
- data/vendor/plugins/resource_controller/test/app/views/people/edit.rhtml +17 -0
- data/vendor/plugins/resource_controller/test/app/views/people/index.rhtml +20 -0
- data/vendor/plugins/resource_controller/test/app/views/people/new.rhtml +16 -0
- data/vendor/plugins/resource_controller/test/app/views/people/show.rhtml +8 -0
- data/vendor/plugins/resource_controller/test/app/views/photos/edit.rhtml +17 -0
- data/vendor/plugins/resource_controller/test/app/views/photos/index.rhtml +20 -0
- data/vendor/plugins/resource_controller/test/app/views/photos/new.rhtml +16 -0
- data/vendor/plugins/resource_controller/test/app/views/photos/show.rhtml +8 -0
- data/vendor/plugins/resource_controller/test/app/views/posts/edit.rhtml +22 -0
- data/vendor/plugins/resource_controller/test/app/views/posts/index.rhtml +22 -0
- data/vendor/plugins/resource_controller/test/app/views/posts/new.rhtml +21 -0
- data/vendor/plugins/resource_controller/test/app/views/posts/show.rhtml +13 -0
- data/vendor/plugins/resource_controller/test/app/views/projects/edit.rhtml +17 -0
- data/vendor/plugins/resource_controller/test/app/views/projects/index.rhtml +20 -0
- data/vendor/plugins/resource_controller/test/app/views/projects/new.rhtml +16 -0
- data/vendor/plugins/resource_controller/test/app/views/projects/show.rhtml +8 -0
- data/vendor/plugins/resource_controller/test/app/views/somethings/edit.rhtml +17 -0
- data/vendor/plugins/resource_controller/test/app/views/somethings/index.rhtml +20 -0
- data/vendor/plugins/resource_controller/test/app/views/somethings/new.rhtml +16 -0
- data/vendor/plugins/resource_controller/test/app/views/somethings/show.rhtml +8 -0
- data/vendor/plugins/resource_controller/test/app/views/tags/edit.rhtml +17 -0
- data/vendor/plugins/resource_controller/test/app/views/tags/index.rhtml +20 -0
- data/{foozah/public/favicon.ico → vendor/plugins/resource_controller/test/app/views/tags/index.rjs} +0 -0
- data/vendor/plugins/resource_controller/test/app/views/tags/new.rhtml +16 -0
- data/vendor/plugins/resource_controller/test/app/views/tags/show.rhtml +8 -0
- data/vendor/plugins/resource_controller/test/app/views/users/edit.rhtml +17 -0
- data/vendor/plugins/resource_controller/test/app/views/users/index.rhtml +20 -0
- data/vendor/plugins/resource_controller/test/app/views/users/new.rhtml +16 -0
- data/vendor/plugins/resource_controller/test/app/views/users/show.rhtml +8 -0
- data/vendor/plugins/resource_controller/test/config/boot.rb +109 -0
- data/vendor/plugins/resource_controller/test/config/environment.rb +64 -0
- data/vendor/plugins/resource_controller/test/config/environments/development.rb +21 -0
- data/{foozah → vendor/plugins/resource_controller/test}/config/environments/test.rb +0 -0
- data/vendor/plugins/resource_controller/test/config/routes.rb +58 -0
- data/vendor/plugins/resource_controller/test/db/migrate/001_create_posts.rb +12 -0
- data/vendor/plugins/resource_controller/test/db/migrate/002_create_products.rb +11 -0
- data/vendor/plugins/resource_controller/test/db/migrate/003_create_comments.rb +13 -0
- data/vendor/plugins/resource_controller/test/db/migrate/004_create_options.rb +13 -0
- data/vendor/plugins/resource_controller/test/db/migrate/005_create_photos.rb +11 -0
- data/vendor/plugins/resource_controller/test/db/migrate/006_create_tags.rb +17 -0
- data/vendor/plugins/resource_controller/test/db/migrate/007_create_somethings.rb +11 -0
- data/vendor/plugins/resource_controller/test/db/migrate/008_create_accounts.rb +11 -0
- data/vendor/plugins/resource_controller/test/db/migrate/009_add_account_id_to_photos.rb +9 -0
- data/vendor/plugins/resource_controller/test/db/migrate/010_create_projects.rb +11 -0
- data/vendor/plugins/resource_controller/test/db/migrate/011_create_images.rb +12 -0
- data/vendor/plugins/resource_controller/test/db/migrate/012_create_users.rb +11 -0
- data/{foozah → vendor/plugins/resource_controller/test}/script/console +0 -0
- data/vendor/plugins/resource_controller/test/script/destroy +3 -0
- data/vendor/plugins/resource_controller/test/script/generate +3 -0
- data/{foozah → vendor/plugins/resource_controller/test}/script/server +0 -0
- data/vendor/plugins/resource_controller/test/test/fixtures/accounts.yml +7 -0
- data/vendor/plugins/resource_controller/test/test/fixtures/comments.yml +11 -0
- data/vendor/plugins/resource_controller/test/test/fixtures/images.yml +6 -0
- data/vendor/plugins/resource_controller/test/test/fixtures/options.yml +9 -0
- data/vendor/plugins/resource_controller/test/test/fixtures/photos.yml +9 -0
- data/vendor/plugins/resource_controller/test/test/fixtures/photos_tags.yml +3 -0
- data/vendor/plugins/resource_controller/test/test/fixtures/posts.yml +9 -0
- data/vendor/plugins/resource_controller/test/test/fixtures/products.yml +7 -0
- data/vendor/plugins/resource_controller/test/test/fixtures/projects.yml +7 -0
- data/vendor/plugins/resource_controller/test/test/fixtures/somethings.yml +7 -0
- data/vendor/plugins/resource_controller/test/test/fixtures/tags.yml +7 -0
- data/vendor/plugins/resource_controller/test/test/fixtures/users.yml +5 -0
- data/vendor/plugins/resource_controller/test/test/functional/cms/options_controller_test.rb +23 -0
- data/vendor/plugins/resource_controller/test/test/functional/cms/products_controller_test.rb +23 -0
- data/vendor/plugins/resource_controller/test/test/functional/comments_controller_test.rb +26 -0
- data/vendor/plugins/resource_controller/test/test/functional/images_controller_test.rb +37 -0
- data/vendor/plugins/resource_controller/test/test/functional/people_controller_test.rb +34 -0
- data/vendor/plugins/resource_controller/test/test/functional/photos_controller_test.rb +130 -0
- data/vendor/plugins/resource_controller/test/test/functional/posts_controller_test.rb +34 -0
- data/vendor/plugins/resource_controller/test/test/functional/projects_controller_test.rb +18 -0
- data/vendor/plugins/resource_controller/test/test/functional/somethings_controller_test.rb +28 -0
- data/vendor/plugins/resource_controller/test/test/functional/tags_controller_test.rb +64 -0
- data/vendor/plugins/resource_controller/test/test/functional/users_controller_test.rb +24 -0
- data/vendor/plugins/resource_controller/test/test/test_helper.rb +12 -0
- data/vendor/plugins/resource_controller/test/test/unit/accessors_test.rb +110 -0
- data/vendor/plugins/resource_controller/test/test/unit/account_test.rb +7 -0
- data/vendor/plugins/resource_controller/test/test/unit/action_options_test.rb +109 -0
- data/vendor/plugins/resource_controller/test/test/unit/base_test.rb +11 -0
- data/vendor/plugins/resource_controller/test/test/unit/comment_test.rb +10 -0
- data/vendor/plugins/resource_controller/test/test/unit/failable_action_options_test.rb +77 -0
- data/vendor/plugins/resource_controller/test/test/unit/helpers/current_objects_test.rb +133 -0
- data/vendor/plugins/resource_controller/test/test/unit/helpers/internal_test.rb +106 -0
- data/vendor/plugins/resource_controller/test/test/unit/helpers/nested_test.rb +86 -0
- data/vendor/plugins/resource_controller/test/test/unit/helpers/singleton_current_objects_test.rb +68 -0
- data/vendor/plugins/resource_controller/test/test/unit/helpers/singleton_nested_test.rb +77 -0
- data/vendor/plugins/resource_controller/test/test/unit/helpers/singleton_urls_test.rb +67 -0
- data/vendor/plugins/resource_controller/test/test/unit/helpers/urls_test.rb +75 -0
- data/vendor/plugins/resource_controller/test/test/unit/helpers_test.rb +25 -0
- data/vendor/plugins/resource_controller/test/test/unit/image_test.rb +7 -0
- data/vendor/plugins/resource_controller/test/test/unit/option_test.rb +10 -0
- data/vendor/plugins/resource_controller/test/test/unit/photo_test.rb +10 -0
- data/vendor/plugins/resource_controller/test/test/unit/post_test.rb +10 -0
- data/vendor/plugins/resource_controller/test/test/unit/project_test.rb +10 -0
- data/vendor/plugins/resource_controller/test/test/unit/response_collector_test.rb +49 -0
- data/vendor/plugins/resource_controller/test/test/unit/something_test.rb +10 -0
- data/vendor/plugins/resource_controller/test/test/unit/tag_test.rb +10 -0
- data/vendor/plugins/resource_controller/test/test/unit/urligence_test.rb +203 -0
- data/vendor/plugins/resource_controller/test/vendor/plugins/shoulda/Rakefile +32 -0
- data/vendor/plugins/resource_controller/test/vendor/plugins/shoulda/bin/convert_to_should_syntax +40 -0
- data/vendor/plugins/resource_controller/test/vendor/plugins/shoulda/init.rb +3 -0
- data/vendor/plugins/resource_controller/test/vendor/plugins/shoulda/lib/shoulda.rb +43 -0
- data/vendor/plugins/resource_controller/test/vendor/plugins/shoulda/lib/shoulda/active_record_helpers.rb +580 -0
- data/vendor/plugins/resource_controller/test/vendor/plugins/shoulda/lib/shoulda/color.rb +77 -0
- data/vendor/plugins/resource_controller/test/vendor/plugins/shoulda/lib/shoulda/controller_tests/controller_tests.rb +467 -0
- data/vendor/plugins/resource_controller/test/vendor/plugins/shoulda/lib/shoulda/controller_tests/formats/html.rb +201 -0
- data/vendor/plugins/resource_controller/test/vendor/plugins/shoulda/lib/shoulda/controller_tests/formats/xml.rb +170 -0
- data/vendor/plugins/resource_controller/test/vendor/plugins/shoulda/lib/shoulda/gem/proc_extensions.rb +14 -0
- data/vendor/plugins/resource_controller/test/vendor/plugins/shoulda/lib/shoulda/gem/shoulda.rb +239 -0
- data/vendor/plugins/resource_controller/test/vendor/plugins/shoulda/lib/shoulda/general.rb +118 -0
- data/vendor/plugins/resource_controller/test/vendor/plugins/shoulda/lib/shoulda/private_helpers.rb +22 -0
- data/vendor/plugins/rspec-rails/CHANGES +26 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/MIT-LICENSE +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/README +0 -0
- data/vendor/plugins/rspec-rails/Rakefile +64 -0
- data/vendor/plugins/rspec-rails/UPGRADE +7 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec/CHANGES +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec/rspec_generator.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec/templates/all_stories.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec/templates/previous_failures.txt +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec/templates/rcov.opts +0 -0
- data/{foozah → vendor/plugins/rspec-rails/generators/rspec/templates}/script/spec +0 -0
- data/vendor/plugins/rspec-rails/generators/rspec/templates/script/spec_server +116 -0
- data/vendor/plugins/rspec-rails/generators/rspec/templates/spec.opts +4 -0
- data/vendor/plugins/rspec-rails/generators/rspec/templates/spec_helper.rb +47 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec/templates/stories_helper.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec_controller/USAGE +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec_controller/rspec_controller_generator.rb +0 -0
- data/vendor/plugins/rspec-rails/generators/rspec_controller/templates/controller_spec.rb +25 -0
- data/vendor/plugins/rspec-rails/generators/rspec_controller/templates/helper_spec.rb +11 -0
- data/vendor/plugins/rspec-rails/generators/rspec_controller/templates/view_spec.rb +12 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec_model/USAGE +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/generators/rspec_model/rspec_model_generator.rb +0 -0
- data/vendor/plugins/rspec-rails/generators/rspec_model/templates/model_spec.rb +15 -0
- data/vendor/plugins/rspec-rails/generators/rspec_scaffold/rspec_scaffold_generator.rb +166 -0
- data/vendor/plugins/rspec-rails/generators/rspec_scaffold/templates/controller_spec.rb +327 -0
- data/vendor/plugins/rspec-rails/generators/rspec_scaffold/templates/edit_erb_spec.rb +26 -0
- data/vendor/plugins/rspec-rails/generators/rspec_scaffold/templates/helper_spec.rb +11 -0
- data/vendor/plugins/rspec-rails/generators/rspec_scaffold/templates/index_erb_spec.rb +27 -0
- data/vendor/plugins/rspec-rails/generators/rspec_scaffold/templates/new_erb_spec.rb +26 -0
- data/vendor/plugins/rspec-rails/generators/rspec_scaffold/templates/routing_spec.rb +61 -0
- data/vendor/plugins/rspec-rails/generators/rspec_scaffold/templates/show_erb_spec.rb +23 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/init.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/autotest/discover.rb +0 -0
- data/vendor/plugins/rspec-rails/lib/autotest/rails_rspec.rb +81 -0
- data/vendor/plugins/rspec-rails/lib/spec/rails.rb +52 -0
- data/vendor/plugins/rspec-rails/lib/spec/rails/example.rb +46 -0
- data/vendor/plugins/rspec-rails/lib/spec/rails/example/assigns_hash_proxy.rb +43 -0
- data/vendor/plugins/rspec-rails/lib/spec/rails/example/controller_example_group.rb +271 -0
- data/vendor/plugins/rspec-rails/lib/spec/rails/example/functional_example_group.rb +59 -0
- data/vendor/plugins/rspec-rails/lib/spec/rails/example/helper_example_group.rb +164 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/example/model_example_group.rb +0 -0
- data/vendor/plugins/rspec-rails/lib/spec/rails/example/rails_example_group.rb +29 -0
- data/vendor/plugins/rspec-rails/lib/spec/rails/example/render_observer.rb +90 -0
- data/vendor/plugins/rspec-rails/lib/spec/rails/example/view_example_group.rb +178 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/extensions.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/extensions/action_controller/base.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/extensions/action_controller/rescue.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/extensions/action_controller/test_response.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/extensions/action_view/base.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/extensions/active_record/base.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/extensions/object.rb +0 -0
- data/vendor/plugins/rspec-rails/lib/spec/rails/extensions/spec/example/configuration.rb +71 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/extensions/spec/matchers/have.rb +0 -0
- data/vendor/plugins/rspec-rails/lib/spec/rails/matchers.rb +30 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/matchers/assert_select.rb +0 -0
- data/vendor/plugins/rspec-rails/lib/spec/rails/matchers/have_text.rb +57 -0
- data/vendor/plugins/rspec-rails/lib/spec/rails/matchers/include_text.rb +54 -0
- data/vendor/plugins/rspec-rails/lib/spec/rails/matchers/redirect_to.rb +113 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/matchers/render_template.rb +0 -0
- data/vendor/plugins/rspec-rails/lib/spec/rails/mocks.rb +126 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/lib/spec/rails/story_adapter.rb +0 -0
- data/vendor/plugins/rspec-rails/lib/spec/rails/version.rb +39 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/autotest/mappings_spec.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/autotest/rails_rspec_spec.rb +0 -0
- data/vendor/plugins/rspec-rails/spec/rails/example/assigns_hash_proxy_spec.rb +60 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/example/configuration_spec.rb +0 -0
- data/vendor/plugins/rspec-rails/spec/rails/example/controller_isolation_spec.rb +62 -0
- data/vendor/plugins/rspec-rails/spec/rails/example/controller_spec_spec.rb +206 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/example/example_group_factory_spec.rb +0 -0
- data/vendor/plugins/rspec-rails/spec/rails/example/helper_spec_spec.rb +161 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/example/model_spec_spec.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/example/shared_behaviour_spec.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/example/test_unit_assertion_accessibility_spec.rb +0 -0
- data/vendor/plugins/rspec-rails/spec/rails/example/view_spec_spec.rb +272 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/extensions/action_controller_rescue_action_spec.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/extensions/action_view_base_spec.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/extensions/active_record_spec.rb +0 -0
- data/vendor/plugins/rspec-rails/spec/rails/matchers/assert_select_spec.rb +806 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/matchers/description_generation_spec.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/matchers/errors_on_spec.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/matchers/have_text_spec.rb +0 -0
- data/vendor/plugins/rspec-rails/spec/rails/matchers/include_text_spec.rb +70 -0
- data/vendor/plugins/rspec-rails/spec/rails/matchers/redirect_to_spec.rb +209 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/matchers/render_spec.rb +0 -0
- data/vendor/plugins/rspec-rails/spec/rails/mocks/ar_classes.rb +10 -0
- data/vendor/plugins/rspec-rails/spec/rails/mocks/mock_model_spec.rb +64 -0
- data/vendor/plugins/rspec-rails/spec/rails/mocks/stub_model_spec.rb +79 -0
- data/vendor/plugins/rspec-rails/spec/rails/sample_modified_fixture.rb +8 -0
- data/vendor/plugins/rspec-rails/spec/rails/sample_spec.rb +8 -0
- data/vendor/plugins/rspec-rails/spec/rails/spec_server_spec.rb +96 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails/spec_spec.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/rails_suite.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec/spec_helper.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/controllers/action_view_base_spec_controller.rb +0 -0
- data/vendor/plugins/rspec-rails/spec_resources/controllers/controller_spec_controller.rb +68 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/controllers/redirect_spec_controller.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/controllers/render_spec_controller.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/controllers/rjs_spec_controller.rb +0 -0
- data/vendor/plugins/rspec-rails/spec_resources/helpers/explicit_helper.rb +34 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/helpers/more_explicit_helper.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/helpers/plugin_application_helper.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/helpers/view_spec_helper.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/controller_spec/_partial.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/controller_spec/action_setting_flash_after_session_reset.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/controller_spec/action_setting_flash_before_session_reset.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/controller_spec/action_setting_the_assigns_hash.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/controller_spec/action_with_errors_in_template.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/controller_spec/action_with_template.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/render_spec/_a_partial.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/render_spec/some_action.js.rjs +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/render_spec/some_action.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/render_spec/some_action.rjs +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/rjs_spec/_replacement_partial.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/rjs_spec/hide_div.rjs +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/rjs_spec/hide_page_element.rjs +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/rjs_spec/insert_html.rjs +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/rjs_spec/replace.rjs +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/rjs_spec/replace_html.rjs +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/rjs_spec/replace_html_with_partial.rjs +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/rjs_spec/visual_effect.rjs +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/rjs_spec/visual_toggle_effect.rjs +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/tag_spec/no_tags.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/tag_spec/single_div_with_no_attributes.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/tag_spec/single_div_with_one_attribute.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/_partial.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/_partial_used_twice.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/_partial_with_local_variable.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/_partial_with_sub_partial.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/_spacer.rhtml +0 -0
- data/vendor/plugins/rspec-rails/spec_resources/views/view_spec/accessor.rhtml +5 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/entry_form.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/explicit_helper.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/foo/show.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/implicit_helper.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/multiple_helpers.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/template_with_partial.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/template_with_partial_using_collection.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/spec_resources/views/view_spec/template_with_partial_with_array.rhtml +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/stories/all.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/stories/helper.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/stories/steps/people.rb +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/stories/transactions_should_rollback +0 -0
- data/vendor/plugins/{rspec_on_rails → rspec-rails}/stories/transactions_should_rollback.rb +0 -0
- data/vendor/plugins/rspec-rails/tasks/rspec.rake +137 -0
- data/vendor/plugins/rspec/CHANGES +59 -0
- data/vendor/plugins/rspec/MIT-LICENSE +1 -1
- data/vendor/plugins/rspec/README +9 -44
- data/vendor/plugins/rspec/Rakefile +34 -51
- data/vendor/plugins/rspec/TODO +0 -1
- data/vendor/plugins/rspec/bin/autospec +3 -0
- data/vendor/plugins/rspec/bin/spec +0 -0
- data/vendor/plugins/rspec/bin/spec_translator +0 -0
- data/vendor/plugins/rspec/examples/pure/behave_as_example.rb +0 -0
- data/vendor/plugins/rspec/examples/pure/partial_mock_example.rb +1 -0
- data/vendor/plugins/rspec/examples/stories/calculator.rb +1 -1
- data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/everything.rb +1 -1
- data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/CellsWithMoreThanThreeNeighboursDie.story +17 -17
- data/vendor/plugins/rspec/lib/autotest/discover.rb +1 -1
- data/vendor/plugins/rspec/lib/autotest/rspec.rb +7 -9
- data/vendor/plugins/rspec/lib/spec.rb +10 -9
- data/vendor/plugins/rspec/lib/spec/adapters.rb +1 -0
- data/vendor/plugins/rspec/lib/spec/adapters/ruby_engine.rb +26 -0
- data/vendor/plugins/rspec/lib/spec/adapters/ruby_engine/mri.rb +8 -0
- data/vendor/plugins/rspec/lib/spec/adapters/ruby_engine/rubinius.rb +8 -0
- data/vendor/plugins/rspec/lib/spec/example.rb +1 -1
- data/vendor/plugins/rspec/lib/spec/example/configuration.rb +30 -16
- data/vendor/plugins/rspec/lib/spec/example/example_group.rb +2 -1
- data/vendor/plugins/rspec/lib/spec/example/example_group_factory.rb +23 -21
- data/vendor/plugins/rspec/lib/spec/example/example_group_methods.rb +23 -7
- data/vendor/plugins/rspec/lib/spec/example/example_matcher.rb +2 -0
- data/vendor/plugins/rspec/lib/spec/example/example_methods.rb +6 -0
- data/vendor/plugins/rspec/lib/spec/example/module_inclusion_warnings.rb +37 -0
- data/vendor/plugins/rspec/lib/spec/expectations/differs/default.rb +1 -1
- data/vendor/plugins/rspec/lib/spec/expectations/extensions/object.rb +4 -12
- data/vendor/plugins/rspec/lib/spec/expectations/handler.rb +10 -0
- data/vendor/plugins/rspec/lib/spec/extensions.rb +1 -0
- data/vendor/plugins/rspec/lib/spec/extensions/metaclass.rb +7 -0
- data/vendor/plugins/rspec/lib/spec/extensions/object.rb +0 -4
- data/vendor/plugins/rspec/lib/spec/matchers/change.rb +14 -10
- data/vendor/plugins/rspec/lib/spec/matchers/has.rb +1 -11
- data/vendor/plugins/rspec/lib/spec/matchers/have.rb +5 -1
- data/vendor/plugins/rspec/lib/spec/matchers/operator_matcher.rb +2 -2
- data/vendor/plugins/rspec/lib/spec/matchers/raise_error.rb +53 -30
- data/vendor/plugins/rspec/lib/spec/matchers/simple_matcher.rb +113 -10
- data/vendor/plugins/rspec/lib/spec/mocks.rb +1 -1
- data/vendor/plugins/rspec/lib/spec/mocks/argument_constraint_matchers.rb +5 -1
- data/vendor/plugins/rspec/lib/spec/mocks/argument_expectation.rb +34 -1
- data/vendor/plugins/rspec/lib/spec/mocks/extensions.rb +1 -0
- data/vendor/plugins/rspec/lib/spec/mocks/framework.rb +15 -0
- data/vendor/plugins/rspec/lib/spec/mocks/message_expectation.rb +30 -7
- data/vendor/plugins/rspec/lib/spec/mocks/mock.rb +13 -7
- data/vendor/plugins/rspec/lib/spec/mocks/proxy.rb +26 -12
- data/vendor/plugins/rspec/lib/spec/rake/spectask.rb +18 -26
- data/vendor/plugins/rspec/lib/spec/runner.rb +3 -4
- data/vendor/plugins/rspec/lib/spec/runner/backtrace_tweaker.rb +1 -1
- data/vendor/plugins/rspec/lib/spec/runner/drb_command_line.rb +1 -1
- data/vendor/plugins/rspec/lib/spec/runner/formatter/base_formatter.rb +2 -3
- data/vendor/plugins/rspec/lib/spec/runner/formatter/base_text_formatter.rb +2 -2
- data/vendor/plugins/rspec/lib/spec/runner/formatter/failing_example_groups_formatter.rb +4 -8
- data/vendor/plugins/rspec/lib/spec/runner/formatter/html_formatter.rb +18 -14
- data/vendor/plugins/rspec/lib/spec/runner/formatter/nested_text_formatter.rb +65 -0
- data/vendor/plugins/rspec/lib/spec/runner/formatter/profile_formatter.rb +4 -0
- data/vendor/plugins/rspec/lib/spec/runner/formatter/progress_bar_formatter.rb +5 -1
- data/vendor/plugins/rspec/lib/spec/runner/formatter/specdoc_formatter.rb +1 -1
- data/vendor/plugins/rspec/lib/spec/runner/formatter/story/html_formatter.rb +48 -15
- data/vendor/plugins/rspec/lib/spec/runner/formatter/story/plain_text_formatter.rb +69 -12
- data/vendor/plugins/rspec/lib/spec/runner/option_parser.rb +17 -15
- data/vendor/plugins/rspec/lib/spec/runner/options.rb +38 -15
- data/vendor/plugins/rspec/lib/spec/runner/reporter.rb +15 -11
- data/vendor/plugins/rspec/lib/spec/story/extensions/regexp.rb +2 -2
- data/vendor/plugins/rspec/lib/spec/story/extensions/string.rb +2 -2
- data/vendor/plugins/rspec/lib/spec/story/runner.rb +9 -5
- data/vendor/plugins/rspec/lib/spec/story/runner/plain_text_story_runner.rb +2 -2
- data/vendor/plugins/rspec/lib/spec/story/runner/scenario_runner.rb +8 -0
- data/vendor/plugins/rspec/lib/spec/story/runner/story_mediator.rb +15 -1
- data/vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb +20 -0
- data/vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb +3 -1
- data/vendor/plugins/rspec/lib/spec/story/step.rb +43 -31
- data/vendor/plugins/rspec/lib/spec/story/story.rb +8 -11
- data/vendor/plugins/rspec/lib/spec/story/world.rb +6 -3
- data/vendor/plugins/rspec/lib/spec/version.rb +2 -2
- data/vendor/plugins/rspec/plugins/mock_frameworks/rspec.rb +2 -0
- data/vendor/plugins/rspec/spec/autotest/rspec_spec.rb +140 -129
- data/vendor/plugins/rspec/spec/spec/adapters/ruby_engine_spec.rb +16 -0
- data/vendor/plugins/rspec/spec/spec/example/configuration_spec.rb +0 -0
- data/vendor/plugins/rspec/spec/spec/example/example_group/described_module_spec.rb +20 -0
- data/vendor/plugins/rspec/spec/spec/example/example_group/warning_messages_spec.rb +76 -0
- data/vendor/plugins/rspec/spec/spec/example/example_group_factory_spec.rb +117 -102
- data/vendor/plugins/rspec/spec/spec/example/example_group_methods_spec.rb +102 -19
- data/vendor/plugins/rspec/spec/spec/example/example_group_spec.rb +13 -1
- data/vendor/plugins/rspec/spec/spec/example/example_methods_spec.rb +28 -6
- data/vendor/plugins/rspec/spec/spec/example/nested_example_group_spec.rb +12 -0
- data/vendor/plugins/rspec/spec/spec/example/pending_module_spec.rb +11 -0
- data/vendor/plugins/rspec/spec/spec/example/predicate_matcher_spec.rb +0 -0
- data/vendor/plugins/rspec/spec/spec/expectations/differs/default_spec.rb +27 -9
- data/vendor/plugins/rspec/spec/spec/matchers/be_spec.rb +24 -0
- data/vendor/plugins/rspec/spec/spec/matchers/change_spec.rb +4 -6
- data/vendor/plugins/rspec/spec/spec/matchers/handler_spec.rb +58 -37
- data/vendor/plugins/rspec/spec/spec/matchers/has_spec.rb +16 -0
- data/vendor/plugins/rspec/spec/spec/matchers/have_spec.rb +7 -5
- data/vendor/plugins/rspec/spec/spec/matchers/operator_matcher_spec.rb +11 -1
- data/vendor/plugins/rspec/spec/spec/matchers/raise_error_spec.rb +124 -0
- data/vendor/plugins/rspec/spec/spec/matchers/simple_matcher_spec.rb +64 -2
- data/vendor/plugins/rspec/spec/spec/mocks/{bug_report_10263.rb → bug_report_10263_spec.rb} +0 -0
- data/vendor/plugins/rspec/spec/spec/mocks/bug_report_11545_spec.rb +2 -0
- data/vendor/plugins/rspec/spec/spec/mocks/failing_mock_argument_constraints_spec.rb +15 -0
- data/vendor/plugins/rspec/spec/spec/mocks/hash_including_matcher_spec.rb +32 -0
- data/vendor/plugins/rspec/spec/spec/mocks/mock_spec.rb +62 -43
- data/vendor/plugins/rspec/spec/spec/mocks/partial_mock_spec.rb +41 -5
- data/vendor/plugins/rspec/spec/spec/mocks/passing_mock_argument_constraints_spec.rb +21 -0
- data/vendor/plugins/rspec/spec/spec/runner/drb_command_line_spec.rb +1 -1
- data/vendor/plugins/rspec/spec/spec/runner/execution_context_spec.rb +7 -1
- data/vendor/plugins/rspec/spec/spec/runner/formatter/failing_example_groups_formatter_spec.rb +3 -2
- data/vendor/plugins/rspec/spec/spec/runner/formatter/html_formatted-1.8.6.html +30 -25
- data/vendor/plugins/rspec/spec/spec/runner/formatter/html_formatter_spec.rb +0 -3
- data/vendor/plugins/rspec/spec/spec/runner/formatter/nested_text_formatter_spec.rb +333 -0
- data/vendor/plugins/rspec/spec/spec/runner/formatter/progress_bar_formatter_spec.rb +12 -2
- data/vendor/plugins/rspec/spec/spec/runner/formatter/spec_mate_formatter_spec.rb +2 -2
- data/vendor/plugins/rspec/spec/spec/runner/formatter/specdoc_formatter_spec.rb +110 -78
- data/vendor/plugins/rspec/spec/spec/runner/formatter/story/html_formatter_spec.rb +28 -2
- data/vendor/plugins/rspec/spec/spec/runner/formatter/story/plain_text_formatter_spec.rb +214 -1
- data/vendor/plugins/rspec/spec/spec/runner/formatter/text_mate_formatted-1.8.6.html +33 -28
- data/vendor/plugins/rspec/spec/spec/runner/option_parser_spec.rb +65 -49
- data/vendor/plugins/rspec/spec/spec/runner/options_spec.rb +103 -17
- data/vendor/plugins/rspec/spec/spec/runner/reporter_spec.rb +10 -7
- data/vendor/plugins/rspec/spec/spec/runner/spec_drb.opts +1 -0
- data/vendor/plugins/rspec/spec/spec/runner/spec_parser_spec.rb +10 -4
- data/vendor/plugins/rspec/spec/spec/story/runner/plain_text_story_runner_spec.rb +14 -13
- data/vendor/plugins/rspec/spec/spec/story/runner/scenario_runner_spec.rb +124 -52
- data/vendor/plugins/rspec/spec/spec/story/runner/story_mediator_spec.rb +12 -2
- data/vendor/plugins/rspec/spec/spec/story/runner/story_parser_spec.rb +23 -6
- data/vendor/plugins/rspec/spec/spec/story/runner/story_runner_spec.rb +40 -2
- data/vendor/plugins/rspec/spec/spec/story/runner_spec.rb +59 -72
- data/vendor/plugins/rspec/spec/spec/story/step_spec.rb +53 -3
- data/vendor/plugins/rspec/spec/spec/story/story_spec.rb +2 -2
- data/vendor/plugins/rspec/spec/spec/story/world_spec.rb +1 -1
- data/vendor/plugins/rspec/stories/all.rb +1 -1
- data/vendor/plugins/rspec/stories/mock_framework_integration/stories.rb +7 -0
- data/vendor/plugins/rspec/stories/mock_framework_integration/use_flexmock.story +9 -0
- data/vendor/plugins/rspec/stories/resources/spec/spec_with_flexmock.rb +18 -0
- data/vendor/plugins/rspec/stories/stories/multiline_steps.story +23 -0
- data/vendor/plugins/rspec/stories/stories/steps/multiline_steps.rb +13 -0
- data/vendor/plugins/rspec/stories/stories/stories.rb +6 -0
- data/vendor/plugins/state_machine/CHANGELOG.rdoc +97 -0
- data/vendor/plugins/state_machine/LICENSE +20 -0
- data/vendor/plugins/state_machine/README.rdoc +182 -0
- data/vendor/plugins/state_machine/Rakefile +88 -0
- data/vendor/plugins/state_machine/init.rb +1 -0
- data/vendor/plugins/state_machine/lib/state_machine.rb +129 -0
- data/vendor/plugins/state_machine/lib/state_machine/event.rb +116 -0
- data/vendor/plugins/state_machine/lib/state_machine/machine.rb +412 -0
- data/vendor/plugins/state_machine/lib/state_machine/transition.rb +227 -0
- data/vendor/plugins/state_machine/test/app_root/app/models/auto_shop.rb +34 -0
- data/vendor/plugins/state_machine/test/app_root/app/models/car.rb +19 -0
- data/vendor/plugins/state_machine/test/app_root/app/models/highway.rb +3 -0
- data/vendor/plugins/state_machine/test/app_root/app/models/motorcycle.rb +3 -0
- data/vendor/plugins/state_machine/test/app_root/app/models/switch.rb +23 -0
- data/vendor/plugins/state_machine/test/app_root/app/models/switch_observer.rb +20 -0
- data/vendor/plugins/state_machine/test/app_root/app/models/toggle_switch.rb +2 -0
- data/vendor/plugins/state_machine/test/app_root/app/models/vehicle.rb +78 -0
- data/vendor/plugins/state_machine/test/app_root/config/environment.rb +7 -0
- data/vendor/plugins/state_machine/test/app_root/db/migrate/001_create_switches.rb +12 -0
- data/vendor/plugins/state_machine/test/app_root/db/migrate/002_create_auto_shops.rb +13 -0
- data/vendor/plugins/state_machine/test/app_root/db/migrate/003_create_highways.rb +11 -0
- data/vendor/plugins/state_machine/test/app_root/db/migrate/004_create_vehicles.rb +16 -0
- data/vendor/plugins/state_machine/test/factory.rb +73 -0
- data/vendor/plugins/state_machine/test/functional/state_machine_test.rb +499 -0
- data/vendor/plugins/state_machine/test/test_helper.rb +13 -0
- data/vendor/plugins/state_machine/test/unit/event_test.rb +235 -0
- data/vendor/plugins/state_machine/test/unit/invalid_transition_test.rb +7 -0
- data/vendor/plugins/state_machine/test/unit/machine_test.rb +306 -0
- data/vendor/plugins/state_machine/test/unit/state_machine_test.rb +130 -0
- data/vendor/plugins/state_machine/test/unit/transition_test.rb +633 -0
- metadata +1607 -2266
- data/app/controllers/admin/categories_controller.rb +0 -59
- data/app/controllers/cart_controller.rb +0 -44
- data/app/controllers/checkout_controller.rb +0 -173
- data/app/controllers/store_controller.rb +0 -27
- data/app/helpers/admin/categories_helper.rb +0 -3
- data/app/helpers/cart_helper.rb +0 -6
- data/app/helpers/checkout_helper.rb +0 -14
- data/app/models/cart_item.rb +0 -29
- data/app/models/category.rb +0 -22
- data/app/models/credit_card.rb +0 -24
- data/app/models/inventory_level.rb +0 -19
- data/app/models/order_operation.rb +0 -7
- data/app/models/payment.rb +0 -49
- data/app/models/search_criteria.rb +0 -27
- data/app/models/txn.rb +0 -7
- data/app/views/account/index.rhtml +0 -3
- data/app/views/account/login.rhtml +0 -12
- data/app/views/account/signup.rhtml +0 -16
- data/app/views/admin/categories/_form.rhtml +0 -10
- data/app/views/admin/categories/edit.rhtml +0 -9
- data/app/views/admin/categories/list.rhtml +0 -47
- data/app/views/admin/categories/new.rhtml +0 -8
- data/app/views/admin/option_types/_form.rhtml +0 -16
- data/app/views/admin/option_types/_new_option_value.rhtml +0 -13
- data/app/views/admin/option_types/_option_values.rhtml +0 -43
- data/app/views/admin/option_types/edit.rhtml +0 -8
- data/app/views/admin/option_types/index.rhtml +0 -23
- data/app/views/admin/option_types/new.rhtml +0 -8
- data/app/views/admin/option_types/select.rhtml +0 -28
- data/app/views/admin/orders/index.rhtml +0 -99
- data/app/views/admin/orders/show.rhtml +0 -72
- data/app/views/admin/overview/index.rhtml +0 -3
- data/app/views/admin/products/_form.rhtml +0 -59
- data/app/views/admin/products/_menu.rhtml +0 -7
- data/app/views/admin/products/_new_variant.rhtml +0 -11
- data/app/views/admin/products/_variants.rhtml +0 -52
- data/app/views/admin/products/edit.rhtml +0 -8
- data/app/views/admin/products/index.rhtml +0 -63
- data/app/views/admin/products/new.rhtml +0 -9
- data/app/views/admin/reports/index.rhtml +0 -29
- data/app/views/admin/reports/sales_total.rhtml +0 -28
- data/app/views/cart/index.rhtml +0 -49
- data/app/views/checkout/_address.rhtml +0 -51
- data/app/views/checkout/_address_ro.rhtml +0 -18
- data/app/views/checkout/_cart_item.rhtml +0 -5
- data/app/views/checkout/_extra.rhtml +0 -1
- data/app/views/checkout/addresses.rhtml +0 -51
- data/app/views/checkout/cvv.rhtml +0 -15
- data/app/views/checkout/empty_cart.rhtml +0 -4
- data/app/views/checkout/final_confirmation.rhtml +0 -92
- data/app/views/checkout/incomplete.rhtml +0 -7
- data/app/views/checkout/thank_you.rhtml +0 -11
- data/app/views/layouts/admin.rhtml +0 -71
- data/app/views/layouts/application.rhtml +0 -64
- data/app/views/layouts/products.rhtml +0 -19
- data/app/views/order_mailer/cancel.rhtml +0 -15
- data/app/views/order_mailer/confirm.rhtml +0 -18
- data/app/views/shared/_images.html.erb +0 -43
- data/app/views/shared/_order_details.rhtml +0 -35
- data/app/views/shared/_paginate.rhtml +0 -34
- data/app/views/shared/_report_criteria.rhtml +0 -32
- data/app/views/shared/_store_menu.rhtml +0 -6
- data/app/views/store/_products.rhtml +0 -10
- data/app/views/store/_thumbnails.html.erb +0 -9
- data/app/views/store/list.rhtml +0 -12
- data/app/views/store/show.rhtml +0 -62
- data/db/development_structure.sql +0 -294
- data/db/sample/categories.yml +0 -35
- data/db/sample/countries.yml +0 -3
- data/db/sample/credit_cards.yml +0 -12
- data/db/sample/txns.yml +0 -7
- data/foozah/CHANGELOG +0 -47
- data/foozah/CONTRIBUTORS +0 -27
- data/foozah/INSTALL +0 -27
- data/foozah/LICENSE +0 -26
- data/foozah/README.markdown +0 -88
- data/foozah/Rakefile +0 -3
- data/foozah/config/boot.rb +0 -148
- data/foozah/config/database.yml +0 -16
- data/foozah/config/environment.rb +0 -106
- data/foozah/config/environments/development.rb +0 -24
- data/foozah/config/environments/production.rb +0 -21
- data/foozah/config/routes.rb +0 -1
- data/foozah/db/development.sqlite3.db +0 -0
- data/foozah/public/404.html +0 -30
- data/foozah/public/500.html +0 -30
- data/foozah/public/dispatch.cgi +0 -10
- data/foozah/public/dispatch.fcgi +0 -24
- data/foozah/public/dispatch.rb +0 -10
- data/foozah/public/images/amex_cid.gif +0 -0
- data/foozah/public/images/calendar_date_select/calendar.gif +0 -0
- data/foozah/public/images/creditcard.gif +0 -0
- data/foozah/public/images/discover_cid.gif +0 -0
- data/foozah/public/images/master_cid.jpg +0 -0
- data/foozah/public/images/rails.png +0 -0
- data/foozah/public/images/spinner.gif +0 -0
- data/foozah/public/images/spree.jpg +0 -0
- data/foozah/public/images/spree/progress.gif +0 -0
- data/foozah/public/images/spree/spinner.gif +0 -0
- data/foozah/public/images/spree/spree.jpg +0 -0
- data/foozah/public/images/visa_cid.gif +0 -0
- data/foozah/public/javascripts/application.js +0 -2
- data/foozah/public/javascripts/calendar_date_select/calendar_date_select.js +0 -439
- data/foozah/public/javascripts/calendar_date_select/format_american.js +0 -34
- data/foozah/public/javascripts/calendar_date_select/format_euro_24hr.js +0 -7
- data/foozah/public/javascripts/calendar_date_select/format_finnish.js +0 -24
- data/foozah/public/javascripts/calendar_date_select/format_hyphen_ampm.js +0 -36
- data/foozah/public/javascripts/calendar_date_select/format_italian.js +0 -24
- data/foozah/public/javascripts/controls.js +0 -833
- data/foozah/public/javascripts/dragdrop.js +0 -942
- data/foozah/public/javascripts/effects.js +0 -1088
- data/foozah/public/javascripts/prototype.js +0 -4184
- data/foozah/public/plugin_assets/README +0 -5
- data/foozah/public/plugin_assets/calendar_date_select/images/calendar_date_select/calendar.gif +0 -0
- data/foozah/public/plugin_assets/calendar_date_select/javascripts/calendar_date_select/calendar_date_select.js +0 -439
- data/foozah/public/plugin_assets/calendar_date_select/javascripts/calendar_date_select/format_american.js +0 -34
- data/foozah/public/plugin_assets/calendar_date_select/javascripts/calendar_date_select/format_euro_24hr.js +0 -7
- data/foozah/public/plugin_assets/calendar_date_select/javascripts/calendar_date_select/format_finnish.js +0 -24
- data/foozah/public/plugin_assets/calendar_date_select/javascripts/calendar_date_select/format_hyphen_ampm.js +0 -36
- data/foozah/public/plugin_assets/calendar_date_select/javascripts/calendar_date_select/format_italian.js +0 -24
- data/foozah/public/plugin_assets/calendar_date_select/javascripts/calendar_date_select/locale/fi.js +0 -10
- data/foozah/public/plugin_assets/calendar_date_select/stylesheets/calendar_date_select/blue.css +0 -130
- data/foozah/public/plugin_assets/calendar_date_select/stylesheets/calendar_date_select/default.css +0 -135
- data/foozah/public/plugin_assets/calendar_date_select/stylesheets/calendar_date_select/plain.css +0 -128
- data/foozah/public/plugin_assets/calendar_date_select/stylesheets/calendar_date_select/red.css +0 -135
- data/foozah/public/plugin_assets/calendar_date_select/stylesheets/calendar_date_select/silver.css +0 -133
- data/foozah/public/plugin_assets/spree/404.html +0 -30
- data/foozah/public/plugin_assets/spree/500.html +0 -30
- data/foozah/public/plugin_assets/spree/dispatch.cgi +0 -10
- data/foozah/public/plugin_assets/spree/dispatch.fcgi +0 -24
- data/foozah/public/plugin_assets/spree/dispatch.rb +0 -10
- data/foozah/public/plugin_assets/spree/favicon.ico +0 -0
- data/foozah/public/plugin_assets/spree/images/amex_cid.gif +0 -0
- data/foozah/public/plugin_assets/spree/images/creditcard.gif +0 -0
- data/foozah/public/plugin_assets/spree/images/discover_cid.gif +0 -0
- data/foozah/public/plugin_assets/spree/images/master_cid.jpg +0 -0
- data/foozah/public/plugin_assets/spree/images/products/ror_bag.jpg +0 -0
- data/foozah/public/plugin_assets/spree/images/products/ror_baseball_jersey.jpg +0 -0
- data/foozah/public/plugin_assets/spree/images/products/ror_jr_spaghetti.jpg +0 -0
- data/foozah/public/plugin_assets/spree/images/products/ror_mug.jpg +0 -0
- data/foozah/public/plugin_assets/spree/images/products/ror_ringer_tshirt.jpg +0 -0
- data/foozah/public/plugin_assets/spree/images/products/ror_stein.jpg +0 -0
- data/foozah/public/plugin_assets/spree/images/products/ror_tote.jpg +0 -0
- data/foozah/public/plugin_assets/spree/images/rails.png +0 -0
- data/foozah/public/plugin_assets/spree/images/spinner.gif +0 -0
- data/foozah/public/plugin_assets/spree/images/spree/progress.gif +0 -0
- data/foozah/public/plugin_assets/spree/images/spree/spinner.gif +0 -0
- data/foozah/public/plugin_assets/spree/images/spree/spree.jpg +0 -0
- data/foozah/public/plugin_assets/spree/images/spree/spree_logo142x65.gif +0 -0
- data/foozah/public/plugin_assets/spree/images/spree/spree_logo245x112.gif +0 -0
- data/foozah/public/plugin_assets/spree/images/visa_cid.gif +0 -0
- data/foozah/public/plugin_assets/spree/javascripts/application.js +0 -2
- data/foozah/public/plugin_assets/spree/javascripts/controls.js +0 -833
- data/foozah/public/plugin_assets/spree/javascripts/dragdrop.js +0 -942
- data/foozah/public/plugin_assets/spree/javascripts/effects.js +0 -1088
- data/foozah/public/plugin_assets/spree/javascripts/lowpro.js +0 -307
- data/foozah/public/plugin_assets/spree/javascripts/prototype.js +0 -2515
- data/foozah/public/plugin_assets/spree/robots.txt +0 -1
- data/foozah/public/plugin_assets/spree/stylesheets/cart/_controller.css +0 -71
- data/foozah/public/plugin_assets/spree/stylesheets/checkout/_controller.css +0 -31
- data/foozah/public/plugin_assets/spree/stylesheets/fullscreen.css +0 -63
- data/foozah/public/plugin_assets/spree/stylesheets/orders/_controller.css +0 -3
- data/foozah/public/plugin_assets/spree/stylesheets/products/_controller.css +0 -38
- data/foozah/public/plugin_assets/spree/stylesheets/spree-admin.css +0 -355
- data/foozah/public/plugin_assets/spree/stylesheets/spree.css +0 -66
- data/foozah/public/plugin_assets/spree/stylesheets/store/_controller.css +0 -23
- data/foozah/public/robots.txt +0 -1
- data/foozah/public/stylesheets/application.css +0 -4
- data/foozah/public/stylesheets/calendar_date_select/blue.css +0 -130
- data/foozah/public/stylesheets/calendar_date_select/default.css +0 -135
- data/foozah/public/stylesheets/calendar_date_select/plain.css +0 -128
- data/foozah/public/stylesheets/calendar_date_select/red.css +0 -135
- data/foozah/public/stylesheets/calendar_date_select/silver.css +0 -133
- data/foozah/public/stylesheets/cart/_controller.css +0 -71
- data/foozah/public/stylesheets/checkout/_controller-override.css +0 -13
- data/foozah/public/stylesheets/checkout/_controller.css +0 -31
- data/foozah/public/stylesheets/fullscreen.css +0 -63
- data/foozah/public/stylesheets/orders/_controller.css +0 -3
- data/foozah/public/stylesheets/products/_controller.css +0 -38
- data/foozah/public/stylesheets/spree-admin.css +0 -355
- data/foozah/public/stylesheets/spree.css +0 -296
- data/foozah/public/stylesheets/store/_controller.css +0 -23
- data/foozah/script/about +0 -3
- data/foozah/script/breakpointer +0 -3
- data/foozah/script/generate +0 -16
- data/foozah/script/performance/benchmarker +0 -3
- data/foozah/script/performance/profiler +0 -3
- data/foozah/script/process/inspector +0 -3
- data/foozah/script/process/reaper +0 -3
- data/foozah/script/process/spawner +0 -3
- data/foozah/script/runner +0 -3
- data/foozah/script/spec_server +0 -102
- data/lib/easy_role_permissions.yml +0 -76
- data/lib/generators/instance/templates/instance_boot.rb +0 -148
- data/lib/generators/instance/templates/instance_environment.rb +0 -106
- data/lib/spree/extension_migrator.rb +0 -47
- data/login.patch +0 -55
- data/public/plugin_assets/README +0 -5
- data/public/plugin_assets/calendar_date_select/images/calendar_date_select/calendar.gif +0 -0
- data/public/plugin_assets/calendar_date_select/javascripts/calendar_date_select/calendar_date_select.js +0 -439
- data/public/plugin_assets/calendar_date_select/javascripts/calendar_date_select/format_american.js +0 -34
- data/public/plugin_assets/calendar_date_select/javascripts/calendar_date_select/format_euro_24hr.js +0 -7
- data/public/plugin_assets/calendar_date_select/javascripts/calendar_date_select/format_finnish.js +0 -24
- data/public/plugin_assets/calendar_date_select/javascripts/calendar_date_select/format_hyphen_ampm.js +0 -36
- data/public/plugin_assets/calendar_date_select/javascripts/calendar_date_select/format_italian.js +0 -24
- data/public/plugin_assets/calendar_date_select/javascripts/calendar_date_select/locale/fi.js +0 -10
- data/public/plugin_assets/calendar_date_select/stylesheets/calendar_date_select/blue.css +0 -130
- data/public/plugin_assets/calendar_date_select/stylesheets/calendar_date_select/default.css +0 -135
- data/public/plugin_assets/calendar_date_select/stylesheets/calendar_date_select/plain.css +0 -128
- data/public/plugin_assets/calendar_date_select/stylesheets/calendar_date_select/red.css +0 -135
- data/public/plugin_assets/calendar_date_select/stylesheets/calendar_date_select/silver.css +0 -133
- data/public/plugin_assets/spree/404.html +0 -30
- data/public/plugin_assets/spree/500.html +0 -30
- data/public/plugin_assets/spree/dispatch.cgi +0 -10
- data/public/plugin_assets/spree/dispatch.fcgi +0 -24
- data/public/plugin_assets/spree/dispatch.rb +0 -10
- data/public/plugin_assets/spree/favicon.ico +0 -0
- data/public/plugin_assets/spree/images/amex_cid.gif +0 -0
- data/public/plugin_assets/spree/images/creditcard.gif +0 -0
- data/public/plugin_assets/spree/images/discover_cid.gif +0 -0
- data/public/plugin_assets/spree/images/master_cid.jpg +0 -0
- data/public/plugin_assets/spree/images/products/ror_bag.jpg +0 -0
- data/public/plugin_assets/spree/images/products/ror_baseball_jersey.jpg +0 -0
- data/public/plugin_assets/spree/images/products/ror_jr_spaghetti.jpg +0 -0
- data/public/plugin_assets/spree/images/products/ror_mug.jpg +0 -0
- data/public/plugin_assets/spree/images/products/ror_ringer_tshirt.jpg +0 -0
- data/public/plugin_assets/spree/images/products/ror_stein.jpg +0 -0
- data/public/plugin_assets/spree/images/products/ror_tote.jpg +0 -0
- data/public/plugin_assets/spree/images/rails.png +0 -0
- data/public/plugin_assets/spree/images/spinner.gif +0 -0
- data/public/plugin_assets/spree/images/spree/progress.gif +0 -0
- data/public/plugin_assets/spree/images/spree/spinner.gif +0 -0
- data/public/plugin_assets/spree/images/spree/spree.jpg +0 -0
- data/public/plugin_assets/spree/images/spree/spree_logo142x65.gif +0 -0
- data/public/plugin_assets/spree/images/spree/spree_logo245x112.gif +0 -0
- data/public/plugin_assets/spree/images/visa_cid.gif +0 -0
- data/public/plugin_assets/spree/javascripts/application.js +0 -2
- data/public/plugin_assets/spree/javascripts/controls.js +0 -833
- data/public/plugin_assets/spree/javascripts/dragdrop.js +0 -942
- data/public/plugin_assets/spree/javascripts/effects.js +0 -1088
- data/public/plugin_assets/spree/javascripts/lowpro.js +0 -307
- data/public/plugin_assets/spree/javascripts/prototype.js +0 -2515
- data/public/plugin_assets/spree/robots.txt +0 -1
- data/public/plugin_assets/spree/stylesheets/cart/_controller.css +0 -71
- data/public/plugin_assets/spree/stylesheets/checkout/_controller.css +0 -31
- data/public/plugin_assets/spree/stylesheets/fullscreen.css +0 -63
- data/public/plugin_assets/spree/stylesheets/orders/_controller.css +0 -3
- data/public/plugin_assets/spree/stylesheets/products/_controller.css +0 -38
- data/public/plugin_assets/spree/stylesheets/spree-admin.css +0 -355
- data/public/plugin_assets/spree/stylesheets/spree.css +0 -66
- data/public/plugin_assets/spree/stylesheets/store/_controller.css +0 -23
- data/public/stylesheets/cart/_controller.css +0 -71
- data/public/stylesheets/checkout/_controller-override.css +0 -13
- data/public/stylesheets/checkout/_controller.css +0 -31
- data/public/stylesheets/products/_controller.css +0 -38
- data/public/stylesheets/store/_controller.css +0 -23
- data/spec/models/cart_item_spec.rb +0 -50
- data/spec/models/cart_spec.rb +0 -51
- data/spree.tmproj +0 -800
- data/vendor/extensions/payment_gateway/spec/controllers/payment_gateway_spec.rb +0 -19
- data/vendor/extensions/tax_calculator/app/views/admin/tax_rates/show.html.erb +0 -4
- data/vendor/extensions/tax_calculator/db/migrate/001_create_tax_rates.rb +0 -13
- data/vendor/extensions/tax_calculator/spec/fixtures/tax_rates.yml +0 -3
- data/vendor/plugins/active_merchant/CHANGELOG +0 -345
- data/vendor/plugins/active_merchant/CONTRIBUTERS +0 -69
- data/vendor/plugins/active_merchant/MIT-LICENSE +0 -20
- data/vendor/plugins/active_merchant/README +0 -127
- data/vendor/plugins/active_merchant/Rakefile +0 -160
- data/vendor/plugins/active_merchant/gem-public_cert.pem +0 -20
- data/vendor/plugins/active_merchant/generators/gateway/USAGE +0 -5
- data/vendor/plugins/active_merchant/generators/gateway/gateway_generator.rb +0 -61
- data/vendor/plugins/active_merchant/generators/gateway/templates/gateway.rb +0 -77
- data/vendor/plugins/active_merchant/generators/gateway/templates/gateway_test.rb +0 -49
- data/vendor/plugins/active_merchant/generators/gateway/templates/remote_gateway_test.rb +0 -57
- data/vendor/plugins/active_merchant/generators/integration/USAGE +0 -5
- data/vendor/plugins/active_merchant/generators/integration/integration_generator.rb +0 -68
- data/vendor/plugins/active_merchant/generators/integration/templates/helper.rb +0 -34
- data/vendor/plugins/active_merchant/generators/integration/templates/helper_test.rb +0 -54
- data/vendor/plugins/active_merchant/generators/integration/templates/integration.rb +0 -18
- data/vendor/plugins/active_merchant/generators/integration/templates/module_test.rb +0 -9
- data/vendor/plugins/active_merchant/generators/integration/templates/notification.rb +0 -100
- data/vendor/plugins/active_merchant/generators/integration/templates/notification_test.rb +0 -41
- data/vendor/plugins/active_merchant/init.rb +0 -3
- data/vendor/plugins/active_merchant/lib/active_merchant.rb +0 -70
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/avs_result.rb +0 -95
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/base.rb +0 -57
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/check.rb +0 -61
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/credit_card.rb +0 -157
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/credit_card_formatting.rb +0 -21
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/credit_card_methods.rb +0 -125
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/cvv_result.rb +0 -38
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/expiry_date.rb +0 -28
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateway.rb +0 -162
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways.rb +0 -3
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/authorize_net.rb +0 -633
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/authorize_net_cim.rb +0 -697
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/bogus.rb +0 -86
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/braintree.rb +0 -205
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/card_stream.rb +0 -235
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/cyber_source.rb +0 -406
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/data_cash.rb +0 -595
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/efsnet.rb +0 -229
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/eway.rb +0 -272
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/exact.rb +0 -222
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/linkpoint.rb +0 -396
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/moneris.rb +0 -205
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/net_registry.rb +0 -189
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/netbilling.rb +0 -168
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/pay_junction.rb +0 -386
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/pay_secure.rb +0 -120
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/payflow.rb +0 -236
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/payflow/payflow_common_api.rb +0 -213
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb +0 -39
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/payflow/payflow_response.rb +0 -13
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/payflow_express.rb +0 -138
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/payflow_express_nv.rb +0 -181
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/payflow_express_uk.rb +0 -15
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/payflow_nv.rb +0 -234
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/payflow_nv/payflow_express_nv_response.rb +0 -39
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/payflow_nv/payflow_nv_common_api.rb +0 -227
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/payflow_nv/payflow_nv_response.rb +0 -28
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/payflow_uk.rb +0 -21
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/payment_express.rb +0 -242
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/paypal.rb +0 -108
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb +0 -314
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb +0 -38
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/paypal_express.rb +0 -130
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/paypal_express_common.rb +0 -20
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/plugnpay.rb +0 -292
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/protx.rb +0 -284
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/psigate.rb +0 -214
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/psl_card.rb +0 -302
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/quickpay.rb +0 -183
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/realex.rb +0 -200
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/secure_pay.rb +0 -31
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/secure_pay_au.rb +0 -155
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/secure_pay_tech.rb +0 -113
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/skip_jack.rb +0 -437
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/trans_first.rb +0 -127
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/trust_commerce.rb +0 -414
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/usa_epay.rb +0 -194
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/verifi.rb +0 -228
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/gateways/viaklix.rb +0 -165
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations.rb +0 -15
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/action_view_helper.rb +0 -65
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/bogus.rb +0 -22
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/bogus/helper.rb +0 -17
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/bogus/notification.rb +0 -11
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/bogus/return.rb +0 -10
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/chronopay.rb +0 -22
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/chronopay/helper.rb +0 -81
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/chronopay/notification.rb +0 -156
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/chronopay/return.rb +0 -10
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/gestpay.rb +0 -26
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/gestpay/common.rb +0 -42
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/gestpay/helper.rb +0 -70
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/gestpay/notification.rb +0 -83
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/gestpay/return.rb +0 -10
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/helper.rb +0 -93
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/hi_trust.rb +0 -26
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/hi_trust/helper.rb +0 -58
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/hi_trust/notification.rb +0 -57
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/hi_trust/return.rb +0 -67
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/nochex.rb +0 -87
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/nochex/helper.rb +0 -68
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/nochex/notification.rb +0 -94
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/nochex/return.rb +0 -10
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/notification.rb +0 -53
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/paypal.rb +0 -40
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/paypal/helper.rb +0 -118
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/paypal/notification.rb +0 -154
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/paypal/return.rb +0 -10
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/return.rb +0 -35
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/two_checkout.rb +0 -23
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/two_checkout/helper.rb +0 -59
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/two_checkout/notification.rb +0 -114
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/integrations/two_checkout/return.rb +0 -17
- data/vendor/plugins/active_merchant/lib/active_merchant/billing/response.rb +0 -32
- data/vendor/plugins/active_merchant/lib/active_merchant/lib/country.rb +0 -298
- data/vendor/plugins/active_merchant/lib/active_merchant/lib/error.rb +0 -4
- data/vendor/plugins/active_merchant/lib/active_merchant/lib/post_data.rb +0 -22
- data/vendor/plugins/active_merchant/lib/active_merchant/lib/posts_data.rb +0 -80
- data/vendor/plugins/active_merchant/lib/active_merchant/lib/requires_parameters.rb +0 -16
- data/vendor/plugins/active_merchant/lib/active_merchant/lib/utils.rb +0 -18
- data/vendor/plugins/active_merchant/lib/active_merchant/lib/validateable.rb +0 -76
- data/vendor/plugins/active_merchant/lib/certs/cacert.pem +0 -7815
- data/vendor/plugins/active_merchant/lib/support/gateway_support.rb +0 -58
- data/vendor/plugins/active_merchant/lib/tasks/cia.rb +0 -90
- data/vendor/plugins/active_merchant/script/destroy +0 -14
- data/vendor/plugins/active_merchant/script/generate +0 -14
- data/vendor/plugins/active_merchant/test/extra/binding_of_caller.rb +0 -80
- data/vendor/plugins/active_merchant/test/extra/breakpoint.rb +0 -547
- data/vendor/plugins/active_merchant/test/fixtures.yml +0 -277
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_authorize_net_cim_test.rb +0 -458
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_authorize_net_test.rb +0 -145
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_braintree_test.rb +0 -125
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_card_stream_test.rb +0 -148
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_cyber_source_test.rb +0 -144
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_data_cash_test.rb +0 -357
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_efsnet_test.rb +0 -81
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_eway_test.rb +0 -74
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_exact_test.rb +0 -60
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_linkpoint_test.rb +0 -112
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_moneris_test.rb +0 -82
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_net_registry_test.rb +0 -85
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_netbilling_test.rb +0 -70
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_pay_junction_test.rb +0 -143
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_pay_secure_test.rb +0 -39
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_payflow_express_nv_test.rb +0 -51
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_payflow_express_test.rb +0 -50
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_payflow_nv_test.rb +0 -237
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_payflow_test.rb +0 -237
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_payflow_uk_test.rb +0 -173
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_payment_express_test.rb +0 -126
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_paypal_express_test.rb +0 -49
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_paypal_test.rb +0 -167
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_plugnpay_test.rb +0 -72
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_protx_test.rb +0 -184
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_psigate_test.rb +0 -50
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_psl_card_test.rb +0 -106
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_quickpay_test.rb +0 -182
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_realex_test.rb +0 -224
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_secure_pay_au_test.rb +0 -40
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_secure_pay_tech_test.rb +0 -37
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_secure_pay_test.rb +0 -28
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_skipjack_test.rb +0 -105
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_trans_first_test.rb +0 -34
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_trust_commerce_test.rb +0 -152
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_usa_epay_test.rb +0 -46
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_verifi_test.rb +0 -107
- data/vendor/plugins/active_merchant/test/remote/gateways/remote_viaklix_test.rb +0 -43
- data/vendor/plugins/active_merchant/test/remote/integrations/remote_gestpay_integration_test.rb +0 -37
- data/vendor/plugins/active_merchant/test/remote/integrations/remote_paypal_integration_test.rb +0 -14
- data/vendor/plugins/active_merchant/test/test_helper.rb +0 -173
- data/vendor/plugins/active_merchant/test/unit/avs_result_test.rb +0 -59
- data/vendor/plugins/active_merchant/test/unit/base_test.rb +0 -55
- data/vendor/plugins/active_merchant/test/unit/check_test.rb +0 -76
- data/vendor/plugins/active_merchant/test/unit/country_code_test.rb +0 -33
- data/vendor/plugins/active_merchant/test/unit/country_test.rb +0 -64
- data/vendor/plugins/active_merchant/test/unit/credit_card_formatting_test.rb +0 -19
- data/vendor/plugins/active_merchant/test/unit/credit_card_methods_test.rb +0 -170
- data/vendor/plugins/active_merchant/test/unit/credit_card_test.rb +0 -311
- data/vendor/plugins/active_merchant/test/unit/cvv_result_test.rb +0 -33
- data/vendor/plugins/active_merchant/test/unit/expiry_date_test.rb +0 -21
- data/vendor/plugins/active_merchant/test/unit/gateways/authorize_net_cim_test.rb +0 -640
- data/vendor/plugins/active_merchant/test/unit/gateways/authorize_net_test.rb +0 -280
- data/vendor/plugins/active_merchant/test/unit/gateways/bogus_test.rb +0 -42
- data/vendor/plugins/active_merchant/test/unit/gateways/braintree_test.rb +0 -119
- data/vendor/plugins/active_merchant/test/unit/gateways/card_stream_test.rb +0 -90
- data/vendor/plugins/active_merchant/test/unit/gateways/cyber_source_test.rb +0 -188
- data/vendor/plugins/active_merchant/test/unit/gateways/data_cash_test.rb +0 -132
- data/vendor/plugins/active_merchant/test/unit/gateways/efsnet_test.rb +0 -123
- data/vendor/plugins/active_merchant/test/unit/gateways/eway_test.rb +0 -118
- data/vendor/plugins/active_merchant/test/unit/gateways/exact_test.rb +0 -156
- data/vendor/plugins/active_merchant/test/unit/gateways/gateway_test.rb +0 -41
- data/vendor/plugins/active_merchant/test/unit/gateways/linkpoint_test.rb +0 -167
- data/vendor/plugins/active_merchant/test/unit/gateways/moneris_test.rb +0 -158
- data/vendor/plugins/active_merchant/test/unit/gateways/net_registry_test.rb +0 -416
- data/vendor/plugins/active_merchant/test/unit/gateways/netbilling_test.rb +0 -54
- data/vendor/plugins/active_merchant/test/unit/gateways/pay_junction_test.rb +0 -123
- data/vendor/plugins/active_merchant/test/unit/gateways/pay_secure_test.rb +0 -71
- data/vendor/plugins/active_merchant/test/unit/gateways/payflow_express_nv_test.rb +0 -156
- data/vendor/plugins/active_merchant/test/unit/gateways/payflow_express_test.rb +0 -173
- data/vendor/plugins/active_merchant/test/unit/gateways/payflow_express_uk_test.rb +0 -14
- data/vendor/plugins/active_merchant/test/unit/gateways/payflow_nv_test.rb +0 -237
- data/vendor/plugins/active_merchant/test/unit/gateways/payflow_test.rb +0 -301
- data/vendor/plugins/active_merchant/test/unit/gateways/payflow_uk_test.rb +0 -30
- data/vendor/plugins/active_merchant/test/unit/gateways/payment_express_test.rb +0 -195
- data/vendor/plugins/active_merchant/test/unit/gateways/paypal_express_test.rb +0 -333
- data/vendor/plugins/active_merchant/test/unit/gateways/paypal_test.rb +0 -380
- data/vendor/plugins/active_merchant/test/unit/gateways/plugnpay_test.rb +0 -86
- data/vendor/plugins/active_merchant/test/unit/gateways/protx_test.rb +0 -122
- data/vendor/plugins/active_merchant/test/unit/gateways/psigate_test.rb +0 -169
- data/vendor/plugins/active_merchant/test/unit/gateways/psl_card_test.rb +0 -64
- data/vendor/plugins/active_merchant/test/unit/gateways/quickpay_test.rb +0 -112
- data/vendor/plugins/active_merchant/test/unit/gateways/realex_test.rb +0 -151
- data/vendor/plugins/active_merchant/test/unit/gateways/secure_pay_au_test.rb +0 -150
- data/vendor/plugins/active_merchant/test/unit/gateways/secure_pay_tech_test.rb +0 -44
- data/vendor/plugins/active_merchant/test/unit/gateways/secure_pay_test.rb +0 -87
- data/vendor/plugins/active_merchant/test/unit/gateways/skip_jack_test.rb +0 -125
- data/vendor/plugins/active_merchant/test/unit/gateways/trans_first_test.rb +0 -112
- data/vendor/plugins/active_merchant/test/unit/gateways/trust_commerce_test.rb +0 -78
- data/vendor/plugins/active_merchant/test/unit/gateways/usa_epay_test.rb +0 -128
- data/vendor/plugins/active_merchant/test/unit/gateways/verifi_test.rb +0 -96
- data/vendor/plugins/active_merchant/test/unit/gateways/viaklix_test.rb +0 -78
- data/vendor/plugins/active_merchant/test/unit/generators/test_gateway_generator.rb +0 -46
- data/vendor/plugins/active_merchant/test/unit/generators/test_generator_helper.rb +0 -20
- data/vendor/plugins/active_merchant/test/unit/generators/test_integration_generator.rb +0 -53
- data/vendor/plugins/active_merchant/test/unit/integrations/action_view_helper_test.rb +0 -47
- data/vendor/plugins/active_merchant/test/unit/integrations/bogus_module_test.rb +0 -20
- data/vendor/plugins/active_merchant/test/unit/integrations/chronopay_module_test.rb +0 -13
- data/vendor/plugins/active_merchant/test/unit/integrations/gestpay_module_test.rb +0 -14
- data/vendor/plugins/active_merchant/test/unit/integrations/helpers/bogus_helper_test.rb +0 -28
- data/vendor/plugins/active_merchant/test/unit/integrations/helpers/chronopay_helper_test.rb +0 -67
- data/vendor/plugins/active_merchant/test/unit/integrations/helpers/gestpay_helper_test.rb +0 -100
- data/vendor/plugins/active_merchant/test/unit/integrations/helpers/hi_trust_helper_test.rb +0 -16
- data/vendor/plugins/active_merchant/test/unit/integrations/helpers/nochex_helper_test.rb +0 -53
- data/vendor/plugins/active_merchant/test/unit/integrations/helpers/paypal_helper_test.rb +0 -162
- data/vendor/plugins/active_merchant/test/unit/integrations/helpers/two_checkout_helper_test.rb +0 -92
- data/vendor/plugins/active_merchant/test/unit/integrations/hi_trust_module_test.rb +0 -13
- data/vendor/plugins/active_merchant/test/unit/integrations/nochex_module_test.rb +0 -13
- data/vendor/plugins/active_merchant/test/unit/integrations/notifications/chronopay_notification_test.rb +0 -66
- data/vendor/plugins/active_merchant/test/unit/integrations/notifications/gestpay_notification_test.rb +0 -60
- data/vendor/plugins/active_merchant/test/unit/integrations/notifications/hi_trust_notification_test.rb +0 -38
- data/vendor/plugins/active_merchant/test/unit/integrations/notifications/nochex_notification_test.rb +0 -51
- data/vendor/plugins/active_merchant/test/unit/integrations/notifications/notification_test.rb +0 -41
- data/vendor/plugins/active_merchant/test/unit/integrations/notifications/paypal_notification_test.rb +0 -85
- data/vendor/plugins/active_merchant/test/unit/integrations/notifications/two_checkout_notification_test.rb +0 -55
- data/vendor/plugins/active_merchant/test/unit/integrations/paypal_module_test.rb +0 -28
- data/vendor/plugins/active_merchant/test/unit/integrations/returns/chronopay_return_test.rb +0 -11
- data/vendor/plugins/active_merchant/test/unit/integrations/returns/gestpay_return_test.rb +0 -10
- data/vendor/plugins/active_merchant/test/unit/integrations/returns/hi_trust_return_test.rb +0 -24
- data/vendor/plugins/active_merchant/test/unit/integrations/returns/nochex_return_test.rb +0 -10
- data/vendor/plugins/active_merchant/test/unit/integrations/returns/paypal_return_test.rb +0 -10
- data/vendor/plugins/active_merchant/test/unit/integrations/returns/return_test.rb +0 -11
- data/vendor/plugins/active_merchant/test/unit/integrations/returns/two_checkout_return_test.rb +0 -24
- data/vendor/plugins/active_merchant/test/unit/integrations/two_checkout_module_test.rb +0 -13
- data/vendor/plugins/active_merchant/test/unit/post_data_test.rb +0 -55
- data/vendor/plugins/active_merchant/test/unit/posts_data_test.rb +0 -86
- data/vendor/plugins/active_merchant/test/unit/response_test.rb +0 -28
- data/vendor/plugins/active_merchant/test/unit/utils_test.rb +0 -7
- data/vendor/plugins/active_merchant/test/unit/validateable_test.rb +0 -60
- data/vendor/plugins/attachment_fu/test/amazon_s3.yml +0 -6
- data/vendor/plugins/resource_controller/README +0 -276
- data/vendor/plugins/resource_controller/release.rb +0 -24
- data/vendor/plugins/rspec/UPGRADE +0 -31
- data/vendor/plugins/rspec/autotest/discover.rb +0 -6
- data/vendor/plugins/rspec/autotest/rspec.rb +0 -1
- data/vendor/plugins/rspec/pre_commit/lib/pre_commit.rb +0 -4
- data/vendor/plugins/rspec/pre_commit/lib/pre_commit/core.rb +0 -50
- data/vendor/plugins/rspec/pre_commit/lib/pre_commit/pre_commit.rb +0 -54
- data/vendor/plugins/rspec/pre_commit/lib/pre_commit/rspec.rb +0 -111
- data/vendor/plugins/rspec/pre_commit/lib/pre_commit/rspec_on_rails.rb +0 -313
- data/vendor/plugins/rspec/pre_commit/spec/pre_commit/pre_commit_spec.rb +0 -15
- data/vendor/plugins/rspec/pre_commit/spec/pre_commit/rspec_on_rails_spec.rb +0 -36
- data/vendor/plugins/rspec/pre_commit/spec/spec_helper.rb +0 -3
- data/vendor/plugins/rspec/pre_commit/spec/spec_suite.rb +0 -11
- data/vendor/plugins/rspec/report.html +0 -4358
- data/vendor/plugins/rspec_on_rails/Rakefile +0 -9
- data/vendor/plugins/rspec_on_rails/generators/rspec/templates/script/spec +0 -4
- data/vendor/plugins/rspec_on_rails/generators/rspec/templates/script/spec_server +0 -102
- data/vendor/plugins/rspec_on_rails/generators/rspec/templates/spec_helper.rb +0 -39
- data/vendor/plugins/rspec_on_rails/generators/rspec_controller/templates/controller_spec.rb +0 -25
- data/vendor/plugins/rspec_on_rails/generators/rspec_controller/templates/helper_spec.rb +0 -11
- data/vendor/plugins/rspec_on_rails/generators/rspec_controller/templates/view_spec.rb +0 -12
- data/vendor/plugins/rspec_on_rails/generators/rspec_model/templates/model_spec.rb +0 -11
- data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/rspec_scaffold_generator.rb +0 -167
- data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/controller_spec.rb +0 -313
- data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/edit_erb_spec.rb +0 -25
- data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/helper_spec.rb +0 -11
- data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/index_erb_spec.rb +0 -22
- data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/new_erb_spec.rb +0 -26
- data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/routing_spec.rb +0 -61
- data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/show_erb_spec.rb +0 -22
- data/vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb +0 -81
- data/vendor/plugins/rspec_on_rails/lib/spec/rails.rb +0 -51
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/example.rb +0 -47
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/assigns_hash_proxy.rb +0 -42
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/controller_example_group.rb +0 -255
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/functional_example_group.rb +0 -66
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/helper_example_group.rb +0 -82
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/ivar_proxy.rb +0 -62
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/rails_example_group.rb +0 -68
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/render_observer.rb +0 -90
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/view_example_group.rb +0 -171
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/spec/example/configuration.rb +0 -66
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers.rb +0 -29
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers/have_text.rb +0 -55
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers/redirect_to.rb +0 -113
- data/vendor/plugins/rspec_on_rails/lib/spec/rails/version.rb +0 -23
- data/vendor/plugins/rspec_on_rails/spec/rails/example/assigns_hash_proxy_spec.rb +0 -55
- data/vendor/plugins/rspec_on_rails/spec/rails/example/controller_isolation_spec.rb +0 -43
- data/vendor/plugins/rspec_on_rails/spec/rails/example/controller_spec_spec.rb +0 -187
- data/vendor/plugins/rspec_on_rails/spec/rails/example/helper_spec_spec.rb +0 -118
- data/vendor/plugins/rspec_on_rails/spec/rails/example/ivar_proxy_spec.rb +0 -64
- data/vendor/plugins/rspec_on_rails/spec/rails/example/view_spec_spec.rb +0 -263
- data/vendor/plugins/rspec_on_rails/spec/rails/matchers/assert_select_spec.rb +0 -783
- data/vendor/plugins/rspec_on_rails/spec/rails/matchers/redirect_to_spec.rb +0 -203
- data/vendor/plugins/rspec_on_rails/spec/rails/mocks/mock_model_spec.rb +0 -65
- data/vendor/plugins/rspec_on_rails/spec/rails/sample_spec.rb +0 -7
- data/vendor/plugins/rspec_on_rails/spec/rails/spec_server_spec.rb +0 -89
- data/vendor/plugins/rspec_on_rails/spec_resources/controllers/controller_spec_controller.rb +0 -56
- data/vendor/plugins/rspec_on_rails/spec_resources/helpers/explicit_helper.rb +0 -10
- data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/accessor.rhtml +0 -3
- data/vendor/plugins/rspec_on_rails/tasks/rspec.rake +0 -137
- data/vendor/rails/TAG_rel_2-0-2 +0 -0
- data/vendor/rails/actionmailer/CHANGELOG +0 -325
- data/vendor/rails/actionmailer/MIT-LICENSE +0 -21
- data/vendor/rails/actionmailer/README +0 -145
- data/vendor/rails/actionmailer/Rakefile +0 -96
- data/vendor/rails/actionmailer/install.rb +0 -30
- data/vendor/rails/actionmailer/lib/action_mailer.rb +0 -52
- data/vendor/rails/actionmailer/lib/action_mailer/adv_attr_accessor.rb +0 -30
- data/vendor/rails/actionmailer/lib/action_mailer/base.rb +0 -603
- data/vendor/rails/actionmailer/lib/action_mailer/helpers.rb +0 -111
- data/vendor/rails/actionmailer/lib/action_mailer/mail_helper.rb +0 -19
- data/vendor/rails/actionmailer/lib/action_mailer/part.rb +0 -110
- data/vendor/rails/actionmailer/lib/action_mailer/part_container.rb +0 -51
- data/vendor/rails/actionmailer/lib/action_mailer/quoting.rb +0 -59
- data/vendor/rails/actionmailer/lib/action_mailer/test_case.rb +0 -59
- data/vendor/rails/actionmailer/lib/action_mailer/test_helper.rb +0 -67
- data/vendor/rails/actionmailer/lib/action_mailer/utils.rb +0 -8
- data/vendor/rails/actionmailer/lib/action_mailer/vendor.rb +0 -14
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb +0 -1466
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail.rb +0 -4
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/Makefile +0 -19
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/address.rb +0 -245
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/attachments.rb +0 -47
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/base64.rb +0 -52
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/compat.rb +0 -39
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/config.rb +0 -71
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/core_extensions.rb +0 -67
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/encode.rb +0 -481
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/facade.rb +0 -552
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/header.rb +0 -931
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/info.rb +0 -35
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/interface.rb +0 -540
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/loader.rb +0 -1
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/mail.rb +0 -462
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/mailbox.rb +0 -435
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/mbox.rb +0 -1
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/net.rb +0 -282
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/obsolete.rb +0 -137
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/parser.rb +0 -1475
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/parser.y +0 -381
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/port.rb +0 -379
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/quoting.rb +0 -142
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/scanner.rb +0 -43
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/scanner_r.rb +0 -263
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/stringio.rb +0 -279
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/tmail.rb +0 -1
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/utils.rb +0 -281
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.1.0/tmail/version.rb +0 -38
- data/vendor/rails/actionmailer/lib/action_mailer/version.rb +0 -9
- data/vendor/rails/actionmailer/lib/actionmailer.rb +0 -1
- data/vendor/rails/actionmailer/test/abstract_unit.rb +0 -49
- data/vendor/rails/actionmailer/test/delivery_method_test.rb +0 -51
- data/vendor/rails/actionmailer/test/fixtures/first_mailer/share.erb +0 -1
- data/vendor/rails/actionmailer/test/fixtures/first_mailer/share.rhtml +0 -0
- data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_example_helper.erb +0 -1
- data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_example_helper.rhtml +0 -0
- data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper.erb +0 -1
- data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper.rhtml +0 -0
- data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper_method.erb +0 -1
- data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper_method.rhtml +0 -0
- data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_mail_helper.erb +0 -5
- data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_mail_helper.rhtml +0 -0
- data/vendor/rails/actionmailer/test/fixtures/helpers/example_helper.rb +0 -5
- data/vendor/rails/actionmailer/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.erb +0 -1
- data/vendor/rails/actionmailer/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.rhtml +0 -0
- data/vendor/rails/actionmailer/test/fixtures/path.with.dots/multipart_with_template_path_with_dots.rhtml +0 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_base64_decoded_string +0 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_base64_encoded_string +0 -1
- data/vendor/rails/actionmailer/test/fixtures/raw_email +0 -14
- data/vendor/rails/actionmailer/test/fixtures/raw_email10 +0 -20
- data/vendor/rails/actionmailer/test/fixtures/raw_email12 +0 -32
- data/vendor/rails/actionmailer/test/fixtures/raw_email13 +0 -29
- data/vendor/rails/actionmailer/test/fixtures/raw_email2 +0 -114
- data/vendor/rails/actionmailer/test/fixtures/raw_email3 +0 -70
- data/vendor/rails/actionmailer/test/fixtures/raw_email4 +0 -59
- data/vendor/rails/actionmailer/test/fixtures/raw_email5 +0 -19
- data/vendor/rails/actionmailer/test/fixtures/raw_email6 +0 -20
- data/vendor/rails/actionmailer/test/fixtures/raw_email7 +0 -66
- data/vendor/rails/actionmailer/test/fixtures/raw_email8 +0 -47
- data/vendor/rails/actionmailer/test/fixtures/raw_email9 +0 -28
- data/vendor/rails/actionmailer/test/fixtures/raw_email_quoted_with_0d0a +0 -14
- data/vendor/rails/actionmailer/test/fixtures/raw_email_with_invalid_characters_in_content_type +0 -104
- data/vendor/rails/actionmailer/test/fixtures/raw_email_with_nested_attachment +0 -100
- data/vendor/rails/actionmailer/test/fixtures/raw_email_with_partially_quoted_subject +0 -14
- data/vendor/rails/actionmailer/test/fixtures/second_mailer/share.erb +0 -1
- data/vendor/rails/actionmailer/test/fixtures/second_mailer/share.rhtml +0 -0
- data/vendor/rails/actionmailer/test/fixtures/templates/signed_up.erb +0 -3
- data/vendor/rails/actionmailer/test/fixtures/templates/signed_up.rhtml +0 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/_subtemplate.text.plain.erb +0 -1
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/custom_templating_extension.text.html.haml +0 -6
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/custom_templating_extension.text.plain.haml +0 -6
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.ignored.erb +0 -1
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.ignored.rhtml +0 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.html.erb +0 -10
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.html.rhtml +0 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.plain.erb +0 -2
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.plain.rhtml +0 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.yaml.erb +0 -1
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.yaml.rhtml +0 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/included_subtemplate.text.plain.erb +0 -1
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/rxml_template.builder +0 -2
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/rxml_template.rxml +0 -2
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up.erb +0 -3
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up.rhtml +0 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up_with_url.erb +0 -5
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up_with_url.rhtml +0 -0
- data/vendor/rails/actionmailer/test/mail_helper_test.rb +0 -95
- data/vendor/rails/actionmailer/test/mail_render_test.rb +0 -122
- data/vendor/rails/actionmailer/test/mail_service_test.rb +0 -939
- data/vendor/rails/actionmailer/test/quoting_test.rb +0 -111
- data/vendor/rails/actionmailer/test/test_helper_test.rb +0 -117
- data/vendor/rails/actionmailer/test/tmail_test.rb +0 -22
- data/vendor/rails/actionmailer/test/url_test.rb +0 -76
- data/vendor/rails/actionpack/CHANGELOG +0 -4606
- data/vendor/rails/actionpack/MIT-LICENSE +0 -21
- data/vendor/rails/actionpack/README +0 -469
- data/vendor/rails/actionpack/RUNNING_UNIT_TESTS +0 -24
- data/vendor/rails/actionpack/Rakefile +0 -153
- data/vendor/rails/actionpack/install.rb +0 -30
- data/vendor/rails/actionpack/lib/action_controller.rb +0 -79
- data/vendor/rails/actionpack/lib/action_controller/assertions.rb +0 -69
- data/vendor/rails/actionpack/lib/action_controller/assertions/dom_assertions.rb +0 -39
- data/vendor/rails/actionpack/lib/action_controller/assertions/model_assertions.rb +0 -19
- data/vendor/rails/actionpack/lib/action_controller/assertions/response_assertions.rb +0 -166
- data/vendor/rails/actionpack/lib/action_controller/assertions/routing_assertions.rb +0 -143
- data/vendor/rails/actionpack/lib/action_controller/assertions/selector_assertions.rb +0 -640
- data/vendor/rails/actionpack/lib/action_controller/assertions/tag_assertions.rb +0 -130
- data/vendor/rails/actionpack/lib/action_controller/base.rb +0 -1295
- data/vendor/rails/actionpack/lib/action_controller/benchmarking.rb +0 -94
- data/vendor/rails/actionpack/lib/action_controller/caching.rb +0 -683
- data/vendor/rails/actionpack/lib/action_controller/cgi_ext.rb +0 -16
- data/vendor/rails/actionpack/lib/action_controller/cgi_ext/cookie.rb +0 -106
- data/vendor/rails/actionpack/lib/action_controller/cgi_ext/query_extension.rb +0 -22
- data/vendor/rails/actionpack/lib/action_controller/cgi_ext/session.rb +0 -73
- data/vendor/rails/actionpack/lib/action_controller/cgi_ext/stdinput.rb +0 -23
- data/vendor/rails/actionpack/lib/action_controller/cgi_process.rb +0 -221
- data/vendor/rails/actionpack/lib/action_controller/components.rb +0 -165
- data/vendor/rails/actionpack/lib/action_controller/cookies.rb +0 -84
- data/vendor/rails/actionpack/lib/action_controller/dispatcher.rb +0 -195
- data/vendor/rails/actionpack/lib/action_controller/filters.rb +0 -767
- data/vendor/rails/actionpack/lib/action_controller/flash.rb +0 -177
- data/vendor/rails/actionpack/lib/action_controller/helpers.rb +0 -204
- data/vendor/rails/actionpack/lib/action_controller/http_authentication.rb +0 -126
- data/vendor/rails/actionpack/lib/action_controller/integration.rb +0 -581
- data/vendor/rails/actionpack/lib/action_controller/layout.rb +0 -326
- data/vendor/rails/actionpack/lib/action_controller/mime_responds.rb +0 -170
- data/vendor/rails/actionpack/lib/action_controller/mime_type.rb +0 -163
- data/vendor/rails/actionpack/lib/action_controller/mime_types.rb +0 -20
- data/vendor/rails/actionpack/lib/action_controller/polymorphic_routes.rb +0 -88
- data/vendor/rails/actionpack/lib/action_controller/record_identifier.rb +0 -91
- data/vendor/rails/actionpack/lib/action_controller/request.rb +0 -730
- data/vendor/rails/actionpack/lib/action_controller/request_forgery_protection.rb +0 -132
- data/vendor/rails/actionpack/lib/action_controller/request_profiler.rb +0 -138
- data/vendor/rails/actionpack/lib/action_controller/rescue.rb +0 -258
- data/vendor/rails/actionpack/lib/action_controller/resources.rb +0 -529
- data/vendor/rails/actionpack/lib/action_controller/response.rb +0 -76
- data/vendor/rails/actionpack/lib/action_controller/routing.rb +0 -1499
- data/vendor/rails/actionpack/lib/action_controller/routing_optimisation.rb +0 -119
- data/vendor/rails/actionpack/lib/action_controller/session/active_record_store.rb +0 -336
- data/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb +0 -164
- data/vendor/rails/actionpack/lib/action_controller/session/drb_server.rb +0 -32
- data/vendor/rails/actionpack/lib/action_controller/session/drb_store.rb +0 -35
- data/vendor/rails/actionpack/lib/action_controller/session/mem_cache_store.rb +0 -98
- data/vendor/rails/actionpack/lib/action_controller/session_management.rb +0 -151
- data/vendor/rails/actionpack/lib/action_controller/status_codes.rb +0 -88
- data/vendor/rails/actionpack/lib/action_controller/streaming.rb +0 -141
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.erb +0 -24
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/_trace.erb +0 -26
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/diagnostics.erb +0 -11
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb +0 -29
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/missing_template.erb +0 -2
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/routing_error.erb +0 -10
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/template_error.erb +0 -21
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/unknown_action.erb +0 -2
- data/vendor/rails/actionpack/lib/action_controller/test_case.rb +0 -53
- data/vendor/rails/actionpack/lib/action_controller/test_process.rb +0 -520
- data/vendor/rails/actionpack/lib/action_controller/url_rewriter.rb +0 -135
- data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb +0 -68
- data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb +0 -530
- data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb +0 -173
- data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/selector.rb +0 -828
- data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb +0 -105
- data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb +0 -11
- data/vendor/rails/actionpack/lib/action_controller/verification.rb +0 -114
- data/vendor/rails/actionpack/lib/action_pack.rb +0 -24
- data/vendor/rails/actionpack/lib/action_pack/version.rb +0 -9
- data/vendor/rails/actionpack/lib/action_view.rb +0 -37
- data/vendor/rails/actionpack/lib/action_view/base.rb +0 -642
- data/vendor/rails/actionpack/lib/action_view/compiled_templates.rb +0 -69
- data/vendor/rails/actionpack/lib/action_view/helpers/active_record_helper.rb +0 -255
- data/vendor/rails/actionpack/lib/action_view/helpers/asset_tag_helper.rb +0 -548
- data/vendor/rails/actionpack/lib/action_view/helpers/atom_feed_helper.rb +0 -111
- data/vendor/rails/actionpack/lib/action_view/helpers/benchmark_helper.rb +0 -31
- data/vendor/rails/actionpack/lib/action_view/helpers/cache_helper.rb +0 -39
- data/vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb +0 -162
- data/vendor/rails/actionpack/lib/action_view/helpers/date_helper.rb +0 -689
- data/vendor/rails/actionpack/lib/action_view/helpers/debug_helper.rb +0 -31
- data/vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb +0 -689
- data/vendor/rails/actionpack/lib/action_view/helpers/form_options_helper.rb +0 -425
- data/vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb +0 -432
- data/vendor/rails/actionpack/lib/action_view/helpers/javascript_helper.rb +0 -217
- data/vendor/rails/actionpack/lib/action_view/helpers/javascripts/controls.js +0 -963
- data/vendor/rails/actionpack/lib/action_view/helpers/javascripts/dragdrop.js +0 -972
- data/vendor/rails/actionpack/lib/action_view/helpers/javascripts/effects.js +0 -1120
- data/vendor/rails/actionpack/lib/action_view/helpers/javascripts/prototype.js +0 -4225
- data/vendor/rails/actionpack/lib/action_view/helpers/number_helper.rb +0 -179
- data/vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb +0 -1268
- data/vendor/rails/actionpack/lib/action_view/helpers/record_identification_helper.rb +0 -20
- data/vendor/rails/actionpack/lib/action_view/helpers/record_tag_helper.rb +0 -59
- data/vendor/rails/actionpack/lib/action_view/helpers/sanitize_helper.rb +0 -223
- data/vendor/rails/actionpack/lib/action_view/helpers/scriptaculous_helper.rb +0 -199
- data/vendor/rails/actionpack/lib/action_view/helpers/tag_helper.rb +0 -133
- data/vendor/rails/actionpack/lib/action_view/helpers/text_helper.rb +0 -479
- data/vendor/rails/actionpack/lib/action_view/helpers/url_helper.rb +0 -524
- data/vendor/rails/actionpack/lib/action_view/partials.rb +0 -200
- data/vendor/rails/actionpack/lib/action_view/template_error.rb +0 -102
- data/vendor/rails/actionpack/lib/action_view/template_handler.rb +0 -17
- data/vendor/rails/actionpack/lib/action_view/template_handlers/builder.rb +0 -19
- data/vendor/rails/actionpack/lib/action_view/template_handlers/erb.rb +0 -21
- data/vendor/rails/actionpack/lib/action_view/template_handlers/rjs.rb +0 -14
- data/vendor/rails/actionpack/lib/actionpack.rb +0 -1
- data/vendor/rails/actionpack/test/abstract_unit.rb +0 -36
- data/vendor/rails/actionpack/test/action_view_test.rb +0 -44
- data/vendor/rails/actionpack/test/active_record_unit.rb +0 -108
- data/vendor/rails/actionpack/test/activerecord/active_record_store_test.rb +0 -142
- data/vendor/rails/actionpack/test/activerecord/render_partial_with_record_identification_test.rb +0 -74
- data/vendor/rails/actionpack/test/controller/action_pack_assertions_test.rb +0 -492
- data/vendor/rails/actionpack/test/controller/addresses_render_test.rb +0 -43
- data/vendor/rails/actionpack/test/controller/assert_select_test.rb +0 -682
- data/vendor/rails/actionpack/test/controller/base_test.rb +0 -134
- data/vendor/rails/actionpack/test/controller/benchmark_test.rb +0 -33
- data/vendor/rails/actionpack/test/controller/caching_test.rb +0 -349
- data/vendor/rails/actionpack/test/controller/capture_test.rb +0 -89
- data/vendor/rails/actionpack/test/controller/cgi_test.rb +0 -115
- data/vendor/rails/actionpack/test/controller/components_test.rb +0 -140
- data/vendor/rails/actionpack/test/controller/content_type_test.rb +0 -139
- data/vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/admin/user_controller.rb +0 -0
- data/vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/user_controller.rb +0 -0
- data/vendor/rails/actionpack/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb +0 -0
- data/vendor/rails/actionpack/test/controller/cookie_test.rb +0 -135
- data/vendor/rails/actionpack/test/controller/custom_handler_test.rb +0 -41
- data/vendor/rails/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb +0 -37
- data/vendor/rails/actionpack/test/controller/dispatcher_test.rb +0 -123
- data/vendor/rails/actionpack/test/controller/fake_controllers.rb +0 -16
- data/vendor/rails/actionpack/test/controller/fake_models.rb +0 -5
- data/vendor/rails/actionpack/test/controller/filter_params_test.rb +0 -43
- data/vendor/rails/actionpack/test/controller/filters_test.rb +0 -856
- data/vendor/rails/actionpack/test/controller/flash_test.rb +0 -146
- data/vendor/rails/actionpack/test/controller/fragment_store_setting_test.rb +0 -47
- data/vendor/rails/actionpack/test/controller/helper_test.rb +0 -206
- data/vendor/rails/actionpack/test/controller/html-scanner/document_test.rb +0 -124
- data/vendor/rails/actionpack/test/controller/html-scanner/node_test.rb +0 -69
- data/vendor/rails/actionpack/test/controller/html-scanner/sanitizer_test.rb +0 -250
- data/vendor/rails/actionpack/test/controller/html-scanner/tag_node_test.rb +0 -239
- data/vendor/rails/actionpack/test/controller/html-scanner/text_node_test.rb +0 -51
- data/vendor/rails/actionpack/test/controller/html-scanner/tokenizer_test.rb +0 -125
- data/vendor/rails/actionpack/test/controller/http_authentication_test.rb +0 -54
- data/vendor/rails/actionpack/test/controller/integration_test.rb +0 -255
- data/vendor/rails/actionpack/test/controller/layout_test.rb +0 -239
- data/vendor/rails/actionpack/test/controller/mime_responds_test.rb +0 -506
- data/vendor/rails/actionpack/test/controller/mime_type_test.rb +0 -55
- data/vendor/rails/actionpack/test/controller/new_render_test.rb +0 -832
- data/vendor/rails/actionpack/test/controller/polymorphic_routes_test.rb +0 -98
- data/vendor/rails/actionpack/test/controller/record_identifier_test.rb +0 -103
- data/vendor/rails/actionpack/test/controller/redirect_test.rb +0 -258
- data/vendor/rails/actionpack/test/controller/render_test.rb +0 -464
- data/vendor/rails/actionpack/test/controller/request_forgery_protection_test.rb +0 -217
- data/vendor/rails/actionpack/test/controller/request_test.rb +0 -836
- data/vendor/rails/actionpack/test/controller/rescue_test.rb +0 -501
- data/vendor/rails/actionpack/test/controller/resources_test.rb +0 -787
- data/vendor/rails/actionpack/test/controller/routing_test.rb +0 -2203
- data/vendor/rails/actionpack/test/controller/selector_test.rb +0 -628
- data/vendor/rails/actionpack/test/controller/send_file_test.rb +0 -127
- data/vendor/rails/actionpack/test/controller/session/cookie_store_test.rb +0 -246
- data/vendor/rails/actionpack/test/controller/session/mem_cache_store_test.rb +0 -182
- data/vendor/rails/actionpack/test/controller/session_fixation_test.rb +0 -89
- data/vendor/rails/actionpack/test/controller/session_management_test.rb +0 -156
- data/vendor/rails/actionpack/test/controller/test_test.rb +0 -623
- data/vendor/rails/actionpack/test/controller/url_rewriter_test.rb +0 -246
- data/vendor/rails/actionpack/test/controller/verification_test.rb +0 -253
- data/vendor/rails/actionpack/test/controller/view_paths_test.rb +0 -137
- data/vendor/rails/actionpack/test/controller/webservice_test.rb +0 -184
- data/vendor/rails/actionpack/test/fixtures/addresses/list.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/companies.yml +0 -24
- data/vendor/rails/actionpack/test/fixtures/company.rb +0 -9
- data/vendor/rails/actionpack/test/fixtures/content_type/render_default_content_types_for_respond_to.rhtml +0 -1
- data/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rhtml.rhtml +0 -1
- data/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rjs.rjs +0 -1
- data/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rxml.rxml +0 -1
- data/vendor/rails/actionpack/test/fixtures/db_definitions/sqlite.sql +0 -43
- data/vendor/rails/actionpack/test/fixtures/developer.rb +0 -9
- data/vendor/rails/actionpack/test/fixtures/developers.yml +0 -21
- data/vendor/rails/actionpack/test/fixtures/developers_projects.yml +0 -13
- data/vendor/rails/actionpack/test/fixtures/fun/games/hello_world.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/helpers/abc_helper.rb +0 -5
- data/vendor/rails/actionpack/test/fixtures/helpers/fun/games_helper.rb +0 -3
- data/vendor/rails/actionpack/test/fixtures/helpers/fun/pdf_helper.rb +0 -3
- data/vendor/rails/actionpack/test/fixtures/layout_tests/alt/hello.rhtml +0 -1
- data/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/controller_name_space/nested.rhtml +0 -1
- data/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/item.rhtml +0 -1
- data/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/layout_test.rhtml +0 -1
- data/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/multiple_extensions.html.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/third_party_template_library.mab +0 -1
- data/vendor/rails/actionpack/test/fixtures/layout_tests/views/hello.rhtml +0 -1
- data/vendor/rails/actionpack/test/fixtures/layouts/builder.builder +0 -3
- data/vendor/rails/actionpack/test/fixtures/layouts/standard.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/layouts/talk_from_action.erb +0 -2
- data/vendor/rails/actionpack/test/fixtures/layouts/yield.erb +0 -2
- data/vendor/rails/actionpack/test/fixtures/multipart/binary_file +0 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/bracketed_param +0 -5
- data/vendor/rails/actionpack/test/fixtures/multipart/large_text_file +0 -10
- data/vendor/rails/actionpack/test/fixtures/multipart/mixed_files +0 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/mona_lisa.jpg +0 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/single_parameter +0 -5
- data/vendor/rails/actionpack/test/fixtures/multipart/text_file +0 -10
- data/vendor/rails/actionpack/test/fixtures/override/test/hello_world.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/override2/layouts/test/sub.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/post_test/layouts/post.html.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/post_test/layouts/super_post.iphone.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/post_test/post/index.html.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/post_test/post/index.iphone.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/post_test/super_post/index.html.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/post_test/super_post/index.iphone.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/project.rb +0 -3
- data/vendor/rails/actionpack/test/fixtures/projects.yml +0 -7
- data/vendor/rails/actionpack/test/fixtures/public/404.html +0 -1
- data/vendor/rails/actionpack/test/fixtures/public/500.html +0 -1
- data/vendor/rails/actionpack/test/fixtures/public/images/rails.png +0 -0
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/application.js +0 -0
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/bank.js +0 -1
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/robber.js +0 -1
- data/vendor/rails/actionpack/test/fixtures/public/stylesheets/bank.css +0 -1
- data/vendor/rails/actionpack/test/fixtures/public/stylesheets/robber.css +0 -1
- data/vendor/rails/actionpack/test/fixtures/replies.yml +0 -15
- data/vendor/rails/actionpack/test/fixtures/reply.rb +0 -6
- data/vendor/rails/actionpack/test/fixtures/respond_to/all_types_with_layout.html.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/respond_to/all_types_with_layout.js.rjs +0 -1
- data/vendor/rails/actionpack/test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/respond_to/iphone_with_html_response_type.html.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/respond_to/iphone_with_html_response_type.iphone.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/respond_to/layouts/missing.html.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/respond_to/layouts/standard.html.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/respond_to/layouts/standard.iphone.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.html.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.js.rjs +0 -1
- data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.xml.builder +0 -1
- data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.html.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.js.rjs +0 -1
- data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder +0 -1
- data/vendor/rails/actionpack/test/fixtures/scope/test/modgreet.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/_customer.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/_customer_greeting.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/_hash_greeting.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/_hash_object.erb +0 -2
- data/vendor/rails/actionpack/test/fixtures/test/_hello.builder +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/_layout_for_partial.html.erb +0 -3
- data/vendor/rails/actionpack/test/fixtures/test/_partial.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/_partial.html.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/_partial.js.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/_partial_for_use_in_layout.html.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/_partial_only.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/_person.erb +0 -2
- data/vendor/rails/actionpack/test/fixtures/test/action_talk_to_layout.erb +0 -2
- data/vendor/rails/actionpack/test/fixtures/test/block_content_for.erb +0 -2
- data/vendor/rails/actionpack/test/fixtures/test/calling_partial_with_layout.html.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/capturing.erb +0 -4
- data/vendor/rails/actionpack/test/fixtures/test/content_for.erb +0 -2
- data/vendor/rails/actionpack/test/fixtures/test/content_for_concatenated.erb +0 -3
- data/vendor/rails/actionpack/test/fixtures/test/content_for_with_parameter.erb +0 -2
- data/vendor/rails/actionpack/test/fixtures/test/delete_with_js.rjs +0 -2
- data/vendor/rails/actionpack/test/fixtures/test/dot.directory/render_file_with_ivar.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/enum_rjs_test.rjs +0 -6
- data/vendor/rails/actionpack/test/fixtures/test/erb_content_for.erb +0 -2
- data/vendor/rails/actionpack/test/fixtures/test/formatted_html_erb.html.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.builder +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.html.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.xml.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/greeting.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/hello.builder +0 -4
- data/vendor/rails/actionpack/test/fixtures/test/hello_world.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/hello_world_container.builder +0 -3
- data/vendor/rails/actionpack/test/fixtures/test/hello_world_from_rxml.builder +0 -4
- data/vendor/rails/actionpack/test/fixtures/test/hello_world_with_layout_false.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/hello_xml_world.builder +0 -11
- data/vendor/rails/actionpack/test/fixtures/test/list.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/non_erb_block_content_for.builder +0 -4
- data/vendor/rails/actionpack/test/fixtures/test/potential_conflicts.erb +0 -4
- data/vendor/rails/actionpack/test/fixtures/test/render_file_with_ivar.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/render_file_with_locals.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/render_to_string_test.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/test/update_element_with_capture.erb +0 -9
- data/vendor/rails/actionpack/test/fixtures/test/using_layout_around_block.html.erb +0 -1
- data/vendor/rails/actionpack/test/fixtures/topic.rb +0 -3
- data/vendor/rails/actionpack/test/fixtures/topics.yml +0 -22
- data/vendor/rails/actionpack/test/template/active_record_helper_test.rb +0 -251
- data/vendor/rails/actionpack/test/template/asset_tag_helper_test.rb +0 -438
- data/vendor/rails/actionpack/test/template/atom_feed_helper_test.rb +0 -101
- data/vendor/rails/actionpack/test/template/benchmark_helper_test.rb +0 -72
- data/vendor/rails/actionpack/test/template/compiled_templates_test.rb +0 -193
- data/vendor/rails/actionpack/test/template/date_helper_test.rb +0 -1438
- data/vendor/rails/actionpack/test/template/erb_util_test.rb +0 -56
- data/vendor/rails/actionpack/test/template/form_helper_test.rb +0 -792
- data/vendor/rails/actionpack/test/template/form_options_helper_test.rb +0 -1296
- data/vendor/rails/actionpack/test/template/form_tag_helper_test.rb +0 -238
- data/vendor/rails/actionpack/test/template/javascript_helper_test.rb +0 -115
- data/vendor/rails/actionpack/test/template/number_helper_test.rb +0 -93
- data/vendor/rails/actionpack/test/template/prototype_helper_test.rb +0 -627
- data/vendor/rails/actionpack/test/template/sanitize_helper_test.rb +0 -49
- data/vendor/rails/actionpack/test/template/scriptaculous_helper_test.rb +0 -96
- data/vendor/rails/actionpack/test/template/tag_helper_test.rb +0 -80
- data/vendor/rails/actionpack/test/template/text_helper_test.rb +0 -335
- data/vendor/rails/actionpack/test/template/url_helper_test.rb +0 -536
- data/vendor/rails/actionpack/test/testing_sandbox.rb +0 -11
- data/vendor/rails/activerecord/CHANGELOG +0 -5527
- data/vendor/rails/activerecord/MIT-LICENSE +0 -20
- data/vendor/rails/activerecord/README +0 -346
- data/vendor/rails/activerecord/RUNNING_UNIT_TESTS +0 -33
- data/vendor/rails/activerecord/Rakefile +0 -248
- data/vendor/rails/activerecord/examples/associations.png +0 -0
- data/vendor/rails/activerecord/install.rb +0 -30
- data/vendor/rails/activerecord/lib/active_record.rb +0 -76
- data/vendor/rails/activerecord/lib/active_record/aggregations.rb +0 -180
- data/vendor/rails/activerecord/lib/active_record/associations.rb +0 -1769
- data/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb +0 -240
- data/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb +0 -160
- data/vendor/rails/activerecord/lib/active_record/associations/belongs_to_association.rb +0 -56
- data/vendor/rails/activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb +0 -50
- data/vendor/rails/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb +0 -164
- data/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb +0 -174
- data/vendor/rails/activerecord/lib/active_record/associations/has_many_through_association.rb +0 -284
- data/vendor/rails/activerecord/lib/active_record/associations/has_one_association.rb +0 -96
- data/vendor/rails/activerecord/lib/active_record/attribute_methods.rb +0 -328
- data/vendor/rails/activerecord/lib/active_record/base.rb +0 -2471
- data/vendor/rails/activerecord/lib/active_record/calculations.rb +0 -267
- data/vendor/rails/activerecord/lib/active_record/callbacks.rb +0 -341
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb +0 -308
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb +0 -171
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb +0 -87
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb +0 -69
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb +0 -472
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +0 -306
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +0 -172
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +0 -496
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +0 -847
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb +0 -34
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb +0 -391
- data/vendor/rails/activerecord/lib/active_record/fixtures.rb +0 -1034
- data/vendor/rails/activerecord/lib/active_record/locking/optimistic.rb +0 -144
- data/vendor/rails/activerecord/lib/active_record/locking/pessimistic.rb +0 -77
- data/vendor/rails/activerecord/lib/active_record/migration.rb +0 -417
- data/vendor/rails/activerecord/lib/active_record/observer.rb +0 -181
- data/vendor/rails/activerecord/lib/active_record/query_cache.rb +0 -21
- data/vendor/rails/activerecord/lib/active_record/reflection.rb +0 -219
- data/vendor/rails/activerecord/lib/active_record/schema.rb +0 -58
- data/vendor/rails/activerecord/lib/active_record/schema_dumper.rb +0 -171
- data/vendor/rails/activerecord/lib/active_record/serialization.rb +0 -98
- data/vendor/rails/activerecord/lib/active_record/serializers/json_serializer.rb +0 -71
- data/vendor/rails/activerecord/lib/active_record/serializers/xml_serializer.rb +0 -315
- data/vendor/rails/activerecord/lib/active_record/timestamp.rb +0 -41
- data/vendor/rails/activerecord/lib/active_record/transactions.rb +0 -132
- data/vendor/rails/activerecord/lib/active_record/validations.rb +0 -1025
- data/vendor/rails/activerecord/lib/active_record/vendor/db2.rb +0 -362
- data/vendor/rails/activerecord/lib/active_record/vendor/mysql.rb +0 -1214
- data/vendor/rails/activerecord/lib/active_record/version.rb +0 -9
- data/vendor/rails/activerecord/lib/activerecord.rb +0 -1
- data/vendor/rails/activerecord/test/aaa_create_tables_test.rb +0 -72
- data/vendor/rails/activerecord/test/abstract_unit.rb +0 -84
- data/vendor/rails/activerecord/test/active_schema_test_mysql.rb +0 -43
- data/vendor/rails/activerecord/test/adapter_test.rb +0 -105
- data/vendor/rails/activerecord/test/adapter_test_sqlserver.rb +0 -95
- data/vendor/rails/activerecord/test/aggregations_test.rb +0 -128
- data/vendor/rails/activerecord/test/all.sh +0 -8
- data/vendor/rails/activerecord/test/ar_schema_test.rb +0 -33
- data/vendor/rails/activerecord/test/association_inheritance_reload.rb +0 -14
- data/vendor/rails/activerecord/test/associations/callbacks_test.rb +0 -147
- data/vendor/rails/activerecord/test/associations/cascaded_eager_loading_test.rb +0 -110
- data/vendor/rails/activerecord/test/associations/eager_singularization_test.rb +0 -145
- data/vendor/rails/activerecord/test/associations/eager_test.rb +0 -442
- data/vendor/rails/activerecord/test/associations/extension_test.rb +0 -47
- data/vendor/rails/activerecord/test/associations/inner_join_association_test.rb +0 -88
- data/vendor/rails/activerecord/test/associations/join_model_test.rb +0 -559
- data/vendor/rails/activerecord/test/associations_test.rb +0 -2147
- data/vendor/rails/activerecord/test/attribute_methods_test.rb +0 -146
- data/vendor/rails/activerecord/test/base_test.rb +0 -1745
- data/vendor/rails/activerecord/test/binary_test.rb +0 -32
- data/vendor/rails/activerecord/test/calculations_test.rb +0 -251
- data/vendor/rails/activerecord/test/callbacks_test.rb +0 -400
- data/vendor/rails/activerecord/test/class_inheritable_attributes_test.rb +0 -32
- data/vendor/rails/activerecord/test/column_alias_test.rb +0 -17
- data/vendor/rails/activerecord/test/connection_test_firebird.rb +0 -8
- data/vendor/rails/activerecord/test/connection_test_mysql.rb +0 -30
- data/vendor/rails/activerecord/test/connections/native_db2/connection.rb +0 -25
- data/vendor/rails/activerecord/test/connections/native_firebird/connection.rb +0 -26
- data/vendor/rails/activerecord/test/connections/native_frontbase/connection.rb +0 -27
- data/vendor/rails/activerecord/test/connections/native_mysql/connection.rb +0 -27
- data/vendor/rails/activerecord/test/connections/native_openbase/connection.rb +0 -21
- data/vendor/rails/activerecord/test/connections/native_oracle/connection.rb +0 -27
- data/vendor/rails/activerecord/test/connections/native_postgresql/connection.rb +0 -23
- data/vendor/rails/activerecord/test/connections/native_sqlite/connection.rb +0 -25
- data/vendor/rails/activerecord/test/connections/native_sqlite3/connection.rb +0 -25
- data/vendor/rails/activerecord/test/connections/native_sqlite3/in_memory_connection.rb +0 -18
- data/vendor/rails/activerecord/test/connections/native_sybase/connection.rb +0 -23
- data/vendor/rails/activerecord/test/copy_table_test_sqlite.rb +0 -69
- data/vendor/rails/activerecord/test/datatype_test_postgresql.rb +0 -203
- data/vendor/rails/activerecord/test/date_time_test.rb +0 -37
- data/vendor/rails/activerecord/test/default_test_firebird.rb +0 -16
- data/vendor/rails/activerecord/test/defaults_test.rb +0 -67
- data/vendor/rails/activerecord/test/deprecated_finder_test.rb +0 -30
- data/vendor/rails/activerecord/test/finder_test.rb +0 -650
- data/vendor/rails/activerecord/test/fixtures/accounts.yml +0 -28
- data/vendor/rails/activerecord/test/fixtures/all/developers.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/all/people.csv +0 -0
- data/vendor/rails/activerecord/test/fixtures/all/tasks.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/author.rb +0 -109
- data/vendor/rails/activerecord/test/fixtures/author_favorites.yml +0 -4
- data/vendor/rails/activerecord/test/fixtures/authors.yml +0 -7
- data/vendor/rails/activerecord/test/fixtures/auto_id.rb +0 -4
- data/vendor/rails/activerecord/test/fixtures/bad_fixtures/attr_with_numeric_first_char +0 -1
- data/vendor/rails/activerecord/test/fixtures/bad_fixtures/attr_with_spaces +0 -1
- data/vendor/rails/activerecord/test/fixtures/bad_fixtures/blank_line +0 -3
- data/vendor/rails/activerecord/test/fixtures/bad_fixtures/duplicate_attributes +0 -3
- data/vendor/rails/activerecord/test/fixtures/bad_fixtures/missing_value +0 -1
- data/vendor/rails/activerecord/test/fixtures/binaries.yml +0 -132
- data/vendor/rails/activerecord/test/fixtures/binary.rb +0 -2
- data/vendor/rails/activerecord/test/fixtures/book.rb +0 -4
- data/vendor/rails/activerecord/test/fixtures/books.yml +0 -7
- data/vendor/rails/activerecord/test/fixtures/categories.yml +0 -14
- data/vendor/rails/activerecord/test/fixtures/categories/special_categories.yml +0 -9
- data/vendor/rails/activerecord/test/fixtures/categories/subsubdir/arbitrary_filename.yml +0 -4
- data/vendor/rails/activerecord/test/fixtures/categories_ordered.yml +0 -7
- data/vendor/rails/activerecord/test/fixtures/categories_posts.yml +0 -23
- data/vendor/rails/activerecord/test/fixtures/categorization.rb +0 -5
- data/vendor/rails/activerecord/test/fixtures/categorizations.yml +0 -17
- data/vendor/rails/activerecord/test/fixtures/category.rb +0 -26
- data/vendor/rails/activerecord/test/fixtures/citation.rb +0 -6
- data/vendor/rails/activerecord/test/fixtures/column_name.rb +0 -3
- data/vendor/rails/activerecord/test/fixtures/comment.rb +0 -23
- data/vendor/rails/activerecord/test/fixtures/comments.yml +0 -59
- data/vendor/rails/activerecord/test/fixtures/companies.yml +0 -55
- data/vendor/rails/activerecord/test/fixtures/company.rb +0 -114
- data/vendor/rails/activerecord/test/fixtures/company_in_module.rb +0 -59
- data/vendor/rails/activerecord/test/fixtures/computer.rb +0 -4
- data/vendor/rails/activerecord/test/fixtures/computers.yml +0 -4
- data/vendor/rails/activerecord/test/fixtures/contact.rb +0 -16
- data/vendor/rails/activerecord/test/fixtures/course.rb +0 -3
- data/vendor/rails/activerecord/test/fixtures/courses.yml +0 -7
- data/vendor/rails/activerecord/test/fixtures/customer.rb +0 -55
- data/vendor/rails/activerecord/test/fixtures/customers.yml +0 -17
- data/vendor/rails/activerecord/test/fixtures/db_definitions/db2.drop.sql +0 -33
- data/vendor/rails/activerecord/test/fixtures/db_definitions/db2.sql +0 -235
- data/vendor/rails/activerecord/test/fixtures/db_definitions/db22.drop.sql +0 -2
- data/vendor/rails/activerecord/test/fixtures/db_definitions/db22.sql +0 -5
- data/vendor/rails/activerecord/test/fixtures/db_definitions/firebird.drop.sql +0 -65
- data/vendor/rails/activerecord/test/fixtures/db_definitions/firebird.sql +0 -310
- data/vendor/rails/activerecord/test/fixtures/db_definitions/firebird2.drop.sql +0 -2
- data/vendor/rails/activerecord/test/fixtures/db_definitions/firebird2.sql +0 -6
- data/vendor/rails/activerecord/test/fixtures/db_definitions/frontbase.drop.sql +0 -33
- data/vendor/rails/activerecord/test/fixtures/db_definitions/frontbase.sql +0 -273
- data/vendor/rails/activerecord/test/fixtures/db_definitions/frontbase2.drop.sql +0 -1
- data/vendor/rails/activerecord/test/fixtures/db_definitions/frontbase2.sql +0 -4
- data/vendor/rails/activerecord/test/fixtures/db_definitions/openbase.drop.sql +0 -2
- data/vendor/rails/activerecord/test/fixtures/db_definitions/openbase.sql +0 -318
- data/vendor/rails/activerecord/test/fixtures/db_definitions/openbase2.drop.sql +0 -2
- data/vendor/rails/activerecord/test/fixtures/db_definitions/openbase2.sql +0 -7
- data/vendor/rails/activerecord/test/fixtures/db_definitions/oracle.drop.sql +0 -67
- data/vendor/rails/activerecord/test/fixtures/db_definitions/oracle.sql +0 -330
- data/vendor/rails/activerecord/test/fixtures/db_definitions/oracle2.drop.sql +0 -2
- data/vendor/rails/activerecord/test/fixtures/db_definitions/oracle2.sql +0 -6
- data/vendor/rails/activerecord/test/fixtures/db_definitions/postgresql.drop.sql +0 -44
- data/vendor/rails/activerecord/test/fixtures/db_definitions/postgresql.sql +0 -292
- data/vendor/rails/activerecord/test/fixtures/db_definitions/postgresql2.drop.sql +0 -2
- data/vendor/rails/activerecord/test/fixtures/db_definitions/postgresql2.sql +0 -4
- data/vendor/rails/activerecord/test/fixtures/db_definitions/schema.rb +0 -354
- data/vendor/rails/activerecord/test/fixtures/db_definitions/schema2.rb +0 -11
- data/vendor/rails/activerecord/test/fixtures/db_definitions/sqlite.drop.sql +0 -33
- data/vendor/rails/activerecord/test/fixtures/db_definitions/sqlite.sql +0 -219
- data/vendor/rails/activerecord/test/fixtures/db_definitions/sqlite2.drop.sql +0 -2
- data/vendor/rails/activerecord/test/fixtures/db_definitions/sqlite2.sql +0 -5
- data/vendor/rails/activerecord/test/fixtures/db_definitions/sybase.drop.sql +0 -35
- data/vendor/rails/activerecord/test/fixtures/db_definitions/sybase.sql +0 -222
- data/vendor/rails/activerecord/test/fixtures/db_definitions/sybase2.drop.sql +0 -4
- data/vendor/rails/activerecord/test/fixtures/db_definitions/sybase2.sql +0 -5
- data/vendor/rails/activerecord/test/fixtures/default.rb +0 -2
- data/vendor/rails/activerecord/test/fixtures/developer.rb +0 -72
- data/vendor/rails/activerecord/test/fixtures/developers.yml +0 -21
- data/vendor/rails/activerecord/test/fixtures/developers_projects.yml +0 -17
- data/vendor/rails/activerecord/test/fixtures/developers_projects/david_action_controller +0 -3
- data/vendor/rails/activerecord/test/fixtures/developers_projects/david_active_record +0 -3
- data/vendor/rails/activerecord/test/fixtures/developers_projects/jamis_active_record +0 -2
- data/vendor/rails/activerecord/test/fixtures/edge.rb +0 -5
- data/vendor/rails/activerecord/test/fixtures/edges.yml +0 -6
- data/vendor/rails/activerecord/test/fixtures/entrant.rb +0 -3
- data/vendor/rails/activerecord/test/fixtures/entrants.yml +0 -14
- data/vendor/rails/activerecord/test/fixtures/example.log +0 -1
- data/vendor/rails/activerecord/test/fixtures/fk_test_has_fk.yml +0 -3
- data/vendor/rails/activerecord/test/fixtures/fk_test_has_pk.yml +0 -2
- data/vendor/rails/activerecord/test/fixtures/flowers.jpg +0 -0
- data/vendor/rails/activerecord/test/fixtures/funny_jokes.yml +0 -10
- data/vendor/rails/activerecord/test/fixtures/item.rb +0 -7
- data/vendor/rails/activerecord/test/fixtures/items.yml +0 -4
- data/vendor/rails/activerecord/test/fixtures/joke.rb +0 -3
- data/vendor/rails/activerecord/test/fixtures/keyboard.rb +0 -3
- data/vendor/rails/activerecord/test/fixtures/legacy_thing.rb +0 -3
- data/vendor/rails/activerecord/test/fixtures/legacy_things.yml +0 -3
- data/vendor/rails/activerecord/test/fixtures/matey.rb +0 -4
- data/vendor/rails/activerecord/test/fixtures/mateys.yml +0 -4
- data/vendor/rails/activerecord/test/fixtures/migrations/1_people_have_last_names.rb +0 -9
- data/vendor/rails/activerecord/test/fixtures/migrations/2_we_need_reminders.rb +0 -12
- data/vendor/rails/activerecord/test/fixtures/migrations/3_innocent_jointable.rb +0 -12
- data/vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb +0 -15
- data/vendor/rails/activerecord/test/fixtures/migrations_with_duplicate/1_people_have_last_names.rb +0 -9
- data/vendor/rails/activerecord/test/fixtures/migrations_with_duplicate/2_we_need_reminders.rb +0 -12
- data/vendor/rails/activerecord/test/fixtures/migrations_with_duplicate/3_foo.rb +0 -7
- data/vendor/rails/activerecord/test/fixtures/migrations_with_duplicate/3_innocent_jointable.rb +0 -12
- data/vendor/rails/activerecord/test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb +0 -9
- data/vendor/rails/activerecord/test/fixtures/migrations_with_missing_versions/1_people_have_last_names.rb +0 -9
- data/vendor/rails/activerecord/test/fixtures/migrations_with_missing_versions/3_we_need_reminders.rb +0 -12
- data/vendor/rails/activerecord/test/fixtures/migrations_with_missing_versions/4_innocent_jointable.rb +0 -12
- data/vendor/rails/activerecord/test/fixtures/minimalistic.rb +0 -2
- data/vendor/rails/activerecord/test/fixtures/minimalistics.yml +0 -2
- data/vendor/rails/activerecord/test/fixtures/mixed_case_monkey.rb +0 -3
- data/vendor/rails/activerecord/test/fixtures/mixed_case_monkeys.yml +0 -6
- data/vendor/rails/activerecord/test/fixtures/mixins.yml +0 -29
- data/vendor/rails/activerecord/test/fixtures/movie.rb +0 -5
- data/vendor/rails/activerecord/test/fixtures/movies.yml +0 -7
- data/vendor/rails/activerecord/test/fixtures/naked/csv/accounts.csv +0 -1
- data/vendor/rails/activerecord/test/fixtures/naked/yml/accounts.yml +0 -1
- data/vendor/rails/activerecord/test/fixtures/naked/yml/companies.yml +0 -1
- data/vendor/rails/activerecord/test/fixtures/naked/yml/courses.yml +0 -1
- data/vendor/rails/activerecord/test/fixtures/order.rb +0 -4
- data/vendor/rails/activerecord/test/fixtures/parrot.rb +0 -13
- data/vendor/rails/activerecord/test/fixtures/parrots.yml +0 -27
- data/vendor/rails/activerecord/test/fixtures/parrots_pirates.yml +0 -7
- data/vendor/rails/activerecord/test/fixtures/people.yml +0 -3
- data/vendor/rails/activerecord/test/fixtures/person.rb +0 -4
- data/vendor/rails/activerecord/test/fixtures/pirate.rb +0 -5
- data/vendor/rails/activerecord/test/fixtures/pirates.yml +0 -9
- data/vendor/rails/activerecord/test/fixtures/post.rb +0 -59
- data/vendor/rails/activerecord/test/fixtures/posts.yml +0 -48
- data/vendor/rails/activerecord/test/fixtures/project.rb +0 -28
- data/vendor/rails/activerecord/test/fixtures/projects.yml +0 -7
- data/vendor/rails/activerecord/test/fixtures/reader.rb +0 -4
- data/vendor/rails/activerecord/test/fixtures/readers.yml +0 -4
- data/vendor/rails/activerecord/test/fixtures/reply.rb +0 -37
- data/vendor/rails/activerecord/test/fixtures/reserved_words/distinct.yml +0 -5
- data/vendor/rails/activerecord/test/fixtures/reserved_words/distincts_selects.yml +0 -11
- data/vendor/rails/activerecord/test/fixtures/reserved_words/group.yml +0 -14
- data/vendor/rails/activerecord/test/fixtures/reserved_words/select.yml +0 -8
- data/vendor/rails/activerecord/test/fixtures/reserved_words/values.yml +0 -7
- data/vendor/rails/activerecord/test/fixtures/ship.rb +0 -3
- data/vendor/rails/activerecord/test/fixtures/ships.yml +0 -5
- data/vendor/rails/activerecord/test/fixtures/subject.rb +0 -4
- data/vendor/rails/activerecord/test/fixtures/subscriber.rb +0 -6
- data/vendor/rails/activerecord/test/fixtures/subscribers/first +0 -2
- data/vendor/rails/activerecord/test/fixtures/subscribers/second +0 -2
- data/vendor/rails/activerecord/test/fixtures/tag.rb +0 -7
- data/vendor/rails/activerecord/test/fixtures/tagging.rb +0 -10
- data/vendor/rails/activerecord/test/fixtures/taggings.yml +0 -25
- data/vendor/rails/activerecord/test/fixtures/tags.yml +0 -7
- data/vendor/rails/activerecord/test/fixtures/task.rb +0 -3
- data/vendor/rails/activerecord/test/fixtures/tasks.yml +0 -7
- data/vendor/rails/activerecord/test/fixtures/topic.rb +0 -37
- data/vendor/rails/activerecord/test/fixtures/topics.yml +0 -22
- data/vendor/rails/activerecord/test/fixtures/treasure.rb +0 -4
- data/vendor/rails/activerecord/test/fixtures/treasures.yml +0 -10
- data/vendor/rails/activerecord/test/fixtures/vertex.rb +0 -9
- data/vendor/rails/activerecord/test/fixtures/vertices.yml +0 -4
- data/vendor/rails/activerecord/test/fixtures_test.rb +0 -602
- data/vendor/rails/activerecord/test/inheritance_test.rb +0 -211
- data/vendor/rails/activerecord/test/json_serialization_test.rb +0 -180
- data/vendor/rails/activerecord/test/lifecycle_test.rb +0 -137
- data/vendor/rails/activerecord/test/locking_test.rb +0 -282
- data/vendor/rails/activerecord/test/method_scoping_test.rb +0 -416
- data/vendor/rails/activerecord/test/migration_test.rb +0 -933
- data/vendor/rails/activerecord/test/migration_test_firebird.rb +0 -124
- data/vendor/rails/activerecord/test/mixin_test.rb +0 -95
- data/vendor/rails/activerecord/test/modules_test.rb +0 -34
- data/vendor/rails/activerecord/test/multiple_db_test.rb +0 -60
- data/vendor/rails/activerecord/test/pk_test.rb +0 -101
- data/vendor/rails/activerecord/test/query_cache_test.rb +0 -104
- data/vendor/rails/activerecord/test/readonly_test.rb +0 -107
- data/vendor/rails/activerecord/test/reflection_test.rb +0 -175
- data/vendor/rails/activerecord/test/reserved_word_test_mysql.rb +0 -177
- data/vendor/rails/activerecord/test/schema_authorization_test_postgresql.rb +0 -75
- data/vendor/rails/activerecord/test/schema_dumper_test.rb +0 -131
- data/vendor/rails/activerecord/test/schema_test_postgresql.rb +0 -64
- data/vendor/rails/activerecord/test/serialization_test.rb +0 -47
- data/vendor/rails/activerecord/test/synonym_test_oracle.rb +0 -17
- data/vendor/rails/activerecord/test/table_name_test_sqlserver.rb +0 -23
- data/vendor/rails/activerecord/test/threaded_connections_test.rb +0 -48
- data/vendor/rails/activerecord/test/transactions_test.rb +0 -281
- data/vendor/rails/activerecord/test/unconnected_test.rb +0 -32
- data/vendor/rails/activerecord/test/validations_test.rb +0 -1395
- data/vendor/rails/activerecord/test/xml_serialization_test.rb +0 -202
- data/vendor/rails/activeresource/CHANGELOG +0 -223
- data/vendor/rails/activeresource/MIT-LICENSE +0 -20
- data/vendor/rails/activeresource/README +0 -165
- data/vendor/rails/activeresource/Rakefile +0 -134
- data/vendor/rails/activeresource/lib/active_resource.rb +0 -47
- data/vendor/rails/activeresource/lib/active_resource/base.rb +0 -872
- data/vendor/rails/activeresource/lib/active_resource/connection.rb +0 -172
- data/vendor/rails/activeresource/lib/active_resource/custom_methods.rb +0 -105
- data/vendor/rails/activeresource/lib/active_resource/formats.rb +0 -14
- data/vendor/rails/activeresource/lib/active_resource/formats/json_format.rb +0 -23
- data/vendor/rails/activeresource/lib/active_resource/formats/xml_format.rb +0 -34
- data/vendor/rails/activeresource/lib/active_resource/http_mock.rb +0 -147
- data/vendor/rails/activeresource/lib/active_resource/validations.rb +0 -288
- data/vendor/rails/activeresource/lib/active_resource/version.rb +0 -9
- data/vendor/rails/activeresource/lib/activeresource.rb +0 -1
- data/vendor/rails/activeresource/test/abstract_unit.rb +0 -10
- data/vendor/rails/activeresource/test/authorization_test.rb +0 -82
- data/vendor/rails/activeresource/test/base/custom_methods_test.rb +0 -96
- data/vendor/rails/activeresource/test/base/equality_test.rb +0 -43
- data/vendor/rails/activeresource/test/base/load_test.rb +0 -111
- data/vendor/rails/activeresource/test/base_errors_test.rb +0 -48
- data/vendor/rails/activeresource/test/base_test.rb +0 -454
- data/vendor/rails/activeresource/test/connection_test.rb +0 -170
- data/vendor/rails/activeresource/test/fixtures/beast.rb +0 -14
- data/vendor/rails/activeresource/test/fixtures/person.rb +0 -3
- data/vendor/rails/activeresource/test/fixtures/street_address.rb +0 -4
- data/vendor/rails/activeresource/test/format_test.rb +0 -42
- data/vendor/rails/activeresource/test/setter_trap.rb +0 -27
- data/vendor/rails/activesupport/CHANGELOG +0 -986
- data/vendor/rails/activesupport/MIT-LICENSE +0 -20
- data/vendor/rails/activesupport/README +0 -43
- data/vendor/rails/activesupport/Rakefile +0 -84
- data/vendor/rails/activesupport/install.rb +0 -30
- data/vendor/rails/activesupport/lib/active_support.rb +0 -49
- data/vendor/rails/activesupport/lib/active_support/basic_object.rb +0 -5
- data/vendor/rails/activesupport/lib/active_support/buffered_logger.rb +0 -107
- data/vendor/rails/activesupport/lib/active_support/clean_logger.rb +0 -127
- data/vendor/rails/activesupport/lib/active_support/core_ext.rb +0 -4
- data/vendor/rails/activesupport/lib/active_support/core_ext/array.rb +0 -13
- data/vendor/rails/activesupport/lib/active_support/core_ext/array/access.rb +0 -28
- data/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb +0 -94
- data/vendor/rails/activesupport/lib/active_support/core_ext/array/extract_options.rb +0 -19
- data/vendor/rails/activesupport/lib/active_support/core_ext/array/grouping.rb +0 -68
- data/vendor/rails/activesupport/lib/active_support/core_ext/array/random_access.rb +0 -12
- data/vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal.rb +0 -2
- data/vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal/conversions.rb +0 -6
- data/vendor/rails/activesupport/lib/active_support/core_ext/blank.rb +0 -50
- data/vendor/rails/activesupport/lib/active_support/core_ext/cgi.rb +0 -5
- data/vendor/rails/activesupport/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb +0 -14
- data/vendor/rails/activesupport/lib/active_support/core_ext/class.rb +0 -4
- data/vendor/rails/activesupport/lib/active_support/core_ext/class/attribute_accessors.rb +0 -48
- data/vendor/rails/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb +0 -40
- data/vendor/rails/activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb +0 -140
- data/vendor/rails/activesupport/lib/active_support/core_ext/class/removal.rb +0 -24
- data/vendor/rails/activesupport/lib/active_support/core_ext/date.rb +0 -10
- data/vendor/rails/activesupport/lib/active_support/core_ext/date/behavior.rb +0 -13
- data/vendor/rails/activesupport/lib/active_support/core_ext/date/calculations.rb +0 -188
- data/vendor/rails/activesupport/lib/active_support/core_ext/date/conversions.rb +0 -98
- data/vendor/rails/activesupport/lib/active_support/core_ext/date_time.rb +0 -10
- data/vendor/rails/activesupport/lib/active_support/core_ext/date_time/calculations.rb +0 -77
- data/vendor/rails/activesupport/lib/active_support/core_ext/date_time/conversions.rb +0 -74
- data/vendor/rails/activesupport/lib/active_support/core_ext/duplicable.rb +0 -37
- data/vendor/rails/activesupport/lib/active_support/core_ext/enumerable.rb +0 -63
- data/vendor/rails/activesupport/lib/active_support/core_ext/exception.rb +0 -33
- data/vendor/rails/activesupport/lib/active_support/core_ext/file.rb +0 -21
- data/vendor/rails/activesupport/lib/active_support/core_ext/float.rb +0 -5
- data/vendor/rails/activesupport/lib/active_support/core_ext/float/rounding.rb +0 -24
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash.rb +0 -13
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/conversions.rb +0 -242
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/diff.rb +0 -19
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/except.rb +0 -24
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb +0 -102
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/keys.rb +0 -54
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/reverse_merge.rb +0 -25
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/slice.rb +0 -28
- data/vendor/rails/activesupport/lib/active_support/core_ext/integer.rb +0 -7
- data/vendor/rails/activesupport/lib/active_support/core_ext/integer/even_odd.rb +0 -24
- data/vendor/rails/activesupport/lib/active_support/core_ext/integer/inflections.rb +0 -21
- data/vendor/rails/activesupport/lib/active_support/core_ext/kernel.rb +0 -5
- data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb +0 -11
- data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/daemonizing.rb +0 -15
- data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/debugger.rb +0 -13
- data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb +0 -51
- data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/requires.rb +0 -24
- data/vendor/rails/activesupport/lib/active_support/core_ext/load_error.rb +0 -38
- data/vendor/rails/activesupport/lib/active_support/core_ext/logger.rb +0 -16
- data/vendor/rails/activesupport/lib/active_support/core_ext/module.rb +0 -8
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb +0 -70
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_accessor_with_default.rb +0 -31
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_internal.rb +0 -31
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb +0 -48
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/delegation.rb +0 -62
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/inclusion.rb +0 -11
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/introspection.rb +0 -35
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/loading.rb +0 -13
- data/vendor/rails/activesupport/lib/active_support/core_ext/name_error.rb +0 -17
- data/vendor/rails/activesupport/lib/active_support/core_ext/numeric.rb +0 -7
- data/vendor/rails/activesupport/lib/active_support/core_ext/numeric/bytes.rb +0 -44
- data/vendor/rails/activesupport/lib/active_support/core_ext/numeric/time.rb +0 -91
- data/vendor/rails/activesupport/lib/active_support/core_ext/object.rb +0 -4
- data/vendor/rails/activesupport/lib/active_support/core_ext/object/conversions.rb +0 -14
- data/vendor/rails/activesupport/lib/active_support/core_ext/object/extending.rb +0 -58
- data/vendor/rails/activesupport/lib/active_support/core_ext/object/instance_variables.rb +0 -22
- data/vendor/rails/activesupport/lib/active_support/core_ext/object/misc.rb +0 -59
- data/vendor/rails/activesupport/lib/active_support/core_ext/pathname.rb +0 -7
- data/vendor/rails/activesupport/lib/active_support/core_ext/pathname/clean_within.rb +0 -14
- data/vendor/rails/activesupport/lib/active_support/core_ext/proc.rb +0 -12
- data/vendor/rails/activesupport/lib/active_support/core_ext/range.rb +0 -11
- data/vendor/rails/activesupport/lib/active_support/core_ext/range/blockless_step.rb +0 -22
- data/vendor/rails/activesupport/lib/active_support/core_ext/range/conversions.rb +0 -23
- data/vendor/rails/activesupport/lib/active_support/core_ext/range/include_range.rb +0 -22
- data/vendor/rails/activesupport/lib/active_support/core_ext/range/overlaps.rb +0 -12
- data/vendor/rails/activesupport/lib/active_support/core_ext/string.rb +0 -23
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/access.rb +0 -58
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/conversions.rb +0 -28
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb +0 -153
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/iterators.rb +0 -17
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/starts_ends_with.rb +0 -27
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/unicode.rb +0 -42
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/xchar.rb +0 -11
- data/vendor/rails/activesupport/lib/active_support/core_ext/symbol.rb +0 -14
- data/vendor/rails/activesupport/lib/active_support/core_ext/test.rb +0 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/test/unit/assertions.rb +0 -62
- data/vendor/rails/activesupport/lib/active_support/core_ext/time.rb +0 -19
- data/vendor/rails/activesupport/lib/active_support/core_ext/time/behavior.rb +0 -13
- data/vendor/rails/activesupport/lib/active_support/core_ext/time/calculations.rb +0 -224
- data/vendor/rails/activesupport/lib/active_support/core_ext/time/conversions.rb +0 -94
- data/vendor/rails/activesupport/lib/active_support/dependencies.rb +0 -540
- data/vendor/rails/activesupport/lib/active_support/deprecation.rb +0 -204
- data/vendor/rails/activesupport/lib/active_support/duration.rb +0 -96
- data/vendor/rails/activesupport/lib/active_support/inflections.rb +0 -53
- data/vendor/rails/activesupport/lib/active_support/inflector.rb +0 -282
- data/vendor/rails/activesupport/lib/active_support/json.rb +0 -31
- data/vendor/rails/activesupport/lib/active_support/json/decoding.rb +0 -60
- data/vendor/rails/activesupport/lib/active_support/json/encoders/date.rb +0 -5
- data/vendor/rails/activesupport/lib/active_support/json/encoders/date_time.rb +0 -5
- data/vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb +0 -12
- data/vendor/rails/activesupport/lib/active_support/json/encoders/false_class.rb +0 -5
- data/vendor/rails/activesupport/lib/active_support/json/encoders/hash.rb +0 -50
- data/vendor/rails/activesupport/lib/active_support/json/encoders/nil_class.rb +0 -5
- data/vendor/rails/activesupport/lib/active_support/json/encoders/numeric.rb +0 -5
- data/vendor/rails/activesupport/lib/active_support/json/encoders/object.rb +0 -6
- data/vendor/rails/activesupport/lib/active_support/json/encoders/regexp.rb +0 -5
- data/vendor/rails/activesupport/lib/active_support/json/encoders/string.rb +0 -30
- data/vendor/rails/activesupport/lib/active_support/json/encoders/symbol.rb +0 -5
- data/vendor/rails/activesupport/lib/active_support/json/encoders/time.rb +0 -5
- data/vendor/rails/activesupport/lib/active_support/json/encoders/true_class.rb +0 -5
- data/vendor/rails/activesupport/lib/active_support/json/encoding.rb +0 -38
- data/vendor/rails/activesupport/lib/active_support/json/variable.rb +0 -10
- data/vendor/rails/activesupport/lib/active_support/multibyte.rb +0 -9
- data/vendor/rails/activesupport/lib/active_support/multibyte/chars.rb +0 -141
- data/vendor/rails/activesupport/lib/active_support/multibyte/generators/generate_tables.rb +0 -149
- data/vendor/rails/activesupport/lib/active_support/multibyte/handlers/passthru_handler.rb +0 -9
- data/vendor/rails/activesupport/lib/active_support/multibyte/handlers/utf8_handler.rb +0 -564
- data/vendor/rails/activesupport/lib/active_support/multibyte/handlers/utf8_handler_proc.rb +0 -43
- data/vendor/rails/activesupport/lib/active_support/option_merger.rb +0 -25
- data/vendor/rails/activesupport/lib/active_support/ordered_options.rb +0 -49
- data/vendor/rails/activesupport/lib/active_support/test_case.rb +0 -5
- data/vendor/rails/activesupport/lib/active_support/testing.rb +0 -1
- data/vendor/rails/activesupport/lib/active_support/testing/default.rb +0 -12
- data/vendor/rails/activesupport/lib/active_support/values/time_zone.rb +0 -181
- data/vendor/rails/activesupport/lib/active_support/values/unicode_tables.dat +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor.rb +0 -14
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/blankslate.rb +0 -113
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder.rb +0 -13
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/blankslate.rb +0 -20
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/css.rb +0 -250
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xchar.rb +0 -115
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlbase.rb +0 -139
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlevents.rb +0 -63
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlmarkup.rb +0 -328
- data/vendor/rails/activesupport/lib/active_support/vendor/xml-simple-1.0.11/xmlsimple.rb +0 -1021
- data/vendor/rails/activesupport/lib/active_support/version.rb +0 -9
- data/vendor/rails/activesupport/lib/active_support/whiny_nil.rb +0 -38
- data/vendor/rails/activesupport/lib/activesupport.rb +0 -1
- data/vendor/rails/activesupport/test/abstract_unit.rb +0 -20
- data/vendor/rails/activesupport/test/autoloading_fixtures/a/b.rb +0 -2
- data/vendor/rails/activesupport/test/autoloading_fixtures/a/c/d.rb +0 -2
- data/vendor/rails/activesupport/test/autoloading_fixtures/a/c/e/f.rb +0 -2
- data/vendor/rails/activesupport/test/autoloading_fixtures/application.rb +0 -1
- data/vendor/rails/activesupport/test/autoloading_fixtures/class_folder.rb +0 -3
- data/vendor/rails/activesupport/test/autoloading_fixtures/class_folder/class_folder_subclass.rb +0 -3
- data/vendor/rails/activesupport/test/autoloading_fixtures/class_folder/inline_class.rb +0 -2
- data/vendor/rails/activesupport/test/autoloading_fixtures/class_folder/nested_class.rb +0 -7
- data/vendor/rails/activesupport/test/autoloading_fixtures/conflict.rb +0 -1
- data/vendor/rails/activesupport/test/autoloading_fixtures/counting_loader.rb +0 -5
- data/vendor/rails/activesupport/test/autoloading_fixtures/cross_site_dependency.rb +0 -2
- data/vendor/rails/activesupport/test/autoloading_fixtures/e.rb +0 -2
- data/vendor/rails/activesupport/test/autoloading_fixtures/module_folder/inline_class.rb +0 -2
- data/vendor/rails/activesupport/test/autoloading_fixtures/module_folder/nested_class.rb +0 -4
- data/vendor/rails/activesupport/test/autoloading_fixtures/module_folder/nested_sibling.rb +0 -2
- data/vendor/rails/activesupport/test/autoloading_fixtures/module_with_custom_const_missing/a/b.rb +0 -1
- data/vendor/rails/activesupport/test/autoloading_fixtures/multiple_constant_file.rb +0 -2
- data/vendor/rails/activesupport/test/autoloading_fixtures/raises_name_error.rb +0 -3
- data/vendor/rails/activesupport/test/autoloading_fixtures/raises_no_method_error.rb +0 -3
- data/vendor/rails/activesupport/test/buffered_logger_test.rb +0 -107
- data/vendor/rails/activesupport/test/clean_logger_test.rb +0 -57
- data/vendor/rails/activesupport/test/core_ext/array_ext_test.rb +0 -250
- data/vendor/rails/activesupport/test/core_ext/blank_test.rb +0 -19
- data/vendor/rails/activesupport/test/core_ext/cgi_ext_test.rb +0 -14
- data/vendor/rails/activesupport/test/core_ext/class/attribute_accessor_test.rb +0 -31
- data/vendor/rails/activesupport/test/core_ext/class/class_inheritable_attributes_test.rb +0 -224
- data/vendor/rails/activesupport/test/core_ext/class/delegating_attributes_test.rb +0 -105
- data/vendor/rails/activesupport/test/core_ext/class_test.rb +0 -46
- data/vendor/rails/activesupport/test/core_ext/date_ext_test.rb +0 -196
- data/vendor/rails/activesupport/test/core_ext/date_time_ext_test.rb +0 -230
- data/vendor/rails/activesupport/test/core_ext/duplicable_test.rb +0 -22
- data/vendor/rails/activesupport/test/core_ext/duration_test.rb +0 -21
- data/vendor/rails/activesupport/test/core_ext/enumerable_test.rb +0 -61
- data/vendor/rails/activesupport/test/core_ext/exception_test.rb +0 -64
- data/vendor/rails/activesupport/test/core_ext/file_test.rb +0 -29
- data/vendor/rails/activesupport/test/core_ext/float_ext_test.rb +0 -25
- data/vendor/rails/activesupport/test/core_ext/hash_ext_test.rb +0 -743
- data/vendor/rails/activesupport/test/core_ext/integer_ext_test.rb +0 -37
- data/vendor/rails/activesupport/test/core_ext/kernel_test.rb +0 -43
- data/vendor/rails/activesupport/test/core_ext/load_error_tests.rb +0 -16
- data/vendor/rails/activesupport/test/core_ext/module/attr_accessor_with_default_test.rb +0 -30
- data/vendor/rails/activesupport/test/core_ext/module/attr_internal_test.rb +0 -52
- data/vendor/rails/activesupport/test/core_ext/module/attribute_accessor_test.rb +0 -33
- data/vendor/rails/activesupport/test/core_ext/module/attribute_aliasing_test.rb +0 -58
- data/vendor/rails/activesupport/test/core_ext/module_test.rb +0 -293
- data/vendor/rails/activesupport/test/core_ext/name_error_test.rb +0 -24
- data/vendor/rails/activesupport/test/core_ext/numeric_ext_test.rb +0 -147
- data/vendor/rails/activesupport/test/core_ext/object_and_class_ext_test.rb +0 -242
- data/vendor/rails/activesupport/test/core_ext/pathname_test.rb +0 -9
- data/vendor/rails/activesupport/test/core_ext/proc_test.rb +0 -11
- data/vendor/rails/activesupport/test/core_ext/range_ext_test.rb +0 -63
- data/vendor/rails/activesupport/test/core_ext/string_ext_test.rb +0 -180
- data/vendor/rails/activesupport/test/core_ext/symbol_test.rb +0 -9
- data/vendor/rails/activesupport/test/core_ext/time_ext_test.rb +0 -420
- data/vendor/rails/activesupport/test/dependencies/check_warnings.rb +0 -2
- data/vendor/rails/activesupport/test/dependencies/conflict.rb +0 -1
- data/vendor/rails/activesupport/test/dependencies/cross_site_depender.rb +0 -3
- data/vendor/rails/activesupport/test/dependencies/mutual_one.rb +0 -4
- data/vendor/rails/activesupport/test/dependencies/mutual_two.rb +0 -4
- data/vendor/rails/activesupport/test/dependencies/raises_exception.rb +0 -3
- data/vendor/rails/activesupport/test/dependencies/requires_nonexistent0.rb +0 -1
- data/vendor/rails/activesupport/test/dependencies/requires_nonexistent1.rb +0 -1
- data/vendor/rails/activesupport/test/dependencies/service_one.rb +0 -5
- data/vendor/rails/activesupport/test/dependencies/service_two.rb +0 -2
- data/vendor/rails/activesupport/test/dependencies_test.rb +0 -751
- data/vendor/rails/activesupport/test/deprecation_test.rb +0 -151
- data/vendor/rails/activesupport/test/inflector_test.rb +0 -248
- data/vendor/rails/activesupport/test/inflector_test_cases.rb +0 -208
- data/vendor/rails/activesupport/test/json/decoding_test.rb +0 -41
- data/vendor/rails/activesupport/test/json/encoding_test.rb +0 -111
- data/vendor/rails/activesupport/test/multibyte_chars_test.rb +0 -173
- data/vendor/rails/activesupport/test/multibyte_conformance.rb +0 -141
- data/vendor/rails/activesupport/test/multibyte_handler_test.rb +0 -367
- data/vendor/rails/activesupport/test/option_merger_test.rb +0 -50
- data/vendor/rails/activesupport/test/ordered_options_test.rb +0 -84
- data/vendor/rails/activesupport/test/test_test.rb +0 -73
- data/vendor/rails/activesupport/test/time_zone_test.rb +0 -98
- data/vendor/rails/activesupport/test/whiny_nil_test.rb +0 -38
- data/vendor/rails/railties/CHANGELOG +0 -1899
- data/vendor/rails/railties/MIT-LICENSE +0 -20
- data/vendor/rails/railties/README +0 -203
- data/vendor/rails/railties/Rakefile +0 -358
- data/vendor/rails/railties/bin/about +0 -3
- data/vendor/rails/railties/bin/performance/benchmarker +0 -3
- data/vendor/rails/railties/bin/performance/profiler +0 -3
- data/vendor/rails/railties/bin/plugin +0 -3
- data/vendor/rails/railties/bin/process/inspector +0 -3
- data/vendor/rails/railties/bin/process/reaper +0 -3
- data/vendor/rails/railties/bin/process/spawner +0 -3
- data/vendor/rails/railties/bin/rails +0 -19
- data/vendor/rails/railties/bin/runner +0 -3
- data/vendor/rails/railties/builtin/rails_info/rails/info.rb +0 -123
- data/vendor/rails/railties/builtin/rails_info/rails/info_controller.rb +0 -9
- data/vendor/rails/railties/builtin/rails_info/rails/info_helper.rb +0 -2
- data/vendor/rails/railties/builtin/rails_info/rails_info_controller.rb +0 -2
- data/vendor/rails/railties/configs/apache.conf +0 -40
- data/vendor/rails/railties/configs/databases/frontbase.yml +0 -28
- data/vendor/rails/railties/configs/databases/mysql.yml +0 -54
- data/vendor/rails/railties/configs/databases/oracle.yml +0 -39
- data/vendor/rails/railties/configs/databases/postgresql.yml +0 -48
- data/vendor/rails/railties/configs/databases/sqlite2.yml +0 -16
- data/vendor/rails/railties/configs/databases/sqlite3.yml +0 -19
- data/vendor/rails/railties/configs/empty.log +0 -0
- data/vendor/rails/railties/configs/initializers/inflections.rb +0 -10
- data/vendor/rails/railties/configs/initializers/mime_types.rb +0 -5
- data/vendor/rails/railties/configs/lighttpd.conf +0 -54
- data/vendor/rails/railties/dispatches/dispatch.fcgi +0 -24
- data/vendor/rails/railties/dispatches/dispatch.rb +0 -10
- data/vendor/rails/railties/dispatches/gateway.cgi +0 -97
- data/vendor/rails/railties/doc/README_FOR_APP +0 -2
- data/vendor/rails/railties/environments/boot.rb +0 -109
- data/vendor/rails/railties/environments/development.rb +0 -18
- data/vendor/rails/railties/environments/environment.rb +0 -59
- data/vendor/rails/railties/environments/production.rb +0 -19
- data/vendor/rails/railties/helpers/application.rb +0 -10
- data/vendor/rails/railties/html/404.html +0 -30
- data/vendor/rails/railties/html/422.html +0 -30
- data/vendor/rails/railties/html/500.html +0 -30
- data/vendor/rails/railties/html/favicon.ico +0 -0
- data/vendor/rails/railties/html/images/rails.png +0 -0
- data/vendor/rails/railties/html/index.html +0 -277
- data/vendor/rails/railties/html/javascripts/application.js +0 -2
- data/vendor/rails/railties/html/javascripts/controls.js +0 -963
- data/vendor/rails/railties/html/javascripts/dragdrop.js +0 -972
- data/vendor/rails/railties/html/javascripts/effects.js +0 -1120
- data/vendor/rails/railties/html/javascripts/prototype.js +0 -4225
- data/vendor/rails/railties/html/robots.txt +0 -5
- data/vendor/rails/railties/lib/code_statistics.rb +0 -107
- data/vendor/rails/railties/lib/commands.rb +0 -17
- data/vendor/rails/railties/lib/commands/about.rb +0 -2
- data/vendor/rails/railties/lib/commands/console.rb +0 -32
- data/vendor/rails/railties/lib/commands/destroy.rb +0 -6
- data/vendor/rails/railties/lib/commands/generate.rb +0 -6
- data/vendor/rails/railties/lib/commands/ncgi/listener +0 -86
- data/vendor/rails/railties/lib/commands/ncgi/tracker +0 -69
- data/vendor/rails/railties/lib/commands/performance/benchmarker.rb +0 -24
- data/vendor/rails/railties/lib/commands/performance/profiler.rb +0 -50
- data/vendor/rails/railties/lib/commands/performance/request.rb +0 -6
- data/vendor/rails/railties/lib/commands/plugin.rb +0 -923
- data/vendor/rails/railties/lib/commands/process/inspector.rb +0 -68
- data/vendor/rails/railties/lib/commands/process/reaper.rb +0 -149
- data/vendor/rails/railties/lib/commands/process/spawner.rb +0 -219
- data/vendor/rails/railties/lib/commands/process/spinner.rb +0 -57
- data/vendor/rails/railties/lib/commands/runner.rb +0 -48
- data/vendor/rails/railties/lib/commands/server.rb +0 -39
- data/vendor/rails/railties/lib/commands/servers/base.rb +0 -31
- data/vendor/rails/railties/lib/commands/servers/lighttpd.rb +0 -94
- data/vendor/rails/railties/lib/commands/servers/mongrel.rb +0 -69
- data/vendor/rails/railties/lib/commands/servers/webrick.rb +0 -66
- data/vendor/rails/railties/lib/commands/update.rb +0 -4
- data/vendor/rails/railties/lib/console_app.rb +0 -30
- data/vendor/rails/railties/lib/console_sandbox.rb +0 -6
- data/vendor/rails/railties/lib/console_with_helpers.rb +0 -26
- data/vendor/rails/railties/lib/dispatcher.rb +0 -24
- data/vendor/rails/railties/lib/fcgi_handler.rb +0 -223
- data/vendor/rails/railties/lib/initializer.rb +0 -682
- data/vendor/rails/railties/lib/rails/plugin.rb +0 -84
- data/vendor/rails/railties/lib/rails/plugin/loader.rb +0 -150
- data/vendor/rails/railties/lib/rails/plugin/locator.rb +0 -78
- data/vendor/rails/railties/lib/rails/version.rb +0 -9
- data/vendor/rails/railties/lib/rails_generator.rb +0 -43
- data/vendor/rails/railties/lib/rails_generator/base.rb +0 -263
- data/vendor/rails/railties/lib/rails_generator/commands.rb +0 -591
- data/vendor/rails/railties/lib/rails_generator/generated_attribute.rb +0 -42
- data/vendor/rails/railties/lib/rails_generator/generators/applications/app/USAGE +0 -9
- data/vendor/rails/railties/lib/rails_generator/generators/applications/app/app_generator.rb +0 -179
- data/vendor/rails/railties/lib/rails_generator/generators/components/controller/USAGE +0 -29
- data/vendor/rails/railties/lib/rails_generator/generators/components/controller/controller_generator.rb +0 -37
- data/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/controller.rb +0 -10
- data/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/functional_test.rb +0 -8
- data/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/helper.rb +0 -2
- data/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/view.html.erb +0 -2
- data/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/USAGE +0 -8
- data/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/integration_test_generator.rb +0 -16
- data/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/templates/integration_test.rb +0 -10
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/USAGE +0 -16
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/mailer_generator.rb +0 -34
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/fixture.erb +0 -3
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/fixture.rhtml +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb +0 -13
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/unit_test.rb +0 -21
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.erb +0 -3
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.rhtml +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/migration/USAGE +0 -29
- data/vendor/rails/railties/lib/rails_generator/generators/components/migration/migration_generator.rb +0 -20
- data/vendor/rails/railties/lib/rails_generator/generators/components/migration/templates/migration.rb +0 -11
- data/vendor/rails/railties/lib/rails_generator/generators/components/model/USAGE +0 -27
- data/vendor/rails/railties/lib/rails_generator/generators/components/model/model_generator.rb +0 -45
- data/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/fixtures.yml +0 -19
- data/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/migration.rb +0 -16
- data/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/model.rb +0 -2
- data/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/unit_test.rb +0 -8
- data/vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE +0 -13
- data/vendor/rails/railties/lib/rails_generator/generators/components/observer/observer_generator.rb +0 -16
- data/vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/observer.rb +0 -2
- data/vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/unit_test.rb +0 -8
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/USAGE +0 -25
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/plugin_generator.rb +0 -39
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/MIT-LICENSE +0 -20
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/README +0 -13
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/Rakefile +0 -22
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/USAGE +0 -8
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/generator.rb +0 -8
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/init.rb +0 -1
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/plugin.rb +0 -1
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/tasks.rake +0 -4
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/unit_test.rb +0 -8
- data/vendor/rails/railties/lib/rails_generator/generators/components/resource/USAGE +0 -23
- data/vendor/rails/railties/lib/rails_generator/generators/components/resource/resource_generator.rb +0 -74
- data/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/controller.rb +0 -2
- data/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb +0 -8
- data/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/helper.rb +0 -2
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/USAGE +0 -25
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb +0 -92
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/controller.rb +0 -85
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb +0 -45
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/helper.rb +0 -2
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/layout.html.erb +0 -17
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/style.css +0 -74
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_edit.html.erb +0 -19
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_index.html.erb +0 -24
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_new.html.erb +0 -18
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_show.html.erb +0 -10
- data/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/USAGE +0 -10
- data/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/session_migration_generator.rb +0 -18
- data/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/templates/migration.rb +0 -16
- data/vendor/rails/railties/lib/rails_generator/lookup.rb +0 -244
- data/vendor/rails/railties/lib/rails_generator/manifest.rb +0 -53
- data/vendor/rails/railties/lib/rails_generator/options.rb +0 -143
- data/vendor/rails/railties/lib/rails_generator/scripts.rb +0 -86
- data/vendor/rails/railties/lib/rails_generator/scripts/destroy.rb +0 -30
- data/vendor/rails/railties/lib/rails_generator/scripts/generate.rb +0 -7
- data/vendor/rails/railties/lib/rails_generator/scripts/update.rb +0 -12
- data/vendor/rails/railties/lib/rails_generator/secret_key_generator.rb +0 -160
- data/vendor/rails/railties/lib/rails_generator/simple_logger.rb +0 -46
- data/vendor/rails/railties/lib/rails_generator/spec.rb +0 -44
- data/vendor/rails/railties/lib/railties_path.rb +0 -1
- data/vendor/rails/railties/lib/ruby_version_check.rb +0 -17
- data/vendor/rails/railties/lib/rubyprof_ext.rb +0 -35
- data/vendor/rails/railties/lib/source_annotation_extractor.rb +0 -62
- data/vendor/rails/railties/lib/tasks/annotations.rake +0 -23
- data/vendor/rails/railties/lib/tasks/databases.rake +0 -363
- data/vendor/rails/railties/lib/tasks/documentation.rake +0 -80
- data/vendor/rails/railties/lib/tasks/framework.rake +0 -118
- data/vendor/rails/railties/lib/tasks/log.rake +0 -9
- data/vendor/rails/railties/lib/tasks/misc.rake +0 -10
- data/vendor/rails/railties/lib/tasks/rails.rb +0 -8
- data/vendor/rails/railties/lib/tasks/routes.rake +0 -17
- data/vendor/rails/railties/lib/tasks/statistics.rake +0 -18
- data/vendor/rails/railties/lib/tasks/testing.rake +0 -118
- data/vendor/rails/railties/lib/tasks/tmp.rake +0 -37
- data/vendor/rails/railties/lib/test_help.rb +0 -20
- data/vendor/rails/railties/lib/webrick_server.rb +0 -165
- data/vendor/rails/railties/test/abstract_unit.rb +0 -24
- data/vendor/rails/railties/test/boot_test.rb +0 -179
- data/vendor/rails/railties/test/console_app_test.rb +0 -29
- data/vendor/rails/railties/test/fcgi_dispatcher_test.rb +0 -265
- data/vendor/rails/railties/test/fixtures/environment_with_constant.rb +0 -1
- data/vendor/rails/railties/test/fixtures/lib/generators/missing_class/missing_class_generator.rb +0 -0
- data/vendor/rails/railties/test/fixtures/lib/generators/working/working_generator.rb +0 -2
- data/vendor/rails/railties/test/fixtures/plugins/default/plugin_with_no_lib_dir/init.rb +0 -0
- data/vendor/rails/railties/test/fixtures/plugins/default/stubby/init.rb +0 -7
- data/vendor/rails/railties/test/fixtures/plugins/default/stubby/lib/stubby_mixin.rb +0 -2
- data/vendor/rails/railties/test/generators/generator_test_helper.rb +0 -195
- data/vendor/rails/railties/test/generators/rails_model_generator_test.rb +0 -109
- data/vendor/rails/railties/test/generators/rails_resource_generator_test.rb +0 -106
- data/vendor/rails/railties/test/generators/rails_scaffold_generator_test.rb +0 -185
- data/vendor/rails/railties/test/initializer_test.rb +0 -218
- data/vendor/rails/railties/test/mocks/routes.rb +0 -6
- data/vendor/rails/railties/test/plugin_loader_test.rb +0 -140
- data/vendor/rails/railties/test/plugin_locator_test.rb +0 -69
- data/vendor/rails/railties/test/plugin_test.rb +0 -141
- data/vendor/rails/railties/test/plugin_test_helper.rb +0 -29
- data/vendor/rails/railties/test/rails_generator_test.rb +0 -137
- data/vendor/rails/railties/test/rails_info_controller_test.rb +0 -48
- data/vendor/rails/railties/test/rails_info_test.rb +0 -105
- data/vendor/rails/railties/test/secret_key_generation_test.rb +0 -35
@@ -1,105 +0,0 @@
|
|
1
|
-
require 'strscan'
|
2
|
-
|
3
|
-
module HTML #:nodoc:
|
4
|
-
|
5
|
-
# A simple HTML tokenizer. It simply breaks a stream of text into tokens, where each
|
6
|
-
# token is a string. Each string represents either "text", or an HTML element.
|
7
|
-
#
|
8
|
-
# This currently assumes valid XHTML, which means no free < or > characters.
|
9
|
-
#
|
10
|
-
# Usage:
|
11
|
-
#
|
12
|
-
# tokenizer = HTML::Tokenizer.new(text)
|
13
|
-
# while token = tokenizer.next
|
14
|
-
# p token
|
15
|
-
# end
|
16
|
-
class Tokenizer #:nodoc:
|
17
|
-
|
18
|
-
# The current (byte) position in the text
|
19
|
-
attr_reader :position
|
20
|
-
|
21
|
-
# The current line number
|
22
|
-
attr_reader :line
|
23
|
-
|
24
|
-
# Create a new Tokenizer for the given text.
|
25
|
-
def initialize(text)
|
26
|
-
@scanner = StringScanner.new(text)
|
27
|
-
@position = 0
|
28
|
-
@line = 0
|
29
|
-
@current_line = 1
|
30
|
-
end
|
31
|
-
|
32
|
-
# Return the next token in the sequence, or +nil+ if there are no more tokens in
|
33
|
-
# the stream.
|
34
|
-
def next
|
35
|
-
return nil if @scanner.eos?
|
36
|
-
@position = @scanner.pos
|
37
|
-
@line = @current_line
|
38
|
-
if @scanner.check(/<\S/)
|
39
|
-
update_current_line(scan_tag)
|
40
|
-
else
|
41
|
-
update_current_line(scan_text)
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
private
|
46
|
-
|
47
|
-
# Treat the text at the current position as a tag, and scan it. Supports
|
48
|
-
# comments, doctype tags, and regular tags, and ignores less-than and
|
49
|
-
# greater-than characters within quoted strings.
|
50
|
-
def scan_tag
|
51
|
-
tag = @scanner.getch
|
52
|
-
if @scanner.scan(/!--/) # comment
|
53
|
-
tag << @scanner.matched
|
54
|
-
tag << (@scanner.scan_until(/--\s*>/) || @scanner.scan_until(/\Z/))
|
55
|
-
elsif @scanner.scan(/!\[CDATA\[/)
|
56
|
-
tag << @scanner.matched
|
57
|
-
tag << @scanner.scan_until(/\]\]>/)
|
58
|
-
elsif @scanner.scan(/!/) # doctype
|
59
|
-
tag << @scanner.matched
|
60
|
-
tag << consume_quoted_regions
|
61
|
-
else
|
62
|
-
tag << consume_quoted_regions
|
63
|
-
end
|
64
|
-
tag
|
65
|
-
end
|
66
|
-
|
67
|
-
# Scan all text up to the next < character and return it.
|
68
|
-
def scan_text
|
69
|
-
"#{@scanner.getch}#{@scanner.scan(/[^<]*/)}"
|
70
|
-
end
|
71
|
-
|
72
|
-
# Counts the number of newlines in the text and updates the current line
|
73
|
-
# accordingly.
|
74
|
-
def update_current_line(text)
|
75
|
-
text.scan(/\r?\n/) { @current_line += 1 }
|
76
|
-
end
|
77
|
-
|
78
|
-
# Skips over quoted strings, so that less-than and greater-than characters
|
79
|
-
# within the strings are ignored.
|
80
|
-
def consume_quoted_regions
|
81
|
-
text = ""
|
82
|
-
loop do
|
83
|
-
match = @scanner.scan_until(/['"<>]/) or break
|
84
|
-
|
85
|
-
delim = @scanner.matched
|
86
|
-
if delim == "<"
|
87
|
-
match = match.chop
|
88
|
-
@scanner.pos -= 1
|
89
|
-
end
|
90
|
-
|
91
|
-
text << match
|
92
|
-
break if delim == "<" || delim == ">"
|
93
|
-
|
94
|
-
# consume the quoted region
|
95
|
-
while match = @scanner.scan_until(/[\\#{delim}]/)
|
96
|
-
text << match
|
97
|
-
break if @scanner.matched == delim
|
98
|
-
text << @scanner.getch # skip the escaped character
|
99
|
-
end
|
100
|
-
end
|
101
|
-
text
|
102
|
-
end
|
103
|
-
end
|
104
|
-
|
105
|
-
end
|
@@ -1,114 +0,0 @@
|
|
1
|
-
module ActionController #:nodoc:
|
2
|
-
module Verification #:nodoc:
|
3
|
-
def self.included(base) #:nodoc:
|
4
|
-
base.extend(ClassMethods)
|
5
|
-
end
|
6
|
-
|
7
|
-
# This module provides a class-level method for specifying that certain
|
8
|
-
# actions are guarded against being called without certain prerequisites
|
9
|
-
# being met. This is essentially a special kind of before_filter.
|
10
|
-
#
|
11
|
-
# An action may be guarded against being invoked without certain request
|
12
|
-
# parameters being set, or without certain session values existing.
|
13
|
-
#
|
14
|
-
# When a verification is violated, values may be inserted into the flash, and
|
15
|
-
# a specified redirection is triggered. If no specific action is configured,
|
16
|
-
# verification failures will by default result in a 400 Bad Request response.
|
17
|
-
#
|
18
|
-
# Usage:
|
19
|
-
#
|
20
|
-
# class GlobalController < ActionController::Base
|
21
|
-
# # Prevent the #update_settings action from being invoked unless
|
22
|
-
# # the 'admin_privileges' request parameter exists. The
|
23
|
-
# # settings action will be redirected to in current controller
|
24
|
-
# # if verification fails.
|
25
|
-
# verify :params => "admin_privileges", :only => :update_post,
|
26
|
-
# :redirect_to => { :action => "settings" }
|
27
|
-
#
|
28
|
-
# # Disallow a post from being updated if there was no information
|
29
|
-
# # submitted with the post, and if there is no active post in the
|
30
|
-
# # session, and if there is no "note" key in the flash. The route
|
31
|
-
# # named category_url will be redirected to if verification fails.
|
32
|
-
#
|
33
|
-
# verify :params => "post", :session => "post", "flash" => "note",
|
34
|
-
# :only => :update_post,
|
35
|
-
# :add_flash => { "alert" => "Failed to create your message" },
|
36
|
-
# :redirect_to => :category_url
|
37
|
-
#
|
38
|
-
# Note that these prerequisites are not business rules. They do not examine
|
39
|
-
# the content of the session or the parameters. That level of validation should
|
40
|
-
# be encapsulated by your domain model or helper methods in the controller.
|
41
|
-
module ClassMethods
|
42
|
-
# Verify the given actions so that if certain prerequisites are not met,
|
43
|
-
# the user is redirected to a different action. The +options+ parameter
|
44
|
-
# is a hash consisting of the following key/value pairs:
|
45
|
-
#
|
46
|
-
# * <tt>:params</tt> - a single key or an array of keys that must
|
47
|
-
# be in the <tt>params</tt> hash in order for the action(s) to be safely
|
48
|
-
# called.
|
49
|
-
# * <tt>:session</tt> - a single key or an array of keys that must
|
50
|
-
# be in the <tt>session</tt> in order for the action(s) to be safely called.
|
51
|
-
# * <tt>:flash</tt> - a single key or an array of keys that must
|
52
|
-
# be in the flash in order for the action(s) to be safely called.
|
53
|
-
# * <tt>:method</tt> - a single key or an array of keys--any one of which
|
54
|
-
# must match the current request method in order for the action(s) to
|
55
|
-
# be safely called. (The key should be a symbol: <tt>:get</tt> or
|
56
|
-
# <tt>:post</tt>, for example.)
|
57
|
-
# * <tt>:xhr</tt> - true/false option to ensure that the request is coming
|
58
|
-
# from an Ajax call or not.
|
59
|
-
# * <tt>:add_flash</tt> - a hash of name/value pairs that should be merged
|
60
|
-
# into the session's flash if the prerequisites cannot be satisfied.
|
61
|
-
# * <tt>:add_headers</tt> - a hash of name/value pairs that should be
|
62
|
-
# merged into the response's headers hash if the prerequisites cannot
|
63
|
-
# be satisfied.
|
64
|
-
# * <tt>:redirect_to</tt> - the redirection parameters to be used when
|
65
|
-
# redirecting if the prerequisites cannot be satisfied. You can
|
66
|
-
# redirect either to named route or to the action in some controller.
|
67
|
-
# * <tt>:render</tt> - the render parameters to be used when
|
68
|
-
# the prerequisites cannot be satisfied.
|
69
|
-
# * <tt>:only</tt> - only apply this verification to the actions specified
|
70
|
-
# in the associated array (may also be a single value).
|
71
|
-
# * <tt>:except</tt> - do not apply this verification to the actions
|
72
|
-
# specified in the associated array (may also be a single value).
|
73
|
-
def verify(options={})
|
74
|
-
filter_opts = { :only => options[:only], :except => options[:except] }
|
75
|
-
before_filter(filter_opts) do |c|
|
76
|
-
c.send! :verify_action, options
|
77
|
-
end
|
78
|
-
end
|
79
|
-
end
|
80
|
-
|
81
|
-
def verify_action(options) #:nodoc:
|
82
|
-
prereqs_invalid =
|
83
|
-
[*options[:params] ].find { |v| params[v].nil? } ||
|
84
|
-
[*options[:session]].find { |v| session[v].nil? } ||
|
85
|
-
[*options[:flash] ].find { |v| flash[v].nil? }
|
86
|
-
|
87
|
-
if !prereqs_invalid && options[:method]
|
88
|
-
prereqs_invalid ||=
|
89
|
-
[*options[:method]].all? { |v| request.method != v.to_sym }
|
90
|
-
end
|
91
|
-
|
92
|
-
prereqs_invalid ||= (request.xhr? != options[:xhr]) unless options[:xhr].nil?
|
93
|
-
|
94
|
-
if prereqs_invalid
|
95
|
-
flash.update(options[:add_flash]) if options[:add_flash]
|
96
|
-
response.headers.update(options[:add_headers]) if options[:add_headers]
|
97
|
-
|
98
|
-
unless performed?
|
99
|
-
case
|
100
|
-
when options[:render]
|
101
|
-
render(options[:render])
|
102
|
-
when options[:redirect_to]
|
103
|
-
options[:redirect_to] = self.send!(options[:redirect_to]) if options[:redirect_to].is_a?(Symbol)
|
104
|
-
redirect_to(options[:redirect_to])
|
105
|
-
else
|
106
|
-
head(:bad_request)
|
107
|
-
end
|
108
|
-
end
|
109
|
-
end
|
110
|
-
end
|
111
|
-
|
112
|
-
private :verify_action
|
113
|
-
end
|
114
|
-
end
|
@@ -1,24 +0,0 @@
|
|
1
|
-
#--
|
2
|
-
# Copyright (c) 2004-2007 David Heinemeier Hansson
|
3
|
-
#
|
4
|
-
# Permission is hereby granted, free of charge, to any person obtaining
|
5
|
-
# a copy of this software and associated documentation files (the
|
6
|
-
# "Software"), to deal in the Software without restriction, including
|
7
|
-
# without limitation the rights to use, copy, modify, merge, publish,
|
8
|
-
# distribute, sublicense, and/or sell copies of the Software, and to
|
9
|
-
# permit persons to whom the Software is furnished to do so, subject to
|
10
|
-
# the following conditions:
|
11
|
-
#
|
12
|
-
# The above copyright notice and this permission notice shall be
|
13
|
-
# included in all copies or substantial portions of the Software.
|
14
|
-
#
|
15
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
16
|
-
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
17
|
-
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
18
|
-
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
19
|
-
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
20
|
-
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
21
|
-
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
|
-
#++
|
23
|
-
|
24
|
-
require 'action_pack/version'
|
@@ -1,37 +0,0 @@
|
|
1
|
-
#--
|
2
|
-
# Copyright (c) 2004-2007 David Heinemeier Hansson
|
3
|
-
#
|
4
|
-
# Permission is hereby granted, free of charge, to any person obtaining
|
5
|
-
# a copy of this software and associated documentation files (the
|
6
|
-
# "Software"), to deal in the Software without restriction, including
|
7
|
-
# without limitation the rights to use, copy, modify, merge, publish,
|
8
|
-
# distribute, sublicense, and/or sell copies of the Software, and to
|
9
|
-
# permit persons to whom the Software is furnished to do so, subject to
|
10
|
-
# the following conditions:
|
11
|
-
#
|
12
|
-
# The above copyright notice and this permission notice shall be
|
13
|
-
# included in all copies or substantial portions of the Software.
|
14
|
-
#
|
15
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
16
|
-
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
17
|
-
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
18
|
-
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
19
|
-
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
20
|
-
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
21
|
-
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
|
-
#++
|
23
|
-
|
24
|
-
require 'action_view/template_handler'
|
25
|
-
require 'action_view/template_handlers/builder'
|
26
|
-
require 'action_view/template_handlers/erb'
|
27
|
-
require 'action_view/template_handlers/rjs'
|
28
|
-
|
29
|
-
require 'action_view/base'
|
30
|
-
require 'action_view/partials'
|
31
|
-
require 'action_view/template_error'
|
32
|
-
|
33
|
-
ActionView::Base.class_eval do
|
34
|
-
include ActionView::Partials
|
35
|
-
end
|
36
|
-
|
37
|
-
ActionView::Base.load_helpers
|
@@ -1,642 +0,0 @@
|
|
1
|
-
module ActionView #:nodoc:
|
2
|
-
class ActionViewError < StandardError #:nodoc:
|
3
|
-
end
|
4
|
-
|
5
|
-
# Action View templates can be written in three ways. If the template file has a +.erb+ (or +.rhtml+) extension then it uses a mixture of ERb
|
6
|
-
# (included in Ruby) and HTML. If the template file has a +.builder+ (or +.rxml+) extension then Jim Weirich's Builder::XmlMarkup library is used.
|
7
|
-
# If the template file has a +.rjs+ extension then it will use ActionView::Helpers::PrototypeHelper::JavaScriptGenerator.
|
8
|
-
#
|
9
|
-
# = ERb
|
10
|
-
#
|
11
|
-
# You trigger ERb by using embeddings such as <% %>, <% -%>, and <%= %>. The <%= %> tag set is used when you want output. Consider the
|
12
|
-
# following loop for names:
|
13
|
-
#
|
14
|
-
# <b>Names of all the people</b>
|
15
|
-
# <% for person in @people %>
|
16
|
-
# Name: <%= person.name %><br/>
|
17
|
-
# <% end %>
|
18
|
-
#
|
19
|
-
# The loop is setup in regular embedding tags <% %> and the name is written using the output embedding tag <%= %>. Note that this
|
20
|
-
# is not just a usage suggestion. Regular output functions like print or puts won't work with ERb templates. So this would be wrong:
|
21
|
-
#
|
22
|
-
# Hi, Mr. <% puts "Frodo" %>
|
23
|
-
#
|
24
|
-
# If you absolutely must write from within a function, you can use the TextHelper#concat
|
25
|
-
#
|
26
|
-
# <%- and -%> suppress leading and trailing whitespace, including the trailing newline, and can be used interchangeably with <% and %>.
|
27
|
-
#
|
28
|
-
# == Using sub templates
|
29
|
-
#
|
30
|
-
# Using sub templates allows you to sidestep tedious replication and extract common display structures in shared templates. The
|
31
|
-
# classic example is the use of a header and footer (even though the Action Pack-way would be to use Layouts):
|
32
|
-
#
|
33
|
-
# <%= render "shared/header" %>
|
34
|
-
# Something really specific and terrific
|
35
|
-
# <%= render "shared/footer" %>
|
36
|
-
#
|
37
|
-
# As you see, we use the output embeddings for the render methods. The render call itself will just return a string holding the
|
38
|
-
# result of the rendering. The output embedding writes it to the current template.
|
39
|
-
#
|
40
|
-
# But you don't have to restrict yourself to static includes. Templates can share variables amongst themselves by using instance
|
41
|
-
# variables defined using the regular embedding tags. Like this:
|
42
|
-
#
|
43
|
-
# <% @page_title = "A Wonderful Hello" %>
|
44
|
-
# <%= render "shared/header" %>
|
45
|
-
#
|
46
|
-
# Now the header can pick up on the @page_title variable and use it for outputting a title tag:
|
47
|
-
#
|
48
|
-
# <title><%= @page_title %></title>
|
49
|
-
#
|
50
|
-
# == Passing local variables to sub templates
|
51
|
-
#
|
52
|
-
# You can pass local variables to sub templates by using a hash with the variable names as keys and the objects as values:
|
53
|
-
#
|
54
|
-
# <%= render "shared/header", { :headline => "Welcome", :person => person } %>
|
55
|
-
#
|
56
|
-
# These can now be accessed in shared/header with:
|
57
|
-
#
|
58
|
-
# Headline: <%= headline %>
|
59
|
-
# First name: <%= person.first_name %>
|
60
|
-
#
|
61
|
-
# If you need to find out whether a certain local variable has been assigned a value in a particular render call,
|
62
|
-
# you need to use the following pattern:
|
63
|
-
#
|
64
|
-
# <% if local_assigns.has_key? :headline %>
|
65
|
-
# Headline: <%= headline %>
|
66
|
-
# <% end %>
|
67
|
-
#
|
68
|
-
# Testing using <tt>defined? headline</tt> will not work. This is an implementation restriction.
|
69
|
-
#
|
70
|
-
# == Template caching
|
71
|
-
#
|
72
|
-
# By default, Rails will compile each template to a method in order to render it. When you alter a template, Rails will
|
73
|
-
# check the file's modification time and recompile it.
|
74
|
-
#
|
75
|
-
# == Builder
|
76
|
-
#
|
77
|
-
# Builder templates are a more programmatic alternative to ERb. They are especially useful for generating XML content. An +XmlMarkup+ object
|
78
|
-
# named +xml+ is automatically made available to templates with a +.builder+ extension.
|
79
|
-
#
|
80
|
-
# Here are some basic examples:
|
81
|
-
#
|
82
|
-
# xml.em("emphasized") # => <em>emphasized</em>
|
83
|
-
# xml.em { xml.b("emph & bold") } # => <em><b>emph & bold</b></em>
|
84
|
-
# xml.a("A Link", "href"=>"http://onestepback.org") # => <a href="http://onestepback.org">A Link</a>
|
85
|
-
# xml.target("name"=>"compile", "option"=>"fast") # => <target option="fast" name="compile"\>
|
86
|
-
# # NOTE: order of attributes is not specified.
|
87
|
-
#
|
88
|
-
# Any method with a block will be treated as an XML markup tag with nested markup in the block. For example, the following:
|
89
|
-
#
|
90
|
-
# xml.div {
|
91
|
-
# xml.h1(@person.name)
|
92
|
-
# xml.p(@person.bio)
|
93
|
-
# }
|
94
|
-
#
|
95
|
-
# would produce something like:
|
96
|
-
#
|
97
|
-
# <div>
|
98
|
-
# <h1>David Heinemeier Hansson</h1>
|
99
|
-
# <p>A product of Danish Design during the Winter of '79...</p>
|
100
|
-
# </div>
|
101
|
-
#
|
102
|
-
# A full-length RSS example actually used on Basecamp:
|
103
|
-
#
|
104
|
-
# xml.rss("version" => "2.0", "xmlns:dc" => "http://purl.org/dc/elements/1.1/") do
|
105
|
-
# xml.channel do
|
106
|
-
# xml.title(@feed_title)
|
107
|
-
# xml.link(@url)
|
108
|
-
# xml.description "Basecamp: Recent items"
|
109
|
-
# xml.language "en-us"
|
110
|
-
# xml.ttl "40"
|
111
|
-
#
|
112
|
-
# for item in @recent_items
|
113
|
-
# xml.item do
|
114
|
-
# xml.title(item_title(item))
|
115
|
-
# xml.description(item_description(item)) if item_description(item)
|
116
|
-
# xml.pubDate(item_pubDate(item))
|
117
|
-
# xml.guid(@person.firm.account.url + @recent_items.url(item))
|
118
|
-
# xml.link(@person.firm.account.url + @recent_items.url(item))
|
119
|
-
#
|
120
|
-
# xml.tag!("dc:creator", item.author_name) if item_has_creator?(item)
|
121
|
-
# end
|
122
|
-
# end
|
123
|
-
# end
|
124
|
-
# end
|
125
|
-
#
|
126
|
-
# More builder documentation can be found at http://builder.rubyforge.org.
|
127
|
-
#
|
128
|
-
# == JavaScriptGenerator
|
129
|
-
#
|
130
|
-
# JavaScriptGenerator templates end in +.rjs+. Unlike conventional templates which are used to
|
131
|
-
# render the results of an action, these templates generate instructions on how to modify an already rendered page. This makes it easy to
|
132
|
-
# modify multiple elements on your page in one declarative Ajax response. Actions with these templates are called in the background with Ajax
|
133
|
-
# and make updates to the page where the request originated from.
|
134
|
-
#
|
135
|
-
# An instance of the JavaScriptGenerator object named +page+ is automatically made available to your template, which is implicitly wrapped in an ActionView::Helpers::PrototypeHelper#update_page block.
|
136
|
-
#
|
137
|
-
# When an .rjs action is called with +link_to_remote+, the generated JavaScript is automatically evaluated. Example:
|
138
|
-
#
|
139
|
-
# link_to_remote :url => {:action => 'delete'}
|
140
|
-
#
|
141
|
-
# The subsequently rendered +delete.rjs+ might look like:
|
142
|
-
#
|
143
|
-
# page.replace_html 'sidebar', :partial => 'sidebar'
|
144
|
-
# page.remove "person-#{@person.id}"
|
145
|
-
# page.visual_effect :highlight, 'user-list'
|
146
|
-
#
|
147
|
-
# This refreshes the sidebar, removes a person element and highlights the user list.
|
148
|
-
#
|
149
|
-
# See the ActionView::Helpers::PrototypeHelper::GeneratorMethods documentation for more details.
|
150
|
-
class Base
|
151
|
-
include ERB::Util
|
152
|
-
|
153
|
-
attr_reader :first_render
|
154
|
-
attr_accessor :base_path, :assigns, :template_extension
|
155
|
-
attr_accessor :controller, :view_paths
|
156
|
-
|
157
|
-
attr_reader :logger, :response, :headers
|
158
|
-
attr_internal :cookies, :flash, :headers, :params, :request, :response, :session
|
159
|
-
|
160
|
-
attr_writer :template_format
|
161
|
-
|
162
|
-
# Specify trim mode for the ERB compiler. Defaults to '-'.
|
163
|
-
# See ERb documentation for suitable values.
|
164
|
-
@@erb_trim_mode = '-'
|
165
|
-
cattr_accessor :erb_trim_mode
|
166
|
-
|
167
|
-
# Specify whether file modification times should be checked to see if a template needs recompilation
|
168
|
-
@@cache_template_loading = false
|
169
|
-
cattr_accessor :cache_template_loading
|
170
|
-
|
171
|
-
# Specify whether file extension lookup should be cached, and whether template base path lookup should be cached.
|
172
|
-
# Should be +false+ for development environments. Defaults to +true+.
|
173
|
-
@@cache_template_extensions = true
|
174
|
-
cattr_accessor :cache_template_extensions
|
175
|
-
|
176
|
-
# Specify whether local_assigns should be able to use string keys.
|
177
|
-
# Defaults to +true+. String keys are deprecated and will be removed
|
178
|
-
# shortly.
|
179
|
-
@@local_assigns_support_string_keys = true
|
180
|
-
cattr_accessor :local_assigns_support_string_keys
|
181
|
-
|
182
|
-
# Specify whether RJS responses should be wrapped in a try/catch block
|
183
|
-
# that alert()s the caught exception (and then re-raises it).
|
184
|
-
@@debug_rjs = false
|
185
|
-
cattr_accessor :debug_rjs
|
186
|
-
|
187
|
-
@@erb_variable = '_erbout'
|
188
|
-
cattr_accessor :erb_variable
|
189
|
-
|
190
|
-
delegate :request_forgery_protection_token, :to => :controller
|
191
|
-
|
192
|
-
@@template_handlers = HashWithIndifferentAccess.new
|
193
|
-
|
194
|
-
module CompiledTemplates #:nodoc:
|
195
|
-
# holds compiled template code
|
196
|
-
end
|
197
|
-
include CompiledTemplates
|
198
|
-
|
199
|
-
# Maps inline templates to their method names
|
200
|
-
@@method_names = {}
|
201
|
-
# Map method names to their compile time
|
202
|
-
@@compile_time = {}
|
203
|
-
# Map method names to the names passed in local assigns so far
|
204
|
-
@@template_args = {}
|
205
|
-
# Count the number of inline templates
|
206
|
-
@@inline_template_count = 0
|
207
|
-
# Maps template paths without extension to their file extension returned by pick_template_extension.
|
208
|
-
# If for a given path, path.ext1 and path.ext2 exist on the file system, the order of extensions
|
209
|
-
# used by pick_template_extension determines whether ext1 or ext2 will be stored.
|
210
|
-
@@cached_template_extension = {}
|
211
|
-
# Maps template paths / extensions to
|
212
|
-
@@cached_base_paths = {}
|
213
|
-
|
214
|
-
# Cache public asset paths
|
215
|
-
cattr_reader :computed_public_paths
|
216
|
-
@@computed_public_paths = {}
|
217
|
-
|
218
|
-
@@template_handlers = {}
|
219
|
-
@@default_template_handlers = nil
|
220
|
-
|
221
|
-
class ObjectWrapper < Struct.new(:value) #:nodoc:
|
222
|
-
end
|
223
|
-
|
224
|
-
def self.load_helpers #:nodoc:
|
225
|
-
Dir.entries("#{File.dirname(__FILE__)}/helpers").sort.each do |file|
|
226
|
-
next unless file =~ /^([a-z][a-z_]*_helper).rb$/
|
227
|
-
require "action_view/helpers/#{$1}"
|
228
|
-
helper_module_name = $1.camelize
|
229
|
-
if Helpers.const_defined?(helper_module_name)
|
230
|
-
include Helpers.const_get(helper_module_name)
|
231
|
-
end
|
232
|
-
end
|
233
|
-
end
|
234
|
-
|
235
|
-
# Register a class that knows how to handle template files with the given
|
236
|
-
# extension. This can be used to implement new template types.
|
237
|
-
# The constructor for the class must take the ActiveView::Base instance
|
238
|
-
# as a parameter, and the class must implement a #render method that
|
239
|
-
# takes the contents of the template to render as well as the Hash of
|
240
|
-
# local assigns available to the template. The #render method ought to
|
241
|
-
# return the rendered template as a string.
|
242
|
-
def self.register_template_handler(extension, klass)
|
243
|
-
@@template_handlers[extension.to_sym] = klass
|
244
|
-
end
|
245
|
-
|
246
|
-
def self.template_handler_extensions
|
247
|
-
@@template_handler_extensions ||= @@template_handlers.keys.map(&:to_s).sort
|
248
|
-
end
|
249
|
-
|
250
|
-
def self.register_default_template_handler(extension, klass)
|
251
|
-
register_template_handler(extension, klass)
|
252
|
-
@@default_template_handlers = klass
|
253
|
-
end
|
254
|
-
|
255
|
-
def self.handler_for_extension(extension)
|
256
|
-
(extension && @@template_handlers[extension.to_sym]) || @@default_template_handlers
|
257
|
-
end
|
258
|
-
|
259
|
-
register_default_template_handler :erb, TemplateHandlers::ERB
|
260
|
-
register_template_handler :rjs, TemplateHandlers::RJS
|
261
|
-
register_template_handler :builder, TemplateHandlers::Builder
|
262
|
-
|
263
|
-
# TODO: Depreciate old template extensions
|
264
|
-
register_template_handler :rhtml, TemplateHandlers::ERB
|
265
|
-
register_template_handler :rxml, TemplateHandlers::Builder
|
266
|
-
|
267
|
-
def initialize(view_paths = [], assigns_for_first_render = {}, controller = nil)#:nodoc:
|
268
|
-
@view_paths = view_paths.respond_to?(:find) ? view_paths.dup : [*view_paths].compact
|
269
|
-
@assigns = assigns_for_first_render
|
270
|
-
@assigns_added = nil
|
271
|
-
@controller = controller
|
272
|
-
@logger = controller && controller.logger
|
273
|
-
end
|
274
|
-
|
275
|
-
# Renders the template present at <tt>template_path</tt>. If <tt>use_full_path</tt> is set to true,
|
276
|
-
# it's relative to the view_paths array, otherwise it's absolute. The hash in <tt>local_assigns</tt>
|
277
|
-
# is made available as local variables.
|
278
|
-
def render_file(template_path, use_full_path = true, local_assigns = {}) #:nodoc:
|
279
|
-
if defined?(ActionMailer) && defined?(ActionMailer::Base) && controller.is_a?(ActionMailer::Base) && !template_path.include?("/")
|
280
|
-
raise ActionViewError, <<-END_ERROR
|
281
|
-
Due to changes in ActionMailer, you need to provide the mailer_name along with the template name.
|
282
|
-
|
283
|
-
render "user_mailer/signup"
|
284
|
-
render :file => "user_mailer/signup"
|
285
|
-
|
286
|
-
If you are rendering a subtemplate, you must now use controller-like partial syntax:
|
287
|
-
|
288
|
-
render :partial => 'signup' # no mailer_name necessary
|
289
|
-
END_ERROR
|
290
|
-
end
|
291
|
-
|
292
|
-
@first_render ||= template_path
|
293
|
-
template_path_without_extension, template_extension = path_and_extension(template_path)
|
294
|
-
if use_full_path
|
295
|
-
if template_extension
|
296
|
-
template_file_name = full_template_path(template_path_without_extension, template_extension)
|
297
|
-
else
|
298
|
-
template_extension = pick_template_extension(template_path).to_s
|
299
|
-
unless template_extension
|
300
|
-
raise ActionViewError, "No template found for #{template_path} in #{view_paths.inspect}"
|
301
|
-
end
|
302
|
-
template_file_name = full_template_path(template_path, template_extension)
|
303
|
-
template_extension = template_extension.gsub(/^.+\./, '') # strip off any formats
|
304
|
-
end
|
305
|
-
else
|
306
|
-
template_file_name = template_path
|
307
|
-
end
|
308
|
-
|
309
|
-
template_source = nil # Don't read the source until we know that it is required
|
310
|
-
|
311
|
-
if template_file_name.blank?
|
312
|
-
raise ActionViewError, "Couldn't find template file for #{template_path} in #{view_paths.inspect}"
|
313
|
-
end
|
314
|
-
|
315
|
-
begin
|
316
|
-
render_template(template_extension, template_source, template_file_name, local_assigns)
|
317
|
-
rescue Exception => e
|
318
|
-
if TemplateError === e
|
319
|
-
e.sub_template_of(template_file_name)
|
320
|
-
raise e
|
321
|
-
else
|
322
|
-
raise TemplateError.new(find_base_path_for("#{template_path_without_extension}.#{template_extension}") || view_paths.first, template_file_name, @assigns, template_source, e)
|
323
|
-
end
|
324
|
-
end
|
325
|
-
end
|
326
|
-
|
327
|
-
# Renders the template present at <tt>template_path</tt> (relative to the view_paths array).
|
328
|
-
# The hash in <tt>local_assigns</tt> is made available as local variables.
|
329
|
-
def render(options = {}, old_local_assigns = {}, &block) #:nodoc:
|
330
|
-
if options.is_a?(String)
|
331
|
-
render_file(options, true, old_local_assigns)
|
332
|
-
elsif options == :update
|
333
|
-
update_page(&block)
|
334
|
-
elsif options.is_a?(Hash)
|
335
|
-
options = options.reverse_merge(:locals => {}, :use_full_path => true)
|
336
|
-
|
337
|
-
if options[:layout]
|
338
|
-
path, partial_name = partial_pieces(options.delete(:layout))
|
339
|
-
|
340
|
-
if block_given?
|
341
|
-
@content_for_layout = capture(&block)
|
342
|
-
concat(render(options.merge(:partial => "#{path}/#{partial_name}")), block.binding)
|
343
|
-
else
|
344
|
-
@content_for_layout = render(options)
|
345
|
-
render(options.merge(:partial => "#{path}/#{partial_name}"))
|
346
|
-
end
|
347
|
-
elsif options[:file]
|
348
|
-
render_file(options[:file], options[:use_full_path], options[:locals])
|
349
|
-
elsif options[:partial] && options[:collection]
|
350
|
-
render_partial_collection(options[:partial], options[:collection], options[:spacer_template], options[:locals])
|
351
|
-
elsif options[:partial]
|
352
|
-
render_partial(options[:partial], ActionView::Base::ObjectWrapper.new(options[:object]), options[:locals])
|
353
|
-
elsif options[:inline]
|
354
|
-
render_template(options[:type], options[:inline], nil, options[:locals])
|
355
|
-
end
|
356
|
-
end
|
357
|
-
end
|
358
|
-
|
359
|
-
# Renders the +template+ which is given as a string as either erb or builder depending on <tt>template_extension</tt>.
|
360
|
-
# The hash in <tt>local_assigns</tt> is made available as local variables.
|
361
|
-
def render_template(template_extension, template, file_path = nil, local_assigns = {}) #:nodoc:
|
362
|
-
handler = self.class.handler_for_extension(template_extension)
|
363
|
-
|
364
|
-
if template_handler_is_compilable?(handler)
|
365
|
-
compile_and_render_template(handler, template, file_path, local_assigns)
|
366
|
-
else
|
367
|
-
template ||= read_template_file(file_path, template_extension) # Make sure that a lazyily-read template is loaded.
|
368
|
-
delegate_render(handler, template, local_assigns)
|
369
|
-
end
|
370
|
-
end
|
371
|
-
|
372
|
-
# Gets the full template path with base path for the given template_path and extension.
|
373
|
-
#
|
374
|
-
# full_template_path('users/show', 'html.erb')
|
375
|
-
# # => '~/rails/app/views/users/show.html.erb
|
376
|
-
#
|
377
|
-
def full_template_path(template_path, extension)
|
378
|
-
if @@cache_template_extensions
|
379
|
-
(@@cached_base_paths[template_path] ||= {})[extension.to_s] ||= find_full_template_path(template_path, extension)
|
380
|
-
else
|
381
|
-
find_full_template_path(template_path, extension)
|
382
|
-
end
|
383
|
-
end
|
384
|
-
|
385
|
-
# Gets the extension for an existing template with the given template_path.
|
386
|
-
# Returns the format with the extension if that template exists.
|
387
|
-
#
|
388
|
-
# pick_template_extension('users/show')
|
389
|
-
# # => 'html.erb'
|
390
|
-
#
|
391
|
-
# pick_template_extension('users/legacy')
|
392
|
-
# # => "rhtml"
|
393
|
-
#
|
394
|
-
def pick_template_extension(template_path)#:nodoc:
|
395
|
-
if @@cache_template_extensions
|
396
|
-
(@@cached_template_extension[template_path] ||= {})[template_format] ||= find_template_extension_for(template_path)
|
397
|
-
else
|
398
|
-
find_template_extension_for(template_path)
|
399
|
-
end
|
400
|
-
end
|
401
|
-
|
402
|
-
def file_exists?(template_path)#:nodoc:
|
403
|
-
template_file_name, template_file_extension = path_and_extension(template_path)
|
404
|
-
if template_file_extension
|
405
|
-
template_exists?(template_file_name, template_file_extension)
|
406
|
-
else
|
407
|
-
template_exists?(template_file_name, pick_template_extension(template_path))
|
408
|
-
end
|
409
|
-
end
|
410
|
-
|
411
|
-
# Returns true is the file may be rendered implicitly.
|
412
|
-
def file_public?(template_path)#:nodoc:
|
413
|
-
template_path.split('/').last[0,1] != '_'
|
414
|
-
end
|
415
|
-
|
416
|
-
# symbolized version of the :format parameter of the request, or :html by default.
|
417
|
-
def template_format
|
418
|
-
return @template_format if @template_format
|
419
|
-
format = controller && controller.respond_to?(:request) && controller.request.parameters[:format]
|
420
|
-
@template_format = format.blank? ? :html : format.to_sym
|
421
|
-
end
|
422
|
-
|
423
|
-
# Adds a view_path to the front of the view_paths array.
|
424
|
-
# This change affects the current request only.
|
425
|
-
#
|
426
|
-
# @template.prepend_view_path("views/default")
|
427
|
-
# @template.prepend_view_path(["views/default", "views/custom"])
|
428
|
-
#
|
429
|
-
def prepend_view_path(path)
|
430
|
-
@view_paths.unshift(*path)
|
431
|
-
end
|
432
|
-
|
433
|
-
# Adds a view_path to the end of the view_paths array.
|
434
|
-
# This change affects the current request only.
|
435
|
-
#
|
436
|
-
# @template.append_view_path("views/default")
|
437
|
-
# @template.append_view_path(["views/default", "views/custom"])
|
438
|
-
#
|
439
|
-
def append_view_path(path)
|
440
|
-
@view_paths.push(*path)
|
441
|
-
end
|
442
|
-
|
443
|
-
private
|
444
|
-
def find_full_template_path(template_path, extension)
|
445
|
-
file_name = "#{template_path}.#{extension}"
|
446
|
-
base_path = find_base_path_for(file_name)
|
447
|
-
base_path.blank? ? "" : "#{base_path}/#{file_name}"
|
448
|
-
end
|
449
|
-
|
450
|
-
# Asserts the existence of a template.
|
451
|
-
def template_exists?(template_path, extension)
|
452
|
-
file_path = full_template_path(template_path, extension)
|
453
|
-
!file_path.blank? && @@method_names.has_key?(file_path) || File.exist?(file_path)
|
454
|
-
end
|
455
|
-
|
456
|
-
# Splits the path and extension from the given template_path and returns as an array.
|
457
|
-
def path_and_extension(template_path)
|
458
|
-
template_path_without_extension = template_path.sub(/\.(\w+)$/, '')
|
459
|
-
[ template_path_without_extension, $1 ]
|
460
|
-
end
|
461
|
-
|
462
|
-
# Returns the view path that contains the given relative template path.
|
463
|
-
def find_base_path_for(template_file_name)
|
464
|
-
view_paths.find { |p| File.file?(File.join(p, template_file_name)) }
|
465
|
-
end
|
466
|
-
|
467
|
-
# Returns the view path that the full path resides in.
|
468
|
-
def extract_base_path_from(full_path)
|
469
|
-
view_paths.find { |p| full_path[0..p.size - 1] == p }
|
470
|
-
end
|
471
|
-
|
472
|
-
# Determines the template's file extension, such as rhtml, rxml, or rjs.
|
473
|
-
def find_template_extension_for(template_path)
|
474
|
-
find_template_extension_from_handler(template_path, true) ||
|
475
|
-
find_template_extension_from_handler(template_path) ||
|
476
|
-
find_template_extension_from_first_render()
|
477
|
-
end
|
478
|
-
|
479
|
-
def find_template_extension_from_handler(template_path, formatted = nil)
|
480
|
-
checked_template_path = formatted ? "#{template_path}.#{template_format}" : template_path
|
481
|
-
|
482
|
-
self.class.template_handler_extensions.each do |extension|
|
483
|
-
if template_exists?(checked_template_path, extension)
|
484
|
-
return formatted ? "#{template_format}.#{extension}" : extension.to_s
|
485
|
-
end
|
486
|
-
end
|
487
|
-
nil
|
488
|
-
end
|
489
|
-
|
490
|
-
# Determine the template extension from the <tt>@first_render</tt> filename
|
491
|
-
def find_template_extension_from_first_render
|
492
|
-
File.basename(@first_render.to_s)[/^[^.]+\.(.+)$/, 1]
|
493
|
-
end
|
494
|
-
|
495
|
-
# This method reads a template file.
|
496
|
-
def read_template_file(template_path, extension)
|
497
|
-
File.read(template_path)
|
498
|
-
end
|
499
|
-
|
500
|
-
# Evaluate the local assigns and pushes them to the view.
|
501
|
-
def evaluate_assigns
|
502
|
-
unless @assigns_added
|
503
|
-
assign_variables_from_controller
|
504
|
-
@assigns_added = true
|
505
|
-
end
|
506
|
-
end
|
507
|
-
|
508
|
-
def delegate_render(handler, template, local_assigns)
|
509
|
-
handler.new(self).render(template, local_assigns)
|
510
|
-
end
|
511
|
-
|
512
|
-
def delegate_compile(handler, template)
|
513
|
-
handler.new(self).compile(template)
|
514
|
-
end
|
515
|
-
|
516
|
-
def template_handler_is_compilable?(handler)
|
517
|
-
handler.new(self).respond_to?(:compile)
|
518
|
-
end
|
519
|
-
|
520
|
-
# Assigns instance variables from the controller to the view.
|
521
|
-
def assign_variables_from_controller
|
522
|
-
@assigns.each { |key, value| instance_variable_set("@#{key}", value) }
|
523
|
-
end
|
524
|
-
|
525
|
-
|
526
|
-
# Return true if the given template was compiled for a superset of the keys in local_assigns
|
527
|
-
def supports_local_assigns?(render_symbol, local_assigns)
|
528
|
-
local_assigns.empty? ||
|
529
|
-
((args = @@template_args[render_symbol]) && local_assigns.all? { |k,_| args.has_key?(k) })
|
530
|
-
end
|
531
|
-
|
532
|
-
# Method to check whether template compilation is necessary.
|
533
|
-
# The template will be compiled if the inline template or file has not been compiled yet,
|
534
|
-
# if local_assigns has a new key, which isn't supported by the compiled code yet,
|
535
|
-
# or if the file has changed on disk and checking file mods hasn't been disabled.
|
536
|
-
def compile_template?(template, file_name, local_assigns)
|
537
|
-
method_key = file_name || template
|
538
|
-
render_symbol = @@method_names[method_key]
|
539
|
-
|
540
|
-
compile_time = @@compile_time[render_symbol]
|
541
|
-
if compile_time && supports_local_assigns?(render_symbol, local_assigns)
|
542
|
-
if file_name && !@@cache_template_loading
|
543
|
-
template_changed_since?(file_name, compile_time)
|
544
|
-
end
|
545
|
-
else
|
546
|
-
true
|
547
|
-
end
|
548
|
-
end
|
549
|
-
|
550
|
-
# Method to handle checking a whether a template has changed since last compile; isolated so that templates
|
551
|
-
# not stored on the file system can hook and extend appropriately.
|
552
|
-
def template_changed_since?(file_name, compile_time)
|
553
|
-
lstat = File.lstat(file_name)
|
554
|
-
compile_time < lstat.mtime ||
|
555
|
-
(lstat.symlink? && compile_time < File.stat(file_name).mtime)
|
556
|
-
end
|
557
|
-
|
558
|
-
# Method to create the source code for a given template.
|
559
|
-
def create_template_source(handler, template, render_symbol, locals)
|
560
|
-
body = delegate_compile(handler, template)
|
561
|
-
|
562
|
-
@@template_args[render_symbol] ||= {}
|
563
|
-
locals_keys = @@template_args[render_symbol].keys | locals
|
564
|
-
@@template_args[render_symbol] = locals_keys.inject({}) { |h, k| h[k] = true; h }
|
565
|
-
|
566
|
-
locals_code = ""
|
567
|
-
locals_keys.each do |key|
|
568
|
-
locals_code << "#{key} = local_assigns[:#{key}]\n"
|
569
|
-
end
|
570
|
-
|
571
|
-
"def #{render_symbol}(local_assigns)\n#{locals_code}#{body}\nend"
|
572
|
-
end
|
573
|
-
|
574
|
-
def assign_method_name(handler, template, file_name)
|
575
|
-
method_key = file_name || template
|
576
|
-
@@method_names[method_key] ||= compiled_method_name(handler, template, file_name)
|
577
|
-
end
|
578
|
-
|
579
|
-
def compiled_method_name(handler, template, file_name)
|
580
|
-
['_run', handler.to_s.demodulize.underscore, compiled_method_name_file_path_segment(file_name)].compact.join('_').to_sym
|
581
|
-
end
|
582
|
-
|
583
|
-
def compiled_method_name_file_path_segment(file_name)
|
584
|
-
if file_name
|
585
|
-
s = File.expand_path(file_name)
|
586
|
-
s.sub!(/^#{Regexp.escape(File.expand_path(RAILS_ROOT))}/, '') if defined?(RAILS_ROOT)
|
587
|
-
s.gsub!(/([^a-zA-Z0-9_])/) { $1.ord }
|
588
|
-
s
|
589
|
-
else
|
590
|
-
(@@inline_template_count += 1).to_s
|
591
|
-
end
|
592
|
-
end
|
593
|
-
|
594
|
-
# Compile and evaluate the template's code
|
595
|
-
def compile_template(handler, template, file_name, local_assigns)
|
596
|
-
render_symbol = assign_method_name(handler, template, file_name)
|
597
|
-
render_source = create_template_source(handler, template, render_symbol, local_assigns.keys)
|
598
|
-
line_offset = @@template_args[render_symbol].size + handler.line_offset
|
599
|
-
|
600
|
-
begin
|
601
|
-
file_name = 'compiled-template' if file_name.blank?
|
602
|
-
CompiledTemplates.module_eval(render_source, file_name, -line_offset)
|
603
|
-
rescue Exception => e # errors from template code
|
604
|
-
if logger
|
605
|
-
logger.debug "ERROR: compiling #{render_symbol} RAISED #{e}"
|
606
|
-
logger.debug "Function body: #{render_source}"
|
607
|
-
logger.debug "Backtrace: #{e.backtrace.join("\n")}"
|
608
|
-
end
|
609
|
-
|
610
|
-
raise TemplateError.new(extract_base_path_from(file_name) || view_paths.first, file_name || template, @assigns, template, e)
|
611
|
-
end
|
612
|
-
|
613
|
-
@@compile_time[render_symbol] = Time.now
|
614
|
-
# logger.debug "Compiled template #{file_name || template}\n ==> #{render_symbol}" if logger
|
615
|
-
end
|
616
|
-
|
617
|
-
# Render the provided template with the given local assigns. If the template has not been rendered with the provided
|
618
|
-
# local assigns yet, or if the template has been updated on disk, then the template will be compiled to a method.
|
619
|
-
#
|
620
|
-
# Either, but not both, of template and file_path may be nil. If file_path is given, the template
|
621
|
-
# will only be read if it has to be compiled.
|
622
|
-
#
|
623
|
-
def compile_and_render_template(handler, template = nil, file_path = nil, local_assigns = {}) #:nodoc:
|
624
|
-
# convert string keys to symbols if requested
|
625
|
-
local_assigns = local_assigns.symbolize_keys if @@local_assigns_support_string_keys
|
626
|
-
|
627
|
-
# compile the given template, if necessary
|
628
|
-
if compile_template?(template, file_path, local_assigns)
|
629
|
-
template ||= read_template_file(file_path, nil)
|
630
|
-
compile_template(handler, template, file_path, local_assigns)
|
631
|
-
end
|
632
|
-
|
633
|
-
# Get the method name for this template and run it
|
634
|
-
method_name = @@method_names[file_path || template]
|
635
|
-
evaluate_assigns
|
636
|
-
|
637
|
-
send(method_name, local_assigns) do |*name|
|
638
|
-
instance_variable_get "@content_for_#{name.first || 'layout'}"
|
639
|
-
end
|
640
|
-
end
|
641
|
-
end
|
642
|
-
end
|