foreman-tasks 0.7.9 → 0.7.10

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 CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MGM2ODViZTI1M2UyZGQ0ZjMzNjA1MjRiN2M0NGU3YzY5ODJjNDEwMw==
5
- data.tar.gz: !binary |-
6
- YTIwODMzMzE4MWJjN2I3NzZmMWJhNzQ0Y2RmNWJhZDIwMjY2Njk0NA==
2
+ SHA1:
3
+ metadata.gz: 4d82a1c25062e39b3b9a4432d430aa549b11cdc6
4
+ data.tar.gz: c7efaf7cafb34b445f04cc41975ca3926d979a32
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- OGZlMzU5MWZjYTBjNzMxMjAzMDI5Y2ZkNTBjY2M5NjcxZTA4MWEwYjI0ZTc2
10
- ZjkyYzk0ZjUwODg3YWZhOWZhOGI0Mzk2MTI0ZmI2MmEyMWQ0MDkwOTJiYzk3
11
- YTZlYzQ0MjM4MzdiYjc4YjgwNDUxNGRlNjY3YzA5ZTg2ZjY1NDM=
12
- data.tar.gz: !binary |-
13
- MzMwOTlkMTA1NzJhMDMzYjBhNjlhYzdlYzFiMGY2YTg2YmFlNGZhMTk5YTIx
14
- MzYzMDc1NzRiNTgxODVjMmYxYWQyNzQ5ODU3ZmJmNzU5YmJjYWExOGU4OTBj
15
- NWJjZDU0NTEyZTQyNDZhYzkwMjdiYjQyNzNkNzljMWY2YTFhN2Y=
6
+ metadata.gz: 090fa2bc3c6169770cf30ffecd71d4b2daddb867d74dd95df22c0597f41e2c3beeebc0fd13b13f784eb66d990f44c3577e8811c9f857601d64aa29552b8a92f8
7
+ data.tar.gz: 604bca51431a289b80b82d49be1e101fdca77ca0cea1b4aa646c2a1c483a6147f7cc6cd6977e34567b535e92b0402424d5b97c683932082cfed6fbd9727228b4
@@ -5,6 +5,8 @@ module ForemanTasks
5
5
  super
6
6
  if defined?(AccessPermissionsTest) && self.class == AccessPermissionsTest
7
7
  test_name = @method_name || @NAME
8
+ # for compatibility with Foreman 1.10
9
+ test_name = __name__ if test_name.nil? && self.respond_to?(:__name__)
8
10
  skip 'used by proxy only' if test_name.include?('foreman_tasks/api/tasks/callback')
9
11
  end
10
12
  end
@@ -1,3 +1,3 @@
1
1
  module ForemanTasks
2
- VERSION = "0.7.9"
2
+ VERSION = "0.7.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman-tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.9
4
+ version: 0.7.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Nečas
@@ -14,85 +14,77 @@ dependencies:
14
14
  name: dynflow
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.8.8
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.8.8
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sequel
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: sinatra
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: daemons
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: parse-cron
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: 0.1.4
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: 0.1.4
83
- description: ! 'The goal of this plugin is to unify the way of showing task statuses
84
- across the Foreman instance.
85
-
86
- It defines Task model for keeping the information about the tasks and Lock for assigning
87
- the tasks
88
-
89
- to resources. The locking allows dealing with preventing multiple colliding tasks
90
- to be run on the
91
-
92
- same resource. It also optionally provides Dynflow infrastructure for using it for
93
- managing the tasks.
94
-
95
- '
83
+ description: |
84
+ The goal of this plugin is to unify the way of showing task statuses across the Foreman instance.
85
+ It defines Task model for keeping the information about the tasks and Lock for assigning the tasks
86
+ to resources. The locking allows dealing with preventing multiple colliding tasks to be run on the
87
+ same resource. It also optionally provides Dynflow infrastructure for using it for managing the tasks.
96
88
  email:
97
89
  - inecas@redhat.com
98
90
  executables: []
@@ -220,17 +212,17 @@ require_paths:
220
212
  - lib
221
213
  required_ruby_version: !ruby/object:Gem::Requirement
222
214
  requirements:
223
- - - ! '>='
215
+ - - ">="
224
216
  - !ruby/object:Gem::Version
225
217
  version: '0'
226
218
  required_rubygems_version: !ruby/object:Gem::Requirement
227
219
  requirements:
228
- - - ! '>='
220
+ - - ">="
229
221
  - !ruby/object:Gem::Version
230
222
  version: '0'
231
223
  requirements: []
232
224
  rubyforge_project:
233
- rubygems_version: 2.4.8
225
+ rubygems_version: 2.4.5
234
226
  signing_key:
235
227
  specification_version: 4
236
228
  summary: Foreman plugin for showing tasks information for resoruces and users
@@ -248,4 +240,3 @@ test_files:
248
240
  - test/unit/actions/action_with_sub_plans_test.rb
249
241
  - test/unit/task_test.rb
250
242
  - test/unit/task_groups_test.rb
251
- has_rdoc: