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

itunes: support lowercased episodeType values #53

Merged
merged 2 commits into from
Jun 27, 2024

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)

@@ -593,7 +593,7 @@ def itunes_episode_type_writer(name, disp_name=name)
module_eval(<<-DEF, *get_file_and_line_from_caller(2))
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
34 of 37 checks passed
@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
Development

Successfully merging this pull request may close these issues.

Case sensitivity requires all-or-nothing validation
3 participants