Draiken / solidus_zipcode_range_zones

Add the ability to extract zones by zip code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SolidusZipcodeRangeZones

Extract the Spree::Zone by zipcode ranges.

Installation

Add solidus_zipcode_range_zones to your Gemfile:

gem 'solidus_zipcode_range_zones', github: 'Draiken/solidus_zipcode_range_zones'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g solidus_zipcode_range_zones: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 applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:

require 'solidus_zipcode_range_zones/factories'

License

SolidusZipcodeRangeZones is inspired by SolidusZipZones. It is free software, and may be redistributed under the terms specified in the license.

About

Add the ability to extract zones by zip code

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Ruby 83.0%Language:JavaScript 8.8%Language:HTML 6.4%Language:CSS 1.8%