foreman_virt_who_configure 0.4.5 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2659de29d0b5edec86a19012025b4330f155235dc95dd52e817761a221909d5d
|
4
|
+
data.tar.gz: 575a79644dcb7a7b8521750a6b0b987c83891d56290b8abfb3aba6b3e1c31d3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa0ab2122fd333de032b1f151fcbda5f03acc0285d38cd35cb3775fe3008965a7dc1ec0f36df186324985f6923d060d313f3c1e176f1e0ce8848f1daad07cc80
|
7
|
+
data.tar.gz: 4d0c8bb70e05f307b1ab5aefe6c8689b4371d6932f0af2c77ffcb7e25fc0dcef0eee0424c22f0fb133ef1e45cd1c680018232277541119913f1d3a32e15ca2bd
|
@@ -174,6 +174,8 @@ module ForemanVirtWhoConfigure
|
|
174
174
|
user = User.unscoped.find_by_id(service_user.user_id)
|
175
175
|
service_user.destroy
|
176
176
|
user.notification_recipients.delete_all
|
177
|
+
# we can't use destroy, because internal users can't be deleted
|
178
|
+
user.tasks.update_all :user_id => nil
|
177
179
|
user.delete
|
178
180
|
end
|
179
181
|
end
|
@@ -27,7 +27,7 @@ module ForemanVirtWhoConfigure
|
|
27
27
|
|
28
28
|
initializer 'foreman_virt_who_configure.register_plugin', :before => :finisher_hook do |_app|
|
29
29
|
Foreman::Plugin.register :foreman_virt_who_configure do
|
30
|
-
requires_foreman '>= 1.
|
30
|
+
requires_foreman '>= 1.24'
|
31
31
|
|
32
32
|
apipie_documented_controllers ["#{ForemanVirtWhoConfigure::Engine.root}/app/controllers/foreman_virt_who_configure/api/v2/*.rb"]
|
33
33
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_virt_who_configure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Foreman virt-who-configure team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: katello
|