spree 0.0.5
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/History.txt +24 -0
- data/License.txt +26 -0
- data/Manifest.txt +534 -0
- data/README.txt +1 -0
- data/Rakefile +4 -0
- data/bin/spree +157 -0
- data/config/hoe.rb +78 -0
- data/config/requirements.rb +15 -0
- data/lib/spree/version.rb +9 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/script/txt2html +74 -0
- data/setup.rb +1585 -0
- data/starter-app/README +182 -0
- data/starter-app/Rakefile +10 -0
- data/starter-app/app/controllers/application.rb +14 -0
- data/starter-app/app/helpers/application_helper.rb +3 -0
- data/starter-app/app/models/role.rb +3 -0
- data/starter-app/app/models/tag.rb +37 -0
- data/starter-app/app/models/tagging.rb +16 -0
- data/starter-app/app/models/user.rb +102 -0
- data/starter-app/app/views/layouts/application.rhtml +46 -0
- data/starter-app/app/views/shared/_store_menu.rhtml +6 -0
- data/starter-app/config/boot.rb +45 -0
- data/starter-app/config/database.yml +23 -0
- data/starter-app/config/environment.rb +140 -0
- data/starter-app/config/environments/development.rb +21 -0
- data/starter-app/config/environments/production.rb +21 -0
- data/starter-app/config/environments/test.rb +19 -0
- data/starter-app/config/routes.rb +28 -0
- data/starter-app/db/migrate/001_create_users.rb +17 -0
- data/starter-app/db/migrate/002_create_roles.rb +20 -0
- data/starter-app/db/migrate/003_create_tags_and_taggings.rb +28 -0
- data/starter-app/db/migrate/004_spree_to_version_21.rb +9 -0
- data/starter-app/db/sample/addresses.yml +24 -0
- data/starter-app/db/sample/categories.yml +35 -0
- data/starter-app/db/sample/countries.yml +3 -0
- data/starter-app/db/sample/credit_cards.yml +12 -0
- data/starter-app/db/sample/images.yml +252 -0
- data/starter-app/db/sample/line_items.yml +23 -0
- data/starter-app/db/sample/option_types.yml +6 -0
- data/starter-app/db/sample/option_values.yml +35 -0
- data/starter-app/db/sample/orders.yml +15 -0
- data/starter-app/db/sample/product_option_types.yml +8 -0
- data/starter-app/db/sample/products.yml +35 -0
- data/starter-app/db/sample/roles.yml +3 -0
- data/starter-app/db/sample/skus.yml +28 -0
- data/starter-app/db/sample/states.yml +154 -0
- data/starter-app/db/sample/taggings.yml +16 -0
- data/starter-app/db/sample/tags.yml +6 -0
- data/starter-app/db/sample/txns.yml +7 -0
- data/starter-app/db/sample/users.yml +6 -0
- data/starter-app/db/sample/variations.yml +31 -0
- data/starter-app/doc/README_FOR_APP +2 -0
- data/starter-app/lib/authenticated_system.rb +116 -0
- data/starter-app/lib/authenticated_test_helper.rb +10 -0
- data/starter-app/lib/custom_fixtures.rb +7 -0
- data/starter-app/lib/hijacker.rb +78 -0
- data/starter-app/lib/role_requirement_system.rb +142 -0
- data/starter-app/lib/role_requirement_test_helper.rb +86 -0
- data/starter-app/lib/tagging_extensions.rb +104 -0
- data/starter-app/lib/tasks/sample/products/0000/0001/ror_tote.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0001/ror_tote_mini.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0001/ror_tote_product.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0001/ror_tote_small.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0002/ror_tote_back.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0002/ror_tote_back_mini.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0002/ror_tote_back_product.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0002/ror_tote_back_small.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0003/ror_bag.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0003/ror_bag_mini.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0003/ror_bag_product.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0003/ror_bag_small.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0004/ror_baseball.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0004/ror_baseball_mini.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0004/ror_baseball_product.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0004/ror_baseball_small.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0005/ror_baseball_back.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0005/ror_baseball_back_mini.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0005/ror_baseball_back_product.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0005/ror_baseball_back_small.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0006/ror_jr_spaghetti.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0006/ror_jr_spaghetti_mini.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0006/ror_jr_spaghetti_product.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0006/ror_jr_spaghetti_small.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0007/ror_mug.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0007/ror_mug_mini.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0007/ror_mug_product.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0007/ror_mug_small.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0008/ror_mug_back.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0008/ror_mug_back_mini.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0008/ror_mug_back_product.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0008/ror_mug_back_small.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0009/ror_ringer.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0009/ror_ringer_mini.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0009/ror_ringer_product.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0009/ror_ringer_small.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0010/ror_ringer_back.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0010/ror_ringer_back_mini.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0010/ror_ringer_back_product.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0010/ror_ringer_back_small.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0011/ror_stein.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0011/ror_stein_mini.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0011/ror_stein_product.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0011/ror_stein_small.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0012/ror_stein_back.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0012/ror_stein_back_mini.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0012/ror_stein_back_product.jpeg +0 -0
- data/starter-app/lib/tasks/sample/products/0000/0012/ror_stein_back_small.jpeg +0 -0
- data/starter-app/lib/tasks/spree_sample_data.rake +38 -0
- data/starter-app/public/.htaccess +40 -0
- data/starter-app/public/404.html +30 -0
- data/starter-app/public/500.html +30 -0
- data/starter-app/public/dispatch.cgi +10 -0
- data/starter-app/public/dispatch.fcgi +24 -0
- data/starter-app/public/dispatch.rb +10 -0
- data/starter-app/public/favicon.ico +0 -0
- data/starter-app/public/images/rails.png +0 -0
- data/starter-app/public/index.html +277 -0
- data/starter-app/public/javascripts/application.js +2 -0
- data/starter-app/public/javascripts/controls.js +833 -0
- data/starter-app/public/javascripts/dragdrop.js +942 -0
- data/starter-app/public/javascripts/effects.js +1088 -0
- data/starter-app/public/javascripts/prototype.js +4184 -0
- data/starter-app/public/robots.txt +1 -0
- data/starter-app/public/stylesheets/application.css +209 -0
- data/starter-app/public/stylesheets/cart/_controller.css +4 -0
- data/starter-app/public/stylesheets/checkout/_controller.css +13 -0
- data/starter-app/script/about +3 -0
- data/starter-app/script/breakpointer +3 -0
- data/starter-app/script/console +3 -0
- data/starter-app/script/destroy +3 -0
- data/starter-app/script/generate +3 -0
- data/starter-app/script/performance/benchmarker +3 -0
- data/starter-app/script/performance/profiler +3 -0
- data/starter-app/script/plugin +3 -0
- data/starter-app/script/process/inspector +3 -0
- data/starter-app/script/process/reaper +3 -0
- data/starter-app/script/process/spawner +3 -0
- data/starter-app/script/runner +3 -0
- data/starter-app/script/server +3 -0
- data/starter-app/test/fixtures/users.yml +7 -0
- data/starter-app/test/test_helper.rb +28 -0
- data/starter-app/test/unit/user_test.rb +8 -0
- data/starter-app/vendor/plugins/acts_as_list/README +23 -0
- data/starter-app/vendor/plugins/acts_as_list/init.rb +3 -0
- data/starter-app/vendor/plugins/acts_as_list/lib/active_record/acts/list.rb +256 -0
- data/starter-app/vendor/plugins/acts_as_list/test/list_test.rb +332 -0
- data/starter-app/vendor/plugins/acts_as_tree/README +26 -0
- data/starter-app/vendor/plugins/acts_as_tree/Rakefile +22 -0
- data/starter-app/vendor/plugins/acts_as_tree/init.rb +1 -0
- data/starter-app/vendor/plugins/acts_as_tree/lib/active_record/acts/tree.rb +96 -0
- data/starter-app/vendor/plugins/acts_as_tree/test/abstract_unit.rb +0 -0
- data/starter-app/vendor/plugins/acts_as_tree/test/acts_as_tree_test.rb +219 -0
- data/starter-app/vendor/plugins/acts_as_tree/test/database.yml +0 -0
- data/starter-app/vendor/plugins/acts_as_tree/test/fixtures/mixin.rb +0 -0
- data/starter-app/vendor/plugins/acts_as_tree/test/fixtures/mixins.yml +0 -0
- data/starter-app/vendor/plugins/acts_as_tree/test/schema.rb +0 -0
- data/starter-app/vendor/plugins/attachment_fu/CHANGELOG +24 -0
- data/starter-app/vendor/plugins/attachment_fu/README +162 -0
- data/starter-app/vendor/plugins/attachment_fu/Rakefile +22 -0
- data/starter-app/vendor/plugins/attachment_fu/amazon_s3.yml.tpl +14 -0
- data/starter-app/vendor/plugins/attachment_fu/init.rb +14 -0
- data/starter-app/vendor/plugins/attachment_fu/install.rb +5 -0
- data/starter-app/vendor/plugins/attachment_fu/lib/geometry.rb +93 -0
- data/starter-app/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb +410 -0
- data/starter-app/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/db_file_backend.rb +39 -0
- data/starter-app/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/file_system_backend.rb +97 -0
- data/starter-app/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/s3_backend.rb +309 -0
- data/starter-app/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/image_science_processor.rb +61 -0
- data/starter-app/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/mini_magick_processor.rb +56 -0
- data/starter-app/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/rmagick_processor.rb +53 -0
- data/starter-app/vendor/plugins/attachment_fu/test/amazon_s3.yml +6 -0
- data/starter-app/vendor/plugins/attachment_fu/test/backends/db_file_test.rb +16 -0
- data/starter-app/vendor/plugins/attachment_fu/test/backends/file_system_test.rb +80 -0
- data/starter-app/vendor/plugins/attachment_fu/test/backends/remote/s3_test.rb +103 -0
- data/starter-app/vendor/plugins/attachment_fu/test/base_attachment_tests.rb +57 -0
- data/starter-app/vendor/plugins/attachment_fu/test/basic_test.rb +64 -0
- data/starter-app/vendor/plugins/attachment_fu/test/database.yml +18 -0
- data/starter-app/vendor/plugins/attachment_fu/test/extra_attachment_test.rb +57 -0
- data/starter-app/vendor/plugins/attachment_fu/test/fixtures/attachment.rb +127 -0
- data/starter-app/vendor/plugins/attachment_fu/test/fixtures/files/fake/rails.png +0 -0
- data/starter-app/vendor/plugins/attachment_fu/test/fixtures/files/foo.txt +1 -0
- data/starter-app/vendor/plugins/attachment_fu/test/fixtures/files/rails.png +0 -0
- data/starter-app/vendor/plugins/attachment_fu/test/geometry_test.rb +101 -0
- data/starter-app/vendor/plugins/attachment_fu/test/processors/image_science_test.rb +31 -0
- data/starter-app/vendor/plugins/attachment_fu/test/processors/mini_magick_test.rb +31 -0
- data/starter-app/vendor/plugins/attachment_fu/test/processors/rmagick_test.rb +241 -0
- data/starter-app/vendor/plugins/attachment_fu/test/schema.rb +86 -0
- data/starter-app/vendor/plugins/attachment_fu/test/test_helper.rb +142 -0
- data/starter-app/vendor/plugins/attachment_fu/test/validation_test.rb +55 -0
- data/starter-app/vendor/plugins/calendar_date_select/CHANGELOG +170 -0
- data/starter-app/vendor/plugins/calendar_date_select/MIT-LICENSE +20 -0
- data/starter-app/vendor/plugins/calendar_date_select/README +10 -0
- data/starter-app/vendor/plugins/calendar_date_select/init.rb +15 -0
- data/starter-app/vendor/plugins/calendar_date_select/js_test/functional/cds_test.html +324 -0
- data/starter-app/vendor/plugins/calendar_date_select/js_test/prototype.js +4184 -0
- data/starter-app/vendor/plugins/calendar_date_select/js_test/test.css +40 -0
- data/starter-app/vendor/plugins/calendar_date_select/js_test/unit/cds_helper_methods.html +46 -0
- data/starter-app/vendor/plugins/calendar_date_select/js_test/unittest.js +564 -0
- data/starter-app/vendor/plugins/calendar_date_select/lib/calendar_date_select.rb +192 -0
- data/starter-app/vendor/plugins/calendar_date_select/lib/includes_helper.rb +22 -0
- data/starter-app/vendor/plugins/calendar_date_select/public/images/calendar_date_select/calendar.gif +0 -0
- data/starter-app/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/calendar_date_select.js +439 -0
- data/starter-app/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_american.js +34 -0
- data/starter-app/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_euro_24hr.js +7 -0
- data/starter-app/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_finnish.js +24 -0
- data/starter-app/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_hyphen_ampm.js +36 -0
- data/starter-app/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_italian.js +24 -0
- data/starter-app/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/fi.js +10 -0
- data/starter-app/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/blue.css +130 -0
- data/starter-app/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/default.css +135 -0
- data/starter-app/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/plain.css +128 -0
- data/starter-app/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/red.css +135 -0
- data/starter-app/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/silver.css +133 -0
- data/starter-app/vendor/plugins/calendar_date_select/test/functional/calendar_date_select_test.rb +95 -0
- data/starter-app/vendor/plugins/calendar_date_select/test/functional/helper_methods_test.rb +15 -0
- data/starter-app/vendor/plugins/calendar_date_select/test/test_helper.rb +26 -0
- data/starter-app/vendor/plugins/engines/CHANGELOG +258 -0
- data/starter-app/vendor/plugins/engines/MIT-LICENSE +21 -0
- data/starter-app/vendor/plugins/engines/README +63 -0
- data/starter-app/vendor/plugins/engines/Rakefile +32 -0
- data/starter-app/vendor/plugins/engines/about.yml +7 -0
- data/starter-app/vendor/plugins/engines/boot.rb +18 -0
- data/starter-app/vendor/plugins/engines/generators/plugin_migration/USAGE +45 -0
- data/starter-app/vendor/plugins/engines/generators/plugin_migration/plugin_migration_generator.rb +79 -0
- data/starter-app/vendor/plugins/engines/generators/plugin_migration/templates/plugin_migration.erb +13 -0
- data/starter-app/vendor/plugins/engines/init.rb +2 -0
- data/starter-app/vendor/plugins/engines/lib/engines.rb +169 -0
- data/starter-app/vendor/plugins/engines/lib/engines/assets.rb +38 -0
- data/starter-app/vendor/plugins/engines/lib/engines/plugin.rb +125 -0
- data/starter-app/vendor/plugins/engines/lib/engines/plugin/list.rb +30 -0
- data/starter-app/vendor/plugins/engines/lib/engines/plugin/loader.rb +18 -0
- data/starter-app/vendor/plugins/engines/lib/engines/plugin/locator.rb +11 -0
- data/starter-app/vendor/plugins/engines/lib/engines/plugin/migrator.rb +60 -0
- data/starter-app/vendor/plugins/engines/lib/engines/rails_extensions/action_mailer.rb +85 -0
- data/starter-app/vendor/plugins/engines/lib/engines/rails_extensions/active_record.rb +24 -0
- data/starter-app/vendor/plugins/engines/lib/engines/rails_extensions/asset_helpers.rb +119 -0
- data/starter-app/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb +145 -0
- data/starter-app/vendor/plugins/engines/lib/engines/rails_extensions/migrations.rb +161 -0
- data/starter-app/vendor/plugins/engines/lib/engines/rails_extensions/rails.rb +11 -0
- data/starter-app/vendor/plugins/engines/lib/engines/rails_extensions/routing.rb +84 -0
- data/starter-app/vendor/plugins/engines/lib/engines/testing.rb +87 -0
- data/starter-app/vendor/plugins/engines/tasks/engines.rake +176 -0
- data/starter-app/vendor/plugins/in_place_editing/README +14 -0
- data/starter-app/vendor/plugins/in_place_editing/Rakefile +22 -0
- data/starter-app/vendor/plugins/in_place_editing/init.rb +2 -0
- data/starter-app/vendor/plugins/in_place_editing/lib/in_place_editing.rb +25 -0
- data/starter-app/vendor/plugins/in_place_editing/lib/in_place_macros_helper.rb +71 -0
- data/starter-app/vendor/plugins/in_place_editing/test/in_place_editing_test.rb +69 -0
- data/starter-app/vendor/plugins/paginating_find/CHANGELOG +120 -0
- data/starter-app/vendor/plugins/paginating_find/README +89 -0
- data/starter-app/vendor/plugins/paginating_find/init.rb +2 -0
- data/starter-app/vendor/plugins/paginating_find/lib/paginating_find.rb +138 -0
- data/starter-app/vendor/plugins/paginating_find/lib/paging_enumerator.rb +158 -0
- data/starter-app/vendor/plugins/paginating_find/lib/paging_helper.rb +47 -0
- data/starter-app/vendor/plugins/paginating_find/test_app/Rakefile +10 -0
- data/starter-app/vendor/plugins/paginating_find/test_app/app/controllers/application.rb +2 -0
- data/starter-app/vendor/plugins/paginating_find/test_app/config/boot.rb +44 -0
- data/starter-app/vendor/plugins/paginating_find/test_app/config/database.yml +6 -0
- data/starter-app/vendor/plugins/paginating_find/test_app/config/environment.rb +53 -0
- data/starter-app/vendor/plugins/paginating_find/test_app/config/environments/test.rb +19 -0
- data/starter-app/vendor/plugins/paginating_find/test_app/config/routes.rb +22 -0
- data/starter-app/vendor/plugins/paginating_find/test_app/db/schema.rb +16 -0
- data/starter-app/vendor/plugins/paginating_find/test_app/script/breakpointer +3 -0
- data/starter-app/vendor/plugins/paginating_find/test_app/script/console +3 -0
- data/starter-app/vendor/plugins/paginating_find/test_app/test/fixtures/articles.yml +19 -0
- data/starter-app/vendor/plugins/paginating_find/test_app/test/fixtures/authors.yml +7 -0
- data/starter-app/vendor/plugins/paginating_find/test_app/test/fixtures/edits.yml +11 -0
- data/starter-app/vendor/plugins/paginating_find/test_app/test/fixtures/models.rb +18 -0
- data/starter-app/vendor/plugins/paginating_find/test_app/test/test_helper.rb +33 -0
- data/starter-app/vendor/plugins/paginating_find/test_app/test/unit/abstract_test.rb +7 -0
- data/starter-app/vendor/plugins/paginating_find/test_app/test/unit/group_test.rb +40 -0
- data/starter-app/vendor/plugins/paginating_find/test_app/test/unit/paginating_find_test.rb +194 -0
- data/starter-app/vendor/plugins/paginating_find/test_app/test/unit/paging_enumerator_test.rb +143 -0
- data/starter-app/vendor/plugins/spree/.rakeTasks +7 -0
- data/starter-app/vendor/plugins/spree/CHANGELOG +1 -0
- data/starter-app/vendor/plugins/spree/LICENSE +26 -0
- data/starter-app/vendor/plugins/spree/README +1 -0
- data/starter-app/vendor/plugins/spree/Rakefile +10 -0
- data/starter-app/vendor/plugins/spree/VERSION +1 -0
- data/starter-app/vendor/plugins/spree/app/controllers/account_controller.rb +48 -0
- data/starter-app/vendor/plugins/spree/app/controllers/admin/base_controller.rb +7 -0
- data/starter-app/vendor/plugins/spree/app/controllers/admin/categories_controller.rb +107 -0
- data/starter-app/vendor/plugins/spree/app/controllers/admin/images_controller.rb +15 -0
- data/starter-app/vendor/plugins/spree/app/controllers/admin/option_types_controller.rb +70 -0
- data/starter-app/vendor/plugins/spree/app/controllers/admin/orders_controller.rb +247 -0
- data/starter-app/vendor/plugins/spree/app/controllers/admin/overview_controller.rb +14 -0
- data/starter-app/vendor/plugins/spree/app/controllers/admin/products_controller.rb +207 -0
- data/starter-app/vendor/plugins/spree/app/controllers/admin/reports_controller.rb +53 -0
- data/starter-app/vendor/plugins/spree/app/controllers/admin/users_controller.rb +45 -0
- data/starter-app/vendor/plugins/spree/app/controllers/admin/variations_controller.rb +73 -0
- data/starter-app/vendor/plugins/spree/app/controllers/cart_controller.rb +45 -0
- data/starter-app/vendor/plugins/spree/app/controllers/checkout_controller.rb +184 -0
- data/starter-app/vendor/plugins/spree/app/controllers/rails_cart/base_controller.rb +47 -0
- data/starter-app/vendor/plugins/spree/app/controllers/store_controller.rb +27 -0
- data/starter-app/vendor/plugins/spree/app/helpers/account_helper.rb +2 -0
- data/starter-app/vendor/plugins/spree/app/helpers/admin/base_helper.rb +14 -0
- data/starter-app/vendor/plugins/spree/app/helpers/admin/categories_helper.rb +3 -0
- data/starter-app/vendor/plugins/spree/app/helpers/admin/option_values_helper.rb +2 -0
- data/starter-app/vendor/plugins/spree/app/helpers/admin/orders_helper.rb +11 -0
- data/starter-app/vendor/plugins/spree/app/helpers/admin/overview_helper.rb +12 -0
- data/starter-app/vendor/plugins/spree/app/helpers/admin/products_helper.rb +7 -0
- data/starter-app/vendor/plugins/spree/app/helpers/admin/users_helper.rb +2 -0
- data/starter-app/vendor/plugins/spree/app/helpers/admin/variations_helper.rb +2 -0
- data/starter-app/vendor/plugins/spree/app/helpers/cart_helper.rb +6 -0
- data/starter-app/vendor/plugins/spree/app/helpers/checkout_helper.rb +17 -0
- data/starter-app/vendor/plugins/spree/app/helpers/rails_cart/base_helper.rb +101 -0
- data/starter-app/vendor/plugins/spree/app/helpers/search_helper.rb +10 -0
- data/starter-app/vendor/plugins/spree/app/helpers/store_helper.rb +3 -0
- data/starter-app/vendor/plugins/spree/app/models/address.rb +17 -0
- data/starter-app/vendor/plugins/spree/app/models/cart.rb +37 -0
- data/starter-app/vendor/plugins/spree/app/models/cart_item.rb +29 -0
- data/starter-app/vendor/plugins/spree/app/models/category.rb +66 -0
- data/starter-app/vendor/plugins/spree/app/models/country.rb +3 -0
- data/starter-app/vendor/plugins/spree/app/models/credit_card.rb +24 -0
- data/starter-app/vendor/plugins/spree/app/models/image.rb +12 -0
- data/starter-app/vendor/plugins/spree/app/models/line_item.rb +24 -0
- data/starter-app/vendor/plugins/spree/app/models/option_type.rb +4 -0
- data/starter-app/vendor/plugins/spree/app/models/option_value.rb +5 -0
- data/starter-app/vendor/plugins/spree/app/models/order.rb +87 -0
- data/starter-app/vendor/plugins/spree/app/models/order_mailer.rb +22 -0
- data/starter-app/vendor/plugins/spree/app/models/order_operation.rb +7 -0
- data/starter-app/vendor/plugins/spree/app/models/payment.rb +49 -0
- data/starter-app/vendor/plugins/spree/app/models/product.rb +42 -0
- data/starter-app/vendor/plugins/spree/app/models/product_option_type.rb +5 -0
- data/starter-app/vendor/plugins/spree/app/models/search_criteria.rb +27 -0
- data/starter-app/vendor/plugins/spree/app/models/sku.rb +7 -0
- data/starter-app/vendor/plugins/spree/app/models/state.rb +3 -0
- data/starter-app/vendor/plugins/spree/app/models/tax_treatment.rb +2 -0
- data/starter-app/vendor/plugins/spree/app/models/txn.rb +7 -0
- data/starter-app/vendor/plugins/spree/app/models/variation.rb +8 -0
- data/starter-app/vendor/plugins/spree/app/views/account/index.rhtml +3 -0
- data/starter-app/vendor/plugins/spree/app/views/account/login.rhtml +12 -0
- data/starter-app/vendor/plugins/spree/app/views/account/signup.rhtml +16 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/categories/_form.rhtml +24 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/categories/edit.rhtml +9 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/categories/list.rhtml +47 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/categories/new.rhtml +8 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/images/new.html.erb +10 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/option_types/_form.rhtml +16 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/option_types/_new_option_value.rhtml +13 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/option_types/_option_values.rhtml +43 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/option_types/edit.rhtml +8 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/option_types/index.rhtml +23 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/option_types/new.rhtml +8 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/option_types/select.rhtml +28 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/option_types/test.rhtml +8 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/orders/_address.rhtml +37 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/orders/index.rhtml +99 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/orders/show.rhtml +72 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/overview/index.rhtml +0 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/products/_form.rhtml +65 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/products/_menu.rhtml +7 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/products/_new_variation.rhtml +11 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/products/_option_types.rhtml +42 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/products/_variations.rhtml +41 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/products/edit.rhtml +8 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/products/index.rhtml +66 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/products/new.rhtml +9 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/reports/index.rhtml +29 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/reports/sales_total.rhtml +28 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/users/_form.rhtml +29 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/users/_menu.rhtml +5 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/users/edit.rhtml +8 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/users/index.rhtml +26 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/users/new.rhtml +6 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/users/show.rhtml +9 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/variations/_form.rhtml +33 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/variations/_option_values.rhtml +5 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/variations/list.rhtml +23 -0
- data/starter-app/vendor/plugins/spree/app/views/admin/variations/new.rhtml +14 -0
- data/starter-app/vendor/plugins/spree/app/views/cart/index.rhtml +49 -0
- data/starter-app/vendor/plugins/spree/app/views/checkout/_address.rhtml +51 -0
- data/starter-app/vendor/plugins/spree/app/views/checkout/_address_ro.rhtml +18 -0
- data/starter-app/vendor/plugins/spree/app/views/checkout/_cart_item.rhtml +5 -0
- data/starter-app/vendor/plugins/spree/app/views/checkout/_extra.rhtml +1 -0
- data/starter-app/vendor/plugins/spree/app/views/checkout/addresses.rhtml +51 -0
- data/starter-app/vendor/plugins/spree/app/views/checkout/cvv.rhtml +15 -0
- data/starter-app/vendor/plugins/spree/app/views/checkout/empty_cart.rhtml +4 -0
- data/starter-app/vendor/plugins/spree/app/views/checkout/final_confirmation.rhtml +92 -0
- data/starter-app/vendor/plugins/spree/app/views/checkout/incomplete.rhtml +7 -0
- data/starter-app/vendor/plugins/spree/app/views/checkout/thank_you.rhtml +11 -0
- data/starter-app/vendor/plugins/spree/app/views/layouts/admin.rhtml +69 -0
- data/starter-app/vendor/plugins/spree/app/views/layouts/products.rhtml +20 -0
- data/starter-app/vendor/plugins/spree/app/views/layouts/simple.rhtml +37 -0
- data/starter-app/vendor/plugins/spree/app/views/order_mailer/cancel.rhtml +15 -0
- data/starter-app/vendor/plugins/spree/app/views/order_mailer/confirm.rhtml +18 -0
- data/starter-app/vendor/plugins/spree/app/views/shared/_images.html.erb +43 -0
- data/starter-app/vendor/plugins/spree/app/views/shared/_order_details.rhtml +35 -0
- data/starter-app/vendor/plugins/spree/app/views/shared/_paginate.rhtml +34 -0
- data/starter-app/vendor/plugins/spree/app/views/shared/_report_criteria.rhtml +32 -0
- data/starter-app/vendor/plugins/spree/app/views/shared/_tax_treatments.rhtml +12 -0
- data/starter-app/vendor/plugins/spree/app/views/store/_image.html.erb +5 -0
- data/starter-app/vendor/plugins/spree/app/views/store/_products.rhtml +10 -0
- data/starter-app/vendor/plugins/spree/app/views/store/_thumbnails.html.erb +9 -0
- data/starter-app/vendor/plugins/spree/app/views/store/list.rhtml +15 -0
- data/starter-app/vendor/plugins/spree/app/views/store/show.rhtml +69 -0
- data/starter-app/vendor/plugins/spree/assets/.htaccess +40 -0
- data/starter-app/vendor/plugins/spree/assets/404.html +30 -0
- data/starter-app/vendor/plugins/spree/assets/500.html +30 -0
- data/starter-app/vendor/plugins/spree/assets/dispatch.cgi +10 -0
- data/starter-app/vendor/plugins/spree/assets/dispatch.fcgi +24 -0
- data/starter-app/vendor/plugins/spree/assets/dispatch.rb +10 -0
- data/starter-app/vendor/plugins/spree/assets/favicon.ico +0 -0
- data/starter-app/vendor/plugins/spree/assets/images/amex_cid.gif +0 -0
- data/starter-app/vendor/plugins/spree/assets/images/creditcard.gif +0 -0
- data/starter-app/vendor/plugins/spree/assets/images/discover_cid.gif +0 -0
- data/starter-app/vendor/plugins/spree/assets/images/master_cid.jpg +0 -0
- data/starter-app/vendor/plugins/spree/assets/images/products/ror_bag.jpg +0 -0
- data/starter-app/vendor/plugins/spree/assets/images/products/ror_baseball_jersey.jpg +0 -0
- data/starter-app/vendor/plugins/spree/assets/images/products/ror_jr_spaghetti.jpg +0 -0
- data/starter-app/vendor/plugins/spree/assets/images/products/ror_mug.jpg +0 -0
- data/starter-app/vendor/plugins/spree/assets/images/products/ror_ringer_tshirt.jpg +0 -0
- data/starter-app/vendor/plugins/spree/assets/images/products/ror_stein.jpg +0 -0
- data/starter-app/vendor/plugins/spree/assets/images/products/ror_tote.jpg +0 -0
- data/starter-app/vendor/plugins/spree/assets/images/rails.png +0 -0
- data/starter-app/vendor/plugins/spree/assets/images/spinner.gif +0 -0
- data/starter-app/vendor/plugins/spree/assets/images/spree/progress.gif +0 -0
- data/starter-app/vendor/plugins/spree/assets/images/spree/spinner.gif +0 -0
- data/starter-app/vendor/plugins/spree/assets/images/spree/spree_logo142x65.gif +0 -0
- data/starter-app/vendor/plugins/spree/assets/images/spree/spree_logo245x112.gif +0 -0
- data/starter-app/vendor/plugins/spree/assets/images/visa_cid.gif +0 -0
- data/starter-app/vendor/plugins/spree/assets/javascripts/application.js +2 -0
- data/starter-app/vendor/plugins/spree/assets/javascripts/controls.js +833 -0
- data/starter-app/vendor/plugins/spree/assets/javascripts/dragdrop.js +942 -0
- data/starter-app/vendor/plugins/spree/assets/javascripts/effects.js +1088 -0
- data/starter-app/vendor/plugins/spree/assets/javascripts/lowpro.js +307 -0
- data/starter-app/vendor/plugins/spree/assets/javascripts/prototype.js +2515 -0
- data/starter-app/vendor/plugins/spree/assets/robots.txt +1 -0
- data/starter-app/vendor/plugins/spree/assets/stylesheets/cart/_controller.css +71 -0
- data/starter-app/vendor/plugins/spree/assets/stylesheets/checkout/_controller.css +31 -0
- data/starter-app/vendor/plugins/spree/assets/stylesheets/fullscreen.css +63 -0
- data/starter-app/vendor/plugins/spree/assets/stylesheets/orders/_controller.css +3 -0
- data/starter-app/vendor/plugins/spree/assets/stylesheets/products/_controller.css +38 -0
- data/starter-app/vendor/plugins/spree/assets/stylesheets/spree-admin.css +348 -0
- data/starter-app/vendor/plugins/spree/assets/stylesheets/spree.css +66 -0
- data/starter-app/vendor/plugins/spree/assets/stylesheets/store/_controller.css +23 -0
- data/starter-app/vendor/plugins/spree/db/migrate/001_create_addresses.rb +20 -0
- data/starter-app/vendor/plugins/spree/db/migrate/002_create_cart_items.rb +14 -0
- data/starter-app/vendor/plugins/spree/db/migrate/003_create_carts.rb +12 -0
- data/starter-app/vendor/plugins/spree/db/migrate/004_create_categories.rb +15 -0
- data/starter-app/vendor/plugins/spree/db/migrate/005_create_categories_products.rb +12 -0
- data/starter-app/vendor/plugins/spree/db/migrate/006_create_line_items.rb +17 -0
- data/starter-app/vendor/plugins/spree/db/migrate/007_create_option_values.rb +15 -0
- data/starter-app/vendor/plugins/spree/db/migrate/008_create_orders.rb +24 -0
- data/starter-app/vendor/plugins/spree/db/migrate/009_create_products.rb +20 -0
- data/starter-app/vendor/plugins/spree/db/migrate/010_create_txns.rb +18 -0
- data/starter-app/vendor/plugins/spree/db/migrate/011_create_variations.rb +11 -0
- data/starter-app/vendor/plugins/spree/db/migrate/012_create_tax_treatments.rb +23 -0
- data/starter-app/vendor/plugins/spree/db/migrate/013_create_skus.rb +13 -0
- data/starter-app/vendor/plugins/spree/db/migrate/014_create_countries.rb +11 -0
- data/starter-app/vendor/plugins/spree/db/migrate/015_create_states.rb +13 -0
- data/starter-app/vendor/plugins/spree/db/migrate/016_create_option_types.rb +13 -0
- data/starter-app/vendor/plugins/spree/db/migrate/017_create_product_option_types.rb +14 -0
- data/starter-app/vendor/plugins/spree/db/migrate/018_create_option_values_variations.rb +12 -0
- data/starter-app/vendor/plugins/spree/db/migrate/019_create_images.rb +19 -0
- data/starter-app/vendor/plugins/spree/db/migrate/020_create_credit_cards.rb +20 -0
- data/starter-app/vendor/plugins/spree/db/migrate/021_create_order_operations.rb +14 -0
- data/starter-app/vendor/plugins/spree/init.rb +11 -0
- data/starter-app/vendor/plugins/spree/install.rb +3 -0
- data/starter-app/vendor/plugins/spree/lib/constants/enumerable_constants.rb +207 -0
- data/starter-app/vendor/plugins/spree/lib/format.rb +12 -0
- data/starter-app/vendor/plugins/spree/lib/gateway/bogus_gateway.rb +63 -0
- data/starter-app/vendor/plugins/spree/lib/shipping/flat_rate.rb +10 -0
- data/starter-app/vendor/plugins/spree/lib/tasks/spree_bootstrap.rake +24 -0
- data/starter-app/vendor/plugins/spree/lib/tax/sales_tax.rb +26 -0
- data/starter-app/vendor/plugins/spree/routes.rb +3 -0
- data/starter-app/vendor/plugins/spree/script/about +3 -0
- data/starter-app/vendor/plugins/spree/script/breakpointer +3 -0
- data/starter-app/vendor/plugins/spree/script/console +3 -0
- data/starter-app/vendor/plugins/spree/script/destroy +3 -0
- data/starter-app/vendor/plugins/spree/script/generate +3 -0
- data/starter-app/vendor/plugins/spree/script/performance/benchmarker +3 -0
- data/starter-app/vendor/plugins/spree/script/performance/profiler +3 -0
- data/starter-app/vendor/plugins/spree/script/plugin +3 -0
- data/starter-app/vendor/plugins/spree/script/process/inspector +3 -0
- data/starter-app/vendor/plugins/spree/script/process/reaper +3 -0
- data/starter-app/vendor/plugins/spree/script/process/spawner +3 -0
- data/starter-app/vendor/plugins/spree/script/runner +3 -0
- data/starter-app/vendor/plugins/spree/script/server +3 -0
- data/starter-app/vendor/plugins/spree/test/fixtures/addresses.yml +29 -0
- data/starter-app/vendor/plugins/spree/test/fixtures/categories.yml +40 -0
- data/starter-app/vendor/plugins/spree/test/fixtures/line_items.yml +32 -0
- data/starter-app/vendor/plugins/spree/test/fixtures/orders.yml +17 -0
- data/starter-app/vendor/plugins/spree/test/fixtures/products.yml +63 -0
- data/starter-app/vendor/plugins/spree/test/fixtures/products_tags.yml +10 -0
- data/starter-app/vendor/plugins/spree/test/fixtures/roles.yml +6 -0
- data/starter-app/vendor/plugins/spree/test/fixtures/roles_users.yml +3 -0
- data/starter-app/vendor/plugins/spree/test/fixtures/skus.yml +5 -0
- data/starter-app/vendor/plugins/spree/test/fixtures/tags.yml +7 -0
- data/starter-app/vendor/plugins/spree/test/fixtures/tax_treatments.yml +7 -0
- data/starter-app/vendor/plugins/spree/test/fixtures/txns.yml +13 -0
- data/starter-app/vendor/plugins/spree/test/fixtures/users.yml +40 -0
- data/starter-app/vendor/plugins/spree/test/fixtures/variations.yml +16 -0
- data/starter-app/vendor/plugins/spree/test/functional/account_controller_test.rb +129 -0
- data/starter-app/vendor/plugins/spree/test/functional/admin/base_controller_test.rb +18 -0
- data/starter-app/vendor/plugins/spree/test/functional/admin/option_groups_controller_test.rb +18 -0
- data/starter-app/vendor/plugins/spree/test/functional/admin/option_values_controller_test.rb +18 -0
- data/starter-app/vendor/plugins/spree/test/functional/admin/orders_controller_test.rb +18 -0
- data/starter-app/vendor/plugins/spree/test/functional/admin/overview_controller_test.rb +18 -0
- data/starter-app/vendor/plugins/spree/test/functional/admin/products_controller_test.rb +125 -0
- data/starter-app/vendor/plugins/spree/test/functional/admin/users_controller_test.rb +58 -0
- data/starter-app/vendor/plugins/spree/test/functional/admin/variations_controller_test.rb +18 -0
- data/starter-app/vendor/plugins/spree/test/functional/application_controller_test.rb +30 -0
- data/starter-app/vendor/plugins/spree/test/functional/cart_controller_test.rb +76 -0
- data/starter-app/vendor/plugins/spree/test/functional/checkout_controller_test.rb +20 -0
- data/starter-app/vendor/plugins/spree/test/integration/authentication_test.rb +53 -0
- data/starter-app/vendor/plugins/spree/test/integration/product_admin_test.rb +135 -0
- data/starter-app/vendor/plugins/spree/test/integration/user_stories_test.rb +59 -0
- data/starter-app/vendor/plugins/spree/test/integration/variations_test.rb +24 -0
- data/starter-app/vendor/plugins/spree/test/test_helper.rb +45 -0
- data/starter-app/vendor/plugins/spree/test/unit/address_test.rb +10 -0
- data/starter-app/vendor/plugins/spree/test/unit/cart_item_test.rb +55 -0
- data/starter-app/vendor/plugins/spree/test/unit/cart_test.rb +35 -0
- data/starter-app/vendor/plugins/spree/test/unit/category_test.rb +52 -0
- data/starter-app/vendor/plugins/spree/test/unit/line_item_test.rb +61 -0
- data/starter-app/vendor/plugins/spree/test/unit/option_group_test.rb +12 -0
- data/starter-app/vendor/plugins/spree/test/unit/order_test.rb +49 -0
- data/starter-app/vendor/plugins/spree/test/unit/product_test.rb +107 -0
- data/starter-app/vendor/plugins/spree/test/unit/role_test.rb +10 -0
- data/starter-app/vendor/plugins/spree/test/unit/sales_tax_test.rb +46 -0
- data/starter-app/vendor/plugins/spree/test/unit/sku_test.rb +10 -0
- data/starter-app/vendor/plugins/spree/test/unit/tag_test.rb +9 -0
- data/starter-app/vendor/plugins/spree/test/unit/tax_treatment_test.rb +10 -0
- data/starter-app/vendor/plugins/spree/test/unit/txn_test.rb +10 -0
- data/starter-app/vendor/plugins/spree/test/unit/variation_test.rb +9 -0
- data/starter-app/vendor/plugins/spree/uninstall.rb +1 -0
- data/tasks/deployment.rake +34 -0
- data/tasks/environment.rake +7 -0
- data/tasks/website.rake +17 -0
- data/test/test_helper.rb +2 -0
- data/test/test_railscart.rb +11 -0
- metadata +628 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/../test_helper'
|
2
|
+
|
3
|
+
class OptionGroupTest < Test::Unit::TestCase
|
4
|
+
|
5
|
+
def test_invalid_with_empty_attributes
|
6
|
+
option_group = OptionGroup.new
|
7
|
+
assert !option_group.valid?
|
8
|
+
assert option_group.errors.invalid?(:option)
|
9
|
+
assert option_group.errors.invalid?(:option_value)
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/../test_helper'
|
2
|
+
|
3
|
+
class OrderTest < Test::Unit::TestCase
|
4
|
+
|
5
|
+
def test_empty_order
|
6
|
+
order = Order.new
|
7
|
+
assert !order.valid?
|
8
|
+
assert order.errors.invalid?(:line_items)
|
9
|
+
end
|
10
|
+
|
11
|
+
def test_new_from_cart
|
12
|
+
p = Product.new
|
13
|
+
p.stubs(:price).returns(1)
|
14
|
+
ci = CartItem.new(:product => p)
|
15
|
+
c = Cart.new
|
16
|
+
c.cart_items << ci
|
17
|
+
li = LineItem.new
|
18
|
+
li.stubs('quantity')
|
19
|
+
li.stubs(:product).returns p
|
20
|
+
|
21
|
+
LineItem.expects(:new).returns li
|
22
|
+
order = Order.new_from_cart(c)
|
23
|
+
assert !order.nil?
|
24
|
+
assert order.line_items.first == li
|
25
|
+
end
|
26
|
+
|
27
|
+
def test_new_from_cart_with_no_items
|
28
|
+
c = Cart.new
|
29
|
+
order = Order.new_from_cart(c)
|
30
|
+
assert order.nil?, "expected nil order with empty cart"
|
31
|
+
end
|
32
|
+
|
33
|
+
def test_generate_order_number
|
34
|
+
on = Order.generate_order_number
|
35
|
+
assert_not_nil on
|
36
|
+
assert_equal 9, on.length
|
37
|
+
end
|
38
|
+
|
39
|
+
def test_item_total
|
40
|
+
o = Order.new
|
41
|
+
li = LineItem.new
|
42
|
+
li.stubs(:total).returns(20)
|
43
|
+
for num in (1..5)
|
44
|
+
o.line_items << li
|
45
|
+
end
|
46
|
+
assert_equal 100, o.item_total
|
47
|
+
end
|
48
|
+
|
49
|
+
end
|
@@ -0,0 +1,107 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/../test_helper'
|
2
|
+
|
3
|
+
class ProductTest < Test::Unit::TestCase
|
4
|
+
|
5
|
+
TT = ["mock tax treatment"]
|
6
|
+
|
7
|
+
def setup
|
8
|
+
@tt = stub(:id => 1, :name => "taxable")
|
9
|
+
#@v = stub(:id => 1, :name => "mock variation")
|
10
|
+
@c = Category.new
|
11
|
+
@p = Product.new
|
12
|
+
end
|
13
|
+
|
14
|
+
def test_apply_tax_treatment_category_has_treatment
|
15
|
+
c = Object.new
|
16
|
+
c.stubs(:tax_treatments).returns [@tt]
|
17
|
+
p = Product.new
|
18
|
+
p.stubs(:category).returns c
|
19
|
+
assert (p.apply_tax_treatment? @tt.id)
|
20
|
+
end
|
21
|
+
|
22
|
+
def test_apply_tax_treatment_category_has_no_treatment
|
23
|
+
c = Object.new
|
24
|
+
c.stubs(:tax_treatments).returns []
|
25
|
+
p = Product.new
|
26
|
+
p.stubs(:category).returns c
|
27
|
+
assert !(p.apply_tax_treatment? @tt.id)
|
28
|
+
end
|
29
|
+
|
30
|
+
def test_apply_tax_treatment_product_has_treatment
|
31
|
+
p = Product.new
|
32
|
+
p.stubs(:category).returns nil
|
33
|
+
p.stubs(:tax_treatments).returns [@tt]
|
34
|
+
assert (p.apply_tax_treatment? @tt.id)
|
35
|
+
end
|
36
|
+
|
37
|
+
def test_apply_tax_treatment_product_has_no_treatment
|
38
|
+
p = Product.new
|
39
|
+
p.stubs(:category).returns nil
|
40
|
+
p.stubs(:tax_treatments).returns []
|
41
|
+
assert !(p.apply_tax_treatment? @tt.id)
|
42
|
+
end
|
43
|
+
|
44
|
+
def test_variations_no_category
|
45
|
+
assert (@p.variations.empty?)
|
46
|
+
assert (not @p.variations.frozen?)
|
47
|
+
end
|
48
|
+
|
49
|
+
def test_variations_empty_category
|
50
|
+
@p.category = @c
|
51
|
+
assert (@p.variations.empty?)
|
52
|
+
assert !(@p.variations.frozen?)
|
53
|
+
v = Variation.new
|
54
|
+
@p.variations << v
|
55
|
+
assert (@p.variations == [v])
|
56
|
+
assert !(@p.variations.frozen?)
|
57
|
+
end
|
58
|
+
|
59
|
+
def test_variations_category
|
60
|
+
v = ["mock variation"]
|
61
|
+
@c.stubs(:variations).returns v
|
62
|
+
@p.category = @c
|
63
|
+
assert (@p.variations == v)
|
64
|
+
assert (@p.variations.frozen?)
|
65
|
+
end
|
66
|
+
|
67
|
+
def test_variations_parent_category
|
68
|
+
pc = Category.new
|
69
|
+
v = ["mock variation"]
|
70
|
+
pc.stubs(:variations).returns v
|
71
|
+
@c.parent = pc
|
72
|
+
@p.category = @c
|
73
|
+
assert @p.variations == v
|
74
|
+
assert @p.variations.frozen?
|
75
|
+
end
|
76
|
+
|
77
|
+
def test_tax_no_category
|
78
|
+
assert @p.tax_treatments.empty?
|
79
|
+
assert (not @p.tax_treatments.frozen?)
|
80
|
+
end
|
81
|
+
|
82
|
+
def test_tax_empty_category
|
83
|
+
@p.category = @c
|
84
|
+
assert @p.tax_treatments.empty?
|
85
|
+
assert (not @p.tax_treatments.frozen?)
|
86
|
+
tt = TaxTreatment.new
|
87
|
+
@p.tax_treatments << tt
|
88
|
+
assert (@p.tax_treatments == [tt])
|
89
|
+
assert !(@p.tax_treatments.frozen?)
|
90
|
+
end
|
91
|
+
|
92
|
+
def test_tax_category
|
93
|
+
@c.stubs(:tax_treatments).returns TT
|
94
|
+
@p.category = @c
|
95
|
+
assert_equal TT, @p.tax_treatments
|
96
|
+
assert @p.tax_treatments.frozen?, "tax treatments should be frozen"
|
97
|
+
end
|
98
|
+
|
99
|
+
def test_tax_parent_category
|
100
|
+
pc = Category.new
|
101
|
+
pc.stubs(:tax_treatments).returns TT
|
102
|
+
@c.parent = pc
|
103
|
+
@p.category = @c
|
104
|
+
assert (@p.tax_treatments == TT)
|
105
|
+
assert @p.tax_treatments.frozen?, "tax treatments should be frozen"
|
106
|
+
end
|
107
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/../test_helper'
|
2
|
+
require 'tax/sales_tax'
|
3
|
+
|
4
|
+
class SalesTaxTest < Test::Unit::TestCase
|
5
|
+
LI_TOTAL = 100
|
6
|
+
|
7
|
+
def setup
|
8
|
+
state = stub(:abbr => "NY")
|
9
|
+
ship_address = stub(:state => state)
|
10
|
+
line_items = []
|
11
|
+
line_items << non_taxable_li
|
12
|
+
line_items << taxable_li
|
13
|
+
@order = Object.new
|
14
|
+
@order.stubs(:line_items).returns(line_items)
|
15
|
+
@order.stubs(:ship_address).returns(ship_address)
|
16
|
+
end
|
17
|
+
|
18
|
+
def non_taxable_li
|
19
|
+
prod = Object.new
|
20
|
+
prod.stubs(:apply_tax_treatment?).returns false
|
21
|
+
li_nt = Object.new
|
22
|
+
li_nt.stubs(:total).returns LI_TOTAL
|
23
|
+
li_nt.stubs(:product).returns prod
|
24
|
+
li_nt
|
25
|
+
end
|
26
|
+
|
27
|
+
def taxable_li
|
28
|
+
prod = Object.new
|
29
|
+
prod.stubs(:apply_tax_treatment?).returns true
|
30
|
+
li_t = Object.new
|
31
|
+
li_t.stubs(:total).returns LI_TOTAL
|
32
|
+
li_t.stubs(:product).returns prod
|
33
|
+
li_t
|
34
|
+
end
|
35
|
+
|
36
|
+
def test_tax_free_state
|
37
|
+
SalesTax.rate_map = {:NJ => 0.05}
|
38
|
+
assert_equal 0, SalesTax.calc_tax(@order)
|
39
|
+
end
|
40
|
+
|
41
|
+
def test_taxable_state
|
42
|
+
SalesTax.rate_map = {:NY => 0.05}
|
43
|
+
assert_equal 5, SalesTax.calc_tax(@order)
|
44
|
+
end
|
45
|
+
|
46
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
# Uninstall hook code here
|
@@ -0,0 +1,34 @@
|
|
1
|
+
desc 'Release the website and new gem version'
|
2
|
+
task :deploy => [:check_version, :website, :release] do
|
3
|
+
puts "Remember to create SVN tag:"
|
4
|
+
puts "svn copy svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/trunk " +
|
5
|
+
"svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/tags/REL-#{VERS} "
|
6
|
+
puts "Suggested comment:"
|
7
|
+
puts "Tagging release #{CHANGES}"
|
8
|
+
end
|
9
|
+
|
10
|
+
desc 'Runs tasks website_generate and install_gem as a local deployment of the gem'
|
11
|
+
task :local_deploy => [:website_generate, :install_gem]
|
12
|
+
|
13
|
+
task :check_version do
|
14
|
+
unless ENV['VERSION']
|
15
|
+
puts 'Must pass a VERSION=x.y.z release version'
|
16
|
+
exit
|
17
|
+
end
|
18
|
+
unless ENV['VERSION'] == VERS
|
19
|
+
puts "Please update your version.rb to match the release version, currently #{VERS}"
|
20
|
+
exit
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
desc 'Install the package as a gem, without generating documentation(ri/rdoc)'
|
25
|
+
task :install_gem_no_doc => [:clean, :package] do
|
26
|
+
sh "#{'sudo ' unless Hoe::WINDOZE }gem install pkg/*.gem --no-rdoc --no-ri"
|
27
|
+
end
|
28
|
+
|
29
|
+
namespace :manifest do
|
30
|
+
desc 'Recreate Manifest.txt to include ALL files'
|
31
|
+
task :refresh do
|
32
|
+
`rake check_manifest | patch -p0 > Manifest.txt`
|
33
|
+
end
|
34
|
+
end
|
data/tasks/website.rake
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
desc 'Generate website files'
|
2
|
+
task :website_generate => :ruby_env do
|
3
|
+
(Dir['website/**/*.txt'] - Dir['website/version*.txt']).each do |txt|
|
4
|
+
sh %{ #{RUBY_APP} script/txt2html #{txt} > #{txt.gsub(/txt$/,'html')} }
|
5
|
+
end
|
6
|
+
end
|
7
|
+
|
8
|
+
desc 'Upload website files to rubyforge'
|
9
|
+
task :website_upload do
|
10
|
+
host = "#{rubyforge_username}@rubyforge.org"
|
11
|
+
remote_dir = "/var/www/gforge-projects/#{PATH}/"
|
12
|
+
local_dir = 'website'
|
13
|
+
sh %{rsync -aCv #{local_dir}/ #{host}:#{remote_dir}}
|
14
|
+
end
|
15
|
+
|
16
|
+
desc 'Generate and upload website files'
|
17
|
+
task :website => [:website_generate, :website_upload, :publish_docs]
|
data/test/test_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,628 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: spree
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.5
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Sean Schofield
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-02-26 00:00:00 -05:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rails
|
17
|
+
version_requirement:
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.0.0
|
23
|
+
version:
|
24
|
+
- !ruby/object:Gem::Dependency
|
25
|
+
name: activemerchant
|
26
|
+
version_requirement:
|
27
|
+
version_requirements: !ruby/object:Gem::Requirement
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: 1.2.1
|
32
|
+
version:
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: mocha
|
35
|
+
version_requirement:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.5.6
|
41
|
+
version:
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: has_many_polymorphs
|
44
|
+
version_requirement:
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: "2.12"
|
50
|
+
version:
|
51
|
+
description: Complete commerce solution for Ruby on Rails
|
52
|
+
email: sean.schofield@gmail.com
|
53
|
+
executables:
|
54
|
+
- spree
|
55
|
+
extensions: []
|
56
|
+
|
57
|
+
extra_rdoc_files:
|
58
|
+
- History.txt
|
59
|
+
- License.txt
|
60
|
+
- Manifest.txt
|
61
|
+
- README.txt
|
62
|
+
- starter-app/public/robots.txt
|
63
|
+
- starter-app/vendor/plugins/attachment_fu/test/fixtures/files/foo.txt
|
64
|
+
- starter-app/vendor/plugins/spree/assets/robots.txt
|
65
|
+
files:
|
66
|
+
- History.txt
|
67
|
+
- License.txt
|
68
|
+
- Manifest.txt
|
69
|
+
- README.txt
|
70
|
+
- Rakefile
|
71
|
+
- bin/spree
|
72
|
+
- config/hoe.rb
|
73
|
+
- config/requirements.rb
|
74
|
+
- lib/spree/version.rb
|
75
|
+
- script/destroy
|
76
|
+
- script/generate
|
77
|
+
- script/txt2html
|
78
|
+
- setup.rb
|
79
|
+
- starter-app/README
|
80
|
+
- starter-app/Rakefile
|
81
|
+
- starter-app/app/controllers/application.rb
|
82
|
+
- starter-app/app/helpers/application_helper.rb
|
83
|
+
- starter-app/app/models/role.rb
|
84
|
+
- starter-app/app/models/tag.rb
|
85
|
+
- starter-app/app/models/tagging.rb
|
86
|
+
- starter-app/app/models/user.rb
|
87
|
+
- starter-app/app/views/layouts/application.rhtml
|
88
|
+
- starter-app/app/views/shared/_store_menu.rhtml
|
89
|
+
- starter-app/config/boot.rb
|
90
|
+
- starter-app/config/database.yml
|
91
|
+
- starter-app/config/environment.rb
|
92
|
+
- starter-app/config/environments/development.rb
|
93
|
+
- starter-app/config/environments/production.rb
|
94
|
+
- starter-app/config/environments/test.rb
|
95
|
+
- starter-app/config/routes.rb
|
96
|
+
- starter-app/db/migrate/001_create_users.rb
|
97
|
+
- starter-app/db/migrate/002_create_roles.rb
|
98
|
+
- starter-app/db/migrate/003_create_tags_and_taggings.rb
|
99
|
+
- starter-app/db/migrate/004_spree_to_version_21.rb
|
100
|
+
- starter-app/db/sample/addresses.yml
|
101
|
+
- starter-app/db/sample/categories.yml
|
102
|
+
- starter-app/db/sample/countries.yml
|
103
|
+
- starter-app/db/sample/credit_cards.yml
|
104
|
+
- starter-app/db/sample/images.yml
|
105
|
+
- starter-app/db/sample/line_items.yml
|
106
|
+
- starter-app/db/sample/option_types.yml
|
107
|
+
- starter-app/db/sample/option_values.yml
|
108
|
+
- starter-app/db/sample/orders.yml
|
109
|
+
- starter-app/db/sample/product_option_types.yml
|
110
|
+
- starter-app/db/sample/products.yml
|
111
|
+
- starter-app/db/sample/roles.yml
|
112
|
+
- starter-app/db/sample/skus.yml
|
113
|
+
- starter-app/db/sample/states.yml
|
114
|
+
- starter-app/db/sample/taggings.yml
|
115
|
+
- starter-app/db/sample/tags.yml
|
116
|
+
- starter-app/db/sample/txns.yml
|
117
|
+
- starter-app/db/sample/users.yml
|
118
|
+
- starter-app/db/sample/variations.yml
|
119
|
+
- starter-app/doc/README_FOR_APP
|
120
|
+
- starter-app/lib/authenticated_system.rb
|
121
|
+
- starter-app/lib/authenticated_test_helper.rb
|
122
|
+
- starter-app/lib/custom_fixtures.rb
|
123
|
+
- starter-app/lib/hijacker.rb
|
124
|
+
- starter-app/lib/role_requirement_system.rb
|
125
|
+
- starter-app/lib/role_requirement_test_helper.rb
|
126
|
+
- starter-app/lib/tagging_extensions.rb
|
127
|
+
- starter-app/lib/tasks/sample/products/0000/0001/ror_tote.jpeg
|
128
|
+
- starter-app/lib/tasks/sample/products/0000/0001/ror_tote_mini.jpeg
|
129
|
+
- starter-app/lib/tasks/sample/products/0000/0001/ror_tote_product.jpeg
|
130
|
+
- starter-app/lib/tasks/sample/products/0000/0001/ror_tote_small.jpeg
|
131
|
+
- starter-app/lib/tasks/sample/products/0000/0002/ror_tote_back.jpeg
|
132
|
+
- starter-app/lib/tasks/sample/products/0000/0002/ror_tote_back_mini.jpeg
|
133
|
+
- starter-app/lib/tasks/sample/products/0000/0002/ror_tote_back_product.jpeg
|
134
|
+
- starter-app/lib/tasks/sample/products/0000/0002/ror_tote_back_small.jpeg
|
135
|
+
- starter-app/lib/tasks/sample/products/0000/0003/ror_bag.jpeg
|
136
|
+
- starter-app/lib/tasks/sample/products/0000/0003/ror_bag_mini.jpeg
|
137
|
+
- starter-app/lib/tasks/sample/products/0000/0003/ror_bag_product.jpeg
|
138
|
+
- starter-app/lib/tasks/sample/products/0000/0003/ror_bag_small.jpeg
|
139
|
+
- starter-app/lib/tasks/sample/products/0000/0004/ror_baseball.jpeg
|
140
|
+
- starter-app/lib/tasks/sample/products/0000/0004/ror_baseball_mini.jpeg
|
141
|
+
- starter-app/lib/tasks/sample/products/0000/0004/ror_baseball_product.jpeg
|
142
|
+
- starter-app/lib/tasks/sample/products/0000/0004/ror_baseball_small.jpeg
|
143
|
+
- starter-app/lib/tasks/sample/products/0000/0005/ror_baseball_back.jpeg
|
144
|
+
- starter-app/lib/tasks/sample/products/0000/0005/ror_baseball_back_mini.jpeg
|
145
|
+
- starter-app/lib/tasks/sample/products/0000/0005/ror_baseball_back_product.jpeg
|
146
|
+
- starter-app/lib/tasks/sample/products/0000/0005/ror_baseball_back_small.jpeg
|
147
|
+
- starter-app/lib/tasks/sample/products/0000/0006/ror_jr_spaghetti.jpeg
|
148
|
+
- starter-app/lib/tasks/sample/products/0000/0006/ror_jr_spaghetti_mini.jpeg
|
149
|
+
- starter-app/lib/tasks/sample/products/0000/0006/ror_jr_spaghetti_product.jpeg
|
150
|
+
- starter-app/lib/tasks/sample/products/0000/0006/ror_jr_spaghetti_small.jpeg
|
151
|
+
- starter-app/lib/tasks/sample/products/0000/0007/ror_mug.jpeg
|
152
|
+
- starter-app/lib/tasks/sample/products/0000/0007/ror_mug_mini.jpeg
|
153
|
+
- starter-app/lib/tasks/sample/products/0000/0007/ror_mug_product.jpeg
|
154
|
+
- starter-app/lib/tasks/sample/products/0000/0007/ror_mug_small.jpeg
|
155
|
+
- starter-app/lib/tasks/sample/products/0000/0008/ror_mug_back.jpeg
|
156
|
+
- starter-app/lib/tasks/sample/products/0000/0008/ror_mug_back_mini.jpeg
|
157
|
+
- starter-app/lib/tasks/sample/products/0000/0008/ror_mug_back_product.jpeg
|
158
|
+
- starter-app/lib/tasks/sample/products/0000/0008/ror_mug_back_small.jpeg
|
159
|
+
- starter-app/lib/tasks/sample/products/0000/0009/ror_ringer.jpeg
|
160
|
+
- starter-app/lib/tasks/sample/products/0000/0009/ror_ringer_mini.jpeg
|
161
|
+
- starter-app/lib/tasks/sample/products/0000/0009/ror_ringer_product.jpeg
|
162
|
+
- starter-app/lib/tasks/sample/products/0000/0009/ror_ringer_small.jpeg
|
163
|
+
- starter-app/lib/tasks/sample/products/0000/0010/ror_ringer_back.jpeg
|
164
|
+
- starter-app/lib/tasks/sample/products/0000/0010/ror_ringer_back_mini.jpeg
|
165
|
+
- starter-app/lib/tasks/sample/products/0000/0010/ror_ringer_back_product.jpeg
|
166
|
+
- starter-app/lib/tasks/sample/products/0000/0010/ror_ringer_back_small.jpeg
|
167
|
+
- starter-app/lib/tasks/sample/products/0000/0011/ror_stein.jpeg
|
168
|
+
- starter-app/lib/tasks/sample/products/0000/0011/ror_stein_mini.jpeg
|
169
|
+
- starter-app/lib/tasks/sample/products/0000/0011/ror_stein_product.jpeg
|
170
|
+
- starter-app/lib/tasks/sample/products/0000/0011/ror_stein_small.jpeg
|
171
|
+
- starter-app/lib/tasks/sample/products/0000/0012/ror_stein_back.jpeg
|
172
|
+
- starter-app/lib/tasks/sample/products/0000/0012/ror_stein_back_mini.jpeg
|
173
|
+
- starter-app/lib/tasks/sample/products/0000/0012/ror_stein_back_product.jpeg
|
174
|
+
- starter-app/lib/tasks/sample/products/0000/0012/ror_stein_back_small.jpeg
|
175
|
+
- starter-app/lib/tasks/spree_sample_data.rake
|
176
|
+
- starter-app/public/.htaccess
|
177
|
+
- starter-app/public/404.html
|
178
|
+
- starter-app/public/500.html
|
179
|
+
- starter-app/public/dispatch.cgi
|
180
|
+
- starter-app/public/dispatch.fcgi
|
181
|
+
- starter-app/public/dispatch.rb
|
182
|
+
- starter-app/public/favicon.ico
|
183
|
+
- starter-app/public/images/rails.png
|
184
|
+
- starter-app/public/index.html
|
185
|
+
- starter-app/public/javascripts/application.js
|
186
|
+
- starter-app/public/javascripts/controls.js
|
187
|
+
- starter-app/public/javascripts/dragdrop.js
|
188
|
+
- starter-app/public/javascripts/effects.js
|
189
|
+
- starter-app/public/javascripts/prototype.js
|
190
|
+
- starter-app/public/robots.txt
|
191
|
+
- starter-app/public/stylesheets/application.css
|
192
|
+
- starter-app/public/stylesheets/cart/_controller.css
|
193
|
+
- starter-app/public/stylesheets/checkout/_controller.css
|
194
|
+
- starter-app/script/about
|
195
|
+
- starter-app/script/breakpointer
|
196
|
+
- starter-app/script/console
|
197
|
+
- starter-app/script/destroy
|
198
|
+
- starter-app/script/generate
|
199
|
+
- starter-app/script/performance/benchmarker
|
200
|
+
- starter-app/script/performance/profiler
|
201
|
+
- starter-app/script/plugin
|
202
|
+
- starter-app/script/process/inspector
|
203
|
+
- starter-app/script/process/reaper
|
204
|
+
- starter-app/script/process/spawner
|
205
|
+
- starter-app/script/runner
|
206
|
+
- starter-app/script/server
|
207
|
+
- starter-app/test/fixtures/users.yml
|
208
|
+
- starter-app/test/test_helper.rb
|
209
|
+
- starter-app/test/unit/user_test.rb
|
210
|
+
- starter-app/vendor/plugins/acts_as_list/README
|
211
|
+
- starter-app/vendor/plugins/acts_as_list/init.rb
|
212
|
+
- starter-app/vendor/plugins/acts_as_list/lib/active_record/acts/list.rb
|
213
|
+
- starter-app/vendor/plugins/acts_as_list/test/list_test.rb
|
214
|
+
- starter-app/vendor/plugins/acts_as_tree/README
|
215
|
+
- starter-app/vendor/plugins/acts_as_tree/Rakefile
|
216
|
+
- starter-app/vendor/plugins/acts_as_tree/init.rb
|
217
|
+
- starter-app/vendor/plugins/acts_as_tree/lib/active_record/acts/tree.rb
|
218
|
+
- starter-app/vendor/plugins/acts_as_tree/test/abstract_unit.rb
|
219
|
+
- starter-app/vendor/plugins/acts_as_tree/test/acts_as_tree_test.rb
|
220
|
+
- starter-app/vendor/plugins/acts_as_tree/test/database.yml
|
221
|
+
- starter-app/vendor/plugins/acts_as_tree/test/fixtures/mixin.rb
|
222
|
+
- starter-app/vendor/plugins/acts_as_tree/test/fixtures/mixins.yml
|
223
|
+
- starter-app/vendor/plugins/acts_as_tree/test/schema.rb
|
224
|
+
- starter-app/vendor/plugins/attachment_fu/CHANGELOG
|
225
|
+
- starter-app/vendor/plugins/attachment_fu/README
|
226
|
+
- starter-app/vendor/plugins/attachment_fu/Rakefile
|
227
|
+
- starter-app/vendor/plugins/attachment_fu/amazon_s3.yml.tpl
|
228
|
+
- starter-app/vendor/plugins/attachment_fu/init.rb
|
229
|
+
- starter-app/vendor/plugins/attachment_fu/install.rb
|
230
|
+
- starter-app/vendor/plugins/attachment_fu/lib/geometry.rb
|
231
|
+
- starter-app/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb
|
232
|
+
- starter-app/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/db_file_backend.rb
|
233
|
+
- starter-app/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/file_system_backend.rb
|
234
|
+
- starter-app/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/s3_backend.rb
|
235
|
+
- starter-app/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/image_science_processor.rb
|
236
|
+
- starter-app/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/mini_magick_processor.rb
|
237
|
+
- starter-app/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/rmagick_processor.rb
|
238
|
+
- starter-app/vendor/plugins/attachment_fu/test/amazon_s3.yml
|
239
|
+
- starter-app/vendor/plugins/attachment_fu/test/backends/db_file_test.rb
|
240
|
+
- starter-app/vendor/plugins/attachment_fu/test/backends/file_system_test.rb
|
241
|
+
- starter-app/vendor/plugins/attachment_fu/test/backends/remote/s3_test.rb
|
242
|
+
- starter-app/vendor/plugins/attachment_fu/test/base_attachment_tests.rb
|
243
|
+
- starter-app/vendor/plugins/attachment_fu/test/basic_test.rb
|
244
|
+
- starter-app/vendor/plugins/attachment_fu/test/database.yml
|
245
|
+
- starter-app/vendor/plugins/attachment_fu/test/extra_attachment_test.rb
|
246
|
+
- starter-app/vendor/plugins/attachment_fu/test/fixtures/attachment.rb
|
247
|
+
- starter-app/vendor/plugins/attachment_fu/test/fixtures/files/fake/rails.png
|
248
|
+
- starter-app/vendor/plugins/attachment_fu/test/fixtures/files/foo.txt
|
249
|
+
- starter-app/vendor/plugins/attachment_fu/test/fixtures/files/rails.png
|
250
|
+
- starter-app/vendor/plugins/attachment_fu/test/geometry_test.rb
|
251
|
+
- starter-app/vendor/plugins/attachment_fu/test/processors/image_science_test.rb
|
252
|
+
- starter-app/vendor/plugins/attachment_fu/test/processors/mini_magick_test.rb
|
253
|
+
- starter-app/vendor/plugins/attachment_fu/test/processors/rmagick_test.rb
|
254
|
+
- starter-app/vendor/plugins/attachment_fu/test/schema.rb
|
255
|
+
- starter-app/vendor/plugins/attachment_fu/test/test_helper.rb
|
256
|
+
- starter-app/vendor/plugins/attachment_fu/test/validation_test.rb
|
257
|
+
- starter-app/vendor/plugins/calendar_date_select/CHANGELOG
|
258
|
+
- starter-app/vendor/plugins/calendar_date_select/MIT-LICENSE
|
259
|
+
- starter-app/vendor/plugins/calendar_date_select/README
|
260
|
+
- starter-app/vendor/plugins/calendar_date_select/init.rb
|
261
|
+
- starter-app/vendor/plugins/calendar_date_select/js_test/functional/cds_test.html
|
262
|
+
- starter-app/vendor/plugins/calendar_date_select/js_test/prototype.js
|
263
|
+
- starter-app/vendor/plugins/calendar_date_select/js_test/test.css
|
264
|
+
- starter-app/vendor/plugins/calendar_date_select/js_test/unit/cds_helper_methods.html
|
265
|
+
- starter-app/vendor/plugins/calendar_date_select/js_test/unittest.js
|
266
|
+
- starter-app/vendor/plugins/calendar_date_select/lib/calendar_date_select.rb
|
267
|
+
- starter-app/vendor/plugins/calendar_date_select/lib/includes_helper.rb
|
268
|
+
- starter-app/vendor/plugins/calendar_date_select/public/images/calendar_date_select/calendar.gif
|
269
|
+
- starter-app/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/calendar_date_select.js
|
270
|
+
- starter-app/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_american.js
|
271
|
+
- starter-app/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_euro_24hr.js
|
272
|
+
- starter-app/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_finnish.js
|
273
|
+
- starter-app/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_hyphen_ampm.js
|
274
|
+
- starter-app/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_italian.js
|
275
|
+
- starter-app/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/fi.js
|
276
|
+
- starter-app/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/blue.css
|
277
|
+
- starter-app/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/default.css
|
278
|
+
- starter-app/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/plain.css
|
279
|
+
- starter-app/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/red.css
|
280
|
+
- starter-app/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/silver.css
|
281
|
+
- starter-app/vendor/plugins/calendar_date_select/test/functional/calendar_date_select_test.rb
|
282
|
+
- starter-app/vendor/plugins/calendar_date_select/test/functional/helper_methods_test.rb
|
283
|
+
- starter-app/vendor/plugins/calendar_date_select/test/test_helper.rb
|
284
|
+
- starter-app/vendor/plugins/engines/CHANGELOG
|
285
|
+
- starter-app/vendor/plugins/engines/MIT-LICENSE
|
286
|
+
- starter-app/vendor/plugins/engines/README
|
287
|
+
- starter-app/vendor/plugins/engines/Rakefile
|
288
|
+
- starter-app/vendor/plugins/engines/about.yml
|
289
|
+
- starter-app/vendor/plugins/engines/boot.rb
|
290
|
+
- starter-app/vendor/plugins/engines/generators/plugin_migration/USAGE
|
291
|
+
- starter-app/vendor/plugins/engines/generators/plugin_migration/plugin_migration_generator.rb
|
292
|
+
- starter-app/vendor/plugins/engines/generators/plugin_migration/templates/plugin_migration.erb
|
293
|
+
- starter-app/vendor/plugins/engines/init.rb
|
294
|
+
- starter-app/vendor/plugins/engines/lib/engines.rb
|
295
|
+
- starter-app/vendor/plugins/engines/lib/engines/assets.rb
|
296
|
+
- starter-app/vendor/plugins/engines/lib/engines/plugin.rb
|
297
|
+
- starter-app/vendor/plugins/engines/lib/engines/plugin/list.rb
|
298
|
+
- starter-app/vendor/plugins/engines/lib/engines/plugin/loader.rb
|
299
|
+
- starter-app/vendor/plugins/engines/lib/engines/plugin/locator.rb
|
300
|
+
- starter-app/vendor/plugins/engines/lib/engines/plugin/migrator.rb
|
301
|
+
- starter-app/vendor/plugins/engines/lib/engines/rails_extensions/action_mailer.rb
|
302
|
+
- starter-app/vendor/plugins/engines/lib/engines/rails_extensions/active_record.rb
|
303
|
+
- starter-app/vendor/plugins/engines/lib/engines/rails_extensions/asset_helpers.rb
|
304
|
+
- starter-app/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb
|
305
|
+
- starter-app/vendor/plugins/engines/lib/engines/rails_extensions/migrations.rb
|
306
|
+
- starter-app/vendor/plugins/engines/lib/engines/rails_extensions/rails.rb
|
307
|
+
- starter-app/vendor/plugins/engines/lib/engines/rails_extensions/routing.rb
|
308
|
+
- starter-app/vendor/plugins/engines/lib/engines/testing.rb
|
309
|
+
- starter-app/vendor/plugins/engines/tasks/engines.rake
|
310
|
+
- starter-app/vendor/plugins/in_place_editing/README
|
311
|
+
- starter-app/vendor/plugins/in_place_editing/Rakefile
|
312
|
+
- starter-app/vendor/plugins/in_place_editing/init.rb
|
313
|
+
- starter-app/vendor/plugins/in_place_editing/lib/in_place_editing.rb
|
314
|
+
- starter-app/vendor/plugins/in_place_editing/lib/in_place_macros_helper.rb
|
315
|
+
- starter-app/vendor/plugins/in_place_editing/test/in_place_editing_test.rb
|
316
|
+
- starter-app/vendor/plugins/paginating_find/CHANGELOG
|
317
|
+
- starter-app/vendor/plugins/paginating_find/README
|
318
|
+
- starter-app/vendor/plugins/paginating_find/init.rb
|
319
|
+
- starter-app/vendor/plugins/paginating_find/lib/paginating_find.rb
|
320
|
+
- starter-app/vendor/plugins/paginating_find/lib/paging_enumerator.rb
|
321
|
+
- starter-app/vendor/plugins/paginating_find/lib/paging_helper.rb
|
322
|
+
- starter-app/vendor/plugins/paginating_find/test_app/Rakefile
|
323
|
+
- starter-app/vendor/plugins/paginating_find/test_app/app/controllers/application.rb
|
324
|
+
- starter-app/vendor/plugins/paginating_find/test_app/config/boot.rb
|
325
|
+
- starter-app/vendor/plugins/paginating_find/test_app/config/database.yml
|
326
|
+
- starter-app/vendor/plugins/paginating_find/test_app/config/environment.rb
|
327
|
+
- starter-app/vendor/plugins/paginating_find/test_app/config/environments/test.rb
|
328
|
+
- starter-app/vendor/plugins/paginating_find/test_app/config/routes.rb
|
329
|
+
- starter-app/vendor/plugins/paginating_find/test_app/db/schema.rb
|
330
|
+
- starter-app/vendor/plugins/paginating_find/test_app/script/breakpointer
|
331
|
+
- starter-app/vendor/plugins/paginating_find/test_app/script/console
|
332
|
+
- starter-app/vendor/plugins/paginating_find/test_app/test/fixtures/articles.yml
|
333
|
+
- starter-app/vendor/plugins/paginating_find/test_app/test/fixtures/authors.yml
|
334
|
+
- starter-app/vendor/plugins/paginating_find/test_app/test/fixtures/edits.yml
|
335
|
+
- starter-app/vendor/plugins/paginating_find/test_app/test/fixtures/models.rb
|
336
|
+
- starter-app/vendor/plugins/paginating_find/test_app/test/test_helper.rb
|
337
|
+
- starter-app/vendor/plugins/paginating_find/test_app/test/unit/abstract_test.rb
|
338
|
+
- starter-app/vendor/plugins/paginating_find/test_app/test/unit/group_test.rb
|
339
|
+
- starter-app/vendor/plugins/paginating_find/test_app/test/unit/paginating_find_test.rb
|
340
|
+
- starter-app/vendor/plugins/paginating_find/test_app/test/unit/paging_enumerator_test.rb
|
341
|
+
- starter-app/vendor/plugins/spree/.rakeTasks
|
342
|
+
- starter-app/vendor/plugins/spree/CHANGELOG
|
343
|
+
- starter-app/vendor/plugins/spree/LICENSE
|
344
|
+
- starter-app/vendor/plugins/spree/README
|
345
|
+
- starter-app/vendor/plugins/spree/Rakefile
|
346
|
+
- starter-app/vendor/plugins/spree/VERSION
|
347
|
+
- starter-app/vendor/plugins/spree/app/controllers/account_controller.rb
|
348
|
+
- starter-app/vendor/plugins/spree/app/controllers/admin/base_controller.rb
|
349
|
+
- starter-app/vendor/plugins/spree/app/controllers/admin/categories_controller.rb
|
350
|
+
- starter-app/vendor/plugins/spree/app/controllers/admin/images_controller.rb
|
351
|
+
- starter-app/vendor/plugins/spree/app/controllers/admin/option_types_controller.rb
|
352
|
+
- starter-app/vendor/plugins/spree/app/controllers/admin/orders_controller.rb
|
353
|
+
- starter-app/vendor/plugins/spree/app/controllers/admin/overview_controller.rb
|
354
|
+
- starter-app/vendor/plugins/spree/app/controllers/admin/products_controller.rb
|
355
|
+
- starter-app/vendor/plugins/spree/app/controllers/admin/reports_controller.rb
|
356
|
+
- starter-app/vendor/plugins/spree/app/controllers/admin/users_controller.rb
|
357
|
+
- starter-app/vendor/plugins/spree/app/controllers/admin/variations_controller.rb
|
358
|
+
- starter-app/vendor/plugins/spree/app/controllers/cart_controller.rb
|
359
|
+
- starter-app/vendor/plugins/spree/app/controllers/checkout_controller.rb
|
360
|
+
- starter-app/vendor/plugins/spree/app/controllers/rails_cart/base_controller.rb
|
361
|
+
- starter-app/vendor/plugins/spree/app/controllers/store_controller.rb
|
362
|
+
- starter-app/vendor/plugins/spree/app/helpers/account_helper.rb
|
363
|
+
- starter-app/vendor/plugins/spree/app/helpers/admin/base_helper.rb
|
364
|
+
- starter-app/vendor/plugins/spree/app/helpers/admin/categories_helper.rb
|
365
|
+
- starter-app/vendor/plugins/spree/app/helpers/admin/option_values_helper.rb
|
366
|
+
- starter-app/vendor/plugins/spree/app/helpers/admin/orders_helper.rb
|
367
|
+
- starter-app/vendor/plugins/spree/app/helpers/admin/overview_helper.rb
|
368
|
+
- starter-app/vendor/plugins/spree/app/helpers/admin/products_helper.rb
|
369
|
+
- starter-app/vendor/plugins/spree/app/helpers/admin/users_helper.rb
|
370
|
+
- starter-app/vendor/plugins/spree/app/helpers/admin/variations_helper.rb
|
371
|
+
- starter-app/vendor/plugins/spree/app/helpers/cart_helper.rb
|
372
|
+
- starter-app/vendor/plugins/spree/app/helpers/checkout_helper.rb
|
373
|
+
- starter-app/vendor/plugins/spree/app/helpers/rails_cart/base_helper.rb
|
374
|
+
- starter-app/vendor/plugins/spree/app/helpers/search_helper.rb
|
375
|
+
- starter-app/vendor/plugins/spree/app/helpers/store_helper.rb
|
376
|
+
- starter-app/vendor/plugins/spree/app/models/address.rb
|
377
|
+
- starter-app/vendor/plugins/spree/app/models/cart.rb
|
378
|
+
- starter-app/vendor/plugins/spree/app/models/cart_item.rb
|
379
|
+
- starter-app/vendor/plugins/spree/app/models/category.rb
|
380
|
+
- starter-app/vendor/plugins/spree/app/models/country.rb
|
381
|
+
- starter-app/vendor/plugins/spree/app/models/credit_card.rb
|
382
|
+
- starter-app/vendor/plugins/spree/app/models/image.rb
|
383
|
+
- starter-app/vendor/plugins/spree/app/models/line_item.rb
|
384
|
+
- starter-app/vendor/plugins/spree/app/models/option_type.rb
|
385
|
+
- starter-app/vendor/plugins/spree/app/models/option_value.rb
|
386
|
+
- starter-app/vendor/plugins/spree/app/models/order.rb
|
387
|
+
- starter-app/vendor/plugins/spree/app/models/order_mailer.rb
|
388
|
+
- starter-app/vendor/plugins/spree/app/models/order_operation.rb
|
389
|
+
- starter-app/vendor/plugins/spree/app/models/payment.rb
|
390
|
+
- starter-app/vendor/plugins/spree/app/models/product.rb
|
391
|
+
- starter-app/vendor/plugins/spree/app/models/product_option_type.rb
|
392
|
+
- starter-app/vendor/plugins/spree/app/models/search_criteria.rb
|
393
|
+
- starter-app/vendor/plugins/spree/app/models/sku.rb
|
394
|
+
- starter-app/vendor/plugins/spree/app/models/state.rb
|
395
|
+
- starter-app/vendor/plugins/spree/app/models/tax_treatment.rb
|
396
|
+
- starter-app/vendor/plugins/spree/app/models/txn.rb
|
397
|
+
- starter-app/vendor/plugins/spree/app/models/variation.rb
|
398
|
+
- starter-app/vendor/plugins/spree/app/views/account/index.rhtml
|
399
|
+
- starter-app/vendor/plugins/spree/app/views/account/login.rhtml
|
400
|
+
- starter-app/vendor/plugins/spree/app/views/account/signup.rhtml
|
401
|
+
- starter-app/vendor/plugins/spree/app/views/admin/categories/_form.rhtml
|
402
|
+
- starter-app/vendor/plugins/spree/app/views/admin/categories/edit.rhtml
|
403
|
+
- starter-app/vendor/plugins/spree/app/views/admin/categories/list.rhtml
|
404
|
+
- starter-app/vendor/plugins/spree/app/views/admin/categories/new.rhtml
|
405
|
+
- starter-app/vendor/plugins/spree/app/views/admin/images/new.html.erb
|
406
|
+
- starter-app/vendor/plugins/spree/app/views/admin/option_types/_form.rhtml
|
407
|
+
- starter-app/vendor/plugins/spree/app/views/admin/option_types/_new_option_value.rhtml
|
408
|
+
- starter-app/vendor/plugins/spree/app/views/admin/option_types/_option_values.rhtml
|
409
|
+
- starter-app/vendor/plugins/spree/app/views/admin/option_types/edit.rhtml
|
410
|
+
- starter-app/vendor/plugins/spree/app/views/admin/option_types/index.rhtml
|
411
|
+
- starter-app/vendor/plugins/spree/app/views/admin/option_types/new.rhtml
|
412
|
+
- starter-app/vendor/plugins/spree/app/views/admin/option_types/select.rhtml
|
413
|
+
- starter-app/vendor/plugins/spree/app/views/admin/option_types/test.rhtml
|
414
|
+
- starter-app/vendor/plugins/spree/app/views/admin/orders/_address.rhtml
|
415
|
+
- starter-app/vendor/plugins/spree/app/views/admin/orders/index.rhtml
|
416
|
+
- starter-app/vendor/plugins/spree/app/views/admin/orders/show.rhtml
|
417
|
+
- starter-app/vendor/plugins/spree/app/views/admin/overview/index.rhtml
|
418
|
+
- starter-app/vendor/plugins/spree/app/views/admin/products/_form.rhtml
|
419
|
+
- starter-app/vendor/plugins/spree/app/views/admin/products/_menu.rhtml
|
420
|
+
- starter-app/vendor/plugins/spree/app/views/admin/products/_new_variation.rhtml
|
421
|
+
- starter-app/vendor/plugins/spree/app/views/admin/products/_option_types.rhtml
|
422
|
+
- starter-app/vendor/plugins/spree/app/views/admin/products/_variations.rhtml
|
423
|
+
- starter-app/vendor/plugins/spree/app/views/admin/products/edit.rhtml
|
424
|
+
- starter-app/vendor/plugins/spree/app/views/admin/products/index.rhtml
|
425
|
+
- starter-app/vendor/plugins/spree/app/views/admin/products/new.rhtml
|
426
|
+
- starter-app/vendor/plugins/spree/app/views/admin/reports/index.rhtml
|
427
|
+
- starter-app/vendor/plugins/spree/app/views/admin/reports/sales_total.rhtml
|
428
|
+
- starter-app/vendor/plugins/spree/app/views/admin/users/_form.rhtml
|
429
|
+
- starter-app/vendor/plugins/spree/app/views/admin/users/_menu.rhtml
|
430
|
+
- starter-app/vendor/plugins/spree/app/views/admin/users/edit.rhtml
|
431
|
+
- starter-app/vendor/plugins/spree/app/views/admin/users/index.rhtml
|
432
|
+
- starter-app/vendor/plugins/spree/app/views/admin/users/new.rhtml
|
433
|
+
- starter-app/vendor/plugins/spree/app/views/admin/users/show.rhtml
|
434
|
+
- starter-app/vendor/plugins/spree/app/views/admin/variations/_form.rhtml
|
435
|
+
- starter-app/vendor/plugins/spree/app/views/admin/variations/_option_values.rhtml
|
436
|
+
- starter-app/vendor/plugins/spree/app/views/admin/variations/list.rhtml
|
437
|
+
- starter-app/vendor/plugins/spree/app/views/admin/variations/new.rhtml
|
438
|
+
- starter-app/vendor/plugins/spree/app/views/cart/index.rhtml
|
439
|
+
- starter-app/vendor/plugins/spree/app/views/checkout/_address.rhtml
|
440
|
+
- starter-app/vendor/plugins/spree/app/views/checkout/_address_ro.rhtml
|
441
|
+
- starter-app/vendor/plugins/spree/app/views/checkout/_cart_item.rhtml
|
442
|
+
- starter-app/vendor/plugins/spree/app/views/checkout/_extra.rhtml
|
443
|
+
- starter-app/vendor/plugins/spree/app/views/checkout/addresses.rhtml
|
444
|
+
- starter-app/vendor/plugins/spree/app/views/checkout/cvv.rhtml
|
445
|
+
- starter-app/vendor/plugins/spree/app/views/checkout/empty_cart.rhtml
|
446
|
+
- starter-app/vendor/plugins/spree/app/views/checkout/final_confirmation.rhtml
|
447
|
+
- starter-app/vendor/plugins/spree/app/views/checkout/incomplete.rhtml
|
448
|
+
- starter-app/vendor/plugins/spree/app/views/checkout/thank_you.rhtml
|
449
|
+
- starter-app/vendor/plugins/spree/app/views/layouts/admin.rhtml
|
450
|
+
- starter-app/vendor/plugins/spree/app/views/layouts/products.rhtml
|
451
|
+
- starter-app/vendor/plugins/spree/app/views/layouts/simple.rhtml
|
452
|
+
- starter-app/vendor/plugins/spree/app/views/order_mailer/cancel.rhtml
|
453
|
+
- starter-app/vendor/plugins/spree/app/views/order_mailer/confirm.rhtml
|
454
|
+
- starter-app/vendor/plugins/spree/app/views/shared/_images.html.erb
|
455
|
+
- starter-app/vendor/plugins/spree/app/views/shared/_order_details.rhtml
|
456
|
+
- starter-app/vendor/plugins/spree/app/views/shared/_paginate.rhtml
|
457
|
+
- starter-app/vendor/plugins/spree/app/views/shared/_report_criteria.rhtml
|
458
|
+
- starter-app/vendor/plugins/spree/app/views/shared/_tax_treatments.rhtml
|
459
|
+
- starter-app/vendor/plugins/spree/app/views/store/_image.html.erb
|
460
|
+
- starter-app/vendor/plugins/spree/app/views/store/_products.rhtml
|
461
|
+
- starter-app/vendor/plugins/spree/app/views/store/_thumbnails.html.erb
|
462
|
+
- starter-app/vendor/plugins/spree/app/views/store/list.rhtml
|
463
|
+
- starter-app/vendor/plugins/spree/app/views/store/show.rhtml
|
464
|
+
- starter-app/vendor/plugins/spree/assets/.htaccess
|
465
|
+
- starter-app/vendor/plugins/spree/assets/404.html
|
466
|
+
- starter-app/vendor/plugins/spree/assets/500.html
|
467
|
+
- starter-app/vendor/plugins/spree/assets/dispatch.cgi
|
468
|
+
- starter-app/vendor/plugins/spree/assets/dispatch.fcgi
|
469
|
+
- starter-app/vendor/plugins/spree/assets/dispatch.rb
|
470
|
+
- starter-app/vendor/plugins/spree/assets/favicon.ico
|
471
|
+
- starter-app/vendor/plugins/spree/assets/images/amex_cid.gif
|
472
|
+
- starter-app/vendor/plugins/spree/assets/images/creditcard.gif
|
473
|
+
- starter-app/vendor/plugins/spree/assets/images/discover_cid.gif
|
474
|
+
- starter-app/vendor/plugins/spree/assets/images/master_cid.jpg
|
475
|
+
- starter-app/vendor/plugins/spree/assets/images/products/ror_bag.jpg
|
476
|
+
- starter-app/vendor/plugins/spree/assets/images/products/ror_baseball_jersey.jpg
|
477
|
+
- starter-app/vendor/plugins/spree/assets/images/products/ror_jr_spaghetti.jpg
|
478
|
+
- starter-app/vendor/plugins/spree/assets/images/products/ror_mug.jpg
|
479
|
+
- starter-app/vendor/plugins/spree/assets/images/products/ror_ringer_tshirt.jpg
|
480
|
+
- starter-app/vendor/plugins/spree/assets/images/products/ror_stein.jpg
|
481
|
+
- starter-app/vendor/plugins/spree/assets/images/products/ror_tote.jpg
|
482
|
+
- starter-app/vendor/plugins/spree/assets/images/rails.png
|
483
|
+
- starter-app/vendor/plugins/spree/assets/images/spinner.gif
|
484
|
+
- starter-app/vendor/plugins/spree/assets/images/spree/progress.gif
|
485
|
+
- starter-app/vendor/plugins/spree/assets/images/spree/spinner.gif
|
486
|
+
- starter-app/vendor/plugins/spree/assets/images/spree/spree_logo142x65.gif
|
487
|
+
- starter-app/vendor/plugins/spree/assets/images/spree/spree_logo245x112.gif
|
488
|
+
- starter-app/vendor/plugins/spree/assets/images/visa_cid.gif
|
489
|
+
- starter-app/vendor/plugins/spree/assets/javascripts/application.js
|
490
|
+
- starter-app/vendor/plugins/spree/assets/javascripts/controls.js
|
491
|
+
- starter-app/vendor/plugins/spree/assets/javascripts/dragdrop.js
|
492
|
+
- starter-app/vendor/plugins/spree/assets/javascripts/effects.js
|
493
|
+
- starter-app/vendor/plugins/spree/assets/javascripts/lowpro.js
|
494
|
+
- starter-app/vendor/plugins/spree/assets/javascripts/prototype.js
|
495
|
+
- starter-app/vendor/plugins/spree/assets/robots.txt
|
496
|
+
- starter-app/vendor/plugins/spree/assets/stylesheets/cart/_controller.css
|
497
|
+
- starter-app/vendor/plugins/spree/assets/stylesheets/checkout/_controller.css
|
498
|
+
- starter-app/vendor/plugins/spree/assets/stylesheets/fullscreen.css
|
499
|
+
- starter-app/vendor/plugins/spree/assets/stylesheets/orders/_controller.css
|
500
|
+
- starter-app/vendor/plugins/spree/assets/stylesheets/products/_controller.css
|
501
|
+
- starter-app/vendor/plugins/spree/assets/stylesheets/spree-admin.css
|
502
|
+
- starter-app/vendor/plugins/spree/assets/stylesheets/spree.css
|
503
|
+
- starter-app/vendor/plugins/spree/assets/stylesheets/store/_controller.css
|
504
|
+
- starter-app/vendor/plugins/spree/db/migrate/001_create_addresses.rb
|
505
|
+
- starter-app/vendor/plugins/spree/db/migrate/002_create_cart_items.rb
|
506
|
+
- starter-app/vendor/plugins/spree/db/migrate/003_create_carts.rb
|
507
|
+
- starter-app/vendor/plugins/spree/db/migrate/004_create_categories.rb
|
508
|
+
- starter-app/vendor/plugins/spree/db/migrate/005_create_categories_products.rb
|
509
|
+
- starter-app/vendor/plugins/spree/db/migrate/006_create_line_items.rb
|
510
|
+
- starter-app/vendor/plugins/spree/db/migrate/007_create_option_values.rb
|
511
|
+
- starter-app/vendor/plugins/spree/db/migrate/008_create_orders.rb
|
512
|
+
- starter-app/vendor/plugins/spree/db/migrate/009_create_products.rb
|
513
|
+
- starter-app/vendor/plugins/spree/db/migrate/010_create_txns.rb
|
514
|
+
- starter-app/vendor/plugins/spree/db/migrate/011_create_variations.rb
|
515
|
+
- starter-app/vendor/plugins/spree/db/migrate/012_create_tax_treatments.rb
|
516
|
+
- starter-app/vendor/plugins/spree/db/migrate/013_create_skus.rb
|
517
|
+
- starter-app/vendor/plugins/spree/db/migrate/014_create_countries.rb
|
518
|
+
- starter-app/vendor/plugins/spree/db/migrate/015_create_states.rb
|
519
|
+
- starter-app/vendor/plugins/spree/db/migrate/016_create_option_types.rb
|
520
|
+
- starter-app/vendor/plugins/spree/db/migrate/017_create_product_option_types.rb
|
521
|
+
- starter-app/vendor/plugins/spree/db/migrate/018_create_option_values_variations.rb
|
522
|
+
- starter-app/vendor/plugins/spree/db/migrate/019_create_images.rb
|
523
|
+
- starter-app/vendor/plugins/spree/db/migrate/020_create_credit_cards.rb
|
524
|
+
- starter-app/vendor/plugins/spree/db/migrate/021_create_order_operations.rb
|
525
|
+
- starter-app/vendor/plugins/spree/init.rb
|
526
|
+
- starter-app/vendor/plugins/spree/install.rb
|
527
|
+
- starter-app/vendor/plugins/spree/lib/constants/enumerable_constants.rb
|
528
|
+
- starter-app/vendor/plugins/spree/lib/format.rb
|
529
|
+
- starter-app/vendor/plugins/spree/lib/gateway/bogus_gateway.rb
|
530
|
+
- starter-app/vendor/plugins/spree/lib/shipping/flat_rate.rb
|
531
|
+
- starter-app/vendor/plugins/spree/lib/tasks/spree_bootstrap.rake
|
532
|
+
- starter-app/vendor/plugins/spree/lib/tax/sales_tax.rb
|
533
|
+
- starter-app/vendor/plugins/spree/routes.rb
|
534
|
+
- starter-app/vendor/plugins/spree/script/about
|
535
|
+
- starter-app/vendor/plugins/spree/script/breakpointer
|
536
|
+
- starter-app/vendor/plugins/spree/script/console
|
537
|
+
- starter-app/vendor/plugins/spree/script/destroy
|
538
|
+
- starter-app/vendor/plugins/spree/script/generate
|
539
|
+
- starter-app/vendor/plugins/spree/script/performance/benchmarker
|
540
|
+
- starter-app/vendor/plugins/spree/script/performance/profiler
|
541
|
+
- starter-app/vendor/plugins/spree/script/plugin
|
542
|
+
- starter-app/vendor/plugins/spree/script/process/inspector
|
543
|
+
- starter-app/vendor/plugins/spree/script/process/reaper
|
544
|
+
- starter-app/vendor/plugins/spree/script/process/spawner
|
545
|
+
- starter-app/vendor/plugins/spree/script/runner
|
546
|
+
- starter-app/vendor/plugins/spree/script/server
|
547
|
+
- starter-app/vendor/plugins/spree/test/fixtures/addresses.yml
|
548
|
+
- starter-app/vendor/plugins/spree/test/fixtures/categories.yml
|
549
|
+
- starter-app/vendor/plugins/spree/test/fixtures/line_items.yml
|
550
|
+
- starter-app/vendor/plugins/spree/test/fixtures/orders.yml
|
551
|
+
- starter-app/vendor/plugins/spree/test/fixtures/products.yml
|
552
|
+
- starter-app/vendor/plugins/spree/test/fixtures/products_tags.yml
|
553
|
+
- starter-app/vendor/plugins/spree/test/fixtures/roles.yml
|
554
|
+
- starter-app/vendor/plugins/spree/test/fixtures/roles_users.yml
|
555
|
+
- starter-app/vendor/plugins/spree/test/fixtures/skus.yml
|
556
|
+
- starter-app/vendor/plugins/spree/test/fixtures/tags.yml
|
557
|
+
- starter-app/vendor/plugins/spree/test/fixtures/tax_treatments.yml
|
558
|
+
- starter-app/vendor/plugins/spree/test/fixtures/txns.yml
|
559
|
+
- starter-app/vendor/plugins/spree/test/fixtures/users.yml
|
560
|
+
- starter-app/vendor/plugins/spree/test/fixtures/variations.yml
|
561
|
+
- starter-app/vendor/plugins/spree/test/functional/account_controller_test.rb
|
562
|
+
- starter-app/vendor/plugins/spree/test/functional/admin/base_controller_test.rb
|
563
|
+
- starter-app/vendor/plugins/spree/test/functional/admin/option_groups_controller_test.rb
|
564
|
+
- starter-app/vendor/plugins/spree/test/functional/admin/option_values_controller_test.rb
|
565
|
+
- starter-app/vendor/plugins/spree/test/functional/admin/orders_controller_test.rb
|
566
|
+
- starter-app/vendor/plugins/spree/test/functional/admin/overview_controller_test.rb
|
567
|
+
- starter-app/vendor/plugins/spree/test/functional/admin/products_controller_test.rb
|
568
|
+
- starter-app/vendor/plugins/spree/test/functional/admin/users_controller_test.rb
|
569
|
+
- starter-app/vendor/plugins/spree/test/functional/admin/variations_controller_test.rb
|
570
|
+
- starter-app/vendor/plugins/spree/test/functional/application_controller_test.rb
|
571
|
+
- starter-app/vendor/plugins/spree/test/functional/cart_controller_test.rb
|
572
|
+
- starter-app/vendor/plugins/spree/test/functional/checkout_controller_test.rb
|
573
|
+
- starter-app/vendor/plugins/spree/test/integration/authentication_test.rb
|
574
|
+
- starter-app/vendor/plugins/spree/test/integration/product_admin_test.rb
|
575
|
+
- starter-app/vendor/plugins/spree/test/integration/user_stories_test.rb
|
576
|
+
- starter-app/vendor/plugins/spree/test/integration/variations_test.rb
|
577
|
+
- starter-app/vendor/plugins/spree/test/test_helper.rb
|
578
|
+
- starter-app/vendor/plugins/spree/test/unit/address_test.rb
|
579
|
+
- starter-app/vendor/plugins/spree/test/unit/cart_item_test.rb
|
580
|
+
- starter-app/vendor/plugins/spree/test/unit/cart_test.rb
|
581
|
+
- starter-app/vendor/plugins/spree/test/unit/category_test.rb
|
582
|
+
- starter-app/vendor/plugins/spree/test/unit/line_item_test.rb
|
583
|
+
- starter-app/vendor/plugins/spree/test/unit/option_group_test.rb
|
584
|
+
- starter-app/vendor/plugins/spree/test/unit/order_test.rb
|
585
|
+
- starter-app/vendor/plugins/spree/test/unit/product_test.rb
|
586
|
+
- starter-app/vendor/plugins/spree/test/unit/role_test.rb
|
587
|
+
- starter-app/vendor/plugins/spree/test/unit/sales_tax_test.rb
|
588
|
+
- starter-app/vendor/plugins/spree/test/unit/sku_test.rb
|
589
|
+
- starter-app/vendor/plugins/spree/test/unit/tag_test.rb
|
590
|
+
- starter-app/vendor/plugins/spree/test/unit/tax_treatment_test.rb
|
591
|
+
- starter-app/vendor/plugins/spree/test/unit/txn_test.rb
|
592
|
+
- starter-app/vendor/plugins/spree/test/unit/variation_test.rb
|
593
|
+
- starter-app/vendor/plugins/spree/uninstall.rb
|
594
|
+
- tasks/deployment.rake
|
595
|
+
- tasks/environment.rake
|
596
|
+
- tasks/website.rake
|
597
|
+
- test/test_helper.rb
|
598
|
+
- test/test_railscart.rb
|
599
|
+
has_rdoc: true
|
600
|
+
homepage: http://spree.rubyforge.org
|
601
|
+
post_install_message:
|
602
|
+
rdoc_options:
|
603
|
+
- --main
|
604
|
+
- README.txt
|
605
|
+
require_paths:
|
606
|
+
- lib
|
607
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
608
|
+
requirements:
|
609
|
+
- - ">="
|
610
|
+
- !ruby/object:Gem::Version
|
611
|
+
version: "0"
|
612
|
+
version:
|
613
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
614
|
+
requirements:
|
615
|
+
- - ">="
|
616
|
+
- !ruby/object:Gem::Version
|
617
|
+
version: "0"
|
618
|
+
version:
|
619
|
+
requirements: []
|
620
|
+
|
621
|
+
rubyforge_project: spree
|
622
|
+
rubygems_version: 1.0.1
|
623
|
+
signing_key:
|
624
|
+
specification_version: 2
|
625
|
+
summary: Complete commerce solution for Ruby on Rails
|
626
|
+
test_files:
|
627
|
+
- test/test_helper.rb
|
628
|
+
- test/test_railscart.rb
|