foreman_scc_manager 3.1.0 → 3.1.1
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/app/models/scc_account.rb +2 -0
- data/lib/foreman_scc_manager/version.rb +1 -1
- metadata +16 -16
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 228ebf9bffa7254cfb6b9eb66c3cd5266a3f9027eb93723242e10d4f0831ceca
|
|
4
|
+
data.tar.gz: 481ca0001ebd66e8aaa74ab5339998a71b09f447f4b6cd5fc0ba45eb1a9c8bd2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 55d851abec9802a64f993457195ddeda0213f066655a6bfb48a01f097d3e21f048dc3d240b669dd4be079543f1db6ad837d003c0ddfd5879aa6ec2e80da42420
|
|
7
|
+
data.tar.gz: c7b7e0502631b2f1b4ade0883d91034119fcee65d8d2c5382188c61bf75986502313836467959c3e46eea27df4c9848c2e3032587387542a28a32a5d3545994c
|
data/app/models/scc_account.rb
CHANGED
|
@@ -38,6 +38,8 @@ class SccAccount < ApplicationRecord
|
|
|
38
38
|
validates :mirroring_policy, :inclusion => { :in => SCC_MIRRORING_POLICIES }, :allow_blank => false
|
|
39
39
|
validate :sync_date_is_valid_datetime
|
|
40
40
|
|
|
41
|
+
alias_attribute :recurring_logic_id, :foreman_tasks_recurring_logic_id
|
|
42
|
+
|
|
41
43
|
after_initialize :init
|
|
42
44
|
before_destroy :cancel_recurring_logic
|
|
43
45
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_scc_manager
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.1.
|
|
4
|
+
version: 3.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ATIX AG
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-10-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rdoc
|
|
@@ -238,27 +238,27 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
238
238
|
- !ruby/object:Gem::Version
|
|
239
239
|
version: '0'
|
|
240
240
|
requirements: []
|
|
241
|
-
rubygems_version: 3.
|
|
241
|
+
rubygems_version: 3.3.27
|
|
242
242
|
signing_key:
|
|
243
243
|
specification_version: 4
|
|
244
244
|
summary: Suse Customer Center plugin for Foreman
|
|
245
245
|
test_files:
|
|
246
|
-
- test/support/fixtures_support.rb
|
|
247
|
-
- test/unit/foreman_scc_manager_test.rb
|
|
248
246
|
- test/actions/sync_test.rb
|
|
249
|
-
- test/
|
|
247
|
+
- test/controllers/api/v2/scc_accounts_test.rb
|
|
248
|
+
- test/controllers/api/v2/scc_products_test.rb
|
|
249
|
+
- test/controllers/scc_accounts_controller_test.rb
|
|
250
250
|
- test/factories/foreman_scc_manager_factories.rb
|
|
251
|
-
- test/models/scc_product_test.rb
|
|
252
|
-
- test/models/scc_account_test.rb
|
|
253
251
|
- test/features/sync_test.rb
|
|
254
|
-
- test/fixtures/models/scc_repositories.yml
|
|
255
|
-
- test/fixtures/models/katello_root_repositories.yml
|
|
256
|
-
- test/fixtures/models/scc_accounts.yml
|
|
257
|
-
- test/fixtures/models/scc_products.yml
|
|
258
252
|
- test/fixtures/files/data_products_page1.json
|
|
259
|
-
- test/fixtures/files/data_subscriptions.json
|
|
260
253
|
- test/fixtures/files/data_products_page2.json
|
|
261
254
|
- test/fixtures/files/data_repositories.json
|
|
262
|
-
- test/
|
|
263
|
-
- test/
|
|
264
|
-
- test/
|
|
255
|
+
- test/fixtures/files/data_subscriptions.json
|
|
256
|
+
- test/fixtures/models/katello_root_repositories.yml
|
|
257
|
+
- test/fixtures/models/scc_accounts.yml
|
|
258
|
+
- test/fixtures/models/scc_products.yml
|
|
259
|
+
- test/fixtures/models/scc_repositories.yml
|
|
260
|
+
- test/models/scc_account_test.rb
|
|
261
|
+
- test/models/scc_product_test.rb
|
|
262
|
+
- test/support/fixtures_support.rb
|
|
263
|
+
- test/test_plugin_helper.rb
|
|
264
|
+
- test/unit/foreman_scc_manager_test.rb
|