No commit activity in last 3 years
No release in over 3 years
This extension has goal to provide common aspects as cities, extras address information and some seeds to Brazil
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.4
>= 4.1.0, ~> 4.1
>= 1.5.1, ~> 1.5
>= 0
~> 5.0.4

Runtime

>= 0.2.1, ~> 0.2
>= 1.8.0, ~> 1.8
 Project Readme

SpreeBrCommon

Build Status Code Climate Test Coverage Dependency Status

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 solidus_br_common to your Gemfile:

gem 'solidus_br_common'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g solidus_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 'solidus_br_common/factories'

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