spree_zone_pricing 0.1.65 → 0.1.66

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/zone_currency.rb +1 -1
  2. metadata +1 -1
@@ -4,7 +4,7 @@ class ZoneCurrency < ActiveRecord::Base
4
4
  validates_presence_of :currency
5
5
  validates_length_of :currency, :maximum => 3
6
6
  validates_length_of :currency, :minimum => 3
7
- validates_format_of :currency, :with => /[A-Z]/, :message => " must have one upper case"
7
+ validates_format_of :currency, :in => /[A-Z]/, :message => " must be upper case"
8
8
  #validates_uniqueness_of :zone_id, :scope => [:currency]
9
9
  validates_uniqueness_of :zone_id
10
10
 
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.65
4
+ version: 0.1.66
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: