hammer_cli_foreman_remote_execution 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/.tx/config +4 -3
  3. data/Gemfile +1 -1
  4. data/Rakefile +5 -25
  5. data/lib/hammer_cli_foreman_remote_execution/job_invocation.rb +1 -0
  6. data/lib/hammer_cli_foreman_remote_execution/version.rb +1 -1
  7. data/locale/Makefile +2 -53
  8. data/locale/ca/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  9. data/locale/ca/hammer-cli-foreman-remote-execution.po +317 -0
  10. data/locale/cs_CZ/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  11. data/locale/cs_CZ/hammer-cli-foreman-remote-execution.po +305 -0
  12. data/locale/de/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  13. data/locale/de/hammer-cli-foreman-remote-execution.po +137 -82
  14. data/locale/en/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  15. data/locale/en/hammer-cli-foreman-remote-execution.po +55 -16
  16. data/locale/es/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  17. data/locale/es/hammer-cli-foreman-remote-execution.po +136 -84
  18. data/locale/fr/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  19. data/locale/fr/hammer-cli-foreman-remote-execution.po +140 -83
  20. data/locale/hammer-cli-foreman-remote-execution.pot +113 -57
  21. data/locale/it/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  22. data/locale/it/hammer-cli-foreman-remote-execution.po +76 -33
  23. data/locale/ja/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  24. data/locale/ja/hammer-cli-foreman-remote-execution.po +136 -86
  25. data/locale/ka/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  26. data/locale/ka/hammer-cli-foreman-remote-execution.po +313 -0
  27. data/locale/ko/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  28. data/locale/ko/hammer-cli-foreman-remote-execution.po +122 -73
  29. data/locale/pt_BR/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  30. data/locale/pt_BR/hammer-cli-foreman-remote-execution.po +136 -85
  31. data/locale/ru/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  32. data/locale/ru/hammer-cli-foreman-remote-execution.po +128 -75
  33. data/locale/zh_CN/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  34. data/locale/zh_CN/hammer-cli-foreman-remote-execution.po +133 -87
  35. data/locale/zh_TW/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo +0 -0
  36. data/locale/zh_TW/hammer-cli-foreman-remote-execution.po +119 -73
  37. data/test/unit/foreign_input_set_test.rb +9 -9
  38. data/test/unit/job_invocation_test.rb +10 -10
  39. data/test/unit/job_template_test.rb +18 -18
  40. data/test/unit/remote_execution_feature_test.rb +7 -7
  41. data/test/unit/template_input_test.rb +11 -11
  42. metadata +23 -6
@@ -7,10 +7,10 @@ require 'hammer_cli_foreman_remote_execution/template_input'
7
7
  describe HammerCLIForemanRemoteExecution::TemplateInput do
8
8
  include CommandTestHelper
9
9
 
10
- context 'ListCommand' do
10
+ describe 'ListCommand' do
11
11
  let(:cmd) { HammerCLIForemanRemoteExecution::TemplateInput::ListCommand.new('', ctx) }
12
12
 
13
- context 'output' do
13
+ describe 'output' do
14
14
  with_params ['--template-id=1'] do
15
15
  let(:expected_record_count) { cmd.resource.call(:index, :template_id => 1)['results'].length }
16
16
  it_should_print_n_records
@@ -19,40 +19,40 @@ describe HammerCLIForemanRemoteExecution::TemplateInput do
19
19
  end
20
20
  end
21
21
 
22
- context 'InfoCommand' do
22
+ describe 'InfoCommand' do
23
23
  let(:cmd) { HammerCLIForemanRemoteExecution::TemplateInput::InfoCommand.new('', ctx) }
24
24
 
25
- context 'parameters' do
25
+ describe 'parameters' do
26
26
  it_should_accept 'required parameters', ['--template-id=template', '--name=foo']
27
27
  end
28
28
 
29
- context 'output' do
29
+ describe 'output' do
30
30
  with_params ['--template-id=1', '--id=1'] do
31
31
  it_should_print_columns ['ID', 'Name', 'Input type', 'Fact name', 'Variable name', 'Puppet parameter name']
32
32
  end
33
33
  end
34
34
  end
35
35
 
36
- context 'DeleteCommand' do
36
+ describe 'DeleteCommand' do
37
37
  let(:cmd) { HammerCLIForemanRemoteExecution::TemplateInput::DeleteCommand.new('', ctx) }
38
38
 
39
- context 'parameters' do
39
+ describe 'parameters' do
40
40
  it_should_accept 'required parameters', ['--template-id=template', '--name=foo']
41
41
  end
42
42
  end
43
43
 
44
- context 'CreateCommand' do
44
+ describe 'CreateCommand' do
45
45
  let(:cmd) { HammerCLIForemanRemoteExecution::TemplateInput::CreateCommand.new('', ctx) }
46
46
 
47
- context 'parameters' do
47
+ describe 'parameters' do
48
48
  it_should_accept 'create options', ['--template-id=1', "--name=asdf", '--input-type=user']
49
49
  end
50
50
  end
51
51
 
52
- context 'UpdateCommand' do
52
+ describe 'UpdateCommand' do
53
53
  let(:cmd) { HammerCLIForemanRemoteExecution::TemplateInput::UpdateCommand.new('', ctx) }
54
54
 
55
- context 'parameters' do
55
+ describe 'parameters' do
56
56
  it_should_accept 'update options', ['--template-id=1', '--name=asdf', '--input-type=user', '--new-name=fdsa']
57
57
  end
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_foreman_remote_execution
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman Remote Execution team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-23 00:00:00.000000000 Z
11
+ date: 2024-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hammer_cli_foreman
@@ -76,17 +76,34 @@ files:
76
76
  - lib/hammer_cli_foreman_remote_execution/version.rb
77
77
  - locale/Makefile
78
78
  - locale/README.md
79
+ - locale/ca/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo
80
+ - locale/ca/hammer-cli-foreman-remote-execution.po
81
+ - locale/cs_CZ/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo
82
+ - locale/cs_CZ/hammer-cli-foreman-remote-execution.po
83
+ - locale/de/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo
79
84
  - locale/de/hammer-cli-foreman-remote-execution.po
85
+ - locale/en/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo
80
86
  - locale/en/hammer-cli-foreman-remote-execution.po
87
+ - locale/es/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo
81
88
  - locale/es/hammer-cli-foreman-remote-execution.po
89
+ - locale/fr/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo
82
90
  - locale/fr/hammer-cli-foreman-remote-execution.po
83
91
  - locale/hammer-cli-foreman-remote-execution.pot
92
+ - locale/it/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo
84
93
  - locale/it/hammer-cli-foreman-remote-execution.po
94
+ - locale/ja/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo
85
95
  - locale/ja/hammer-cli-foreman-remote-execution.po
96
+ - locale/ka/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo
97
+ - locale/ka/hammer-cli-foreman-remote-execution.po
98
+ - locale/ko/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo
86
99
  - locale/ko/hammer-cli-foreman-remote-execution.po
100
+ - locale/pt_BR/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo
87
101
  - locale/pt_BR/hammer-cli-foreman-remote-execution.po
102
+ - locale/ru/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo
88
103
  - locale/ru/hammer-cli-foreman-remote-execution.po
104
+ - locale/zh_CN/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo
89
105
  - locale/zh_CN/hammer-cli-foreman-remote-execution.po
106
+ - locale/zh_TW/LC_MESSAGES/hammer-cli-foreman-remote-execution.mo
90
107
  - locale/zh_TW/hammer-cli-foreman-remote-execution.po
91
108
  - test/data/1.14/foreman_api.json
92
109
  - test/data/1.16/foreman_api.json
@@ -102,7 +119,7 @@ homepage: https://github.com/theforeman/hammer_cli_foreman_remote_execution
102
119
  licenses:
103
120
  - GPL-3.0-or-later
104
121
  metadata: {}
105
- post_install_message:
122
+ post_install_message:
106
123
  rdoc_options: []
107
124
  require_paths:
108
125
  - lib
@@ -117,8 +134,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
134
  - !ruby/object:Gem::Version
118
135
  version: '0'
119
136
  requirements: []
120
- rubygems_version: 3.1.2
121
- signing_key:
137
+ rubygems_version: 3.2.33
138
+ signing_key:
122
139
  specification_version: 4
123
140
  summary: CLI for the Foreman remote execution plugin
124
141
  test_files: