spree_zone_pricing 0.1.39 → 0.1.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- Spree::VariantsController.class_eval do
1
+ Spree::Admin::VariantsController.class_eval do
2
2
 
3
3
  prepend_after_filter :update_zone_prices
4
4
 
@@ -9,6 +9,14 @@ module SpreeZonePricing
9
9
 
10
10
  def self.activate
11
11
 
12
+ Dir.glob(File.join(File.dirname(__FILE__), "../app/**/*_decorator*.rb")) do |c|
13
+ Rails.configuration.cache_classes ? require(c) : load(c)
14
+ end
15
+
16
+ Dir.glob(File.join(File.dirname(__FILE__), "../app/controllers/spree/admin/*_decorator*.rb")) do |c|
17
+ Rails.configuration.cache_classes ? require(c) : load(c)
18
+ end
19
+
12
20
  =begin
13
21
 
14
22
  # Add helper to retrieve the users country
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_zone_pricing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.39
4
+ version: 0.1.40
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: