Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated to use glossarist models for concept and managed_concept #32

Merged
merged 3 commits into from
Mar 4, 2024

Conversation

HassanAkbar
Copy link
Member

Using custom concept and managed_concept models to add register info to generated concepts.

module Termbase
module Glossarist
class Concept < ::Glossarist::LocalizedConcept
attr_accessor :status, :dateAccepted
Copy link

Choose a reason for hiding this comment

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

Use snake_case for method names.

data_hash.merge(register_info)
end

def register_info
Copy link

Choose a reason for hiding this comment

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

Cyclomatic complexity for register_info is too high. [7/6]

@HassanAkbar HassanAkbar requested a review from ronaldtse March 4, 2024 06:33
@ronaldtse
Copy link
Member

ronaldtse commented Mar 4, 2024

Thanks @HassanAkbar , can you please help release the gem, and use the new gem to update https://github.com/geolexica/isotc211-glossary ?

In:

@HassanAkbar HassanAkbar merged commit db69978 into main Mar 4, 2024
15 checks passed
@HassanAkbar HassanAkbar deleted the updating_to_use_glossarist_for_concept_generation branch March 4, 2024 08:16
@HassanAkbar
Copy link
Member Author

@ronaldtse Version 0.2.4 released with this change.

@HassanAkbar
Copy link
Member Author

HassanAkbar commented Mar 4, 2024

can you please help release the gem, and use the new gem to update

@ronaldtse I've already updated the glossary in geolexica/isotc211-glossary#47 using the branch for this change.

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