SuperGoodSoft / spree_affirm

Spree extension for affirm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpreeAffirm

Installation

  1. Add this extension to your Gemfile with this line:

    gem 'spree_affirm', :github => "affirm/spree_affirm"

  2. Install the gem using Bundler:

     bundle install
    
  3. Copy & run migrations

     bundle exec rails g spree_affirm:install
    
  4. Restart your server

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature).
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Testing

Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.

bundle
bundle exec rake test_app
bundle exec rspec spec

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_affirm/factories'

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

About

Spree extension for affirm

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


Languages

Language:Ruby 85.9%Language:HTML 13.3%Language:CSS 0.4%Language:JavaScript 0.4%