Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

solidusio-contrib/solidus_legacy_stock_system

Repository files navigation

SolidusLegacyStockSystem

This is the old stock system. This was removed from Solidus in this pull request.

What is in the box?

This extension provides the Adjuster, Coordinator, Packer, and Prioritizer classes that were removed in version 2.4 of Solidus. Relevant specs are also included for development and testing continued compatibility with core.

Installation

There are no migrations to go along with this extension. Following the steps below is all that is required to use the legacy system.

Add solidus_legacy_stock_system to your Gemfile:

gem 'solidus_legacy_stock_system'

Bundle your dependencies:

bundle

Testing

First bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run specs, and Rubocop static code analysis. The dummy app can be regenerated by using rake test_app.

bundle
bundle exec rake

When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:

require 'solidus_legacy_stock_system/factories'

Copyright (c) 2017 Stembolt, released under the New BSD License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages