foreman-tasks 0.13.2 → 0.13.3
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16dc8a5924be891c16e0ecb275d800f44f2eed91
|
4
|
+
data.tar.gz: 88d32a5f03bd21855b8d9ad18d16d37d4a8eb141
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5ee5d42a1c536a918e226410f23693268d7dd4125d15ad770f79d15733ea6a6af4219d8665e11ae4f89d1fc8ede96b30668c8865c4adba40c5095e9f43ee709
|
7
|
+
data.tar.gz: a59d1ec846c2d0e33ad29e18240097a8427aefb7c5552782bce05c4f15efd43e5bfdd0746fb27f73cb9d7160ab551afd339171db34711d100018fe77631a0143
|
@@ -35,13 +35,19 @@ module ForemanTasks
|
|
35
35
|
dynflow_task_wrap(:destroy) { super }
|
36
36
|
end
|
37
37
|
|
38
|
-
|
38
|
+
# In order to use host.<attribute>_changed?, we must assign_attributes to
|
39
|
+
# the host record for these update and update! methods.
|
40
|
+
def update(*args)
|
41
|
+
assign_attributes(*args)
|
39
42
|
dynflow_task_wrap(:save) { super(*args) }
|
40
43
|
end
|
44
|
+
alias update_attributes update
|
41
45
|
|
42
|
-
def
|
46
|
+
def update!(*args)
|
47
|
+
assign_attributes(*args)
|
43
48
|
dynflow_task_wrap(:save) { super(*args) }
|
44
49
|
end
|
50
|
+
alias update_attributes! update!
|
45
51
|
|
46
52
|
# this can be used when HostActionSubject is used for orchestration but you want to avoid
|
47
53
|
# triggering more tasks by ActiveRecord callbacks within run/finalize phase of your task
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman-tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.3
|
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: 2018-06-
|
11
|
+
date: 2018-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: foreman-tasks-core
|