arkhitech / spree_instock_alert

Allows user to subscribe for in-stock notifications and sends email to user when item becomes available in stock.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpreeInstockAlert

This gem adds spree_instock_alert table to the db

Installation

Add spree_instock_alert to your Gemfile: gem 'spree_instock_alert' bundle install bundle exec rails g spree_instock_alert:install

gem 'spree_instock_alert' , github: 'arkhitech/spree_instock_alert'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_instock_alert:install

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. 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 'spree_instock_alert/factories'

Copyright (c) 2014 [name of extension creator], released under the New BSD License

About

Allows user to subscribe for in-stock notifications and sends email to user when item becomes available in stock.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Ruby 92.4%Language:CSS 3.8%Language:JavaScript 3.7%