hammer_cli_foreman 3.14.2 → 3.15.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.
data/test/test_helper.rb CHANGED
@@ -16,7 +16,7 @@ require "mocha/minitest"
16
16
  require 'hammer_cli'
17
17
  require 'hammer_cli_foreman/testing/api_expectations'
18
18
 
19
- FOREMAN_VERSION = ENV['TEST_API_VERSION'] || '3.14'
19
+ FOREMAN_VERSION = ENV['TEST_API_VERSION'] || '3.15'
20
20
  unless Dir.entries('test/data').include? FOREMAN_VERSION
21
21
  raise StandardError.new "Version is not correct"
22
22
  end
@@ -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.14.2
4
+ version: 3.15.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: 1980-01-02 00:00:00.000000000 Z
12
+ date: 2025-05-14 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: hammer_cli
@@ -16,14 +17,14 @@ dependencies:
16
17
  requirements:
17
18
  - - ">="
18
19
  - !ruby/object:Gem::Version
19
- version: 3.14.0
20
+ version: 3.15.0
20
21
  type: :runtime
21
22
  prerelease: false
22
23
  version_requirements: !ruby/object:Gem::Requirement
23
24
  requirements:
24
25
  - - ">="
25
26
  - !ruby/object:Gem::Version
26
- version: 3.14.0
27
+ version: 3.15.0
27
28
  - !ruby/object:Gem::Dependency
28
29
  name: apipie-bindings
29
30
  requirement: !ruby/object:Gem::Requirement
@@ -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
@@ -236,6 +237,7 @@ files:
236
237
  - test/data/3.11/foreman_api.json
237
238
  - test/data/3.12/foreman_api.json
238
239
  - test/data/3.14/foreman_api.json
240
+ - test/data/3.15/foreman_api.json
239
241
  - test/data/3.4/foreman_api.json
240
242
  - test/data/README.md
241
243
  - test/functional/architecture_test.rb
@@ -340,6 +342,7 @@ homepage: https://github.com/theforeman/hammer-cli-foreman
340
342
  licenses:
341
343
  - GPL-3.0-or-later
342
344
  metadata: {}
345
+ post_install_message:
343
346
  rdoc_options: []
344
347
  require_paths:
345
348
  - lib
@@ -354,7 +357,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
354
357
  - !ruby/object:Gem::Version
355
358
  version: '0'
356
359
  requirements: []
357
- rubygems_version: 4.0.22
360
+ rubygems_version: 3.2.33
361
+ signing_key:
358
362
  specification_version: 4
359
363
  summary: Foreman commands for Hammer
360
364
  test_files:
@@ -362,6 +366,7 @@ test_files:
362
366
  - test/data/3.11/foreman_api.json
363
367
  - test/data/3.12/foreman_api.json
364
368
  - test/data/3.14/foreman_api.json
369
+ - test/data/3.15/foreman_api.json
365
370
  - test/data/3.4/foreman_api.json
366
371
  - test/data/README.md
367
372
  - test/functional/architecture_test.rb