spree_zone_pricing 0.1.47 → 0.1.48

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/app/models/currency_price.rb +1 -5
  2. metadata +1 -1
@@ -1,10 +1,6 @@
1
1
  class CurrencyPrice < ActiveRecord::Base
2
2
 
3
- belongs_to :variant
4
-
5
- validates_presence_of :price
6
- validates_numericality_of :price
7
- validates_presence_of :variant
3
+ validates_presence_of :variant_id
8
4
  validates_presence_of :currency
9
5
 
10
6
  def self.currency_types
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.47
4
+ version: 0.1.48
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: