spree_br_common

This extension has goal to provide common aspects as cities, extras address informations and some seeds to Brazil.

Last updated on: December 13 at 03:49 AM

source code bug tracker request upgrade
Opensource
3 3 4
0 / 0
owner:  ddomingues

SpreeBrCommon

Build Status Code Climate Test Coverage

This extension has goal to provide common aspects as cities, extras address informations and some seeds to Brazil.

New Features

  • Address attributes:
    • district
    • number
  • City entity
  • User attributes:
    • first name
    • last name
    • cpf
    • phone
    • alternative phone
    • date of birth
  • Cep Autocomplete: using the Postmon REST API
  • Default Seeds to Brazil

Installation

Add spree_br_common to your Gemfile:

gem 'spree_br_common'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_br_common: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_br_common/factories'

Copyright (c) 2015 Diego Domingues, released under the New BSD License

comments

No comments yet

Add article
compatible spree versions
tags spree versions
master ~> 3.0, >= 3.0.0
v3.0.0 ~> 3.0.0
v3.0.1 ~> 3.0, >= 3.0.0
authors
Diego Domingues