op_cart 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ca5434d3f5d606baa79c1522cc15790b35956f7
4
- data.tar.gz: 364fe087027256ebb9a3a0adb5e13d402f211cbd
3
+ metadata.gz: 3f02ef8a5af017815cb06b3d09db56e03c57c59f
4
+ data.tar.gz: bad1b5aa4977f437499b51ede718d5f9335cb3df
5
5
  SHA512:
6
- metadata.gz: 0348f0513e4ff0b5c6ef740a383efdddbec84dddca1bd7973e1357b390535879aa0a3ee223ee51ea3f8fc1175778202bdb3bca2e11d5533bab4973d34dcba92b
7
- data.tar.gz: f2437c3c71122d9ed9b0a6493c427231305f34d8ead0f496685422200136870ef226abcb0eabfd1337ec8758bbc6a172306292b120239242ead93baeac4cfcf9
6
+ metadata.gz: bb81f925457e7f4d9b2b83f836b6806e1dc65388b3e376d539decbf7378367ba87a529fe7654ddd52b8ff97ca324c5159d5c4d134af6b619d3e306e0b4f0d9af
7
+ data.tar.gz: 5161278ed86bd456df1aaac29b435700da74363a672b5fd9b8b01dff3457457b3234f247a4c6d44e54ca644c652d6b2058074772a967871c5c0e542bb48056b0
@@ -3,7 +3,6 @@ module OpCart
3
3
  belongs_to :user
4
4
 
5
5
  validates :name, presence: true
6
- validates :description, presence: true
7
6
  validates :sku, uniqueness: true, if: :sku?
8
7
  validates :price, numericality: { only_integer: true, greater_than_or_equal_to: 0 }
9
8
  validates :user, presence: true
@@ -1,3 +1,3 @@
1
1
  module OpCart
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: op_cart
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Boehs