aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rss/dublincore.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
| | | | | | When you change this to true, you may need to add more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/*: [DOC] document various constants @steveklabnik [Bug #8812]zzak2013-11-091-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {ext,lib,test}/**/*.rb: removed trailing spaces.nobu2009-03-061-8/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss, test/rss:kou2007-03-171-32/+30
| | | | | | | | | - supported Atom. - bumped version 0.1.6 to 0.1.7. * sample/rss/convert.rb: added new sample. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/dublincore.rb, lib/rss/maker/dublincore.rb: dc_rightseskou2007-02-121-1/+4
| | | | | | | | | -> dc_rights_list. dc_rightses still exists for backward compatibility. [ruby-core:8350] * test/rss/test_maker_dc.rb: added tests for dc_rights_list. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Merge YARVko12006-12-311-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/*: refactored.kou2005-04-051-12/+12
| | | | | | | | - gave a name to 'x'. - undef_method -> remove_method for avoiding a warning in ruby 1.6. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/dublincore.rb: supported multiple DublinCore items.kou2005-04-051-23/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/rss/parser.rb: added class name registry for complex model elements. (ex. have childlen elements, have some attributes and a child element and so on.) * lib/rss/maker/base.rb: added default current_element implementation. * lib/rss/maker/dublincore.rb: supported multiple DublinCore items. * lib/rss/maker/image.rb: supproted new DublinCore API. * lib/rss/trackback.rb (RSS::TrackBackUtils.new_with_value_if_need): moved to RSS::Utils. * lib/rss/utils.rb (RSS::Utils.new_with_value_if_need): moved from RSS::TrackBackUtils. * lib/rss/maker/image.rb: fixed invalid argument of add_need_initialize_variable bug. * lib/rss/maker/trackback.rb: ditto. * lib/rss/rss.rb (Hash#merge): added for ruby 1.6. * lib/rss/rss.rb (RSS::BaseModel.date_writer): changed to accept nil for date value. * test/test_dublincore.rb: added tests for plural accessor and multiple DublinCore items. * test/test_setup_maker_1.0.rb: fixed swapped actual and expected values. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/parser.rb: @@setter -> @@setters.kou2005-03-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | * lib/rss/parser.rb (RSS::BaseListener.register_uri) (RSS::BaseListener.uri_registered?) (RSS::BaseListener.install_get_text_element): swapped the first argument and the second argument. * lib/rss/taxonomy.rb: swapped the first argument and the second argument for RSS::BaseListener.install_get_text_element. * lib/rss/image.rb: ditto. * lib/rss/syndication.rb: ditto. * lib/rss/dublincore.rb: ditto. * lib/rss/parser.rb: ditto. * lib/rss/1.0.rb: ditto. * lib/rss/2.0.rb: ditto. * lib/rss/0.9.rb: ditto. * lib/rss/content.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/dublincore.rb (RSS::DublicCoreModel#date{,=}): addedkou2005-02-131-0/+2
| | | | | | | | | | convenient methods. * lib/rss/0.9.rb (RSS::Rss::Channel#date{,=}): ditto. * lib/rss/2.0.rb (RSS::Rss::Channel::Item#date{,=}): ditto. * test/rss/: added tests for the convenient methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss: supported Image module.kou2005-02-031-1/+0
| | | | | | | http://web.resource.org/rss/1.0/modules/image/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rss/*.rb: removed tab width configuration headers.kou2004-11-031-1/+1
| | | | | | | | | | | | | | * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@7182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/: untabified.kou2004-10-161-47/+47
| | | | | | | | * test/rss/: untabified. * lib/rss/0.9.rb (RSS::Rss#to_s): inent -> indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/{trackback,syndication,dublincore,content}.rb: workedkou2004-07-051-2/+4
| | | | | | | | | with ruby 1.6 again. * test/rss/rss-assertions.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/parser.rb, lib/rss/1.0.rb: accepted rdf:resource orkou2004-04-071-5/+5
| | | | | | | | | | 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@6115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: trim tail space of each line. no user visible change.nahi2004-03-261-5/+5
| | | | | | | | | * lib/rss/dublincore.rb: fixed class definition mismatch. * sample/openssl/gen_csr.rb: fixed wrong usage text. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/{rss,dublincore,syndication}.rb: handled W3CDTF correctly.kou2004-03-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/converter.rb: handled Uconv::Error.kou2004-03-021-7/+10
| | | | | | | * lib/rss/dublincore.rb: DublincoreModel -> DublinCoreModel git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/2.0.rb, lib/rss/content.rb, lib/rss/dublincore.rb,kou2004-02-031-8/+13
| | | | | | | | | | | | | | | | 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@5619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss: rss/parser.rb is always required.kou2004-01-281-5/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss: rss library imported. [ruby-dev:22726]matz2004-01-281-0/+56
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e