summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* * lib/xmlrpc/client.rb (XMLRPC::Client#http): Add reader for rawkou2013-06-131-0/+7
| | | | | | | | Net::HTTP. [ruby-core:55197] [Feature #8461] Reported by Herwin Weststrate. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/client.rb (XMLRPC::Client#parse_set_cookies): Supportkou2013-06-131-3/+9
| | | | | | | | | | multiple names in a response. [ruby-core:41711] [Bug #5774] Reported by Roman Riha. Thanks!!! * test/xmlrpc/test_client.rb (XMLRPC::ClientTest#test_cookie_override): Add a test of the above case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/client.rb (XMLRPC::Client#parse_set_cookies): Usekou2013-06-131-7/+7
| | | | | | | guard style. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fileutils.rb: fix traversal loopnobu2013-06-131-0/+1
| | | | | | | * lib/fileutils.rb (FileUtils#rmdir): fix traversal loop, not trying remove same directory only. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_autoload.rb, bootstraptest/test_method.rb:shugo2013-06-131-3/+3
| | | | | | | | | remove tests for $SAFE=4. * lib/pp.rb: use taint instead of untrust to avoid warnings when $VERBOSE is set to true. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/client.rb (XMLRPC::Client#parse_set_cookies): Extract.kou2013-06-121-3/+6
| | | | | | | Sorry for forgetting it in r41236. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update rdoc for pkg_config() and move :stopdoc: below to enable it.knu2013-06-121-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update documentation for pkg_config().knu2013-06-111-4/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/specification.rb (Gem::Specification#to_yaml):naruse2013-06-071-1/+1
| | | | | | | use Gem::NoAliasYAMLTree.create instead of Gem::NoAliasYAMLTree.new to suppress deprecated warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (capability_response): should ignore trailingshugo2013-06-051-0/+1
| | | | | | | | spaces. Thanks, Peter Kovacs. [ruby-core:55024] [Bug #8415] * test/net/imap/test_imap_response_parser.rb: related test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: Update to RubyGems 2.0.3drbrain2013-06-046-11/+25
| | | | | | | | * test/rubygems: Tests for the above. * NEWS: Added RubyGems 2.0.3 note. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/lc/ja/help-message: update help messages.ayumin2013-06-041-4/+16
| | | | | | following r41028. [ruby-dev:46707] [Feature #7510] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/completion.rb: Use %w literal construction for long lists.eregon2013-06-041-21/+19
| | | | | | Patch by Dave Goodchild. [Fixes GH-299] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* FileUtils.rmdir use remove_tailing_slashkazu2013-06-031-1/+1
| | | | | | | * lib/fileutils.rb (FileUtils.rmdir): use remove_tailing_slash. * test/fileutils/test_fileutils.rb: test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: fix behavior when mkdir/mkdir_p accepted "/".ayumin2013-06-031-2/+7
| | | | | | * test/fileutils/test_fileutils.rb: add test for above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/cookie.rb (inspect): add inspect for debug.xibbar2013-06-031-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/util.rb, lib/erb.rb: Use String#b [Feature #8394] by znzzzak2013-06-022-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/lc/help-message: Apply english updates for irb --help #7510zzak2013-06-021-8/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (Set#freeze, taint, untaint): Save a "self" byknu2013-06-011-6/+3
| | | | | | utilizing super returning self, and add tests while at it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb: Add a document.xibbar2013-05-301-0/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* reapply r40839 [Fixes GH-316]zzak2013-05-231-14/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert forwardable rdoc patch for demozzak2013-05-231-24/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* reapply r40839 [Fixes GH-313]zzak2013-05-201-14/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/filehandler.rb (set_dir_list): add NameWidth option.nobu2013-05-201-8/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/filehandler.rb (set_dir_list): use TABLE.nobu2013-05-201-10/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/filehandler.rb (set_dir_list): set charset.nobu2013-05-201-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/filehandler.rb (set_dir_list): share title and h1.nobu2013-05-201-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r40839 for demozzak2013-05-201-24/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (Set#delete_if, Set#keep_if): Avoid blockless call ofknu2013-05-201-3/+3
| | | | | | | proc, which is not portable to JRuby. Replace &method() with faster and simpler literal blocks while at it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/e2mmap.rb: Format of E2MM documentationzzak2013-05-201-6/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb: Remove duplicate RDoc heading from overviewzzak2013-05-201-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/securerandom.rb: Update position of overview for RDoczzak2013-05-201-27/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb (Logger::Application): show namespace in documentationeregon2013-05-201-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb: Revert part of r40834 and nodoc PP::ObjectMixinzzak2013-05-201-29/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* webrick: fix non-ascii escape bugsnobu2013-05-202-4/+15
| | | | | | | | | * lib/webrick/htmlutils.rb (WEBrick::HTMLUtils#escape): replace HTML meta chars even in non-ascii string. [Bug #8425] [ruby-core:55052] * lib/webrick/httputils.rb (WEBrick::HTTPUtils#{_escape,_unescape}): fix %-escape encodings. [Bug #8425] [ruby-core:55052] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* filehandler.rb: revert r20152nobu2013-05-201-4/+2
| | | | | | | * lib/webrick/httpservlet/filehandler.rb (set_dir_list): revert r20152 partially and fix misuse of bytesize and regexp repetition operator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/profiler.rb: Document Profiler__ methodszzak2013-05-191-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb: nodoc Tempfile#inspectzzak2013-05-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/forwardable.rb: Forwardable examples in overview were brokenzzak2013-05-191-14/+24
| | | | | | | Based on patch by @joem [Fixes GH-303] [Bug #8392] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb: nodoc Object::Version and SPLAT_PROCzzak2013-05-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-05-191-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb: Document PP::ObjectMixin [Fixes GH-312]zzak2013-05-191-0/+28
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos inspired by r40825kazu2013-05-196-14/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (Set#delete_if, Set#keep_if): Add comments.knu2013-05-191-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos. Patch by k_takata.ktsj2013-05-1913-20/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (URI.decode_www_form): scrub string if decodednaruse2013-05-181-13/+9
| | | | | | bytes are invalid for the encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (Set#delete_if, Set#keep_if): Make Set#delete_if andknu2013-05-181-2/+2
| | | | | | Set#keep_if more space and time efficient by avoiding to_a. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/util.rb: Constant parameter is faster and economy thanxibbar2013-05-161-1/+1
| | | | | | string parameter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/core.rb: Constant parameter is faster and economy thanxibbar2013-05-161-5/+5
| | | | | | string parameter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/util.rb: Use String#b instead of dup.force_encoding("ASCII-8BIT")xibbar2013-05-161-1/+1
| | | | | | [Feature #8394] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e