Skip to content

Upgrade to use glossarist-ruby 2.11.3 - #21

Merged
HassanAkbar merged 4 commits into
mainfrom
fix/glossarist-2-11-upgrade
Jul 16, 2026
Merged

Upgrade to use glossarist-ruby 2.11.3#21
HassanAkbar merged 4 commits into
mainfrom
fix/glossarist-2-11-upgrade

Conversation

@HassanAkbar

Copy link
Copy Markdown
Member

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Upgrades Termium’s Glossarist integration to work with glossarist ~> 2.11.3, including adjustments to how concepts/localizations are constructed/serialized and adding regression tests to cover the updated behavior.

Changes:

  • Bump glossarist dependency to ~> 2.11.3.
  • Update concept/localized-concept construction to align with newer Glossarist data-backed models and date handling.
  • Expand RSpec coverage for identifiers, localizations, dates, and standalone save_to_files behavior.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
termium.gemspec Bumps the glossarist runtime dependency to ~> 2.11.3.
spec/termium_spec.rb Replaces the minimal spec with a broader suite covering YAML output and standalone save behavior.
lib/termium/language_module.rb Adjusts localized concept hash structure and uses LocalizedConcept.of_yaml, plus wraps notes/examples.
lib/termium/core.rb Updates managed concept construction to avoid data default-mutation serialization issues and refactors localization building.
lib/termium.rb Requires fileutils to prevent runtime NameError when saving via Glossarist.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread lib/termium/language_module.rb Outdated
Comment thread spec/termium_spec.rb Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Comment thread spec/termium_spec.rb
Comment thread spec/termium_spec.rb

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.

@HassanAkbar
HassanAkbar requested a review from ronaldtse July 15, 2026 12:36
@HassanAkbar
HassanAkbar merged commit 662ee06 into main Jul 16, 2026
15 checks passed
@HassanAkbar
HassanAkbar deleted the fix/glossarist-2-11-upgrade branch July 16, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants