uffizzi_core 2.1.1 → 2.1.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ff3664e2d0ace5264aea60fd9a6c2b6f592632b3e5f844411a230941ee953da
4
- data.tar.gz: b41024e92002bbac34eb430fd6da45740c921c595515b4c8e82b6d184a04a421
3
+ metadata.gz: 50974b21b408b32cfa4a51906d55860f0aa15e9b449a08a90ec408b3ea11a471
4
+ data.tar.gz: 899cef8ae2a7935c479ad73aade6d044588ad604c632b29be6c9a8a6185805d4
5
5
  SHA512:
6
- metadata.gz: 2af201493e2a9fb7a6cc8793586bfd8881270cb13fe76804e35dda0d5ecfff87d9d608dbdc54276ba2db7839208c38baa8e861fa15d692d5b322f81c4bda916b
7
- data.tar.gz: 9f41c789e248872b742cfda598b40c38b3a9e8298d86fa890c80e56943440de19e74e8ab904e482b3d03d1562f99bc91ce475b3b6cb11459346f0d2eefc8af98
6
+ metadata.gz: 41408ab5b2dee546872ff3d6a1d8f4c341edb62fc5b1822951ee3237158293e4cd4283b4d326e33878566c521f609409a34a8b3ed376f2e9604f908e8bd71248
7
+ data.tar.gz: 7d52b81047dfbf542f914d15bfd896d45e2c95f763cff9fd40f7f7e70356f30df77dc064b2705e778981858e856992cd16b4dcb261119a7e85cca948ccb4f802
@@ -18,7 +18,6 @@ module UffizziCore::Concerns::Models::Template
18
18
  enumerize :creation_source, in: [:manual, :compose_file, :system], predicates: true, scope: true
19
19
 
20
20
  validates :name, presence: true
21
- validates :name, uniqueness: { scope: :project }, if: -> { compose_file.blank? || compose_file.kind.main? }
22
21
 
23
22
  def valid_containers_memory_limit?
24
23
  containers_attributes = payload['containers_attributes']
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UffizziCore
4
- VERSION = '2.1.1'
4
+ VERSION = '2.1.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uffizzi_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Thurman
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-02-02 00:00:00.000000000 Z
12
+ date: 2023-02-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aasm