No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app/models/spree
bin
config
db/migrate
lib
spec
.gitignore
.rspec
.rubocop.yml
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
solidus_legacy_stock_system.gemspec

README.md

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