shoppe 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -0
- data/Rakefile +21 -1
- data/app/assets/javascripts/shoppe/application.coffee +5 -0
- data/app/assets/stylesheets/shoppe/application.scss +16 -3
- data/app/assets/stylesheets/shoppe/elements.scss +8 -0
- data/app/assets/stylesheets/shoppe/printable.scss +67 -0
- data/app/controllers/shoppe/application_controller.rb +1 -10
- data/app/controllers/shoppe/orders_controller.rb +4 -0
- data/app/controllers/shoppe/sessions_controller.rb +1 -0
- data/app/controllers/shoppe/settings_controller.rb +12 -0
- data/app/controllers/shoppe/users_controller.rb +2 -2
- data/app/controllers/shoppe/variants_controller.rb +1 -1
- data/app/helpers/shoppe/application_helper.rb +63 -8
- data/app/mailers/shoppe/order_mailer.rb +5 -7
- data/app/mailers/shoppe/user_mailer.rb +2 -2
- data/app/models/shoppe/country.rb +17 -1
- data/app/models/shoppe/delivery_service.rb +15 -0
- data/app/models/shoppe/delivery_service_price.rb +17 -0
- data/app/models/shoppe/order.rb +82 -9
- data/app/models/shoppe/order_item.rb +18 -0
- data/app/models/shoppe/product.rb +26 -1
- data/app/models/shoppe/product/product_attributes.rb +1 -1
- data/app/models/shoppe/product/variants.rb +3 -3
- data/app/models/shoppe/product_attribute.rb +15 -0
- data/app/models/shoppe/product_category.rb +12 -0
- data/app/models/shoppe/setting.rb +59 -0
- data/app/models/shoppe/stock_level_adjustment.rb +15 -0
- data/app/models/shoppe/tax_rate.rb +13 -1
- data/app/models/shoppe/user.rb +13 -0
- data/app/views/layouts/shoppe/application.html.haml +2 -1
- data/app/views/layouts/shoppe/printable.html.haml +11 -0
- data/app/views/shoppe/delivery_service_prices/index.html.haml +1 -1
- data/app/views/shoppe/order_mailer/accepted.text.erb +2 -2
- data/app/views/shoppe/order_mailer/received.text.erb +2 -2
- data/app/views/shoppe/order_mailer/rejected.text.erb +2 -2
- data/app/views/shoppe/order_mailer/shipped.text.erb +2 -2
- data/app/views/shoppe/orders/despatch_note.html.haml +45 -0
- data/app/views/shoppe/orders/index.html.haml +2 -2
- data/app/views/shoppe/orders/show.html.haml +21 -11
- data/app/views/shoppe/settings/edit.html.haml +19 -0
- data/app/views/shoppe/user_mailer/new_password.text.erb +1 -1
- data/app/views/shoppe/variants/form.html.haml +4 -0
- data/config/locales/en.yml +34 -0
- data/config/routes.rb +5 -0
- data/db/migrate/20130926094549_create_shoppe_initial_schema.rb +92 -33
- data/db/seeds.rb +1 -1
- data/lib/shoppe.rb +13 -35
- data/lib/shoppe/engine.rb +6 -6
- data/lib/shoppe/settings.rb +28 -0
- data/lib/shoppe/settings_loader.rb +16 -0
- data/lib/shoppe/setup_generator.rb +0 -4
- data/lib/shoppe/version.rb +1 -1
- data/test/{dummy → app}/README.rdoc +0 -0
- data/test/{dummy → app}/Rakefile +0 -0
- data/test/{dummy → app}/app/assets/javascripts/application.js +0 -0
- data/test/{dummy → app}/app/assets/stylesheets/application.css +0 -0
- data/test/{dummy → app}/app/controllers/application_controller.rb +0 -0
- data/test/{dummy → app}/app/helpers/application_helper.rb +0 -0
- data/test/{dummy → app}/app/views/layouts/application.html.erb +0 -0
- data/test/{dummy → app}/bin/bundle +0 -0
- data/test/{dummy → app}/bin/rails +0 -0
- data/test/{dummy → app}/bin/rake +0 -0
- data/test/{dummy → app}/config.ru +0 -0
- data/test/{dummy → app}/config/application.rb +0 -0
- data/test/{dummy → app}/config/boot.rb +0 -0
- data/test/app/config/database.example.yml +30 -0
- data/test/{dummy → app}/config/database.yml +9 -5
- data/test/{dummy → app}/config/environment.rb +0 -0
- data/test/{dummy → app}/config/environments/development.rb +0 -0
- data/test/{dummy → app}/config/environments/production.rb +0 -0
- data/test/{dummy → app}/config/environments/test.rb +0 -0
- data/test/{dummy → app}/config/initializers/backtrace_silencers.rb +0 -0
- data/test/{dummy → app}/config/initializers/filter_parameter_logging.rb +0 -0
- data/test/{dummy → app}/config/initializers/inflections.rb +0 -0
- data/test/{dummy → app}/config/initializers/mime_types.rb +0 -0
- data/test/{dummy → app}/config/initializers/secret_token.rb +0 -0
- data/test/app/config/initializers/session_store.rb +3 -0
- data/test/{dummy → app}/config/initializers/wrap_parameters.rb +0 -0
- data/test/{dummy → app}/config/locales/en.yml +0 -0
- data/test/{dummy → app}/config/routes.rb +0 -0
- data/{config/shoppe.example.yml → test/app/config/shoppe.yml} +0 -0
- data/test/{dummy → app}/db/development.sqlite3 +0 -0
- data/test/{dummy → app}/db/migrate/20131017165217_create_nifty_attachments_table.rb +0 -0
- data/test/{dummy → app}/db/migrate/20131017165222_create_nifty_key_value_store_table.rb +0 -0
- data/test/{dummy → app}/db/schema.rb +31 -16
- data/test/{dummy → app}/db/test.sqlite3 +0 -0
- data/test/app/log/development.log +8093 -0
- data/test/{dummy → app}/log/test.log +0 -0
- data/test/{dummy → app}/public/404.html +0 -0
- data/test/{dummy → app}/public/422.html +0 -0
- data/test/{dummy → app}/public/500.html +0 -0
- data/test/{dummy → app}/public/favicon.ico +0 -0
- data/test/app/tmp/cache/assets/development/sass/7c98994848dbb534749f971b176724aa382339bb/dialog.scssc +0 -0
- data/test/app/tmp/cache/assets/development/sass/edac894564dae62b78e653a08d1c41f10ade93f9/application.scssc +0 -0
- data/test/app/tmp/cache/assets/development/sass/edac894564dae62b78e653a08d1c41f10ade93f9/dialog.scssc +0 -0
- data/test/app/tmp/cache/assets/development/sass/edac894564dae62b78e653a08d1c41f10ade93f9/elements.scssc +0 -0
- data/test/app/tmp/cache/assets/development/sass/edac894564dae62b78e653a08d1c41f10ade93f9/reset.scssc +0 -0
- data/test/app/tmp/cache/assets/development/sass/edac894564dae62b78e653a08d1c41f10ade93f9/sub.scssc +0 -0
- data/test/app/tmp/cache/assets/development/sass/edac894564dae62b78e653a08d1c41f10ade93f9/variables.scssc +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/06d540cec125e08e63a898c35e8235d6 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/0a6bca3e510625f255083bd154cc470b +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/0d8942b2279b6bc7c68b3db3e2e4c342 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/122a65fdcbb923c3c1cd95549ef52f43 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/140840b7aefa4bf5beda2c32e20374a6 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/160ddfa6141944c4a03757fe91643137 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/1bb0d399b6b81fc3b47ff794b066873f +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/1e1679158bd397a720be46fa3a5876a3 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/2a75ba35f8e751887ba89a914363fefd +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/2cc6ef740b5691af5ee246c0dbc68f14 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/2f80004fb2e2ce07283a83ac15cf920a +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/322295abdd8625fcce4da08f9565cc63 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/421b79f445cd87f3532a5c445877cbec +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/4528fe4a109cad1ff031659cd9eeae17 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/45a9c7dfe9986570daa4c972277375ec +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/48b2cd7153bbc442eaa84c3e24e963e0 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/4c3fef5a3e293ed6b6df3d869f54e1d1 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/4c8cb5cfd87990ebddbaa5b5fd594be5 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/4cefa37a52d669d3ca7e6aa1e1aaf435 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/4ea4f5c13aaeda9a7d39684ab72fa710 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/4ecd1cb66cb36718daadcfba0aa42c1e +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/4ed3cbd180c275b98627eaeea4c9c838 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/519aa2b3c3ab8fd8f065c56507111878 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/51d409a48872319ac6a731aa880e6368 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/55bae604bcb5ccf7d9e0ed0fd61953b6 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/5805d2c402f412642d86ec03a7ec4a3d +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/5cd772b44cdeae4d3b37b62193e946eb +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/5f32b259cbcc52156d2fe21c185d9390 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/656ea3403f27a33b86d5bf9e8a0c0e46 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/679705affe2ad274da1ad48cb5137c21 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/69a687de4cbb95365bf8aa2037d63726 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/69d5224a79e874431294e8adf04e7d65 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/6bc5a76ff13bc4daebb7e164a4b64196 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/6c1a5456c2e5d87285dd1910762fe01e +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/6d52ff2c9298014f2d648eb9e04a61a6 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/7938636d16e11b754d4dd046b89863c4 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/7ce7981501e05438faa017eb2e197379 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/7e232a7b4ac10fe1350e2b9b05ab0b02 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/81d7800826e89041f377af8570b8324f +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/81f524fed55fe63e95c1aeccb5d83571 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/85984636ee801f63af86b35d7697d4c5 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/88de2cf8ce5990c5fa59f7c9f4599a65 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/8932a78ffe18ad2e3bb7ceb90ac4b933 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/8d6fd863923e78438318b02bf83be1c4 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/8f43db1e57a90ffbae3be00a895d5a09 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/91e11940ab63a407af03d21720ac2951 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/938abfdc262a8ab42e768545640bfb2a +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/9e760b9565b110e433b7e42f827cb5f8 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/9e8fbfd56e8ef705ba94bb03b5b3696e +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/9ebbf73fb48cdf8bc07a8bfdd6d14328 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/9f240d481b0818a6da0b1a1aaaac2b54 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/a2b956b30a80f996b5aeb1b2f226775c +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/a5b5ed9849e8019160b73aa554132b37 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/a692ba7ed6cff183bb840c2622233c87 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/a951f4ceb83ae691f002b4f6183bc1ed +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/accc4dc17ef18d0b510917a005340da5 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/b2db166e9974feb35358e7fcce87cb39 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/b519a4f6c5b5a0d9236bdca14e0eb00d +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/b5cbeb3def40b118469fff2d80c1b596 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/b6f65271a0e77b349529ce9148dd2782 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/b9ad7ea18b7e55c3626a15d1dae142ed +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/bc384ea2fdcc667aa4282209caba921f +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/bcf06bf434bb3d3a5769036d6e24b301 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/bd83357635155d3457747e92e47da0ed +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/c39634555e4eba3595350eeea648ddf4 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/c3ef336ca8f7e64969d8bfdcf837ad10 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/c55037904a95162828e5d0b087677878 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/c733f1a2fe9d05a3a634ff64a394f64b +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/c83a337688a52890ba93372fea6ec932 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/ca92d0dbc43c066af9b31f2bc26d038d +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/cae2fc80bfbc81ec7b6c11a72be18c98 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/cd665363677ffcef0dde972284e8d942 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/d5154a1eda9cfbfe54e091d6ead1ac5f +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/daa7fa7a610bc5951cc3c4403f290eb6 +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/dabc0e94bc1e37007351ac756dd2dd6a +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/edf3c55a27678996371bffe56298925b +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/f0f04c3b2b0091fa3ca4a1edacc23a1c +0 -0
- data/test/app/tmp/cache/assets/development/sprockets/f8610737fbfdcb85db95ae7c6a70514e +0 -0
- data/test/app/tmp/restart.txt +0 -0
- data/test/shoppe_test.rb +0 -5
- data/test/test_helper.rb +1 -1
- metadata +298 -98
- data/app/helpers/shoppe/shoppe_helper.rb +0 -30
- data/db/migrate/20131012123829_create_shoppe_product_attributes.rb +0 -11
- data/db/migrate/20131012163301_add_public_boolean_to_product_attributes.rb +0 -5
- data/db/migrate/20131013123937_add_cost_prices_to_various_objects.rb +0 -8
- data/db/migrate/20131013131658_add_stock_control_boolean_to_products.rb +0 -5
- data/db/migrate/20131017144430_create_shoppe_stock_level_adjustments.rb +0 -18
- data/db/migrate/20131017180920_create_shoppe_countries.rb +0 -16
- data/db/migrate/20131017183211_create_shoppe_tax_rates.rb +0 -26
- data/db/migrate/20131020204719_add_countries_to_tax_rates_and_delivery_prices.rb +0 -6
- data/db/migrate/20131021135208_add_notes_to_orders.rb +0 -5
- data/db/migrate/20131022090919_refactor_order_items_to_allow_any_product.rb +0 -6
- data/db/migrate/20131022092904_rename_product_title_to_name.rb +0 -5
- data/db/migrate/20131022093538_stock_level_adjustments_should_be_polymorphic.rb +0 -6
- data/db/migrate/20131022135331_add_parent_id_to_products.rb +0 -5
- data/db/migrate/20131022145653_cost_price_should_be_default_to_zero.rb +0 -9
- data/test/dummy/config/initializers/session_store.rb +0 -3
- data/test/dummy/config/shoppe.yml +0 -7
- data/test/dummy/log/development.log +0 -1162
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.