hammer_cli_foreman_tasks 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
OTZiMmMwNmM0MGQ3ODU2ZmRiNDNhMTNlYTQ5MWQxNjYwNTRmZmU2MQ==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3fea8ab31d88163a5620dbd257f1dd0d6d8e93a1
|
4
|
+
data.tar.gz: 49f309dde4aaf26b4e29158fc5ee242d18e05676
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
ZWY4NjZkODkwM2ZkYTBhMjM5ODUwYmU5OGZlNjc0MWUxYTEyNDMwMDNmMGNj
|
11
|
-
ZmMzZDVkMGIzMWYxZDFiYWRjZjMzNDYwOTQzNDkxNWZjMzRkOTc=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
YjJiYTcyNWE3ZjE0Y2ExZjI3MmMyY2Q5ZTljNzcxMmE2MmNkMmM2MzQ3YmYx
|
14
|
-
MjA5NjgxYzA4M2M0NjA3NTM0MmI4ZmM4NzkyOGMwZjc4NDFkZGY2ZTVhZjUw
|
15
|
-
YTIzNzBmNzA4Y2IxZDAxYTczOWM4OTk1YWZiNzRmYjhiZDI4OTU=
|
6
|
+
metadata.gz: 85f4956cb013a61a5efb2c8885e09d66445d4356fe1dc877063f5ad2995afb87cc6294f4c25b220187b1016e485b09ff859c700018b8f9d96e979e1e91dd61b6
|
7
|
+
data.tar.gz: b8e9005a23e3b049a316919508ed76c1fe25c76996199a56d8738b0d60b2317f49a3ce6cc551b723972bbd2ea31e9392364f2ce78c6ce44a9b7930b737658cb9
|
@@ -0,0 +1,34 @@
|
|
1
|
+
module HammerCLIForemanTasks
|
2
|
+
class RecurringLogic < HammerCLIForeman::Command
|
3
|
+
resource :recurring_logics
|
4
|
+
|
5
|
+
class ListCommand < HammerCLIForeman::ListCommand
|
6
|
+
output do
|
7
|
+
field :id, _('Id')
|
8
|
+
field :cron_line, _('Cronline')
|
9
|
+
field :end_time, _('End time')
|
10
|
+
field :iteration, _('Iteration')
|
11
|
+
field :state, _('State')
|
12
|
+
end
|
13
|
+
|
14
|
+
build_options
|
15
|
+
end
|
16
|
+
|
17
|
+
class InfoCommand < HammerCLIForeman::InfoCommand
|
18
|
+
output ListCommand.output_definition
|
19
|
+
build_options
|
20
|
+
end
|
21
|
+
|
22
|
+
class CancelCommand < HammerCLIForeman::DeleteCommand
|
23
|
+
action :cancel
|
24
|
+
command_name 'cancel'
|
25
|
+
success_message _('Recurring logic cancelled.')
|
26
|
+
failure_message _('Could not cancel the recurring logic.')
|
27
|
+
build_options
|
28
|
+
end
|
29
|
+
|
30
|
+
autoload_subcommands
|
31
|
+
end
|
32
|
+
|
33
|
+
HammerCLI::MainCommand.subcommand 'recurring-logic', _('Recurring logic related actions.'), RecurringLogic
|
34
|
+
end
|
metadata
CHANGED
@@ -1,53 +1,51 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hammer_cli_foreman_tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
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:
|
11
|
+
date: 2016-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: powerbar
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.0.11
|
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: 1.0.11
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: hammer_cli_foreman
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.1.1
|
34
|
-
- - <
|
34
|
+
- - "<"
|
35
35
|
- !ruby/object:Gem::Version
|
36
36
|
version: 1.0.0
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- -
|
41
|
+
- - ">"
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: 0.1.1
|
44
|
-
- - <
|
44
|
+
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: 1.0.0
|
47
|
-
description:
|
48
|
-
in the Hammer CLI.
|
49
|
-
|
50
|
-
'
|
47
|
+
description: |
|
48
|
+
Contains the code for showing of the tasks (results and progress) in the Hammer CLI.
|
51
49
|
email:
|
52
50
|
- inecas@redhat.com
|
53
51
|
executables: []
|
@@ -60,6 +58,7 @@ files:
|
|
60
58
|
- lib/hammer_cli_foreman_tasks.rb
|
61
59
|
- lib/hammer_cli_foreman_tasks/async_command.rb
|
62
60
|
- lib/hammer_cli_foreman_tasks/helper.rb
|
61
|
+
- lib/hammer_cli_foreman_tasks/recurring_logic.rb
|
63
62
|
- lib/hammer_cli_foreman_tasks/task.rb
|
64
63
|
- lib/hammer_cli_foreman_tasks/task_progress.rb
|
65
64
|
- lib/hammer_cli_foreman_tasks/version.rb
|
@@ -73,19 +72,18 @@ require_paths:
|
|
73
72
|
- lib
|
74
73
|
required_ruby_version: !ruby/object:Gem::Requirement
|
75
74
|
requirements:
|
76
|
-
- -
|
75
|
+
- - ">="
|
77
76
|
- !ruby/object:Gem::Version
|
78
77
|
version: '0'
|
79
78
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
79
|
requirements:
|
81
|
-
- -
|
80
|
+
- - ">="
|
82
81
|
- !ruby/object:Gem::Version
|
83
82
|
version: '0'
|
84
83
|
requirements: []
|
85
84
|
rubyforge_project:
|
86
|
-
rubygems_version: 2.4.
|
85
|
+
rubygems_version: 2.4.8
|
87
86
|
signing_key:
|
88
87
|
specification_version: 4
|
89
88
|
summary: Foreman CLI plugin for showing tasks information for resoruces and users
|
90
89
|
test_files: []
|
91
|
-
has_rdoc:
|