[yast/yast-registration] f6507b: remove modifiable key to fix backward compatible i...

Branch: refs/heads/ruby3.1 Home: https://github.com/yast/yast-registration Commit: f6507bf86a20f24a4c6f8a4789fc19abea1149d6 https://github.com/yast/yast-registration/commit/f6507bf86a20f24a4c6f8a4789f... Author: Josef Reidinger <jreidinger@suse.cz> Date: 2022-01-02 (Sun, 02 Jan 2022) Changed paths: M test/addon_selection_dialog_test.rb M test/addon_sorter_spec.rb M test/addon_spec.rb M test/autoyast_addons_spec.rb M test/fixtures/activated_products.yml M test/fixtures/available_addons.yml M test/fixtures/available_unknown_addons.yml M test/fixtures/legacy_module_services.yml M test/fixtures/migration_service.yml M test/fixtures/migration_sles15_activated_products.yml M test/fixtures/pure_addons.yml M test/fixtures/remote_product.yml M test/fixtures/sle15_addons.yaml M test/migration_repos_workflow_spec.rb M test/registration_spec.rb M test/registration_sync_workflow_spec.rb Log Message: ----------- remove modifiable key to fix backward compatible in ostruct Issue was that backward compatibility code do h.size == 1 and h['table']. But as our exported openstruct contain also modificable it failes in first part of condition and backward compatible code does not take effect. Commit: e1d17c53210d6201ff4090fc02dba78fb72b63e5 https://github.com/yast/yast-registration/commit/e1d17c53210d6201ff4090fc02d... Author: Josef Reidinger <jreidinger@suse.cz> Date: 2022-01-02 (Sun, 02 Jan 2022) Changed paths: M test/addon_selection_dialog_test.rb M test/addon_sorter_spec.rb M test/addon_spec.rb M test/autoyast_addons_spec.rb M test/migration_repos_workflow_spec.rb M test/registration_spec.rb M test/registration_sync_workflow_spec.rb Log Message: ----------- remove restrict also for 3.0 Tested that change with removal of modificable also fix issue in ruby 3.0 Compare: https://github.com/yast/yast-registration/compare/f70d0687ff3e...e1d17c53210...
participants (1)
-
Josef Reidinger