User creation form with Brazilian properties, with CPF for individual people or CNPJ and Company Name for firms.
ATTENTION: This branch only works with spree_auth_devise gem.
Add this line to your application's Gemfile:
gem 'spree_brazilian_fields', github: 'locomotivapro/spree_brazilian_fields', branch: '3-0-stable'
And then execute:
$ bundle
Or install it yourself as:
$ gem install spree_brazilian_fields
And then run to copy the gems migrations to your app
$ rails generate spree_brazilian_fields:install
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
Copyright (c) 2012-2015 Locomotiva.pro, released under the New BSD License