solidusio-contrib / solidus_globalize

:earth_africa: Model data globalization for Solidus
https://solidus.io
BSD 3-Clause "New" or "Revised" License
14 stars 60 forks source link

Fix decorators loading #109

Closed kennyadsl closed 4 years ago

kennyadsl commented 4 years ago

This PR includes SolidusSupport::EngineExtensions::Decorators from SolidusSupport to correctly load decorator files in both development and production environment (with cache_classes and eager_load disabled/enabled).

This fixes #108, it's still a WIP, since we need to merge https://github.com/solidusio/solidus_support/pull/27 before.

codecov[bot] commented 4 years ago

Codecov Report

Merging #109 into master will decrease coverage by 0.71%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #109      +/-   ##
==========================================
- Coverage   83.33%   82.62%   -0.72%     
==========================================
  Files          29       28       -1     
  Lines         342      328      -14     
==========================================
- Hits          285      271      -14     
  Misses         57       57
Impacted Files Coverage Δ
lib/solidus_globalize/engine.rb 100% <100%> (ø) :arrow_up:
lib/solidus_globalize.rb 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2e50a17...a4b9e13. Read the comment docs.