Extract the Spree::Zone by zip code.
Add solidus_zip_zones to your Gemfile:
gem 'solidus_zip_zones'
Bundle your dependencies and run the installation generator:
bundle
bundle exec rails g solidus_zip_zones:install
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_zip_zones/factories'
SolidusZipZones is copyright © 2019 Nebulab. It is free software, and may be redistributed under the terms specified in the license.
SolidusZipZones is funded and maintained by the Nebulab team.
We firmly believe in the power of open-source. Contact us if you like our work and you need help with your project design or development.