hammer_cli_foreman 3.18.3 → 3.19.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/release_notes.md +3 -8
- data/lib/hammer_cli_foreman/exception_handler.rb +1 -1
- data/lib/hammer_cli_foreman/version.rb +1 -1
- data/locale/ca/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/cs_CZ/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/de/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/en/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/en_GB/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/es/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/fr/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/it/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/ja/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/ka/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/ko/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/pt_BR/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/ru/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/zh_CN/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/zh_TW/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/test/unit/exception_handler_test.rb +0 -11
- metadata +7 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5497c9734d90b46fa06d3a1ad26a007162fe0a14252c198451728d4ac668115a
|
|
4
|
+
data.tar.gz: 81ac1b708117feec9e26488fdcda86ad4c969a23835016a65188c4b06dba272e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bc6f88e37b1ed37b735dd266f329262166792b53c3abe6ce9a775cc5ba2fbe644be82d51fdd19b79742c2b3054c3ebeb1e825b561ef194635b76a85cbb0d714b
|
|
7
|
+
data.tar.gz: cb58b247301d176f88242ab9d343f132b12b91baf2e3aa16a19046cf0e5df5dd3eca1be497cab4e5f151373b9c3bd2ff53cb94ba5e094957045458474025c572
|
data/doc/release_notes.md
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
Release notes
|
|
2
2
|
=============
|
|
3
|
-
### 3.
|
|
4
|
-
*
|
|
5
|
-
* Extract displayMessage from validation errors ([PR #666](https://github.com/theforeman/hammer-cli-foreman/pull/666)), [#39372](http://projects.theforeman.org/issues/39372)
|
|
6
|
-
|
|
7
|
-
### 3.18.2 (2026-10-23)
|
|
8
|
-
* Extract displayMessage from validation errors ([PR #666](https://github.com/theforeman/hammer-cli-foreman/pull/666)), [#39372](http://projects.theforeman.org/issues/39372)
|
|
9
|
-
|
|
10
|
-
### 3.18.1 (2026-03-04)
|
|
3
|
+
### 3.19.0 (2026-05-11)
|
|
4
|
+
* Sync ci ruby versions from hammer-cli
|
|
11
5
|
* Provide empty provider_vm_specific_fields in cr::base, [#39126](http://projects.theforeman.org/issues/39126)
|
|
12
6
|
* Always print vm data, even if the provider is absent, [#39125](http://projects.theforeman.org/issues/39125)
|
|
7
|
+
* Bump to 3.19.0-develop
|
|
13
8
|
|
|
14
9
|
### 3.18.0 (2026-02-10)
|
|
15
10
|
* Bump to 3.18.0-develop
|
|
@@ -35,7 +35,7 @@ module HammerCLIForeman
|
|
|
35
35
|
def handle_unprocessable_entity(e)
|
|
36
36
|
response = JSON.parse(e.response)
|
|
37
37
|
response = HammerCLIForeman.record_to_common_format(response) unless response.has_key?('message')
|
|
38
|
-
print_error response['message'] || response['full_messages']
|
|
38
|
+
print_error response['message'] || response['full_messages']
|
|
39
39
|
HammerCLI::EX_DATAERR
|
|
40
40
|
end
|
|
41
41
|
|
|
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
|
|
Binary file
|
|
Binary file
|
|
@@ -29,17 +29,6 @@ describe HammerCLIForeman::ExceptionHandler do
|
|
|
29
29
|
_(err_code).must_equal HammerCLI::EX_DATAERR
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
it "should print displayMessage on unprocessable entity exception" do
|
|
33
|
-
response = <<-RESPONSE
|
|
34
|
-
{"displayMessage":"Validation failed: Cannot add content view environment to content facet.","errors":{"base":["Cannot add content view environment to content facet."]}}
|
|
35
|
-
RESPONSE
|
|
36
|
-
|
|
37
|
-
ex = RestClient::UnprocessableEntity.new(response)
|
|
38
|
-
output.expects(:print_error).with(heading, "Validation failed: Cannot add content view environment to content facet.")
|
|
39
|
-
err_code = handler.handle_exception(ex, :heading => heading)
|
|
40
|
-
_(err_code).must_equal HammerCLI::EX_DATAERR
|
|
41
|
-
end
|
|
42
|
-
|
|
43
32
|
it "should handle argument error" do
|
|
44
33
|
ex = ArgumentError.new
|
|
45
34
|
output.expects(:print_error).with(heading, ex.message)
|
metadata
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hammer_cli_foreman
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.19.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tomáš Strachota
|
|
8
8
|
- Martin Bačovský
|
|
9
|
+
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
11
|
-
date:
|
|
12
|
+
date: 2026-05-11 00:00:00.000000000 Z
|
|
12
13
|
dependencies:
|
|
13
14
|
- !ruby/object:Gem::Dependency
|
|
14
15
|
name: hammer_cli
|
|
@@ -79,7 +80,6 @@ email: tstracho@redhat.com
|
|
|
79
80
|
executables: []
|
|
80
81
|
extensions: []
|
|
81
82
|
extra_rdoc_files:
|
|
82
|
-
- README.md
|
|
83
83
|
- doc/configuration.md
|
|
84
84
|
- doc/developer_docs.md
|
|
85
85
|
- doc/host_create.md
|
|
@@ -89,6 +89,7 @@ extra_rdoc_files:
|
|
|
89
89
|
- doc/release_notes.md
|
|
90
90
|
- doc/testing.md
|
|
91
91
|
- doc/using_hammer_cli_foreman_command.md
|
|
92
|
+
- README.md
|
|
92
93
|
files:
|
|
93
94
|
- LICENSE
|
|
94
95
|
- README.md
|
|
@@ -340,6 +341,7 @@ homepage: https://github.com/theforeman/hammer-cli-foreman
|
|
|
340
341
|
licenses:
|
|
341
342
|
- GPL-3.0-or-later
|
|
342
343
|
metadata: {}
|
|
344
|
+
post_install_message:
|
|
343
345
|
rdoc_options: []
|
|
344
346
|
require_paths:
|
|
345
347
|
- lib
|
|
@@ -354,7 +356,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
354
356
|
- !ruby/object:Gem::Version
|
|
355
357
|
version: '0'
|
|
356
358
|
requirements: []
|
|
357
|
-
rubygems_version:
|
|
359
|
+
rubygems_version: 3.2.33
|
|
360
|
+
signing_key:
|
|
358
361
|
specification_version: 4
|
|
359
362
|
summary: Foreman commands for Hammer
|
|
360
363
|
test_files:
|