spree_zone_pricing 0.1.68 → 0.1.69

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.
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 be upper case"
7
+ validates_format_of :currency, :with => /[A-Z]/, :message => " must have one 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.68
4
+ version: 0.1.69
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: