/solidus_geocoding

🌐 Adds latitude and longitude columns to Spree::Address table

Primary LanguageRubyBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

SolidusGeocoding

CircleCI

Add geocoding to Spree::Address.

See https://github.com/alexreisner/geocoder

Installation

Add solidus_geocoding to your Gemfile:

gem 'solidus_geocoding'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g solidus_geocoding: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, and Rubocop static code analysis. The dummy app can be regenerated by using rake test_app.

bundle
bundle exec rake

When testing your application's integration with this extension you may use its factories. Simply add this require statement to your spec_helper:

require 'solidus_geocoding/factories'

Releasing

Your new extension version can be released using gem-release like this:

bundle exec gem bump -v VERSION --tag --push --remote upstream && gem release

Copyright (c) 2016 [Taylor Scott], released under the New BSD License