Skip to content

blue-pebble/spree_address_street

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpreeAddressStreet

An extension that changes the address behaviour so it uses the following fields in the front-end and backend:

  • street
  • number
  • number_postfix

When these fields are saved the address1 field is filled with "#{street} #{number} #{number_postfix}"

Installation

Add spree_address_street to your Gemfile:

gem 'spree_address_street'

Bundle your dependencies and run the installation generator:

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

Copyright (c) 2015 Blue Pebble BV, released under the New BSD License

About

Street, number and number_postfix addresses for spree

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published