Skip to content

Conversation

@ozydingo
Copy link
Contributor

@ozydingo ozydingo commented Jun 26, 2024

Forking #48 to address @kou's comment as the original author (@liberlanco) has not responded.

Fixes #51 (comment)

Context from #48:

Apple uses full/trailer/bonus too internally.
See also: #51 (comment)

def #{name}=(new_value)
if @do_validate and
!["Full", "Trailer", "Bonus", nil].include?(new_value)
!["Full", "full", "Trailer", "trailer", "Bonus", "bonus", nil].include?(new_value)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kou note here your comment from the original PR is addressed

Copy link
Member

Choose a reason for hiding this comment

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

Could you rebase on master to remove unrelated changes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, sorry that I didn't notice that! Done.

@kou kou merged commit 7accfa3 into ruby:master Jun 27, 2024
@kou
Copy link
Member

kou commented Jun 27, 2024

Thanks.

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.

Case sensitivity requires all-or-nothing validation

3 participants