Git Product home page Git Product logo

solidus_active_shipping's People

Contributors

aegixx avatar bdq avatar bellmyer avatar brchristian avatar dkubb avatar finelineautomation avatar forkata avatar fredericboivin avatar geermc4 avatar ifan-godaddy avatar j15e avatar jdutil avatar jhawthorn avatar jspizziri avatar jsqu99 avatar jtapia avatar jumph4x avatar kennyadsl avatar lbrapid avatar mleglise avatar mrpollo avatar parndt avatar peterberkenbosch avatar petergoldstein avatar radar avatar romul avatar rterbush avatar schof avatar sinetheta avatar swcraig avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

solidus_active_shipping's Issues

Document the `:units` configuration value in the README

Spree::ActiveShipping::Config[:units] is something that is used in the base calculator to optionally specify :imperial as the units when creating ActiveShipping::Package instances.

This is currently not documented in the README, so we should add it and also ensure if that configuration value is used properly throughout the code base.

rubygems releases?

It looks like there has been a considerable amount of activity in the master branch of this repo, but there has only been one rubygems release. Can we get a new release cut that incorporates these changes?

Also, I don’t see branches for v2.1, v2.2, etc., as are present in most of the other Solidus gems and extensions. That might be another helpful thing for compatibility. As it stands, I’m running Solidus 2.1 in production and am not really sure what to be using -- whether the 1.0.0 gem, the master branch here, the last commit before 2.2 support was added, etc.

Cheers!

solidus_active_shipping 1.0.0 not compatible with solidus 1.0.0?

It appears that solidus_active_shipping 1.0.0 is not compatible with solidus 1.0.0 -- specifically, that it has a dependency on solidus > 1.0. This is surprising and counterintuitive to me. I’m working my way up the upgrade path from Spree now – how would I go about installing a solidus_active_shipping gem compatible with solidus 1.0.0?

stock_location_decorator breaks base seeding scripts

Solidus seed scripts create a default stock_location with just a name 'default'. It is now no longer possible to initialize a new solidus instance with this gem bundled because of these validation rules.

This has caused me way more grief than having a stock location without address info would.

Validate behavior of overriden USPS file / max_weight

There are some bugs related to the max_weight by countries in USPS (mostly nil errors when the country is not in the list). In general I need to confirm that individual calculators outside of the base.rb are working properly

Refactor building of packages out of `ActiveShipping::Base` calculator

Currently the Base calculator handles the building of ActiveShipping::Package models, which should be extracted into one or more service objects. A big part of the logic is around building packages based on the maximum allowable weight for a package, which should still be configurable on the calculator level and passed to the service object responsible for building the packages.

There has been an effort here #10 to add better tests for the weight calculation logic which should help us ensure we preserve the existing logic.

Remove editable preferences if stored in-memory (rather than in db)?

@jhawthorn Now that in-memory preferences is default as of Solidus 2.4, I notice that preferences should no longer be editable from the admin backend. Instead, the new best practice is to include all preferences (e.g., FedEx credentials) in initializer files.

This creates a potentially problematic situation where the preferences displayed on the backend appear editable, but those changes will not persist after a deployment or a server reboot.

It seems to me that if a particular Solidus site is using in-memory preferences, we should either remove the ActiveShipping settings entirely, or make it read-only. Do you agree?

Happy to prepare a PR if so. Cheers!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.