shoppper 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +28 -0
- data/Rakefile +22 -0
- data/app/assets/config/shopper_manifest.js +2 -0
- data/app/assets/javascripts/shopper/application.js +15 -0
- data/app/assets/stylesheets/shopper/application.css +15 -0
- data/app/commands/shopper/cart_page/add_product.rb +16 -0
- data/app/commands/shopper/cart_page/update_cart.rb +21 -0
- data/app/commands/shopper/cart_page/update_coupon.rb +51 -0
- data/app/commands/shopper/cart_page/update_order_items.rb +31 -0
- data/app/commands/shopper/checkout_page/add_checkout_addresses.rb +62 -0
- data/app/commands/shopper/checkout_page/add_checkout_delivery.rb +18 -0
- data/app/commands/shopper/checkout_page/add_checkout_payment.rb +19 -0
- data/app/commands/shopper/checkout_page/place_order.rb +40 -0
- data/app/commands/shopper/checkout_page/proceed_checkout.rb +14 -0
- data/app/commands/shopper/orders_page/get_orders.rb +34 -0
- data/app/controllers/shopper/cart_controller.rb +29 -0
- data/app/controllers/shopper/checkout_controller.rb +68 -0
- data/app/controllers/shopper/order_item_controller.rb +12 -0
- data/app/controllers/shopper/orders_controller.rb +19 -0
- data/app/controllers/shopper/shopper_controller.rb +4 -0
- data/app/decorators/concerns/shopper/caller_attachable.rb +24 -0
- data/app/decorators/concerns/shopper/view_helpers.rb +15 -0
- data/app/decorators/shopper/cart_page/coupon_decorator.rb +23 -0
- data/app/decorators/shopper/checkout_page/credit_card_decorator.rb +9 -0
- data/app/decorators/shopper/checkout_page/delivery_decorator.rb +28 -0
- data/app/decorators/shopper/items_table/item_decorator.rb +46 -0
- data/app/decorators/shopper/order_details/address_decorator.rb +19 -0
- data/app/decorators/shopper/order_details/order_decorator.rb +45 -0
- data/app/decorators/shopper/order_summary/order_decorator.rb +38 -0
- data/app/decorators/shopper/orders_page/order_decorator.rb +31 -0
- data/app/forms/shopper/address_form.rb +32 -0
- data/app/forms/shopper/coupon_form.rb +12 -0
- data/app/forms/shopper/credit_card_form.rb +36 -0
- data/app/helpers/shopper/application_helper.rb +4 -0
- data/app/jobs/shopper/application_job.rb +4 -0
- data/app/mailers/shopper/checkout_mailer.rb +9 -0
- data/app/models/concerns/shopper/order_aasm.rb +35 -0
- data/app/models/concerns/shopper/order_arithmetic_helpers.rb +24 -0
- data/app/models/concerns/shopper/order_item_arithmetic_helpers.rb +7 -0
- data/app/models/concerns/shopper/order_number.rb +13 -0
- data/app/models/concerns/shopper/order_product_helpers.rb +15 -0
- data/app/models/shopper/address.rb +12 -0
- data/app/models/shopper/application_record.rb +5 -0
- data/app/models/shopper/billing_address.rb +4 -0
- data/app/models/shopper/country.rb +11 -0
- data/app/models/shopper/coupon.rb +13 -0
- data/app/models/shopper/credit_card.rb +9 -0
- data/app/models/shopper/delivery.rb +24 -0
- data/app/models/shopper/order.rb +27 -0
- data/app/models/shopper/order_item.rb +18 -0
- data/app/models/shopper/shipping_address.rb +4 -0
- data/app/presenters/shopper/cart_page/cart_presenter.rb +34 -0
- data/app/presenters/shopper/checkout_page/address_step_presenter.rb +55 -0
- data/app/presenters/shopper/checkout_page/complete_step_presenter.rb +34 -0
- data/app/presenters/shopper/checkout_page/confirm_step_presenter.rb +20 -0
- data/app/presenters/shopper/checkout_page/delivery_step_presenter.rb +16 -0
- data/app/presenters/shopper/checkout_page/payment_step_presenter.rb +16 -0
- data/app/presenters/shopper/checkout_page/progress_presenter.rb +37 -0
- data/app/presenters/shopper/orders_page/order_presenter.rb +28 -0
- data/app/presenters/shopper/orders_page/orders_presenter.rb +17 -0
- data/app/services/shopper/checkout_manager.rb +55 -0
- data/app/validators/shopper/phone_validator.rb +11 -0
- data/app/views/shopper/cart/add_product.js.haml +3 -0
- data/app/views/shopper/cart/show.html.haml +22 -0
- data/app/views/shopper/checkout/_address_fields.html.haml +7 -0
- data/app/views/shopper/checkout/_layout.html.haml +12 -0
- data/app/views/shopper/checkout/address.html.haml +37 -0
- data/app/views/shopper/checkout/complete.html.haml +17 -0
- data/app/views/shopper/checkout/confirm.html.haml +6 -0
- data/app/views/shopper/checkout/delivery.html.haml +35 -0
- data/app/views/shopper/checkout/payment.html.haml +20 -0
- data/app/views/shopper/checkout_mailer/complete.html.haml +5 -0
- data/app/views/shopper/order_item/_table.html.haml +4 -0
- data/app/views/shopper/order_item/_table_desktop.html.haml +40 -0
- data/app/views/shopper/order_item/_table_phone.html.haml +30 -0
- data/app/views/shopper/orders/_details.html.haml +21 -0
- data/app/views/shopper/orders/_summary.html.haml +27 -0
- data/app/views/shopper/orders/index.html.haml +32 -0
- data/app/views/shopper/orders/show.html.haml +4 -0
- data/config/routes.rb +11 -0
- data/db/migrate/20170126000000_create_shopper_countries.rb +11 -0
- data/db/migrate/20170127194802_create_shopper_addresses.rb +19 -0
- data/db/migrate/20170127194999_create_shopper_deliveries.rb +12 -0
- data/db/migrate/20170129160931_create_shopper_orders.rb +14 -0
- data/db/migrate/20170129162148_create_shopper_order_items.rb +14 -0
- data/db/migrate/20170220181741_create_shopper_coupons.rb +11 -0
- data/db/migrate/20170224112113_add_state_to_shopper_orders.rb +5 -0
- data/db/migrate/20170224174654_create_shopper_credit_cards.rb +15 -0
- data/lib/shopper.rb +18 -0
- data/lib/shopper/checkout_wizard.rb +43 -0
- data/lib/shopper/configuration.rb +22 -0
- data/lib/shopper/current_order.rb +47 -0
- data/lib/shopper/engine.rb +21 -0
- data/lib/shopper/model_methods.rb +35 -0
- data/lib/shopper/version.rb +3 -0
- data/lib/tasks/shopper_tasks.rake +4 -0
- data/spec/commands/add_product_spec.rb +39 -0
- data/spec/controllers/cart_controller_spec.rb +34 -0
- data/spec/controllers/order_item_controller_spec.rb +18 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/config/manifest.js +5 -0
- data/spec/dummy/app/assets/images/fallback/product_default.png +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/javascripts/cable.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
- data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +20 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/jobs/application_job.rb +2 -0
- data/spec/dummy/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/app/models/ability.rb +7 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/models/customer.rb +3 -0
- data/spec/dummy/app/models/product.rb +21 -0
- data/spec/dummy/app/views/layouts/application.html.haml +17 -0
- data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/app/views/root/index.html +1 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +34 -0
- data/spec/dummy/bin/update +29 -0
- data/spec/dummy/config.ru +5 -0
- data/spec/dummy/config/application.rb +21 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/cable.yml +9 -0
- data/spec/dummy/config/database.ci.yml +7 -0
- data/spec/dummy/config/database.yml +22 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +54 -0
- data/spec/dummy/config/environments/production.rb +86 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/initializers/application_controller_renderer.rb +6 -0
- data/spec/dummy/config/initializers/assets.rb +11 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/new_framework_defaults.rb +24 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/simple_form.rb +169 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/locales/simple_form.en.yml +31 -0
- data/spec/dummy/config/puma.rb +47 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/config/spring.rb +6 -0
- data/spec/dummy/db/migrate/20170405091757_create_products.rb +10 -0
- data/spec/dummy/db/migrate/20170405160406_create_customers.rb +11 -0
- data/spec/dummy/db/schema.rb +33 -0
- data/spec/dummy/lib/templates/erb/scaffold/_form.html.erb +13 -0
- data/spec/dummy/log/development.log +378 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-5/-5Q4Ub_11IMVDpGB1eI8cCVFFsUlJ8XHRzneSdfWwvA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-u/-uuoXn7BP51SPd9jCpfonUaE46sb8x-w0b34wwdHt9E.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0T/0T0Tt9dfVU3GpS08jbSmEA-3V9YEKDfIoSeIPwG-V5M.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0X/0XswbOgGjXmH1fo5xq93jNgHe48bthciRdbD6tnWCvo.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1c/1ctUiWcG10n8KMVoiqAlIapKLbW5MDV1opGFwHsx34o.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2Z/2ZWFIlXKLDgIwGlnU7FU5aLf_Y1-m4KLYDXG0GdOvcc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2c/2cgrQmg7ldfRivjXyyPNEH2O9Kps6UbeJH-Y9H1GmAs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2l/2ltamKE3DUsifk0Gd4gmMxsgm5yKUZiNdhnSVHq_rVs.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/31/312SvTp1rlNjttuCrjMR-sOiWZ8_7XmiagVfUeNAWfU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4G/4GIZLDG2a1lnDZF2QESc0VLN9oHXztGnjE-LhJAssbk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4R/4RE2lQ9Q_Khn7V4lGNDAW4xVGALXbiqnfOx-mXE831Q.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6U/6UKVmfPR7t8yUajbBceuWKaXogETyIV6Tbp0Mo8sR8A.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6Z/6Zs5ocm3aNgIQhqxQonxR7DfNzImkwFVBFsFSoXJ9nM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6b/6bbfebueG2G5YjKNjtH5pwuc1LEJjKmfpIL4IREIArw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7n/7ncqaz_mmyCQD_AQHpvMs2GXmVS9ETbTrWhH7RWvuYg.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7v/7vrAes6c_ihwe8jMx1yxyRDgWgAmDYBRMlsqqjlOA24.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8t/8tcTiIy9nbujTSsrbowd_m1ZDK-XWxe5KBzu4iWULdg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9H/9H8beH0fozTusUWWhP9agRzmmCJigE63QS3yN6USIVY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/BX/BXeClZZ7pe07EVX5rjMY_bO_Ec1T114oejXtrS7DYLY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/DN/DN6DwzYk58CqQliQANOOcf4LZ9NfwuROLMpG_aIn1iA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/EF/EFDkZUV83NReWDmYJPAbH4QssV1WH7dhLAafE0jMdLE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/F4/F4HRhWWKLcUlE_9fUDcNFndpclhItP7pzduMZ0u0zEg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/F9/F95lTcrn4OEdV2-8CpWRA7Vo_g8Cyy46-JWOiLmNuZ8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/G5/G52PYwE_K5U0GKtgEfZMMMxYvZn20YV8JnDsE8miA8U.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/GY/GYoI8lC94xLeXahTKQmXCYQmEcBTeJVY3rw4Ow29mAk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HI/HIQD3918XDGcbRA7DQnrUx7Ij6_KmqX7A6-Xg8cTgvs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/IG/IGBxZd8bfUKXZ0qApnsHIDYrpmlGh4_stvNLwNClo-Q.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JZ/JZvskjPGda8b9BWf--ABB7K8u8eZWLEY_IGmIwN-lsM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LZ/LZtqwTyBeV780reoWMqU06rIHTuSggj_moLE9aZl4zc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/MH/MHuhgGwsUMEUsXy-NMZLnq_3FmpwQ6Hr-x9Pj2Lg6jQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/MW/MWqLf-tbtXiYTRmuVMVRXCVjAEX6LaEZGlVxS74nM-E.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/OK/OKLY4QbXl_c1lHz1gm6tyYrpRIFU-014RSUQpb9fwyw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ok/OkpxMmj1ovAbbyXiexCJnj0apz54kz8iqahL4c1aXDo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/QI/QI3sr401dtpp_Wc_mTpdvAI5bpraLUIIf8Mv2feBvEw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/R0/R0TSIcvnfF3-QoBBBWQ32DiJLIR8D676f-SkUhprDK8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/RU/RUX4wpSRbADt7-aSjvb97ICl-fCJjPZxe1MNF6pcGOo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/To/To0QY39VWI3mZb6XXZAgOQCJcEj0tv0BJmIiu2oNdbg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/W9/W9krhTTy1IFXT5Q_rF4CifVRj4AVwKeE_F6pln8Rcmg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ws/Wsgy75qmOuCK1Vp25X17Py-pML-11GG3F3e-OYOsfGk.cache +4 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yb/YbBCKCjwVLMTjLflIx-p2w001jnZ2kVbDwnbDTh20ps.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Zi/ZiHXd8AlVOwGmpnKoVXVS3EKEBdo1Ac-Zcp4eiCPnRQ.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_C/_CHENopb4h3hRBPr0mRRTtNBvd64WDGI5v5hMC7PYgs.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/a9/a94GSaPUyrAw0VlSAmwgl4iwDPatPtP7tsesOf07Fuo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bk/bkyxSPKtV8sC84dH7iq0OkFMQzLCJ7DjdUoC6wYHaAA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cE/cEQDNdSRl1tLTsWUUnyDWWXECh-MtIchaMG7PA2kuM8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ch/chgbSC87FkXFMbNWMZJAtU_euvqnCKdUcV4CAjuRZXg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dG/dGcYyTZ1x7nZldIv9CU9P6FILL3BZ_pHeJUEBXOFDtk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eH/eHNL12KXLctBrvH2X9flxNGA4GRJGoyLwqRrxOWLHss.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fm/fmL1Nfucs6nwuozNi61KJ6nEHU8mb3F2SieWSl1sgeY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gg/ggoM7JVi5PFoOTHQGrMmhFwnOSjd_RsNYmV9SpLGNPY.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iH/iHBHhxxOEBtpSeS0MFX4NL9vEfZMaQ72PxSXtbLy4pQ.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/kQ/kQZ9KBvn5nS686f0v-15x3q-XPK9Puu03Od4FRDV_DY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ln/ln7-McEMuq67tYE86JS_5anWVQE-o7kjVzTfmJ-pfYU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/n9/n9fyL8DlM6Ze117bMHweLE2x-4YM5aAW8cT3XYw-de8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nM/nMZGQCxEPqJUI3praZMAm-YNu7TdqkdDhx3WG6J1KLY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/op/opCcAQpH-enBbSXpi0u1AEuA_O2KBuVSFHXlgdw8dNg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qC/qCvelfVAvK45T3Goi7dqiicmsAKQoF9MkLAZtA4LVC0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qI/qIdIIo1-efJi3gqwWbkhmcDlc4qTwuolMYutSBGYrxw.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qP/qPmv5snMrDw830S6hSICDcnIy7kVEWoFKXhGKT38lG4.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qx/qxYROkyCYJzti8DI00LfLhgV7FZgHCmaUnCjB3ayfWM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wd/wdwXC49DcebjF5LPaEs1vqDXCWlq-32hHXfiKvjifno.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wg/wgn7xxwAmTkEhfWm8ujbjnId_c4MherEJuyXwkipOIg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xg/xgrrLe9BN5muIDu9b9ADzAJHJtZFmr-PlDUBSkdJTDM.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/z7/z79WysQah2YzrP7757RmZSO9M_8yzxDJPheGOhMjyXU.cache +1 -0
- data/spec/factories/addresses.rb +14 -0
- data/spec/factories/countries.rb +9 -0
- data/spec/factories/coupons.rb +10 -0
- data/spec/factories/credit_cards.rb +9 -0
- data/spec/factories/customer.rb +12 -0
- data/spec/factories/deliveries.rb +8 -0
- data/spec/factories/order_items.rb +7 -0
- data/spec/factories/orders.rb +42 -0
- data/spec/factories/product.rb +6 -0
- data/spec/features/cart_spec.rb +66 -0
- data/spec/features/checkout_spec.rb +53 -0
- data/spec/forms/credit_card_form_spec.rb +56 -0
- data/spec/models/customer_spec.rb +9 -0
- data/spec/models/product_spec.rb +7 -0
- data/spec/models/shopper/address_spec.rb +14 -0
- data/spec/models/shopper/billing_address_spec.rb +7 -0
- data/spec/models/shopper/country_spec.rb +10 -0
- data/spec/models/shopper/coupon_spec.rb +9 -0
- data/spec/models/shopper/credit_card_spec.rb +7 -0
- data/spec/models/shopper/delivery_spec.rb +28 -0
- data/spec/models/shopper/order_item_spec.rb +18 -0
- data/spec/models/shopper/order_spec.rb +105 -0
- data/spec/models/shopper/shipping_address_spec.rb +7 -0
- data/spec/rails_helper.rb +52 -0
- data/spec/services/checkout_manager_spec.rb +106 -0
- data/spec/spec_helper.rb +99 -0
- data/spec/support/capybara.rb +23 -0
- data/spec/support/database_cleaner.rb +44 -0
- data/spec/support/factory_girl.rb +3 -0
- data/spec/support/macroses/shared_macroses.rb +32 -0
- data/spec/support/macroses/stub_current_order.rb +18 -0
- data/spec/support/rails-controller-testing.rb +7 -0
- data/spec/support/shared_examples/addressable.rb +22 -0
- data/spec/support/shoulda_matchers.rb +4 -0
- data/spec/support/show_me_the_cookies.rb +3 -0
- metadata +855 -0
@@ -0,0 +1,52 @@
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
2
|
+
ENV['RAILS_ENV'] ||= 'test'
|
3
|
+
require File.expand_path('../dummy/config/environment', __FILE__)
|
4
|
+
# Prevent database truncation if the environment is production
|
5
|
+
abort('The Rails environment is running in production mode!') if Rails.env.production?
|
6
|
+
require 'spec_helper'
|
7
|
+
require 'rspec/rails'
|
8
|
+
# Add additional requires below this line. Rails is not loaded until this point!
|
9
|
+
|
10
|
+
require 'factory_girl_rails'
|
11
|
+
require 'capybara/rspec'
|
12
|
+
require 'database_cleaner'
|
13
|
+
require 'ffaker'
|
14
|
+
require 'shoulda-matchers'
|
15
|
+
require 'show_me_the_cookies'
|
16
|
+
require 'rails-controller-testing'
|
17
|
+
|
18
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
19
|
+
|
20
|
+
# Checks for pending migration and applies them before tests are run.
|
21
|
+
# If you are not using ActiveRecord, you can remove this line.
|
22
|
+
ActiveRecord::Migration.maintain_test_schema!
|
23
|
+
|
24
|
+
RSpec.configure do |config|
|
25
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
26
|
+
# config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
27
|
+
|
28
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
29
|
+
# examples within a transaction, remove the following line or assign false
|
30
|
+
# instead of true.
|
31
|
+
# config.use_transactional_fixtures = true
|
32
|
+
|
33
|
+
# RSpec Rails can automatically mix in different behaviours to your tests
|
34
|
+
# based on their file location, for example enabling you to call `get` and
|
35
|
+
# `post` in specs under `spec/controllers`.
|
36
|
+
#
|
37
|
+
# You can disable this behaviour by removing the line below, and instead
|
38
|
+
# explicitly tag your specs with their type, e.g.:
|
39
|
+
#
|
40
|
+
# RSpec.describe UsersController, :type => :controller do
|
41
|
+
# # ...
|
42
|
+
# end
|
43
|
+
#
|
44
|
+
# The different available types are documented in the features, such as in
|
45
|
+
# https://relishapp.com/rspec/rspec-rails/docs
|
46
|
+
config.infer_spec_type_from_file_location!
|
47
|
+
|
48
|
+
# Filter lines from Rails gems in backtraces.
|
49
|
+
config.filter_rails_from_backtrace!
|
50
|
+
# arbitrary gems may also be filtered via:
|
51
|
+
# config.filter_gems_from_backtrace("gem name")
|
52
|
+
end
|
@@ -0,0 +1,106 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
module Shopper
|
4
|
+
RSpec.describe CheckoutManager do
|
5
|
+
context '#minimal_accessible_step_index' do
|
6
|
+
subject { CheckoutManager.new(nil) }
|
7
|
+
|
8
|
+
before do
|
9
|
+
expect(subject).to receive(:steps_with_completeness) { {
|
10
|
+
address: true,
|
11
|
+
delivery: false,
|
12
|
+
payment: true,
|
13
|
+
confirm: false
|
14
|
+
} }
|
15
|
+
end
|
16
|
+
|
17
|
+
it '..' do
|
18
|
+
expect(subject.send(:minimal_accessible_step_index)).to eq 1
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
context '#minimal_accessible_step' do
|
23
|
+
subject do
|
24
|
+
CheckoutManager.new(order).method(:minimal_accessible_step)
|
25
|
+
end
|
26
|
+
|
27
|
+
context 'order doesnt have addresses' do
|
28
|
+
let(:order) { create :order }
|
29
|
+
|
30
|
+
it 'return :addresses' do
|
31
|
+
expect(subject.call).to eq :address
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
context 'order doesnt have addresses' do
|
36
|
+
let(:order) { create :order, :with_addresses }
|
37
|
+
|
38
|
+
it 'return :addresses' do
|
39
|
+
expect(subject.call).to eq :delivery
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
context '#can_access?' do
|
45
|
+
context 'user doesnt fill anything' do
|
46
|
+
let(:order) { create :order }
|
47
|
+
|
48
|
+
{
|
49
|
+
address: true,
|
50
|
+
delivery: false,
|
51
|
+
payment: false,
|
52
|
+
confirm: false
|
53
|
+
}.each do |step, expectation|
|
54
|
+
send :it, "with #{step} should return #{expectation}" do
|
55
|
+
expect(CheckoutManager.new(order).can_access?(step)).to eq expectation
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
context 'user fill addresses' do
|
61
|
+
let(:order) { create :order, :with_addresses }
|
62
|
+
|
63
|
+
{
|
64
|
+
address: true,
|
65
|
+
delivery: true,
|
66
|
+
payment: false,
|
67
|
+
confirm: false
|
68
|
+
}.each do |step, expectation|
|
69
|
+
send :it, "with #{step} should return #{expectation}" do
|
70
|
+
expect(CheckoutManager.new(order).can_access?(step)).to eq expectation
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
context 'user fill addresses and delivery' do
|
76
|
+
let(:order) { create :order, :with_addresses, :with_delivery }
|
77
|
+
|
78
|
+
{
|
79
|
+
address: true,
|
80
|
+
delivery: true,
|
81
|
+
payment: true,
|
82
|
+
confirm: false
|
83
|
+
}.each do |step, expectation|
|
84
|
+
send :it, "with #{step} should return #{expectation}" do
|
85
|
+
expect(CheckoutManager.new(order).can_access?(step)).to eq expectation
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
context 'user fill addresses and delivery and credit_card' do
|
91
|
+
let(:order) { create :order, :with_addresses, :with_delivery, :with_credit_card }
|
92
|
+
|
93
|
+
{
|
94
|
+
address: true,
|
95
|
+
delivery: true,
|
96
|
+
payment: true,
|
97
|
+
confirm: true
|
98
|
+
}.each do |step, expectation|
|
99
|
+
send :it, "with #{step} should return #{expectation}" do
|
100
|
+
expect(CheckoutManager.new(order).can_access?(step)).to eq expectation
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
4
|
+
# this file to always be loaded, without a need to explicitly require it in any
|
5
|
+
# files.
|
6
|
+
#
|
7
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
8
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
9
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
10
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
11
|
+
# a separate helper file that requires the additional dependencies and performs
|
12
|
+
# the additional setup, and require it from the spec files that actually need
|
13
|
+
# it.
|
14
|
+
#
|
15
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
16
|
+
# users commonly want.
|
17
|
+
#
|
18
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
19
|
+
RSpec.configure do |config|
|
20
|
+
# rspec-expectations config goes here. You can use an alternate
|
21
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
22
|
+
# assertions if you prefer.
|
23
|
+
config.expect_with :rspec do |expectations|
|
24
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
25
|
+
# and `failure_message` of custom matchers include text for helper methods
|
26
|
+
# defined using `chain`, e.g.:
|
27
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
28
|
+
# # => "be bigger than 2 and smaller than 4"
|
29
|
+
# ...rather than:
|
30
|
+
# # => "be bigger than 2"
|
31
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
32
|
+
end
|
33
|
+
|
34
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
35
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
36
|
+
config.mock_with :rspec do |mocks|
|
37
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
38
|
+
# a real object. This is generally recommended, and will default to
|
39
|
+
# `true` in RSpec 4.
|
40
|
+
mocks.verify_partial_doubles = true
|
41
|
+
end
|
42
|
+
|
43
|
+
# This option will default to `:apply_to_host_groups` in RSpec 4 (and will
|
44
|
+
# have no way to turn it off -- the option exists only for backwards
|
45
|
+
# compatibility in RSpec 3). It causes shared context metadata to be
|
46
|
+
# inherited by the metadata hash of host groups and examples, rather than
|
47
|
+
# triggering implicit auto-inclusion in groups with matching metadata.
|
48
|
+
config.shared_context_metadata_behavior = :apply_to_host_groups
|
49
|
+
|
50
|
+
# The settings below are suggested to provide a good initial experience
|
51
|
+
# with RSpec, but feel free to customize to your heart's content.
|
52
|
+
=begin
|
53
|
+
# This allows you to limit a spec run to individual examples or groups
|
54
|
+
# you care about by tagging them with `:focus` metadata. When nothing
|
55
|
+
# is tagged with `:focus`, all examples get run. RSpec also provides
|
56
|
+
# aliases for `it`, `describe`, and `context` that include `:focus`
|
57
|
+
# metadata: `fit`, `fdescribe` and `fcontext`, respectively.
|
58
|
+
config.filter_run_when_matching :focus
|
59
|
+
|
60
|
+
# Allows RSpec to persist some state between runs in order to support
|
61
|
+
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
62
|
+
# you configure your source control system to ignore this file.
|
63
|
+
config.example_status_persistence_file_path = "spec/examples.txt"
|
64
|
+
|
65
|
+
# Limits the available syntax to the non-monkey patched syntax that is
|
66
|
+
# recommended. For more details, see:
|
67
|
+
# - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
68
|
+
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
69
|
+
# - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
70
|
+
config.disable_monkey_patching!
|
71
|
+
|
72
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
73
|
+
# file, and it's useful to allow more verbose output when running an
|
74
|
+
# individual spec file.
|
75
|
+
if config.files_to_run.one?
|
76
|
+
# Use the documentation formatter for detailed output,
|
77
|
+
# unless a formatter has already been configured
|
78
|
+
# (e.g. via a command-line flag).
|
79
|
+
config.default_formatter = 'doc'
|
80
|
+
end
|
81
|
+
|
82
|
+
# Print the 10 slowest examples and example groups at the
|
83
|
+
# end of the spec run, to help surface which specs are running
|
84
|
+
# particularly slow.
|
85
|
+
config.profile_examples = 10
|
86
|
+
|
87
|
+
# Run specs in random order to surface order dependencies. If you find an
|
88
|
+
# order dependency and want to debug it, you can fix the order by providing
|
89
|
+
# the seed, which is printed after each run.
|
90
|
+
# --seed 1234
|
91
|
+
config.order = :random
|
92
|
+
|
93
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
94
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
95
|
+
# test failures related to randomization by passing the same `--seed` value
|
96
|
+
# as the one that triggered the failure.
|
97
|
+
Kernel.srand config.seed
|
98
|
+
=end
|
99
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'capybara/poltergeist'
|
2
|
+
|
3
|
+
if ENV['RSPEC_SELENIUM']
|
4
|
+
Capybara.register_driver :selenium_chrome do |app|
|
5
|
+
Capybara::Selenium::Driver.new(app, browser: :chrome)
|
6
|
+
end
|
7
|
+
Capybara.default_driver = :selenium_chrome
|
8
|
+
Capybara.javascript_driver = :selenium_chrome
|
9
|
+
else
|
10
|
+
Capybara.default_driver = :poltergeist
|
11
|
+
Capybara.javascript_driver = :poltergeist
|
12
|
+
end
|
13
|
+
|
14
|
+
# for email testing
|
15
|
+
Capybara.server_port = 3001
|
16
|
+
Capybara.app_host = 'http://localhost:3001'
|
17
|
+
|
18
|
+
# Capybara::Webkit.configure do |config|
|
19
|
+
# config.block_unknown_urls
|
20
|
+
# # config.allow_url('w2.yotpo.com')
|
21
|
+
# # config.allow_url('staticw2.yotpo.com')
|
22
|
+
# # config.allow_url('fonts.googleapis.com')
|
23
|
+
# end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
RSpec.configure do |config|
|
2
|
+
config.use_transactional_fixtures = false
|
3
|
+
|
4
|
+
config.before(:suite) do
|
5
|
+
if config.use_transactional_fixtures?
|
6
|
+
raise(<<-MSG)
|
7
|
+
Delete line `config.use_transactional_fixtures = true` from rails_helper.rb
|
8
|
+
(or set it to false) to prevent uncommitted transactions being used in
|
9
|
+
JavaScript-dependent specs.
|
10
|
+
|
11
|
+
During testing, the app-under-test that the browser driver connects to
|
12
|
+
uses a different database connection to the database connection used by
|
13
|
+
the spec. The app's database connection would not be able to access
|
14
|
+
uncommitted transaction data setup over the spec's database connection.
|
15
|
+
MSG
|
16
|
+
end
|
17
|
+
DatabaseCleaner.clean_with(:truncation)
|
18
|
+
end
|
19
|
+
|
20
|
+
config.before(:each) do
|
21
|
+
DatabaseCleaner.strategy = :truncation, { pre_count: true, reset_ids: true }
|
22
|
+
end
|
23
|
+
|
24
|
+
config.before(:each, type: :feature) do
|
25
|
+
# :rack_test driver's Rack app under test shares database connection
|
26
|
+
# with the specs, so continue to use transaction strategy for speed.
|
27
|
+
driver_shares_db_connection_with_specs = Capybara.current_driver == :rack_test
|
28
|
+
|
29
|
+
if !driver_shares_db_connection_with_specs
|
30
|
+
# Driver is probably for an external browser with an app
|
31
|
+
# under test that does *not* share a database connection with the
|
32
|
+
# specs, so use truncation strategy.
|
33
|
+
DatabaseCleaner.strategy = :truncation
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
config.before(:each) do
|
38
|
+
DatabaseCleaner.start
|
39
|
+
end
|
40
|
+
|
41
|
+
config.append_after(:each) do
|
42
|
+
DatabaseCleaner.clean
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
module SharedMacroses
|
2
|
+
def fill_address(addressable, type, address, country)
|
3
|
+
fill_in "#{addressable}[#{type}][first_name]", with: address[:first_name]
|
4
|
+
fill_in "#{addressable}[#{type}][last_name]", with: address[:last_name]
|
5
|
+
fill_in "#{addressable}[#{type}][street]", with: address[:street]
|
6
|
+
fill_in "#{addressable}[#{type}][city]", with: address[:city]
|
7
|
+
find(:css, "##{addressable}_#{type}_country_id").select(country.name)
|
8
|
+
fill_in "#{addressable}[#{type}][zip]", with: address[:zip]
|
9
|
+
fill_in "#{addressable}[#{type}][phone]", with: address[:phone]
|
10
|
+
end
|
11
|
+
|
12
|
+
def fill_card(card)
|
13
|
+
fill_in 'order[card][number]', with: card[:number]
|
14
|
+
fill_in 'order[card][name]', with: card[:name]
|
15
|
+
fill_in 'order[card][expiration_date]', with: card[:expiration_date]
|
16
|
+
.strftime(Shopper::CreditCardForm::DATE_FORMAT)
|
17
|
+
fill_in 'order[card][cvv]', with: card[:cvv]
|
18
|
+
end
|
19
|
+
|
20
|
+
def click_checkbox
|
21
|
+
find('.checkbox-icon').click
|
22
|
+
end
|
23
|
+
|
24
|
+
def reload_page
|
25
|
+
sleep 0.1 if Capybara.current_driver == :poltergeist
|
26
|
+
page.evaluate_script('window.location.reload()')
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
RSpec.configure do |config|
|
31
|
+
config.include SharedMacroses, type: :feature
|
32
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module CurrentOrderMacrosFeature
|
2
|
+
def stub_current_order_with(order)
|
3
|
+
# selenium cant set cookie without page, poltergeist - vice versa
|
4
|
+
visit('/') if Capybara.current_driver == :selenium_chrome
|
5
|
+
create_cookie(Shopper::CurrentOrder::KEY, order.id)
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
module CurrentOrderMacrosController
|
10
|
+
def stub_current_order_with(order)
|
11
|
+
allow_any_instance_of(ApplicationController).to receive(:current_order).and_return(order)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
RSpec.configure do |config|
|
16
|
+
config.include CurrentOrderMacrosFeature, type: :feature
|
17
|
+
config.include CurrentOrderMacrosController, type: :controller
|
18
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
RSpec.configure do |config|
|
2
|
+
[:controller, :view, :request].each do |type|
|
3
|
+
config.include ::Rails::Controller::Testing::TestProcess, :type => type
|
4
|
+
config.include ::Rails::Controller::Testing::TemplateAssertions, :type => type
|
5
|
+
config.include ::Rails::Controller::Testing::Integration, :type => type
|
6
|
+
end
|
7
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
RSpec.shared_examples 'addressable' do
|
2
|
+
it { should have_one(:billing_address).dependent(:destroy) }
|
3
|
+
it { should have_one(:shipping_address).dependent(:destroy) }
|
4
|
+
|
5
|
+
describe 'addresses' do
|
6
|
+
subject do
|
7
|
+
name = described_class.name.split(':').last.downcase.to_sym
|
8
|
+
create name, :with_addresses
|
9
|
+
end
|
10
|
+
|
11
|
+
it 'can create and delete addresses' do
|
12
|
+
expect(subject.billing_address.type).to eq 'Shopper::BillingAddress'
|
13
|
+
subject.billing_address.delete
|
14
|
+
subject.reload
|
15
|
+
expect(subject.billing_address).to eq nil
|
16
|
+
expect(subject.shipping_address).to be_present
|
17
|
+
expect(subject.shipping_address.type).to eq 'Shopper::ShippingAddress'
|
18
|
+
expect(subject.shipping_address.addressable_type).to eq described_class.name
|
19
|
+
expect(subject.shipping_address.addressable).to eq subject
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
metadata
ADDED
@@ -0,0 +1,855 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: shoppper
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- BjornMelgaard
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-02-14 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 5.0.2
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 5.0.2
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: aasm
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: haml
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: wicked
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: haml-rails
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: responders
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rectify
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: cancancan
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: simple_form
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: uglifier
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 1.3.0
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.3.0
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: coffee-rails
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '4.2'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '4.2'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: jquery-rails
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: credit_card_validations
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: pg
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: awesome_pry
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: rspec-rails
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: rails-controller-testing
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: poltergeist
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ">="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
type: :development
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0'
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
name: selenium-webdriver
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - ">="
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '0'
|
272
|
+
type: :development
|
273
|
+
prerelease: false
|
274
|
+
version_requirements: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - ">="
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '0'
|
279
|
+
- !ruby/object:Gem::Dependency
|
280
|
+
name: chromedriver-helper
|
281
|
+
requirement: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - ">="
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
286
|
+
type: :development
|
287
|
+
prerelease: false
|
288
|
+
version_requirements: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - ">="
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '0'
|
293
|
+
- !ruby/object:Gem::Dependency
|
294
|
+
name: capybara-screenshot
|
295
|
+
requirement: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - ">="
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: '0'
|
300
|
+
type: :development
|
301
|
+
prerelease: false
|
302
|
+
version_requirements: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - ">="
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: '0'
|
307
|
+
- !ruby/object:Gem::Dependency
|
308
|
+
name: shoulda-matchers
|
309
|
+
requirement: !ruby/object:Gem::Requirement
|
310
|
+
requirements:
|
311
|
+
- - ">="
|
312
|
+
- !ruby/object:Gem::Version
|
313
|
+
version: '0'
|
314
|
+
type: :development
|
315
|
+
prerelease: false
|
316
|
+
version_requirements: !ruby/object:Gem::Requirement
|
317
|
+
requirements:
|
318
|
+
- - ">="
|
319
|
+
- !ruby/object:Gem::Version
|
320
|
+
version: '0'
|
321
|
+
- !ruby/object:Gem::Dependency
|
322
|
+
name: database_cleaner
|
323
|
+
requirement: !ruby/object:Gem::Requirement
|
324
|
+
requirements:
|
325
|
+
- - ">="
|
326
|
+
- !ruby/object:Gem::Version
|
327
|
+
version: '0'
|
328
|
+
type: :development
|
329
|
+
prerelease: false
|
330
|
+
version_requirements: !ruby/object:Gem::Requirement
|
331
|
+
requirements:
|
332
|
+
- - ">="
|
333
|
+
- !ruby/object:Gem::Version
|
334
|
+
version: '0'
|
335
|
+
- !ruby/object:Gem::Dependency
|
336
|
+
name: fuubar
|
337
|
+
requirement: !ruby/object:Gem::Requirement
|
338
|
+
requirements:
|
339
|
+
- - ">="
|
340
|
+
- !ruby/object:Gem::Version
|
341
|
+
version: '0'
|
342
|
+
type: :development
|
343
|
+
prerelease: false
|
344
|
+
version_requirements: !ruby/object:Gem::Requirement
|
345
|
+
requirements:
|
346
|
+
- - ">="
|
347
|
+
- !ruby/object:Gem::Version
|
348
|
+
version: '0'
|
349
|
+
- !ruby/object:Gem::Dependency
|
350
|
+
name: show_me_the_cookies
|
351
|
+
requirement: !ruby/object:Gem::Requirement
|
352
|
+
requirements:
|
353
|
+
- - ">="
|
354
|
+
- !ruby/object:Gem::Version
|
355
|
+
version: '0'
|
356
|
+
type: :development
|
357
|
+
prerelease: false
|
358
|
+
version_requirements: !ruby/object:Gem::Requirement
|
359
|
+
requirements:
|
360
|
+
- - ">="
|
361
|
+
- !ruby/object:Gem::Version
|
362
|
+
version: '0'
|
363
|
+
- !ruby/object:Gem::Dependency
|
364
|
+
name: factory_girl_rails
|
365
|
+
requirement: !ruby/object:Gem::Requirement
|
366
|
+
requirements:
|
367
|
+
- - ">="
|
368
|
+
- !ruby/object:Gem::Version
|
369
|
+
version: '0'
|
370
|
+
type: :development
|
371
|
+
prerelease: false
|
372
|
+
version_requirements: !ruby/object:Gem::Requirement
|
373
|
+
requirements:
|
374
|
+
- - ">="
|
375
|
+
- !ruby/object:Gem::Version
|
376
|
+
version: '0'
|
377
|
+
- !ruby/object:Gem::Dependency
|
378
|
+
name: ffaker
|
379
|
+
requirement: !ruby/object:Gem::Requirement
|
380
|
+
requirements:
|
381
|
+
- - ">="
|
382
|
+
- !ruby/object:Gem::Version
|
383
|
+
version: '0'
|
384
|
+
type: :development
|
385
|
+
prerelease: false
|
386
|
+
version_requirements: !ruby/object:Gem::Requirement
|
387
|
+
requirements:
|
388
|
+
- - ">="
|
389
|
+
- !ruby/object:Gem::Version
|
390
|
+
version: '0'
|
391
|
+
description: hmm
|
392
|
+
email:
|
393
|
+
- melgaardbjorn@gmail.com
|
394
|
+
executables: []
|
395
|
+
extensions: []
|
396
|
+
extra_rdoc_files: []
|
397
|
+
files:
|
398
|
+
- MIT-LICENSE
|
399
|
+
- README.md
|
400
|
+
- Rakefile
|
401
|
+
- app/assets/config/shopper_manifest.js
|
402
|
+
- app/assets/javascripts/shopper/application.js
|
403
|
+
- app/assets/stylesheets/shopper/application.css
|
404
|
+
- app/commands/shopper/cart_page/add_product.rb
|
405
|
+
- app/commands/shopper/cart_page/update_cart.rb
|
406
|
+
- app/commands/shopper/cart_page/update_coupon.rb
|
407
|
+
- app/commands/shopper/cart_page/update_order_items.rb
|
408
|
+
- app/commands/shopper/checkout_page/add_checkout_addresses.rb
|
409
|
+
- app/commands/shopper/checkout_page/add_checkout_delivery.rb
|
410
|
+
- app/commands/shopper/checkout_page/add_checkout_payment.rb
|
411
|
+
- app/commands/shopper/checkout_page/place_order.rb
|
412
|
+
- app/commands/shopper/checkout_page/proceed_checkout.rb
|
413
|
+
- app/commands/shopper/orders_page/get_orders.rb
|
414
|
+
- app/controllers/shopper/cart_controller.rb
|
415
|
+
- app/controllers/shopper/checkout_controller.rb
|
416
|
+
- app/controllers/shopper/order_item_controller.rb
|
417
|
+
- app/controllers/shopper/orders_controller.rb
|
418
|
+
- app/controllers/shopper/shopper_controller.rb
|
419
|
+
- app/decorators/concerns/shopper/caller_attachable.rb
|
420
|
+
- app/decorators/concerns/shopper/view_helpers.rb
|
421
|
+
- app/decorators/shopper/cart_page/coupon_decorator.rb
|
422
|
+
- app/decorators/shopper/checkout_page/credit_card_decorator.rb
|
423
|
+
- app/decorators/shopper/checkout_page/delivery_decorator.rb
|
424
|
+
- app/decorators/shopper/items_table/item_decorator.rb
|
425
|
+
- app/decorators/shopper/order_details/address_decorator.rb
|
426
|
+
- app/decorators/shopper/order_details/order_decorator.rb
|
427
|
+
- app/decorators/shopper/order_summary/order_decorator.rb
|
428
|
+
- app/decorators/shopper/orders_page/order_decorator.rb
|
429
|
+
- app/forms/shopper/address_form.rb
|
430
|
+
- app/forms/shopper/coupon_form.rb
|
431
|
+
- app/forms/shopper/credit_card_form.rb
|
432
|
+
- app/helpers/shopper/application_helper.rb
|
433
|
+
- app/jobs/shopper/application_job.rb
|
434
|
+
- app/mailers/shopper/checkout_mailer.rb
|
435
|
+
- app/models/concerns/shopper/order_aasm.rb
|
436
|
+
- app/models/concerns/shopper/order_arithmetic_helpers.rb
|
437
|
+
- app/models/concerns/shopper/order_item_arithmetic_helpers.rb
|
438
|
+
- app/models/concerns/shopper/order_number.rb
|
439
|
+
- app/models/concerns/shopper/order_product_helpers.rb
|
440
|
+
- app/models/shopper/address.rb
|
441
|
+
- app/models/shopper/application_record.rb
|
442
|
+
- app/models/shopper/billing_address.rb
|
443
|
+
- app/models/shopper/country.rb
|
444
|
+
- app/models/shopper/coupon.rb
|
445
|
+
- app/models/shopper/credit_card.rb
|
446
|
+
- app/models/shopper/delivery.rb
|
447
|
+
- app/models/shopper/order.rb
|
448
|
+
- app/models/shopper/order_item.rb
|
449
|
+
- app/models/shopper/shipping_address.rb
|
450
|
+
- app/presenters/shopper/cart_page/cart_presenter.rb
|
451
|
+
- app/presenters/shopper/checkout_page/address_step_presenter.rb
|
452
|
+
- app/presenters/shopper/checkout_page/complete_step_presenter.rb
|
453
|
+
- app/presenters/shopper/checkout_page/confirm_step_presenter.rb
|
454
|
+
- app/presenters/shopper/checkout_page/delivery_step_presenter.rb
|
455
|
+
- app/presenters/shopper/checkout_page/payment_step_presenter.rb
|
456
|
+
- app/presenters/shopper/checkout_page/progress_presenter.rb
|
457
|
+
- app/presenters/shopper/orders_page/order_presenter.rb
|
458
|
+
- app/presenters/shopper/orders_page/orders_presenter.rb
|
459
|
+
- app/services/shopper/checkout_manager.rb
|
460
|
+
- app/validators/shopper/phone_validator.rb
|
461
|
+
- app/views/shopper/cart/add_product.js.haml
|
462
|
+
- app/views/shopper/cart/show.html.haml
|
463
|
+
- app/views/shopper/checkout/_address_fields.html.haml
|
464
|
+
- app/views/shopper/checkout/_layout.html.haml
|
465
|
+
- app/views/shopper/checkout/address.html.haml
|
466
|
+
- app/views/shopper/checkout/complete.html.haml
|
467
|
+
- app/views/shopper/checkout/confirm.html.haml
|
468
|
+
- app/views/shopper/checkout/delivery.html.haml
|
469
|
+
- app/views/shopper/checkout/payment.html.haml
|
470
|
+
- app/views/shopper/checkout_mailer/complete.html.haml
|
471
|
+
- app/views/shopper/order_item/_table.html.haml
|
472
|
+
- app/views/shopper/order_item/_table_desktop.html.haml
|
473
|
+
- app/views/shopper/order_item/_table_phone.html.haml
|
474
|
+
- app/views/shopper/orders/_details.html.haml
|
475
|
+
- app/views/shopper/orders/_summary.html.haml
|
476
|
+
- app/views/shopper/orders/index.html.haml
|
477
|
+
- app/views/shopper/orders/show.html.haml
|
478
|
+
- config/routes.rb
|
479
|
+
- db/migrate/20170126000000_create_shopper_countries.rb
|
480
|
+
- db/migrate/20170127194802_create_shopper_addresses.rb
|
481
|
+
- db/migrate/20170127194999_create_shopper_deliveries.rb
|
482
|
+
- db/migrate/20170129160931_create_shopper_orders.rb
|
483
|
+
- db/migrate/20170129162148_create_shopper_order_items.rb
|
484
|
+
- db/migrate/20170220181741_create_shopper_coupons.rb
|
485
|
+
- db/migrate/20170224112113_add_state_to_shopper_orders.rb
|
486
|
+
- db/migrate/20170224174654_create_shopper_credit_cards.rb
|
487
|
+
- lib/shopper.rb
|
488
|
+
- lib/shopper/checkout_wizard.rb
|
489
|
+
- lib/shopper/configuration.rb
|
490
|
+
- lib/shopper/current_order.rb
|
491
|
+
- lib/shopper/engine.rb
|
492
|
+
- lib/shopper/model_methods.rb
|
493
|
+
- lib/shopper/version.rb
|
494
|
+
- lib/tasks/shopper_tasks.rake
|
495
|
+
- spec/commands/add_product_spec.rb
|
496
|
+
- spec/controllers/cart_controller_spec.rb
|
497
|
+
- spec/controllers/order_item_controller_spec.rb
|
498
|
+
- spec/dummy/Rakefile
|
499
|
+
- spec/dummy/app/assets/config/manifest.js
|
500
|
+
- spec/dummy/app/assets/images/fallback/product_default.png
|
501
|
+
- spec/dummy/app/assets/javascripts/application.js
|
502
|
+
- spec/dummy/app/assets/javascripts/cable.js
|
503
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
504
|
+
- spec/dummy/app/channels/application_cable/channel.rb
|
505
|
+
- spec/dummy/app/channels/application_cable/connection.rb
|
506
|
+
- spec/dummy/app/controllers/application_controller.rb
|
507
|
+
- spec/dummy/app/helpers/application_helper.rb
|
508
|
+
- spec/dummy/app/jobs/application_job.rb
|
509
|
+
- spec/dummy/app/mailers/application_mailer.rb
|
510
|
+
- spec/dummy/app/models/ability.rb
|
511
|
+
- spec/dummy/app/models/application_record.rb
|
512
|
+
- spec/dummy/app/models/customer.rb
|
513
|
+
- spec/dummy/app/models/product.rb
|
514
|
+
- spec/dummy/app/views/layouts/application.html.haml
|
515
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
516
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
517
|
+
- spec/dummy/app/views/root/index.html
|
518
|
+
- spec/dummy/bin/bundle
|
519
|
+
- spec/dummy/bin/rails
|
520
|
+
- spec/dummy/bin/rake
|
521
|
+
- spec/dummy/bin/setup
|
522
|
+
- spec/dummy/bin/update
|
523
|
+
- spec/dummy/config.ru
|
524
|
+
- spec/dummy/config/application.rb
|
525
|
+
- spec/dummy/config/boot.rb
|
526
|
+
- spec/dummy/config/cable.yml
|
527
|
+
- spec/dummy/config/database.ci.yml
|
528
|
+
- spec/dummy/config/database.yml
|
529
|
+
- spec/dummy/config/environment.rb
|
530
|
+
- spec/dummy/config/environments/development.rb
|
531
|
+
- spec/dummy/config/environments/production.rb
|
532
|
+
- spec/dummy/config/environments/test.rb
|
533
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
534
|
+
- spec/dummy/config/initializers/assets.rb
|
535
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
536
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
537
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
538
|
+
- spec/dummy/config/initializers/inflections.rb
|
539
|
+
- spec/dummy/config/initializers/mime_types.rb
|
540
|
+
- spec/dummy/config/initializers/new_framework_defaults.rb
|
541
|
+
- spec/dummy/config/initializers/session_store.rb
|
542
|
+
- spec/dummy/config/initializers/simple_form.rb
|
543
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
544
|
+
- spec/dummy/config/locales/en.yml
|
545
|
+
- spec/dummy/config/locales/simple_form.en.yml
|
546
|
+
- spec/dummy/config/puma.rb
|
547
|
+
- spec/dummy/config/routes.rb
|
548
|
+
- spec/dummy/config/secrets.yml
|
549
|
+
- spec/dummy/config/spring.rb
|
550
|
+
- spec/dummy/db/migrate/20170405091757_create_products.rb
|
551
|
+
- spec/dummy/db/migrate/20170405160406_create_customers.rb
|
552
|
+
- spec/dummy/db/schema.rb
|
553
|
+
- spec/dummy/lib/templates/erb/scaffold/_form.html.erb
|
554
|
+
- spec/dummy/log/development.log
|
555
|
+
- spec/dummy/public/404.html
|
556
|
+
- spec/dummy/public/422.html
|
557
|
+
- spec/dummy/public/500.html
|
558
|
+
- spec/dummy/public/apple-touch-icon-precomposed.png
|
559
|
+
- spec/dummy/public/apple-touch-icon.png
|
560
|
+
- spec/dummy/public/favicon.ico
|
561
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/-5/-5Q4Ub_11IMVDpGB1eI8cCVFFsUlJ8XHRzneSdfWwvA.cache
|
562
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/-u/-uuoXn7BP51SPd9jCpfonUaE46sb8x-w0b34wwdHt9E.cache
|
563
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/0T/0T0Tt9dfVU3GpS08jbSmEA-3V9YEKDfIoSeIPwG-V5M.cache
|
564
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/0X/0XswbOgGjXmH1fo5xq93jNgHe48bthciRdbD6tnWCvo.cache
|
565
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/1c/1ctUiWcG10n8KMVoiqAlIapKLbW5MDV1opGFwHsx34o.cache
|
566
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/2Z/2ZWFIlXKLDgIwGlnU7FU5aLf_Y1-m4KLYDXG0GdOvcc.cache
|
567
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/2c/2cgrQmg7ldfRivjXyyPNEH2O9Kps6UbeJH-Y9H1GmAs.cache
|
568
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/2l/2ltamKE3DUsifk0Gd4gmMxsgm5yKUZiNdhnSVHq_rVs.cache
|
569
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/31/312SvTp1rlNjttuCrjMR-sOiWZ8_7XmiagVfUeNAWfU.cache
|
570
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/4G/4GIZLDG2a1lnDZF2QESc0VLN9oHXztGnjE-LhJAssbk.cache
|
571
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/4R/4RE2lQ9Q_Khn7V4lGNDAW4xVGALXbiqnfOx-mXE831Q.cache
|
572
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/6U/6UKVmfPR7t8yUajbBceuWKaXogETyIV6Tbp0Mo8sR8A.cache
|
573
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/6Z/6Zs5ocm3aNgIQhqxQonxR7DfNzImkwFVBFsFSoXJ9nM.cache
|
574
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/6b/6bbfebueG2G5YjKNjtH5pwuc1LEJjKmfpIL4IREIArw.cache
|
575
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/7n/7ncqaz_mmyCQD_AQHpvMs2GXmVS9ETbTrWhH7RWvuYg.cache
|
576
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/7v/7vrAes6c_ihwe8jMx1yxyRDgWgAmDYBRMlsqqjlOA24.cache
|
577
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/8t/8tcTiIy9nbujTSsrbowd_m1ZDK-XWxe5KBzu4iWULdg.cache
|
578
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/9H/9H8beH0fozTusUWWhP9agRzmmCJigE63QS3yN6USIVY.cache
|
579
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/BX/BXeClZZ7pe07EVX5rjMY_bO_Ec1T114oejXtrS7DYLY.cache
|
580
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/DN/DN6DwzYk58CqQliQANOOcf4LZ9NfwuROLMpG_aIn1iA.cache
|
581
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/EF/EFDkZUV83NReWDmYJPAbH4QssV1WH7dhLAafE0jMdLE.cache
|
582
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/F4/F4HRhWWKLcUlE_9fUDcNFndpclhItP7pzduMZ0u0zEg.cache
|
583
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/F9/F95lTcrn4OEdV2-8CpWRA7Vo_g8Cyy46-JWOiLmNuZ8.cache
|
584
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/G5/G52PYwE_K5U0GKtgEfZMMMxYvZn20YV8JnDsE8miA8U.cache
|
585
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/GY/GYoI8lC94xLeXahTKQmXCYQmEcBTeJVY3rw4Ow29mAk.cache
|
586
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/HI/HIQD3918XDGcbRA7DQnrUx7Ij6_KmqX7A6-Xg8cTgvs.cache
|
587
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/IG/IGBxZd8bfUKXZ0qApnsHIDYrpmlGh4_stvNLwNClo-Q.cache
|
588
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/JZ/JZvskjPGda8b9BWf--ABB7K8u8eZWLEY_IGmIwN-lsM.cache
|
589
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/LZ/LZtqwTyBeV780reoWMqU06rIHTuSggj_moLE9aZl4zc.cache
|
590
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/MH/MHuhgGwsUMEUsXy-NMZLnq_3FmpwQ6Hr-x9Pj2Lg6jQ.cache
|
591
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/MW/MWqLf-tbtXiYTRmuVMVRXCVjAEX6LaEZGlVxS74nM-E.cache
|
592
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/OK/OKLY4QbXl_c1lHz1gm6tyYrpRIFU-014RSUQpb9fwyw.cache
|
593
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Ok/OkpxMmj1ovAbbyXiexCJnj0apz54kz8iqahL4c1aXDo.cache
|
594
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/QI/QI3sr401dtpp_Wc_mTpdvAI5bpraLUIIf8Mv2feBvEw.cache
|
595
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/R0/R0TSIcvnfF3-QoBBBWQ32DiJLIR8D676f-SkUhprDK8.cache
|
596
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/RU/RUX4wpSRbADt7-aSjvb97ICl-fCJjPZxe1MNF6pcGOo.cache
|
597
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/To/To0QY39VWI3mZb6XXZAgOQCJcEj0tv0BJmIiu2oNdbg.cache
|
598
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/W9/W9krhTTy1IFXT5Q_rF4CifVRj4AVwKeE_F6pln8Rcmg.cache
|
599
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Ws/Wsgy75qmOuCK1Vp25X17Py-pML-11GG3F3e-OYOsfGk.cache
|
600
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Yb/YbBCKCjwVLMTjLflIx-p2w001jnZ2kVbDwnbDTh20ps.cache
|
601
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Zi/ZiHXd8AlVOwGmpnKoVXVS3EKEBdo1Ac-Zcp4eiCPnRQ.cache
|
602
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/_C/_CHENopb4h3hRBPr0mRRTtNBvd64WDGI5v5hMC7PYgs.cache
|
603
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/a9/a94GSaPUyrAw0VlSAmwgl4iwDPatPtP7tsesOf07Fuo.cache
|
604
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/bk/bkyxSPKtV8sC84dH7iq0OkFMQzLCJ7DjdUoC6wYHaAA.cache
|
605
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/cE/cEQDNdSRl1tLTsWUUnyDWWXECh-MtIchaMG7PA2kuM8.cache
|
606
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/ch/chgbSC87FkXFMbNWMZJAtU_euvqnCKdUcV4CAjuRZXg.cache
|
607
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/dG/dGcYyTZ1x7nZldIv9CU9P6FILL3BZ_pHeJUEBXOFDtk.cache
|
608
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/eH/eHNL12KXLctBrvH2X9flxNGA4GRJGoyLwqRrxOWLHss.cache
|
609
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/fm/fmL1Nfucs6nwuozNi61KJ6nEHU8mb3F2SieWSl1sgeY.cache
|
610
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/gg/ggoM7JVi5PFoOTHQGrMmhFwnOSjd_RsNYmV9SpLGNPY.cache
|
611
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/iH/iHBHhxxOEBtpSeS0MFX4NL9vEfZMaQ72PxSXtbLy4pQ.cache
|
612
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/kQ/kQZ9KBvn5nS686f0v-15x3q-XPK9Puu03Od4FRDV_DY.cache
|
613
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/ln/ln7-McEMuq67tYE86JS_5anWVQE-o7kjVzTfmJ-pfYU.cache
|
614
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/n9/n9fyL8DlM6Ze117bMHweLE2x-4YM5aAW8cT3XYw-de8.cache
|
615
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/nM/nMZGQCxEPqJUI3praZMAm-YNu7TdqkdDhx3WG6J1KLY.cache
|
616
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache
|
617
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache
|
618
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/op/opCcAQpH-enBbSXpi0u1AEuA_O2KBuVSFHXlgdw8dNg.cache
|
619
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/qC/qCvelfVAvK45T3Goi7dqiicmsAKQoF9MkLAZtA4LVC0.cache
|
620
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/qI/qIdIIo1-efJi3gqwWbkhmcDlc4qTwuolMYutSBGYrxw.cache
|
621
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/qP/qPmv5snMrDw830S6hSICDcnIy7kVEWoFKXhGKT38lG4.cache
|
622
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/qx/qxYROkyCYJzti8DI00LfLhgV7FZgHCmaUnCjB3ayfWM.cache
|
623
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/wd/wdwXC49DcebjF5LPaEs1vqDXCWlq-32hHXfiKvjifno.cache
|
624
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/wg/wgn7xxwAmTkEhfWm8ujbjnId_c4MherEJuyXwkipOIg.cache
|
625
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache
|
626
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/xg/xgrrLe9BN5muIDu9b9ADzAJHJtZFmr-PlDUBSkdJTDM.cache
|
627
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/z7/z79WysQah2YzrP7757RmZSO9M_8yzxDJPheGOhMjyXU.cache
|
628
|
+
- spec/factories/addresses.rb
|
629
|
+
- spec/factories/countries.rb
|
630
|
+
- spec/factories/coupons.rb
|
631
|
+
- spec/factories/credit_cards.rb
|
632
|
+
- spec/factories/customer.rb
|
633
|
+
- spec/factories/deliveries.rb
|
634
|
+
- spec/factories/order_items.rb
|
635
|
+
- spec/factories/orders.rb
|
636
|
+
- spec/factories/product.rb
|
637
|
+
- spec/features/cart_spec.rb
|
638
|
+
- spec/features/checkout_spec.rb
|
639
|
+
- spec/forms/credit_card_form_spec.rb
|
640
|
+
- spec/models/customer_spec.rb
|
641
|
+
- spec/models/product_spec.rb
|
642
|
+
- spec/models/shopper/address_spec.rb
|
643
|
+
- spec/models/shopper/billing_address_spec.rb
|
644
|
+
- spec/models/shopper/country_spec.rb
|
645
|
+
- spec/models/shopper/coupon_spec.rb
|
646
|
+
- spec/models/shopper/credit_card_spec.rb
|
647
|
+
- spec/models/shopper/delivery_spec.rb
|
648
|
+
- spec/models/shopper/order_item_spec.rb
|
649
|
+
- spec/models/shopper/order_spec.rb
|
650
|
+
- spec/models/shopper/shipping_address_spec.rb
|
651
|
+
- spec/rails_helper.rb
|
652
|
+
- spec/services/checkout_manager_spec.rb
|
653
|
+
- spec/spec_helper.rb
|
654
|
+
- spec/support/capybara.rb
|
655
|
+
- spec/support/database_cleaner.rb
|
656
|
+
- spec/support/factory_girl.rb
|
657
|
+
- spec/support/macroses/shared_macroses.rb
|
658
|
+
- spec/support/macroses/stub_current_order.rb
|
659
|
+
- spec/support/rails-controller-testing.rb
|
660
|
+
- spec/support/shared_examples/addressable.rb
|
661
|
+
- spec/support/shoulda_matchers.rb
|
662
|
+
- spec/support/show_me_the_cookies.rb
|
663
|
+
homepage: https://github.com/BjornMelgaard/rails-bookstor-engine
|
664
|
+
licenses:
|
665
|
+
- MIT
|
666
|
+
metadata: {}
|
667
|
+
post_install_message:
|
668
|
+
rdoc_options: []
|
669
|
+
require_paths:
|
670
|
+
- lib
|
671
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
672
|
+
requirements:
|
673
|
+
- - ">="
|
674
|
+
- !ruby/object:Gem::Version
|
675
|
+
version: '0'
|
676
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
677
|
+
requirements:
|
678
|
+
- - ">="
|
679
|
+
- !ruby/object:Gem::Version
|
680
|
+
version: '0'
|
681
|
+
requirements: []
|
682
|
+
rubyforge_project:
|
683
|
+
rubygems_version: 2.6.8
|
684
|
+
signing_key:
|
685
|
+
specification_version: 4
|
686
|
+
summary: hmm
|
687
|
+
test_files:
|
688
|
+
- spec/models/product_spec.rb
|
689
|
+
- spec/models/shopper/coupon_spec.rb
|
690
|
+
- spec/models/shopper/address_spec.rb
|
691
|
+
- spec/models/shopper/delivery_spec.rb
|
692
|
+
- spec/models/shopper/country_spec.rb
|
693
|
+
- spec/models/shopper/credit_card_spec.rb
|
694
|
+
- spec/models/shopper/order_spec.rb
|
695
|
+
- spec/models/shopper/billing_address_spec.rb
|
696
|
+
- spec/models/shopper/shipping_address_spec.rb
|
697
|
+
- spec/models/shopper/order_item_spec.rb
|
698
|
+
- spec/models/customer_spec.rb
|
699
|
+
- spec/services/checkout_manager_spec.rb
|
700
|
+
- spec/commands/add_product_spec.rb
|
701
|
+
- spec/factories/coupons.rb
|
702
|
+
- spec/factories/order_items.rb
|
703
|
+
- spec/factories/customer.rb
|
704
|
+
- spec/factories/orders.rb
|
705
|
+
- spec/factories/countries.rb
|
706
|
+
- spec/factories/credit_cards.rb
|
707
|
+
- spec/factories/product.rb
|
708
|
+
- spec/factories/addresses.rb
|
709
|
+
- spec/factories/deliveries.rb
|
710
|
+
- spec/support/shoulda_matchers.rb
|
711
|
+
- spec/support/database_cleaner.rb
|
712
|
+
- spec/support/macroses/stub_current_order.rb
|
713
|
+
- spec/support/macroses/shared_macroses.rb
|
714
|
+
- spec/support/factory_girl.rb
|
715
|
+
- spec/support/shared_examples/addressable.rb
|
716
|
+
- spec/support/capybara.rb
|
717
|
+
- spec/support/show_me_the_cookies.rb
|
718
|
+
- spec/support/rails-controller-testing.rb
|
719
|
+
- spec/rails_helper.rb
|
720
|
+
- spec/forms/credit_card_form_spec.rb
|
721
|
+
- spec/spec_helper.rb
|
722
|
+
- spec/controllers/cart_controller_spec.rb
|
723
|
+
- spec/controllers/order_item_controller_spec.rb
|
724
|
+
- spec/features/cart_spec.rb
|
725
|
+
- spec/features/checkout_spec.rb
|
726
|
+
- spec/dummy/public/favicon.ico
|
727
|
+
- spec/dummy/public/422.html
|
728
|
+
- spec/dummy/public/apple-touch-icon.png
|
729
|
+
- spec/dummy/public/404.html
|
730
|
+
- spec/dummy/public/apple-touch-icon-precomposed.png
|
731
|
+
- spec/dummy/public/500.html
|
732
|
+
- spec/dummy/app/mailers/application_mailer.rb
|
733
|
+
- spec/dummy/app/channels/application_cable/connection.rb
|
734
|
+
- spec/dummy/app/channels/application_cable/channel.rb
|
735
|
+
- spec/dummy/app/models/customer.rb
|
736
|
+
- spec/dummy/app/models/application_record.rb
|
737
|
+
- spec/dummy/app/models/product.rb
|
738
|
+
- spec/dummy/app/models/ability.rb
|
739
|
+
- spec/dummy/app/helpers/application_helper.rb
|
740
|
+
- spec/dummy/app/views/root/index.html
|
741
|
+
- spec/dummy/app/views/layouts/application.html.haml
|
742
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
743
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
744
|
+
- spec/dummy/app/controllers/application_controller.rb
|
745
|
+
- spec/dummy/app/assets/images/fallback/product_default.png
|
746
|
+
- spec/dummy/app/assets/javascripts/cable.js
|
747
|
+
- spec/dummy/app/assets/javascripts/application.js
|
748
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
749
|
+
- spec/dummy/app/assets/config/manifest.js
|
750
|
+
- spec/dummy/app/jobs/application_job.rb
|
751
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/0T/0T0Tt9dfVU3GpS08jbSmEA-3V9YEKDfIoSeIPwG-V5M.cache
|
752
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/F9/F95lTcrn4OEdV2-8CpWRA7Vo_g8Cyy46-JWOiLmNuZ8.cache
|
753
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/2Z/2ZWFIlXKLDgIwGlnU7FU5aLf_Y1-m4KLYDXG0GdOvcc.cache
|
754
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache
|
755
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/6b/6bbfebueG2G5YjKNjtH5pwuc1LEJjKmfpIL4IREIArw.cache
|
756
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/MH/MHuhgGwsUMEUsXy-NMZLnq_3FmpwQ6Hr-x9Pj2Lg6jQ.cache
|
757
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/n9/n9fyL8DlM6Ze117bMHweLE2x-4YM5aAW8cT3XYw-de8.cache
|
758
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/31/312SvTp1rlNjttuCrjMR-sOiWZ8_7XmiagVfUeNAWfU.cache
|
759
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/dG/dGcYyTZ1x7nZldIv9CU9P6FILL3BZ_pHeJUEBXOFDtk.cache
|
760
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/GY/GYoI8lC94xLeXahTKQmXCYQmEcBTeJVY3rw4Ow29mAk.cache
|
761
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/RU/RUX4wpSRbADt7-aSjvb97ICl-fCJjPZxe1MNF6pcGOo.cache
|
762
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/6U/6UKVmfPR7t8yUajbBceuWKaXogETyIV6Tbp0Mo8sR8A.cache
|
763
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/W9/W9krhTTy1IFXT5Q_rF4CifVRj4AVwKeE_F6pln8Rcmg.cache
|
764
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/kQ/kQZ9KBvn5nS686f0v-15x3q-XPK9Puu03Od4FRDV_DY.cache
|
765
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Ok/OkpxMmj1ovAbbyXiexCJnj0apz54kz8iqahL4c1aXDo.cache
|
766
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache
|
767
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/DN/DN6DwzYk58CqQliQANOOcf4LZ9NfwuROLMpG_aIn1iA.cache
|
768
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/qx/qxYROkyCYJzti8DI00LfLhgV7FZgHCmaUnCjB3ayfWM.cache
|
769
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/fm/fmL1Nfucs6nwuozNi61KJ6nEHU8mb3F2SieWSl1sgeY.cache
|
770
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/R0/R0TSIcvnfF3-QoBBBWQ32DiJLIR8D676f-SkUhprDK8.cache
|
771
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/IG/IGBxZd8bfUKXZ0qApnsHIDYrpmlGh4_stvNLwNClo-Q.cache
|
772
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/BX/BXeClZZ7pe07EVX5rjMY_bO_Ec1T114oejXtrS7DYLY.cache
|
773
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/op/opCcAQpH-enBbSXpi0u1AEuA_O2KBuVSFHXlgdw8dNg.cache
|
774
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/7v/7vrAes6c_ihwe8jMx1yxyRDgWgAmDYBRMlsqqjlOA24.cache
|
775
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/OK/OKLY4QbXl_c1lHz1gm6tyYrpRIFU-014RSUQpb9fwyw.cache
|
776
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/QI/QI3sr401dtpp_Wc_mTpdvAI5bpraLUIIf8Mv2feBvEw.cache
|
777
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/9H/9H8beH0fozTusUWWhP9agRzmmCJigE63QS3yN6USIVY.cache
|
778
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/To/To0QY39VWI3mZb6XXZAgOQCJcEj0tv0BJmIiu2oNdbg.cache
|
779
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/qP/qPmv5snMrDw830S6hSICDcnIy7kVEWoFKXhGKT38lG4.cache
|
780
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/z7/z79WysQah2YzrP7757RmZSO9M_8yzxDJPheGOhMjyXU.cache
|
781
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/EF/EFDkZUV83NReWDmYJPAbH4QssV1WH7dhLAafE0jMdLE.cache
|
782
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/gg/ggoM7JVi5PFoOTHQGrMmhFwnOSjd_RsNYmV9SpLGNPY.cache
|
783
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/a9/a94GSaPUyrAw0VlSAmwgl4iwDPatPtP7tsesOf07Fuo.cache
|
784
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache
|
785
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/1c/1ctUiWcG10n8KMVoiqAlIapKLbW5MDV1opGFwHsx34o.cache
|
786
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/cE/cEQDNdSRl1tLTsWUUnyDWWXECh-MtIchaMG7PA2kuM8.cache
|
787
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/4R/4RE2lQ9Q_Khn7V4lGNDAW4xVGALXbiqnfOx-mXE831Q.cache
|
788
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/qI/qIdIIo1-efJi3gqwWbkhmcDlc4qTwuolMYutSBGYrxw.cache
|
789
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/qC/qCvelfVAvK45T3Goi7dqiicmsAKQoF9MkLAZtA4LVC0.cache
|
790
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/7n/7ncqaz_mmyCQD_AQHpvMs2GXmVS9ETbTrWhH7RWvuYg.cache
|
791
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/HI/HIQD3918XDGcbRA7DQnrUx7Ij6_KmqX7A6-Xg8cTgvs.cache
|
792
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/wd/wdwXC49DcebjF5LPaEs1vqDXCWlq-32hHXfiKvjifno.cache
|
793
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Zi/ZiHXd8AlVOwGmpnKoVXVS3EKEBdo1Ac-Zcp4eiCPnRQ.cache
|
794
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/nM/nMZGQCxEPqJUI3praZMAm-YNu7TdqkdDhx3WG6J1KLY.cache
|
795
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/6Z/6Zs5ocm3aNgIQhqxQonxR7DfNzImkwFVBFsFSoXJ9nM.cache
|
796
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Yb/YbBCKCjwVLMTjLflIx-p2w001jnZ2kVbDwnbDTh20ps.cache
|
797
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/-5/-5Q4Ub_11IMVDpGB1eI8cCVFFsUlJ8XHRzneSdfWwvA.cache
|
798
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/MW/MWqLf-tbtXiYTRmuVMVRXCVjAEX6LaEZGlVxS74nM-E.cache
|
799
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/bk/bkyxSPKtV8sC84dH7iq0OkFMQzLCJ7DjdUoC6wYHaAA.cache
|
800
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/2c/2cgrQmg7ldfRivjXyyPNEH2O9Kps6UbeJH-Y9H1GmAs.cache
|
801
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Ws/Wsgy75qmOuCK1Vp25X17Py-pML-11GG3F3e-OYOsfGk.cache
|
802
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/8t/8tcTiIy9nbujTSsrbowd_m1ZDK-XWxe5KBzu4iWULdg.cache
|
803
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/F4/F4HRhWWKLcUlE_9fUDcNFndpclhItP7pzduMZ0u0zEg.cache
|
804
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/2l/2ltamKE3DUsifk0Gd4gmMxsgm5yKUZiNdhnSVHq_rVs.cache
|
805
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/ln/ln7-McEMuq67tYE86JS_5anWVQE-o7kjVzTfmJ-pfYU.cache
|
806
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/_C/_CHENopb4h3hRBPr0mRRTtNBvd64WDGI5v5hMC7PYgs.cache
|
807
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/iH/iHBHhxxOEBtpSeS0MFX4NL9vEfZMaQ72PxSXtbLy4pQ.cache
|
808
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/JZ/JZvskjPGda8b9BWf--ABB7K8u8eZWLEY_IGmIwN-lsM.cache
|
809
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/4G/4GIZLDG2a1lnDZF2QESc0VLN9oHXztGnjE-LhJAssbk.cache
|
810
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/xg/xgrrLe9BN5muIDu9b9ADzAJHJtZFmr-PlDUBSkdJTDM.cache
|
811
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/LZ/LZtqwTyBeV780reoWMqU06rIHTuSggj_moLE9aZl4zc.cache
|
812
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/ch/chgbSC87FkXFMbNWMZJAtU_euvqnCKdUcV4CAjuRZXg.cache
|
813
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/G5/G52PYwE_K5U0GKtgEfZMMMxYvZn20YV8JnDsE8miA8U.cache
|
814
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/0X/0XswbOgGjXmH1fo5xq93jNgHe48bthciRdbD6tnWCvo.cache
|
815
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/wg/wgn7xxwAmTkEhfWm8ujbjnId_c4MherEJuyXwkipOIg.cache
|
816
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/-u/-uuoXn7BP51SPd9jCpfonUaE46sb8x-w0b34wwdHt9E.cache
|
817
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/eH/eHNL12KXLctBrvH2X9flxNGA4GRJGoyLwqRrxOWLHss.cache
|
818
|
+
- spec/dummy/log/development.log
|
819
|
+
- spec/dummy/db/migrate/20170405160406_create_customers.rb
|
820
|
+
- spec/dummy/db/migrate/20170405091757_create_products.rb
|
821
|
+
- spec/dummy/db/schema.rb
|
822
|
+
- spec/dummy/bin/rake
|
823
|
+
- spec/dummy/bin/bundle
|
824
|
+
- spec/dummy/bin/rails
|
825
|
+
- spec/dummy/bin/setup
|
826
|
+
- spec/dummy/bin/update
|
827
|
+
- spec/dummy/config.ru
|
828
|
+
- spec/dummy/config/database.ci.yml
|
829
|
+
- spec/dummy/config/locales/simple_form.en.yml
|
830
|
+
- spec/dummy/config/locales/en.yml
|
831
|
+
- spec/dummy/config/cable.yml
|
832
|
+
- spec/dummy/config/database.yml
|
833
|
+
- spec/dummy/config/application.rb
|
834
|
+
- spec/dummy/config/environment.rb
|
835
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
836
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
837
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
838
|
+
- spec/dummy/config/initializers/new_framework_defaults.rb
|
839
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
840
|
+
- spec/dummy/config/initializers/assets.rb
|
841
|
+
- spec/dummy/config/initializers/session_store.rb
|
842
|
+
- spec/dummy/config/initializers/inflections.rb
|
843
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
844
|
+
- spec/dummy/config/initializers/simple_form.rb
|
845
|
+
- spec/dummy/config/initializers/mime_types.rb
|
846
|
+
- spec/dummy/config/boot.rb
|
847
|
+
- spec/dummy/config/routes.rb
|
848
|
+
- spec/dummy/config/spring.rb
|
849
|
+
- spec/dummy/config/environments/development.rb
|
850
|
+
- spec/dummy/config/environments/test.rb
|
851
|
+
- spec/dummy/config/environments/production.rb
|
852
|
+
- spec/dummy/config/puma.rb
|
853
|
+
- spec/dummy/config/secrets.yml
|
854
|
+
- spec/dummy/Rakefile
|
855
|
+
- spec/dummy/lib/templates/erb/scaffold/_form.html.erb
|