hammer_cli 2.2.1 → 2.3.0
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 +4 -4
- data/doc/installation_source.md +5 -2
- data/doc/release_notes.md +19 -1
- data/lib/hammer_cli/apipie/options.rb +2 -2
- data/lib/hammer_cli/version.rb +1 -1
- data/locale/ca/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/de/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/en/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/en_GB/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/es/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/fr/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/it/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/ja/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/ko/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/pt_BR/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/ru/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/zh_CN/LC_MESSAGES/hammer-cli.mo +0 -0
- data/locale/zh_TW/LC_MESSAGES/hammer-cli.mo +0 -0
- data/man/hammer.1.gz +0 -0
- metadata +72 -72
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 96f7adf75924a417c91ebd6a06ffebb31df006263e7c8b756956d8e438bee5f6
|
|
4
|
+
data.tar.gz: 3bf87b0c2a7625fe341a5226606755300053f622b9543ee1c34fee2ed9905a35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: deca360e00c00eda50d96c387f18c47371734b51267c2a4051252b8899c20ef3afb7f769c55a26ff0d0a91af31351f09fc7d6b99333b29275eecb9f8da41c8ad
|
|
7
|
+
data.tar.gz: c05d30ecd6439ce5a909d3f2d84f26e78205e82a4f476a035d78970a80f1dc09dc6c39be4b824a8451b47ae0e13baff4f46962a4ec46d48031018ca3ddc7bff5
|
data/doc/installation_source.md
CHANGED
|
@@ -8,6 +8,7 @@ Clone and install CLI core
|
|
|
8
8
|
```bash
|
|
9
9
|
$ git clone https://github.com/theforeman/hammer-cli.git
|
|
10
10
|
$ cd hammer-cli
|
|
11
|
+
$ bundle install
|
|
11
12
|
$ rake install
|
|
12
13
|
$ cd ..
|
|
13
14
|
```
|
|
@@ -17,6 +18,7 @@ clone plugin with foreman commands
|
|
|
17
18
|
```bash
|
|
18
19
|
$ git clone https://github.com/theforeman/hammer-cli-foreman.git
|
|
19
20
|
$ cd hammer-cli-foreman
|
|
21
|
+
$ bundle install
|
|
20
22
|
$ rake install
|
|
21
23
|
$ cd ..
|
|
22
24
|
```
|
|
@@ -25,7 +27,8 @@ and optionally other plugins.
|
|
|
25
27
|
|
|
26
28
|
|
|
27
29
|
#### Step 2: enable and configure the plugins
|
|
28
|
-
|
|
29
|
-
|
|
30
|
+
- Add the plugin as a gem to `Gemfile.local.rb`
|
|
31
|
+
- Copy the configuration files to proper locations manually,
|
|
32
|
+
please check our [configuration instructions](installation.md#configuration)
|
|
30
33
|
and see how to proceed.
|
|
31
34
|
|
data/doc/release_notes.md
CHANGED
|
@@ -1,7 +1,25 @@
|
|
|
1
1
|
Release notes
|
|
2
2
|
=============
|
|
3
|
-
### 2.
|
|
3
|
+
### 2.3.0 (2020-11-03)
|
|
4
|
+
* Stop sending empty compute attrs param, [#30815](http://projects.theforeman.org/issues/30815)
|
|
4
5
|
* Make fuzzy search work in hammer shell ([PR #335](https://github.com/theforeman/hammer-cli/pull/335)), [#30747](http://projects.theforeman.org/issues/30747)
|
|
6
|
+
* Add details to installation from source doc ([PR #334](https://github.com/theforeman/hammer-cli/pull/334)), [#30666](http://projects.theforeman.org/issues/30666)
|
|
7
|
+
* Bump to 2.3.0-develop
|
|
8
|
+
* Bump to 2.2.0
|
|
9
|
+
|
|
10
|
+
### 2.3.0 (2020-11-03)
|
|
11
|
+
* Stop sending empty compute attrs param, [#30815](http://projects.theforeman.org/issues/30815)
|
|
12
|
+
* Make fuzzy search work in hammer shell ([PR #335](https://github.com/theforeman/hammer-cli/pull/335)), [#30747](http://projects.theforeman.org/issues/30747)
|
|
13
|
+
* Add details to installation from source doc ([PR #334](https://github.com/theforeman/hammer-cli/pull/334)), [#30666](http://projects.theforeman.org/issues/30666)
|
|
14
|
+
* Bump to 2.3.0-develop
|
|
15
|
+
* Bump to 2.2.0
|
|
16
|
+
|
|
17
|
+
### 2.2.0 (2020-08-11)
|
|
18
|
+
* Update installation_rpm.md ([PR #333](https://github.com/theforeman/hammer-cli/pull/333))
|
|
19
|
+
* Clean gem_release.ipynb up
|
|
20
|
+
* Replace awesome_print with amazing_print ([PR #330](https://github.com/theforeman/hammer-cli/pull/330)), [#29846](http://projects.theforeman.org/issues/29846)
|
|
21
|
+
* Fix typo: s/filed/feild/ ([PR #331](https://github.com/theforeman/hammer-cli/pull/331))
|
|
22
|
+
* Bump to 2.2.0-develop
|
|
5
23
|
|
|
6
24
|
### 2.1.0 (2020-05-14)
|
|
7
25
|
* Hammer full-help returns correct output, [#29697](http://projects.theforeman.org/issues/29697)
|
|
@@ -10,11 +10,11 @@ module HammerCLI::Apipie
|
|
|
10
10
|
opts = {}
|
|
11
11
|
|
|
12
12
|
params.each do |p|
|
|
13
|
-
if p.expected_type == :hash
|
|
13
|
+
if p.expected_type == :hash && !p.params.empty?
|
|
14
14
|
opts[p.name] = method_options_for_params(p.params, options)
|
|
15
15
|
else
|
|
16
16
|
p_name = HammerCLI.option_accessor_name(p.name)
|
|
17
|
-
if options.
|
|
17
|
+
if options.key?(p_name)
|
|
18
18
|
opts[p.name] = options[p_name]
|
|
19
19
|
elsif respond_to?(p_name, true)
|
|
20
20
|
opt = send(p_name)
|
data/lib/hammer_cli/version.rb
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/man/hammer.1.gz
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hammer_cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Martin Bačovský
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2020-
|
|
12
|
+
date: 2020-11-03 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: clamp
|
|
@@ -145,7 +145,7 @@ dependencies:
|
|
|
145
145
|
version: 0.2.0
|
|
146
146
|
description: 'Hammer cli provides universal extendable CLI interface for ruby apps
|
|
147
147
|
|
|
148
|
-
'
|
|
148
|
+
'
|
|
149
149
|
email: mbacovsk@redhat.com
|
|
150
150
|
executables:
|
|
151
151
|
- hammer
|
|
@@ -153,26 +153,26 @@ executables:
|
|
|
153
153
|
extensions: []
|
|
154
154
|
extra_rdoc_files:
|
|
155
155
|
- doc/commands_extension.md
|
|
156
|
-
- doc/
|
|
157
|
-
- doc/creating_apipie_commands.md
|
|
158
|
-
- doc/creating_commands.md
|
|
156
|
+
- doc/release_notes.md
|
|
159
157
|
- doc/design.png
|
|
160
|
-
- doc/
|
|
161
|
-
- doc/developer_docs.md
|
|
162
|
-
- doc/development_tips.md
|
|
163
|
-
- doc/help_modification.md
|
|
164
|
-
- doc/i18n.md
|
|
158
|
+
- doc/commands_modification.md
|
|
165
159
|
- doc/installation.md
|
|
160
|
+
- doc/development_tips.md
|
|
161
|
+
- doc/writing_a_plugin.md
|
|
162
|
+
- doc/output.md
|
|
163
|
+
- doc/developer_docs.md
|
|
166
164
|
- doc/installation_deb.md
|
|
167
|
-
- doc/installation_gem.md
|
|
168
|
-
- doc/option_builders.md
|
|
169
165
|
- doc/option_normalizers.md
|
|
170
|
-
- doc/output.md
|
|
171
|
-
- doc/review_checklist.md
|
|
172
|
-
- doc/writing_a_plugin.md
|
|
173
166
|
- doc/installation_rpm.md
|
|
167
|
+
- doc/installation_gem.md
|
|
168
|
+
- doc/help_modification.md
|
|
169
|
+
- doc/creating_commands.md
|
|
174
170
|
- doc/installation_source.md
|
|
175
|
-
- doc/
|
|
171
|
+
- doc/option_builders.md
|
|
172
|
+
- doc/i18n.md
|
|
173
|
+
- doc/review_checklist.md
|
|
174
|
+
- doc/creating_apipie_commands.md
|
|
175
|
+
- doc/design.uml
|
|
176
176
|
- config/cli.modules.d/module_config_template.yml
|
|
177
177
|
- config/cli_config.template.yml
|
|
178
178
|
- config/hammer.completion
|
|
@@ -394,75 +394,75 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
394
394
|
- !ruby/object:Gem::Version
|
|
395
395
|
version: '0'
|
|
396
396
|
requirements: []
|
|
397
|
-
rubygems_version: 3.
|
|
397
|
+
rubygems_version: 3.0.8
|
|
398
398
|
signing_key:
|
|
399
399
|
specification_version: 4
|
|
400
400
|
summary: Universal command-line interface
|
|
401
401
|
test_files:
|
|
402
|
-
- test/
|
|
403
|
-
- test/
|
|
404
|
-
- test/
|
|
405
|
-
- test/
|
|
406
|
-
- test/
|
|
407
|
-
- test/unit/
|
|
408
|
-
- test/unit/
|
|
402
|
+
- test/unit/messages_test.rb
|
|
403
|
+
- test/unit/exception_handler_test.rb
|
|
404
|
+
- test/unit/modules_test.rb
|
|
405
|
+
- test/unit/connection_test.rb
|
|
406
|
+
- test/unit/completer_test.rb
|
|
407
|
+
- test/unit/csv_parser_test.rb
|
|
408
|
+
- test/unit/option_builder_test.rb
|
|
409
|
+
- test/unit/test_helper.rb
|
|
410
|
+
- test/unit/utils_test.rb
|
|
409
411
|
- test/unit/apipie/command_test.rb
|
|
410
412
|
- test/unit/apipie/option_builder_test.rb
|
|
411
|
-
- test/unit/apipie/option_definition_test.rb
|
|
412
413
|
- test/unit/apipie/test_helper.rb
|
|
413
|
-
- test/unit/
|
|
414
|
-
- test/unit/
|
|
414
|
+
- test/unit/apipie/api_connection_test.rb
|
|
415
|
+
- test/unit/apipie/option_definition_test.rb
|
|
415
416
|
- test/unit/command_extensions_test.rb
|
|
416
|
-
- test/unit/
|
|
417
|
-
- test/unit/
|
|
418
|
-
- test/unit/
|
|
417
|
+
- test/unit/main_test.rb
|
|
418
|
+
- test/unit/options/processor_list_test.rb
|
|
419
|
+
- test/unit/options/option_family_test.rb
|
|
420
|
+
- test/unit/options/validators/dsl_test.rb
|
|
421
|
+
- test/unit/options/sources/command_line_test.rb
|
|
422
|
+
- test/unit/options/sources/saved_defaults_test.rb
|
|
423
|
+
- test/unit/options/matcher_test.rb
|
|
424
|
+
- test/unit/options/option_collector_test.rb
|
|
425
|
+
- test/unit/options/normalizers_test.rb
|
|
426
|
+
- test/unit/options/option_definition_test.rb
|
|
427
|
+
- test/unit/settings_test.rb
|
|
428
|
+
- test/unit/history_test.rb
|
|
419
429
|
- test/unit/defaults_test.rb
|
|
420
|
-
- test/unit/
|
|
430
|
+
- test/unit/logger_test.rb
|
|
431
|
+
- test/unit/output/formatters_test.rb
|
|
432
|
+
- test/unit/output/record_collection_test.rb
|
|
433
|
+
- test/unit/output/dsl_test.rb
|
|
434
|
+
- test/unit/output/definition_test.rb
|
|
435
|
+
- test/unit/output/output_test.rb
|
|
436
|
+
- test/unit/output/field_filter_test.rb
|
|
437
|
+
- test/unit/output/fields_test.rb
|
|
438
|
+
- test/unit/output/adapter/table_test.rb
|
|
439
|
+
- test/unit/output/adapter/json_test.rb
|
|
440
|
+
- test/unit/output/adapter/abstract_test.rb
|
|
441
|
+
- test/unit/output/adapter/yaml_test.rb
|
|
442
|
+
- test/unit/output/adapter/csv_test.rb
|
|
443
|
+
- test/unit/output/adapter/base_test.rb
|
|
444
|
+
- test/unit/abstract_test.rb
|
|
445
|
+
- test/unit/i18n_test.rb
|
|
421
446
|
- test/unit/fixtures/apipie/architectures.json
|
|
422
447
|
- test/unit/fixtures/apipie/documented.json
|
|
423
|
-
- test/unit/fixtures/certs/ca_cert.pem
|
|
424
|
-
- test/unit/fixtures/certs/non_ca_cert.pem
|
|
425
|
-
- test/unit/fixtures/defaults/defaults.yml
|
|
426
448
|
- test/unit/fixtures/defaults/defaults_dashed.yml
|
|
427
|
-
- test/unit/fixtures/
|
|
449
|
+
- test/unit/fixtures/defaults/defaults.yml
|
|
428
450
|
- test/unit/fixtures/json_input/valid.json
|
|
429
|
-
- test/unit/
|
|
430
|
-
- test/unit/
|
|
431
|
-
- test/unit/
|
|
432
|
-
- test/unit/
|
|
451
|
+
- test/unit/fixtures/json_input/invalid.json
|
|
452
|
+
- test/unit/fixtures/certs/ca_cert.pem
|
|
453
|
+
- test/unit/fixtures/certs/non_ca_cert.pem
|
|
454
|
+
- test/unit/bash_test.rb
|
|
433
455
|
- test/unit/help/definition/section_test.rb
|
|
456
|
+
- test/unit/help/definition/list_test.rb
|
|
434
457
|
- test/unit/help/definition/text_test.rb
|
|
458
|
+
- test/unit/help/definition/abstract_item_test.rb
|
|
459
|
+
- test/unit/help/definition/note_test.rb
|
|
435
460
|
- test/unit/help/definition_test.rb
|
|
461
|
+
- test/unit/help/builder_test.rb
|
|
436
462
|
- test/unit/help/text_builder_test.rb
|
|
437
|
-
- test/unit/
|
|
438
|
-
- test/
|
|
439
|
-
- test/
|
|
440
|
-
- test/
|
|
441
|
-
- test/
|
|
442
|
-
- test/
|
|
443
|
-
- test/unit/option_builder_test.rb
|
|
444
|
-
- test/unit/options/matcher_test.rb
|
|
445
|
-
- test/unit/options/normalizers_test.rb
|
|
446
|
-
- test/unit/options/option_collector_test.rb
|
|
447
|
-
- test/unit/options/option_definition_test.rb
|
|
448
|
-
- test/unit/options/option_family_test.rb
|
|
449
|
-
- test/unit/options/processor_list_test.rb
|
|
450
|
-
- test/unit/options/sources/command_line_test.rb
|
|
451
|
-
- test/unit/options/sources/saved_defaults_test.rb
|
|
452
|
-
- test/unit/options/validators/dsl_test.rb
|
|
453
|
-
- test/unit/output/adapter/abstract_test.rb
|
|
454
|
-
- test/unit/output/adapter/base_test.rb
|
|
455
|
-
- test/unit/output/adapter/csv_test.rb
|
|
456
|
-
- test/unit/output/adapter/json_test.rb
|
|
457
|
-
- test/unit/output/adapter/table_test.rb
|
|
458
|
-
- test/unit/output/adapter/yaml_test.rb
|
|
459
|
-
- test/unit/output/definition_test.rb
|
|
460
|
-
- test/unit/output/dsl_test.rb
|
|
461
|
-
- test/unit/output/field_filter_test.rb
|
|
462
|
-
- test/unit/output/fields_test.rb
|
|
463
|
-
- test/unit/output/formatters_test.rb
|
|
464
|
-
- test/unit/output/output_test.rb
|
|
465
|
-
- test/unit/output/record_collection_test.rb
|
|
466
|
-
- test/unit/settings_test.rb
|
|
467
|
-
- test/unit/test_helper.rb
|
|
468
|
-
- test/unit/utils_test.rb
|
|
463
|
+
- test/unit/ca_cert_manager_test.rb
|
|
464
|
+
- test/functional/help_test.rb
|
|
465
|
+
- test/functional/test_helper.rb
|
|
466
|
+
- test/functional/nil_values_test.rb
|
|
467
|
+
- test/functional/defaults_test.rb
|
|
468
|
+
- test/test_helper.rb
|