Allows you to have subscription products.
When a product subscription is paid, a subscription is created, and when a subscription is created an order with the next item to ship is created.
The next item to ship is picked randomly from all non-subscription in-stock products.
Add spree_random_subscriptions to your Gemfile:
gem 'spree_random_subscriptions'Bundle your dependencies and run the installation generator:
bundle
bundle exec rails g spree_random_subscriptions:installFirst bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app.
bundle
bundle exec rakeWhen testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:
require 'spree_random_subscriptions/factories'Copyright (c) 2014 [name of extension creator], released under the New BSD License