cats_core 1.1.30 → 1.1.31

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
  SHA256:
3
- metadata.gz: 13f0bbe36a351142a7de75a500557cc117ab5bbbefda056ed4d18e5e66daf5f4
4
- data.tar.gz: 0a4e5382aaa43a8485b7db31121f1e0b5b524616e1404ed3ce9327d815e459fa
3
+ metadata.gz: b571da2ebc4626e336d086166396fcd2c653d68f579344ca3676b51af2039ea9
4
+ data.tar.gz: ac911493b34fd36b4fa10c880712450606e6f53c4cefc2e11490914f87b029c5
5
5
  SHA512:
6
- metadata.gz: c09413b96216242e58a76a65e923d9a32a244df5ec558123350a6b7e445fc378b8a8f1ea997f1998a145be4bb57571205d48232bf78c849d27ac3ac8b87ba50b
7
- data.tar.gz: b026966a9a06fba9e3f37308528957d6011d89bbf4f403a93e31e7586c1fa78514da27515c1ba4a9a92ded6a2c08eec9a43e0a563b90f11dd1a912537dcba151
6
+ metadata.gz: cc57fb3aaad06227d4a802a70810ff56a1b0552d3b63014026942c79a0fd3c4cc1b0c954fb4629ff52d8e0b516fbad4c4c63b065b5df5ca8d4a9752bf80e20f4
7
+ data.tar.gz: 6f788725919d5a6627410ded3a6c046a21abe7d7f1efb48de82592a8221dddb917fa6fbd1e7f086b02d1c8172ce42cae46ed6b100ec6b8b1ab95e658c01622d3
@@ -20,7 +20,7 @@ module Cats
20
20
  validates :commodity_status, inclusion: { in: Cats::Core::Commodity::COMMODITY_STATUSES }
21
21
  validates :stack_status, inclusion: { in: STACK_STATUSES }
22
22
  validate :validate_coordinates, :validate_dimensions, :validate_distance_from_wall, :validate_overlap,
23
- :validate_space_between_stack
23
+ :validate_space_between_stack, unless: -> { store && store.code == 'SUP-STORE' }
24
24
 
25
25
  after_save :update_store_space
26
26
 
@@ -1,5 +1,5 @@
1
1
  module Cats
2
2
  module Core
3
- VERSION = '1.1.30'.freeze
3
+ VERSION = '1.1.31'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cats_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.30
4
+ version: 1.1.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henock L.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-12 00:00:00.000000000 Z
11
+ date: 2021-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_model_serializers