to direct case insensitiveness.
* lib/optparse.rb (OptionParser#order!): ignore case only for long
option. [ruby-dev:25048]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
to a Proc generated by Method#to_proc. [ruby-dev:25031]
* eval.c (rb_yield_0): actually passes a block given to "call".
* object.c (convert_type): use rb_respond_to() again. this fix is
based on [ruby-dev:25021]
* eval.c (rb_respond_to): funcall respond_to? if it's redefined.
[ruby-dev:25021]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
working with ruby 1.6 again.
* lib/rss/{0.9,2.0,trackback}.rb, lib/rss/maker/base.rb:
undef -> remove_method for working with ruby 1.6 again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/rss/maker/{1.0,0.9,2.0}.rb: changed RSS Maker to raise
RSS::NotSetError if required values of maker.channel are not
set.
* test/rss/test_maker_{1.0,0.9,2.0}.rb: changed tests to check RSS
Maker raises or not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
"0.9" is just alias of "0.91."
* test/rss/test_maker_0.9.rb: make("0.9") -> maker("0.91").
* test/rss/test_to_s.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2. Add new :section: directive which starts a new section in the output.
The title following :section: is used as the section heading, and the
remainder of the comment containing the section is used as
introductory text. Subsequent methods, aliases, attributes,
and classes will be documented in this section.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ObjectSpace.each_object() by String#gsub. [ruby-dev:24931]
* lib/cgi/session.rb (CGI::Session::FileStore::initialize): raise
exception if data corresponding to session specified from the
client does not exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
changed /rss/channel/image to be optional. [ruby-Bugs:1047]
* test/rss/test_maker_0.9.rb: added tests for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@7319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
new option --exclude (-x) to skip some tests.
* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir.exclude):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
datetime.iso8601 (e.g. 20041105T01:15:23Z).
* added test case
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added methods XMLRPC::XMLParser.each_installed_parser and
XMLRPC::XMLWriter.each_installed_writer to simply original test cases
* use Object#allocate instead of defining an empty #initialize
* module XMLRPC::Marshallable is now only used for tagging
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
memory leaks. use string object for buffering instead.
[ruby-dev:24738]
* dir.c (join_path): ditto.
* io.c (io_read): external input buffer may be modified even after
rb_str_locktmp(). [ruby-dev:24735]
* dir.c (fnmatch): p or s may be NULL. [ruby-dev:24749]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e