https://github.com/danielweinmann/catarse_lbm_gift_cards
Catarse payment engine for LittleBigMoney Gift Cards
https://github.com/danielweinmann/catarse_lbm_gift_cards
Last synced: 9 months ago
JSON representation
Catarse payment engine for LittleBigMoney Gift Cards
- Host: GitHub
- URL: https://github.com/danielweinmann/catarse_lbm_gift_cards
- Owner: danielweinmann
- License: mit
- Created: 2014-12-22T04:07:06.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-13T14:30:24.000Z (over 11 years ago)
- Last Synced: 2025-02-11T08:48:20.130Z (over 1 year ago)
- Language: Ruby
- Size: 215 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
# CatarseLbmGiftCards
[Catarse](http://github.com/catarse/catarse) payment engine for LittleBigMoney Gift Cards
## Installation
Add this line to your Catarse application's Gemfile:
gem 'catarse_lbm_gift_cards'
And then execute:
$ bundle
## Usage
Configure the routes for your Catarse application. Add the following lines in the routes file (config/routes.rb):
mount CatarseLbmGiftCards::Engine => "/", :as => "catarse_lbm_gift_cards"
## Development environment setup
Clone the repository:
$ git clone git://github.com/danielweinmann/catarse_lbm_gift_cards.git
Add the Catarse code into test/dummy:
$ git submodule add git://github.com/catarse/catarse.git test/dummy
Copy the Catarse's gems to Gemfile:
$ cat test/dummy/Gemfile >> Gemfile
And then execute:
$ bundle
Replace the content of test/dummy/config/boot.rb with this:
require 'rubygems'
gemfile = File.expand_path('../../../../Gemfile', __FILE__)
if File.exist?(gemfile)
ENV['BUNDLE_GEMFILE'] = gemfile
require 'bundler'
Bundler.setup
end
YAML::ENGINE.yamler= 'syck' if defined?(YAML::ENGINE)
$:.unshift File.expand_path('../../../../lib', __FILE__)
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
This project rocks and uses MIT-LICENSE.