hammer_cli 3.2.0 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/release_notes.md +4 -0
- data/lib/hammer_cli/shell.rb +3 -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
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a4ae8103129f5454bb936dbb55071ee6710e70f7ea90404d8f32f024d006b18
|
4
|
+
data.tar.gz: 928d97708685626852128ba704d638a7c02e5119d122cd658ae8421780f73854
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b9e62f788e6f7e70a72a4f588d955cc9fd9b690e7ec074098f52805a61a721294a51c35fb92202c4dda4c18752e1694409ebaa67285be5bc350ae20cf47ff51
|
7
|
+
data.tar.gz: ea53be858296c5a99db9c2cc11ce9e1916b807863972dec3da6412633d51019cbdfc5758dfb37a20aca55e81d755f7cd43a018c5b881e399811c80c7f7f92396
|
data/doc/release_notes.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
Release notes
|
2
2
|
=============
|
3
|
+
### 3.3.0 (2022-05-10)
|
4
|
+
* Fix hammer shell with pipe as stdin ([PR #360](https://github.com/theforeman/hammer-cli/pull/360)), [#34724](http://projects.theforeman.org/issues/34724)
|
5
|
+
* Bump to 3.3.0-develop
|
6
|
+
|
3
7
|
### 3.2.0 (2022-02-10)
|
4
8
|
* Fix fr translation ([PR #358](https://github.com/theforeman/hammer-cli/pull/358)), [#34204](http://projects.theforeman.org/issues/34204)
|
5
9
|
* Add missing_args_error_result test helper ([PR #357](https://github.com/theforeman/hammer-cli/pull/357))
|
data/lib/hammer_cli/shell.rb
CHANGED
@@ -86,7 +86,7 @@ module HammerCLI
|
|
86
86
|
Readline.completer_word_break_characters = ' ='
|
87
87
|
Readline.completion_proc = complete_proc
|
88
88
|
|
89
|
-
stty_save = `stty -g`.chomp
|
89
|
+
stty_save = `stty -g`.chomp if $stdin.tty?
|
90
90
|
|
91
91
|
history = ShellHistory.new(Settings.get(:ui, :history_file) || DEFAULT_HISTORY_FILE)
|
92
92
|
|
@@ -102,7 +102,8 @@ module HammerCLI
|
|
102
102
|
rescue Interrupt; end
|
103
103
|
|
104
104
|
puts
|
105
|
-
|
105
|
+
# Restore
|
106
|
+
system('stty', stty_save) if $stdin.tty?
|
106
107
|
HammerCLI::EX_OK
|
107
108
|
end
|
108
109
|
|
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
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hammer_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Bačovský
|
8
8
|
- Tomáš Strachota
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-05-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: clamp
|
@@ -135,17 +135,17 @@ dependencies:
|
|
135
135
|
requirements:
|
136
136
|
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.
|
138
|
+
version: 0.5.0
|
139
139
|
type: :runtime
|
140
140
|
prerelease: false
|
141
141
|
version_requirements: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.
|
145
|
+
version: 0.5.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
|
@@ -174,8 +174,8 @@ extra_rdoc_files:
|
|
174
174
|
- doc/output.md
|
175
175
|
- doc/review_checklist.md
|
176
176
|
- config/cli.modules.d/module_config_template.yml
|
177
|
-
- config/cli_config.template.yml
|
178
177
|
- config/hammer.completion
|
178
|
+
- config/cli_config.template.yml
|
179
179
|
- README.md
|
180
180
|
files:
|
181
181
|
- LICENSE
|
@@ -379,7 +379,7 @@ homepage: https://github.com/theforeman/hammer-cli
|
|
379
379
|
licenses:
|
380
380
|
- GPL-3.0
|
381
381
|
metadata: {}
|
382
|
-
post_install_message:
|
382
|
+
post_install_message:
|
383
383
|
rdoc_options: []
|
384
384
|
require_paths:
|
385
385
|
- lib
|
@@ -395,7 +395,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
395
395
|
version: '0'
|
396
396
|
requirements: []
|
397
397
|
rubygems_version: 3.1.2
|
398
|
-
signing_key:
|
398
|
+
signing_key:
|
399
399
|
specification_version: 4
|
400
400
|
summary: Universal command-line interface
|
401
401
|
test_files:
|
@@ -414,8 +414,8 @@ test_files:
|
|
414
414
|
- test/unit/connection_test.rb
|
415
415
|
- test/unit/csv_parser_test.rb
|
416
416
|
- test/unit/defaults_test.rb
|
417
|
-
- test/unit/fixtures/apipie/architectures.json
|
418
417
|
- test/unit/fixtures/apipie/documented.json
|
418
|
+
- test/unit/fixtures/apipie/architectures.json
|
419
419
|
- test/unit/fixtures/certs/ca_cert.pem
|
420
420
|
- test/unit/fixtures/certs/non_ca_cert.pem
|
421
421
|
- test/unit/fixtures/defaults/defaults.yml
|