foreman_maintain 1.2.5 → 1.2.6
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 +4 -4
- data/definitions/features/sync_plans.rb +3 -3
- data/lib/foreman_maintain/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 193b1e7cefdc871725692b84d03636fab11dcf6a0de8928c7c8ff05179b8ddd8
|
|
4
|
+
data.tar.gz: afdf239a676685fa3b793e78389d989029f6dd29ec806bb1cef4ee72a91c37fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2305610529e5ff51dc325daaaeee9da689259a0c1aeec88d155c8315d83da7551d0c00b8c5098439986602b039ae85bae3346dc679db184dc08bd856610b3d4
|
|
7
|
+
data.tar.gz: f0fdf10df80d8a26552c1f74aed56d944b1324ef06fe8960c92aa9d8411cae211f24ff596d60c8a1fff2bae450901c40e9b478889fe118432323fb748ee07d6c
|
|
@@ -34,10 +34,10 @@ class Features::SyncPlans < ForemanMaintain::Feature
|
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
def validate_sync_plan_ids(ids)
|
|
37
|
+
return [] if ids.empty?
|
|
38
|
+
|
|
37
39
|
ids_condition = ids.map { |id| "'#{id}'" }.join(',')
|
|
38
|
-
query =
|
|
39
|
-
SELECT id FROM katello_sync_plans WHERE id IN (#{ids_condition})
|
|
40
|
-
SQL
|
|
40
|
+
query = "SELECT id FROM katello_sync_plans WHERE id IN (#{ids_condition})"
|
|
41
41
|
feature(:foreman_database).query(query).map { |r| r['id'].to_i }
|
|
42
42
|
end
|
|
43
43
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_maintain
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivan Nečas
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-02-
|
|
11
|
+
date: 2023-02-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: clamp
|
|
@@ -497,7 +497,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
497
497
|
- !ruby/object:Gem::Version
|
|
498
498
|
version: '0'
|
|
499
499
|
requirements: []
|
|
500
|
-
rubygems_version: 3.
|
|
500
|
+
rubygems_version: 3.3.26
|
|
501
501
|
signing_key:
|
|
502
502
|
specification_version: 4
|
|
503
503
|
summary: Foreman maintenance tool belt
|