hammer_cli_foreman_tasks 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,9 +39,8 @@ module HammerCLIForemanTasks
39
39
  end
40
40
 
41
41
  def render_result
42
- unless @task['humanized']['output'].to_s.empty?
43
- puts @task['humanized']['output']
44
- end
42
+ puts @task['humanized']['output'] unless @task['humanized']['output'].to_s.empty?
43
+ STDERR.puts @task['humanized']['errors'].join("\n") unless @task['humanized']['errors'].to_s.empty?
45
44
  end
46
45
 
47
46
  def update_task
@@ -1,5 +1,5 @@
1
1
  module HammerCLIForemanTasks
2
2
  def self.version
3
- @version ||= Gem::Version.new('0.0.5')
3
+ @version ||= Gem::Version.new('0.0.6')
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_foreman_tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Ivan Nečas
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2015-03-20 00:00:00.000000000 Z
12
+ date: 2015-04-27 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: powerbar
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,17 +30,25 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: hammer_cli_foreman
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - ~>
35
+ - - ! '>'
32
36
  - !ruby/object:Gem::Version
33
37
  version: 0.1.1
38
+ - - <
39
+ - !ruby/object:Gem::Version
40
+ version: 0.3.0
34
41
  type: :runtime
35
42
  prerelease: false
36
43
  version_requirements: !ruby/object:Gem::Requirement
44
+ none: false
37
45
  requirements:
38
- - - ~>
46
+ - - ! '>'
39
47
  - !ruby/object:Gem::Version
40
48
  version: 0.1.1
49
+ - - <
50
+ - !ruby/object:Gem::Version
51
+ version: 0.3.0
41
52
  description: ! 'Contains the code for showing of the tasks (results and progress)
42
53
  in the Hammer CLI.
43
54
 
@@ -48,38 +59,39 @@ executables: []
48
59
  extensions: []
49
60
  extra_rdoc_files: []
50
61
  files:
51
- - LICENSE
52
- - README.md
53
- - config/foreman_tasks.yml
54
- - lib/hammer_cli_foreman_tasks.rb
62
+ - lib/hammer_cli_foreman_tasks/version.rb
55
63
  - lib/hammer_cli_foreman_tasks/async_command.rb
56
- - lib/hammer_cli_foreman_tasks/helper.rb
57
- - lib/hammer_cli_foreman_tasks/task.rb
58
64
  - lib/hammer_cli_foreman_tasks/task_progress.rb
59
- - lib/hammer_cli_foreman_tasks/version.rb
65
+ - lib/hammer_cli_foreman_tasks/task.rb
66
+ - lib/hammer_cli_foreman_tasks/helper.rb
67
+ - lib/hammer_cli_foreman_tasks.rb
68
+ - config/foreman_tasks.yml
69
+ - LICENSE
70
+ - README.md
60
71
  homepage: https://github.com/theforeman/hammer-cli-foreman-tasks
61
72
  licenses:
62
73
  - GPL-3
63
- metadata: {}
64
74
  post_install_message:
65
75
  rdoc_options: []
66
76
  require_paths:
67
77
  - lib
68
78
  required_ruby_version: !ruby/object:Gem::Requirement
79
+ none: false
69
80
  requirements:
70
81
  - - ! '>='
71
82
  - !ruby/object:Gem::Version
72
83
  version: '0'
73
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
+ none: false
74
86
  requirements:
75
87
  - - ! '>='
76
88
  - !ruby/object:Gem::Version
77
89
  version: '0'
78
90
  requirements: []
79
91
  rubyforge_project:
80
- rubygems_version: 2.4.3
92
+ rubygems_version: 1.8.23
81
93
  signing_key:
82
- specification_version: 4
94
+ specification_version: 3
83
95
  summary: Foreman CLI plugin for showing tasks information for resoruces and users
84
96
  test_files: []
85
97
  has_rdoc:
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MmZiNTdhNzA0MmQzNDE3YmZkMTczMjE3YWZlYzcyNGZkZmJlYTg1MQ==
5
- data.tar.gz: !binary |-
6
- NmJhMDA5ZDI3YmNjMjc2OTEzYjlkZTE0OWFiNDFkYmEwMzMyMjZmNA==
7
- SHA512:
8
- metadata.gz: !binary |-
9
- NWJmOGMxOGNlZDcxY2JiNWVlNDMzNWU3ZWZlMzJkNTQxNmM2MmY5OTkxZjYy
10
- YmUwNzU0ZDFjMTg2NTAzMmEzNGUyMjgxY2ZkM2JmMGNhYjE2ZDNkMDRlYTBj
11
- ZjI2MWZhN2FlOTM5NzVlOGNhMjNiNGM2MzU5OTdjYzBlNzUxNDE=
12
- data.tar.gz: !binary |-
13
- YjcyNGFhZWVkMjI4Y2ZkMjZkZWIzNDM1NzQwN2M2MzEyZjA5OTExYmMwMWZi
14
- NzkxZmMyMTA0ZmRiN2YwNDJiZTYxMDhkY2EzNjMzY2FlNjY3NmEyMzFjOTFl
15
- Njk5OWU5ZmE3ZjYwNGRhYmRlY2JlNzRjNjM1NzkzNGQ4MGQyMGE=