uffizzi_core 2.2.21 → 2.2.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/lib/uffizzi_core/concerns/models/project.rb +1 -1
- data/lib/uffizzi_core/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a8b7a41bf7500c5bd99fcfade94c9f256eecb8a3531c4afb048902be526fc60
|
4
|
+
data.tar.gz: 1a5c2e46220213fc439161c1b65d1535f9673b3885ca3b4559f049b0b7e19c86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24b7a0c6c99809788c6606c1b21561ce0a7f14d639ebd321d66de8e7949285f61561b41cd3f060fe885b3c4ca943d0c1b2a7d0c626f33244071836cb27d7beb7
|
7
|
+
data.tar.gz: 86ec582667bd5dd7b02e2f348f6f14aa781ce5a18f4c5c0f907656af6fcf54041db4a26c14256c82a78b0e85b158082de688f6a23bb860f61280ffdc66a311c7
|
@@ -25,7 +25,7 @@ module UffizziCore::Concerns::Models::Project
|
|
25
25
|
has_many :clusters, dependent: :destroy
|
26
26
|
|
27
27
|
validates :name, presence: true
|
28
|
-
validates_uniqueness_of :name, conditions: -> { where(state: :active)
|
28
|
+
validates_uniqueness_of :name, conditions: -> { where(state: :active) }, scope: :account_id
|
29
29
|
validates :slug, presence: true, uniqueness: true
|
30
30
|
|
31
31
|
aasm(:state) do
|
data/lib/uffizzi_core/version.rb
CHANGED