Sha256: 56e76680cf17e205db1cc439475afc6ead898962897096d1b3c273c38b9dd06c
Contents?: true
Size: 1.39 KB
Versions: 1
Compression:
Stored size: 1.39 KB
Contents
SpreeCpf ======== [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/tiagoamaro/spree_cpf/trend.png)](https://bitdeli.com/free "Bitdeli Badge") [![Build Status](https://travis-ci.org/tiagoamaro/spree_cpf.png?branch=2-1-stable)](https://travis-ci.org/tiagoamaro/spree_cpf) [![Coverage Status](https://coveralls.io/repos/tiagoamaro/spree_cpf/badge.png?branch=2-1-stable)](https://coveralls.io/r/tiagoamaro/spree_cpf?branch=2-1-stable) [![Dependency Status](https://gemnasium.com/tiagoamaro/spree_cpf.png)](https://gemnasium.com/tiagoamaro/spree_cpf) Spree Extension that adds CPF field in an order Installation ------------ Add spree_cpf to your Gemfile: ```ruby gem 'spree_cpf' ``` Bundle your dependencies and run the installation generator: ```shell bundle bundle exec rails g spree_cpf:install ``` Set the preference in an initializer such as config/initializers/spree.rb: ```ruby Spree.config do |config| config.ship_address_has_cpf = true # Default is false end ``` Testing ------- Be sure to bundle your dependencies and then create a dummy test app for the specs to run against. ```shell 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: ```ruby require 'spree_cpf/factories' ``` Copyright (c) 2013 Tiago Amaro, released under the MIT License
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_cpf-2.1.3 | README.md |