1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/rss
kou 5e64882123 rss itunes: fix a bug that <itunes:explicit> value isn't fully supported
Fix GH-1725

<itunes:explicit> accepts "explicit", "yes", "true", "clean", "no" and
"false" as valid values.

Here is the <itunes:explicit>'s description in
https://help.apple.com/itc/podcasts_connect/#/itcb54353390:

> The <itunes:explicit> tag indicates whether your podcast contains
> explicit material. You can specify the following values:
>
>   * Yes | Explicit | True. If you specify yes, explicit, or true,
>     indicating the presence of explicit content, the iTunes Store
>     displays an Explicit parental advisory graphic for your podcast.
>
>   * Clean | No | False. If you specify clean, no, or false, indicating
>     that none of your podcast episodes contain explicit language or
>     adult content, the iTunes Store displays a Clean parental
>     advisory graphic for your podcast.

I don't know whether <itunes:explicit> value is case sensitive or
insensitive. But the current implementation is case insensitive.

Reported by Valerie Woolard Srinivasan. Thanks!!!


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-22 16:03:57 +00:00
..
content Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
dublincore Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
maker rss itunes: fix a bug that <itunes:explicit> value isn't fully supported 2017-10-22 16:03:57 +00:00
0.9.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
1.0.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
2.0.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
atom.rb Add document for lib/rss/atom.rb 2017-01-26 12:47:51 +00:00
content.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
converter.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
dublincore.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
image.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
itunes.rb rss itunes: fix a bug that <itunes:explicit> value isn't fully supported 2017-10-22 16:03:57 +00:00
maker.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
parser.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
rexmlparser.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
rss.rb rss itunes: fix a bug that <itunes:explicit> value isn't fully supported 2017-10-22 16:03:57 +00:00
slash.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
syndication.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
taxonomy.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
trackback.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
utils.rb rss itunes: fix a bug that <itunes:explicit> value isn't fully supported 2017-10-22 16:03:57 +00:00
xml-stylesheet.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
xml.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
xmlparser.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
xmlscanner.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00