spree_zone_pricing 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ Deface::Override.new(:virtual_path => "layouts/spree_application",
2
+ :name => "logo",
3
+ :replace_contents => "#logo",
4
+ :text => "Store")
@@ -1,2 +1,2 @@
1
1
  require 'spree_core'
2
- require 'spree_zone_pricing/custom_hooks'
2
+ require 'spree_auth'
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.8
4
+ version: 0.1.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -20,6 +20,7 @@ extensions: []
20
20
  extra_rdoc_files: []
21
21
  files:
22
22
  - app/models/zone_price.rb
23
+ - app/overrides/xxx.rb
23
24
  - app/views/admin/shared/_zone_prices.html.erb
24
25
  - app/views/admin/shared/_zp_product_tab.html.erb
25
26
  - app/views/admin/variants/zone_prices.html.erb
@@ -29,7 +30,6 @@ files:
29
30
  - config/locales/en_spree.yml
30
31
  - db/seeds.rb
31
32
  - lib/spree_zone_pricing.rb
32
- - lib/spree_zone_pricing/custom_hooks.rb
33
33
  - lib/spree/zone_pricing/checkouts_controller.rb
34
34
  - lib/spree/zone_pricing/countries_controller.rb
35
35
  - lib/spree/zone_pricing/get_country.rb
@@ -1,11 +0,0 @@
1
- module SpreeZonePricing
2
- class CustomHooks < Spree::ThemeSupport::HookListener
3
-
4
- # Add zone pricing tab to products admin area
5
- insert_after :admin_product_tabs, :partial => "admin/shared/zp_product_tab"
6
-
7
- # Add zone pricing to variant edit form
8
- insert_after :admin_variant_edit_form, :partial => 'admin/shared/zone_prices'
9
-
10
- end
11
- end