ruby/test/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
..
dot.png
rss-assertions.rb
rss-testcase.rb
test_1.0.rb
test_2.0.rb
test_accessor.rb
test_atom.rb
test_content.rb
test_dublincore.rb
test_image.rb
test_inherit.rb
test_itunes.rb rss itunes: fix a bug that <itunes:explicit> value isn't fully supported 2017-10-22 16:03:57 +00:00
test_maker_0.9.rb Fix tests depending on sort stability 2016-10-13 02:31:43 +00:00
test_maker_1.0.rb Fix tests depending on sort stability 2016-10-13 02:31:43 +00:00
test_maker_2.0.rb Fix tests depending on sort stability 2016-10-13 02:31:43 +00:00
test_maker_atom_entry.rb
test_maker_atom_feed.rb
test_maker_content.rb
test_maker_dc.rb
test_maker_image.rb
test_maker_itunes.rb rss itunes: fix a bug that <itunes:explicit> value isn't fully supported 2017-10-22 16:03:57 +00:00
test_maker_slash.rb
test_maker_sy.rb
test_maker_taxo.rb
test_maker_trackback.rb
test_maker_xml-stylesheet.rb
test_parser.rb
test_parser_1.0.rb
test_parser_2.0.rb
test_parser_atom_entry.rb
test_parser_atom_feed.rb
test_setup_maker_0.9.rb
test_setup_maker_1.0.rb
test_setup_maker_2.0.rb
test_setup_maker_atom_entry.rb
test_setup_maker_atom_feed.rb
test_setup_maker_itunes.rb
test_setup_maker_slash.rb
test_slash.rb
test_syndication.rb
test_taxonomy.rb
test_to_s.rb rss: Accept empty text element as valid element 2017-05-03 12:25:17 +00:00
test_trackback.rb
test_version.rb
test_xml-stylesheet.rb