manageiq-appliance_console 9.1.1 → 10.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92c044bd2f3d92f8d58e493c00f95305372fd4954c7e66f9b352093311450976
4
- data.tar.gz: 8b61325b1fe64b83f7160225c7aeae2b91ac415a48089c4bb387120d76446ee3
3
+ metadata.gz: 24e2e6f70a0eec283a0bd96905cc7c5d762a570b68f9b0995bf6001cb7ac53b8
4
+ data.tar.gz: 3e3f200832cd8a85d52deacf3a2fd695126e80b68e602c02eec6cda20bd58123
5
5
  SHA512:
6
- metadata.gz: c063b69eee1a7b04a4e3a08c96a78679969e4903e670fb3018e4f6ce1325f76b1168f20064530b0781b8badff3376740413067cc9cffa8c37a69c3c09dc4b697
7
- data.tar.gz: 4e390849ca9978b98501214c0f80de65e854f82d1fb3ae1c449da07cb6d8db5fe6df26ea0c2b518708b2db139bef0eb9fa99271f78d865437dc377627214bb76
6
+ metadata.gz: 07d6cf765043b8d5df50e8d8de87c1d7942e630cb958a89e8489ac7b42951d620944515e4d0bb438455aebd1b14fdb4428ac6434699f4c47617a029591d961f3
7
+ data.tar.gz: fdbba2254917061b5e05c13704b43e663a29615fea464c723d413d6a12cfd5839e50c4738fc73b753d98e465a0283a73db1c53f563f64abe7272fb6641ea07db
@@ -11,11 +11,11 @@ jobs:
11
11
  strategy:
12
12
  matrix:
13
13
  ruby-version:
14
- - '3.0'
15
14
  - '3.1'
15
+ - '3.3'
16
16
  rails-version:
17
- - '6.1'
18
17
  - '7.0'
18
+ - '7.1'
19
19
  services:
20
20
  postgres:
21
21
  image: manageiq/postgresql:13
@@ -42,6 +42,6 @@ jobs:
42
42
  - name: Run tests
43
43
  run: bundle exec rake
44
44
  - name: Report code coverage
45
- if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.1' && matrix.rails-version == '7.0' }}
45
+ if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.3' && matrix.rails-version == '7.1' }}
46
46
  continue-on-error: true
47
- uses: paambaati/codeclimate-action@v8
47
+ uses: paambaati/codeclimate-action@v9
data/CHANGELOG.md CHANGED
@@ -4,6 +4,20 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [10.0.1] - 2024-11-27
8
+ ## Changed
9
+ - Readline does not work with ruby 3.3 [[#270](https://github.com/ManageIQ/manageiq-appliance_console/pull/270)]
10
+
11
+ ## [10.0.0] - 2024-11-19
12
+ ### Added
13
+ - Test with ruby 3.3 [[#269](https://github.com/ManageIQ/manageiq-appliance_console/pull/269)]
14
+
15
+ ### Changed
16
+ - **BREAKING** Store saml remote user configuration separately from sssd lookup [[#265](https://github.com/ManageIQ/manageiq-appliance_console/pull/265)]
17
+
18
+ ### Fixed
19
+ - Fix warnings on newer ERB versions [[#267](https://github.com/ManageIQ/manageiq-appliance_console/pull/267)]
20
+
7
21
  ## [9.1.1] - 2024-08-13
8
22
  ### Changed
9
23
  - Don't depend on eth0 for displaying network information [[#263](https://github.com/ManageIQ/manageiq-appliance_console/pull/263)]
@@ -289,7 +303,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
289
303
 
290
304
  ## [1.0.0] - 2017-10-19
291
305
 
292
- [Unreleased]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v9.1.1...HEAD
306
+ [Unreleased]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v10.0.1...HEAD
307
+ [10.0.1]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v10.0.0...v10.0.1
308
+ [10.0.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v9.1.1...v10.0.0
293
309
  [9.1.1]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v9.1.0...v9.1.1
294
310
  [9.1.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v9.0.3...v9.1.0
295
311
  [9.0.3]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v9.0.2...v9.0.3
@@ -118,15 +118,11 @@ module ManageIQ
118
118
  end
119
119
 
120
120
  def should_exclude_tables?
121
- ask_yn?("Would you like to exclude tables in the dump") do |q|
122
- q.readline = true
123
- end
121
+ ask_yn?("Would you like to exclude tables in the dump")
124
122
  end
125
123
 
126
124
  def should_split_output?
127
- ask_yn?("Would you like to split the #{action} output into multiple parts") do |q|
128
- q.readline = true
129
- end
125
+ ask_yn?("Would you like to split the #{action} output into multiple parts")
130
126
  end
131
127
 
132
128
  def filename_prompt_args
@@ -201,7 +201,7 @@ module ApplianceConsole
201
201
  src_path = path_join(src_dir, file)
202
202
  dest_path = path_join(dest_dir, file.gsub(".erb", ""))
203
203
  if src_path.to_s.include?(".erb")
204
- File.write(dest_path, ERB.new(File.read(src_path), nil, '-').result(binding))
204
+ File.write(dest_path, ERB.new(File.read(src_path), trim_mode: '-').result(binding))
205
205
  else
206
206
  FileUtils.cp src_path, dest_path
207
207
  end
@@ -212,7 +212,6 @@ module ApplianceConsole
212
212
 
213
213
  def just_ask(prompt, default = nil, validate = nil, error_text = nil, klass = nil)
214
214
  ask("Enter the #{prompt}: ", klass) do |q|
215
- q.readline = true
216
215
  q.default = default.to_s if default
217
216
  q.validate = validate if validate
218
217
  q.responses[:not_valid] = error_text ? "Please provide #{error_text}" : "Please provide in the specified format"
@@ -90,13 +90,15 @@ module ManageIQ
90
90
 
91
91
  def copy_apache_saml_configfiles
92
92
  debug_msg("Copying Apache SAML Config files ...")
93
- copy_template(HTTPD_CONFIG_DIRECTORY, "manageiq-remote-user.conf")
93
+ copy_template(HTTPD_CONFIG_DIRECTORY, "manageiq-remote-user-saml.conf")
94
94
  copy_template(HTTPD_CONFIG_DIRECTORY, "manageiq-external-auth-saml.conf")
95
95
  end
96
96
 
97
97
  def remove_apache_saml_configfiles
98
98
  debug_msg("Removing Apache SAML Config files ...")
99
+ # legacy systems may have manageiq-remote-user.conf instead of manageiq-remote-user-saml.conf
99
100
  remove_file(HTTPD_CONFIG_DIRECTORY.join("manageiq-remote-user.conf"))
101
+ remove_file(HTTPD_CONFIG_DIRECTORY.join("manageiq-remote-user-saml.conf"))
100
102
  remove_file(HTTPD_CONFIG_DIRECTORY.join("manageiq-external-auth-saml.conf"))
101
103
  end
102
104
 
@@ -1,5 +1,5 @@
1
1
  module ManageIQ
2
2
  module ApplianceConsole
3
- VERSION = '9.1.1'.freeze
3
+ VERSION = '10.0.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manageiq-appliance_console
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.1.1
4
+ version: 10.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ManageIQ Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-13 00:00:00.000000000 Z
11
+ date: 2024-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord