Luis Ramos
b76261c61c
Adapt preferable to work with new BigDecimal version
...
BigDecimal raises exception if called with nil or empty values
2020-12-12 18:50:57 +00:00
Matt-Yorkley
3c0172c507
Fix Spree::Preferences cache issue
...
In some cases this method was trying to delete a Rails.cache entry with `nil` as the key, leading to lots of errors.
2020-11-27 14:00:28 +00:00
Luis Ramos
a07029f660
Add require so that model is available when needed
2020-11-04 12:15:45 +00:00
Luis Ramos
d6862cdbce
Revert rubocop autocorrect change, it breaks some of the tests
2020-09-23 22:13:36 +01:00
Luis Ramos
b9319239d5
Remove configurations that are no longer used as we have moved the code to OFN and fix specs
2020-09-23 22:13:36 +01:00
Luis Ramos
9ebb689370
Fix easy rubocop issues
2020-09-23 22:13:36 +01:00
Luis Ramos
024a64b73a
Fix single rubocop rule: Use nested module definitions instead of compact style
2020-09-23 22:13:36 +01:00
Luis Ramos
25e61897aa
Run rubocop autocorrect
2020-09-23 22:13:36 +01:00
Luis Ramos
8b42543ca3
Bring configuration and preferences code from spree_core
2020-09-23 22:13:36 +01:00
Maikel Linke
94b903179e
Fix module declaration
...
Running script/prepare_imported_db.rb failed because
Spree::PaymentMethodDistributors couldn't be found. This problem is
described in the Rubocop docs:
https://rubystyle.guide/#namespace-definition
2020-09-10 16:12:17 +10:00
luisramos0
86b0d71c7e
Result of rubocop auto-correct and rebuilding rubocop_manual_todo
2019-05-28 12:57:29 +01:00
Pau Perez
b23cb55525
Fix current violations of Style/Send cop
2018-09-05 12:05:05 +02:00
Rob Harrington
7bb58342fc
Rubocop: Auto-correct Style/EmptyLineBetweenDefs offences
2017-06-23 16:49:08 +10:00
Rohan Mitchell
74f90dada3
Allow overriding mobile logo (raster and SVG) and home hero image
2015-07-17 16:06:50 +10:00
Rohan Mitchell
e4a4cdd915
Rewrite alias_method_chain to use super. Ahhhhh :)
2015-07-17 16:06:50 +10:00
Rohan Mitchell
66b4eb4c5d
Move Spree::Preferences::Configuration patches into superclass FileConfiguration
2015-07-17 16:06:50 +10:00
Rohan Mitchell
1d67e3b2b8
Fix image update, display logo on frontend
2015-07-17 16:06:50 +10:00
Rohan Mitchell
1234b35199
Add file handling to Spree::Preferences::Configuration
2015-07-17 16:06:49 +10:00