-
Add this extension to your Gemfile with this line:
gem 'spree_affirm', :github => "affirm/spree_affirm"
-
Install the gem using Bundler:
bundle install
-
Copy & run migrations
bundle exec rails g spree_affirm:install
-
Restart your server
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
). - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
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