foreman_scc_manager 1.6.2 → 1.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/scc_repository.rb +1 -1
- data/lib/foreman_scc_manager/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e046f783a69d37d132094313fbeed914c9d246e315bc238ca8ca8c2ae806dace
|
4
|
+
data.tar.gz: e9b8af6dd55a5756c76d4ba93f93b39919251930b281e694b5099add68147457
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3814c9b796a0b9869f00fdc49da07e46d71a73c9fbf32628c2dd11185fa84535b3469a6c7ee6b81f5fa3d0fe4a75f651f1f2d92bce35bf8289e0231c8c65f0c9
|
7
|
+
data.tar.gz: c8a7483a75e235b2499c99b885dcead01e57c5511e29655d5ec9013b604af70dd5cb3d9eb9042455080b6a4861435447907b73656944e96e0ea58502049ab7b0
|
@@ -20,7 +20,7 @@ class SccRepository < ApplicationRecord
|
|
20
20
|
scc_products.where.not(product: nil).find_each do |sp|
|
21
21
|
reponame = uniq_name(sp)
|
22
22
|
repository = sp.product.root_repositories.find_by(name: reponame)
|
23
|
-
unless repository.url == full_url
|
23
|
+
unless repository.nil? || repository.url == full_url
|
24
24
|
::Foreman::Logging.logger('foreman_scc_manager').info "Update URL-token for repository '#{reponame}'."
|
25
25
|
ForemanTasks.async_task(::Actions::Katello::Repository::Update, repository, url: full_url)
|
26
26
|
end
|
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: 1.6.
|
4
|
+
version: 1.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ATIX AG
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdoc
|