summaryrefslogtreecommitdiffstats
path: root/test/rss/test_parser.rb
Commit message (Collapse)AuthorAgeFilesLines
* * lib/rss/rss.rb, test/rss/test_version.rb: 0.2.2 -> 0.2.3.kou2007-12-281-0/+12
| | | | | | | | * lib/rss/parser.rb, test/rss/test_parser.rb: supported "-" in tag name. Reported by Ray Chen. Thanks. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss.rb, lib/rss/, test/rss/:kou2007-09-151-1/+1
| | | | | | | | - 0.1.9 -> 0.2.0. - supported Slash module. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss, sample/rss, test/rss:kou2007-08-051-12/+2
| | | | | | | | | - 0.1.7 -> 0.1.8. - supported <itunes:XXX>. - reverted backward incompatibility API changes introduced 0.1.7. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss, test/rss:kou2007-03-171-586/+0
| | | | | | | | | - supported Atom. - bumped version 0.1.6 to 0.1.7. * sample/rss/convert.rb: added new sample. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rss.rb: added backward compatibility codes.kou2005-11-251-1/+11
| | | | | | | | | | | | * lib/rss/parser.rb: ditto. * test/rss/test_parser.rb: ditto. * test/rss/test_2.0.rb: ditto. * test/rss/test_content.rb: use #__send__ instead of #funcall for no private method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/parser.rb: added entity handling type predicate.kou2005-11-231-0/+13
| | | | | | | | | | | | | * lib/rss/rexmlparser.rb: ditto. * lib/rss/xmlparser.rb: ditto. * lib/rss/xmlscanner.rb: ditto. * lib/rss/xmlscanner.rb: more robust entity handling. * test/rss/test_parser.rb: added an entity handling test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/parser.rb (RSS::Parser#initialize): accept HTTP/FTPkou2005-07-221-1/+25
| | | | | | | | | | URI and local file path too. * test/rss/test_parser.rb (RSS::TestParser#test_parse): test for the above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rss.rb (RSS::VERSION): 0.1.4 -> 0.1.5.kou2005-07-081-24/+12
| | | | | | | | | | | | | | | * test/rss/test_version.rb (RSS::TestVersion#test_version): ditto. * lib/rss/0.9.rb (RSS::Rss::Channel::Item::Category): domain attribute of <category> is optional. Thanks to Chris Lee <clee@kde.org>. * test/rss/test_parser.rb (RSS::TestParser#test_category20): adjusted test case. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rss.rb (RSS::VERSION): 0.1.0 -> 0.1.1.kou2004-11-191-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/rss: #to_s used #tag. * test/rss/test_to_s.rb: added. * lib/rss/maker.rb (RSS::Maker.make): changed API. It's not received modules which is used as the second argument. * lib/rss/xml-stylesheet.rb (RSS::XMLStyleSheet#alternate): changed return value type which is not String but Boolean. * lib/rss/2.0.rb (RSS::Rss::Channel#ttl): changed return value type which is not String but Integer. * lib/rss/0.9.rb (RSS::Rss::Channel): <skipDays> has <day>s and <skipHours> has <hour>s. * lib/rss/maker/0.9.rb (RSS::Maker::RSS09::Channel): ditto. * lib/rss/0.9.rb (RSS::Rss::Channel::Item): <item> has <category>s. * lib/rss/maker/2.0.rb (RSS::Maker::Rss20::Channel::Item): ditto. * lib/rss/2.0.rb (RSS::Rss::Channel): <channel> has <category>s. * lib/rss/maker/2.0.rb (RSS::Maker::RSS20::Channel): ditto. * lib/rss/trackback.rb: parent element has <trackback:about>s. * lib/rss/maker/trackback.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rss/*.rb: removed tab width configuration headers.kou2004-11-031-2/+0
| | | | | | | | | | | | | | * test/rss/test_maker_{0.9,1.0}.rb: sort -> do_sort. * lib/rss/maker/*.rb: changed API to RSS version independence. * lib/rss/maker/base.rb (RSS::Maker::XMLStyleSheets::XMLStyleSheet): checked required (pseudo) attributes. * lib/rss/maker/base.rb (RSS::Maker::Items): sort -> do_sort. * lib/rss/rss.rb (RSS::BaseModel.install_date_element): avoided warning. * lib/rss/0.9.rb (RSS::Rss#textinput): added convenience method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/: untabified.kou2004-10-161-229/+229
| | | | | | | | * test/rss/: untabified. * lib/rss/0.9.rb (RSS::Rss#to_s): inent -> indent. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/{rss,parser,0.9,1.0,2.0}.rb: supported RSS 0.9x/2.0kou2004-07-061-14/+157
| | | | | | | | | | | validation and validation which disregard order of elements. * test/rss/test_parser.rb: added tests for RSS 0.9x/2.0 validation. * test/rss/{test_trackback,rss-testcase}.rb: fixed no good method name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/parser.rb, lib/rss/1.0.rb: accepted rdf:resource orkou2004-04-071-0/+31
| | | | | | | | | | resource attribute in rdf:li. * test/rss/test_parser.rb: added test for above change. * lib/rss/dublincore.rb: reverted style. * lib/rss/xmlparser.rb: normalized XMLParser class hierarchy. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rss/*: Test::Unit::TestCase -> RSS::TestCase andkou2004-03-211-105/+115
| | | | | | | Test::Unit::Assertions -> RSS::Assertions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/2.0.rb, lib/rss/content.rb, lib/rss/dublincore.rb,kou2004-02-031-1/+0
| | | | | | | | | | | | | | | | lib/rss/rss.rb, lib/rss/syndication.rb: removed warnings. * lib/rss/converter.rb: removed handling load error of nkf. * test/rss/test_syndication.rb, test/rss/test_trackback.rb, test/rss/test_dublincore.rb, test/rss/test_content.rb: replaced 'require "rss/parser"' by 'require "rss/1.0"'. * test/rss/test_parser.rb, test/rss/test_accessor.rb: removed 'require "rss/parser"'. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/parser.rb (RSS::Parser): added @@default_parser. Usedkou2004-01-311-0/+10
| | | | | | | | XML parser became selectable. * test/rss/test_parser.rb: added tests for RSS::Parser.default_parser. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/*: remove $: trick. [ruby-dev:22763] use test/runner.rb tonahi2004-01-291-3/+0
| | | | | | | run test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rss/test_*: do $: trick while searching a module in the currentnahi2004-01-291-0/+3
| | | | | | | | | | | | | | directory. * test/xsd/test_xmlschemaparser.rb, test/wsdl/test_emptycomplextype.rb, test/soap/helloworld/test_helloworld.rb, test/soap/calc/{test_calc.rb,test_calc2.rb}: do File.expand_path before using __FILE__. * test/yaml/test_yaml.rb: assert_equals -> assert_equal. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rss/*.rb: remove "test/" prefix.nobu2004-01-281-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss: rss library imported. [ruby-dev:22726]matz2004-01-281-0/+418
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e