summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2014-04-30revert r45747 because it introduced severe incompatibility.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-30merge revision(s) 43682,43727,43752,43759: [Backport #9560]usa
* lib/delegate.rb (Delegator#send): override to get rid of global function interference. [Fixes GH-449] * lib/delegate.rb (Delegator#send): separate from method_missing so that super calls proper method. * lib/delegate.rb (Delegator#method_missing): try private methods defined in Kernel after the target. [Fixes GH-449] * lib/delegate.rb (SimpleDelegator#__getobj__): target object must be set. * lib/delegate.rb (DelegateClass#__getobj__): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-30merge revision(s) r45374: [Backport #8405]nagachika
* lib/csv.rb: Fixed a broken regular expression that was causing CSV to miss escaping some special meaning characters when used in parsing. Reported by David Unric [ruby-core:54986] [Bug #8405] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-22(merged partially from r42927)nagachika
* lib/rubygems/core_ext/kernel_require.rb: Backport a fix for concurrent requires. [ruby-core:58918] [Backport #9224] see also https://github.com/rubygems/rubygems/pull/833 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-19merge revision(s) r42844,r42845: [Backport #8865]nagachika
* lib/optparse.rb: The Integer acceptable now allows binary and hexadecimal numbers per the documentation. [ruby-trunk - Bug #8865] DecimalInteger, OctalInteger, DecimalNumeric now validate their input before converting to a number. [ruby-trunk - Bug #8865] * test/optparse/test_acceptable.rb: Tests for the above, tests for all numeric acceptables for existing behavior. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-16merge revision(s) r44637: [Backport #9385]nagachika
* lib/open-uri.rb: Make proxy disabling working again. Fixed by Christophe Philemotte. [ruby-core:59650] [Bug #9385] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-16merge revision(s) r40830,r40848: [Backport #8425]nagachika
* test/webrick/test_htmlutils.rb: add test for WEBrick::HTMLUtils. * 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/branches/ruby_2_0_0@45012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-15merge revision(s) r44696: [Backport #9429]nagachika
* lib/racc/rdoc/grammar.en.rdoc: [DOC] Correct grammar and typos Patch by Giorgos Tsiftsis [Bug #9429] [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-15merge revision(s) r44878,r44879: [Backport #9483]nagachika
* ext/ripper/lib/ripper/lexer.rb: [DOC] use lower case version of core classes when referring to return value, since we aren't directly talking about the class. Patch by Jonathan Jackson [Bug #9483] * lib/open-uri.rb: [DOC] use lower case version of core classes, same as commit r44878, based on patch by Jonathan Jackson [Bug #9483] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-15merge revision(s) r44642: [Backport #9093]nagachika
* lib/resolv.rb (Resolv::DNS::Resource::TXT#data): Return concatenated string. Patch by Ryan Brunner. [ruby-core:58220] [Bug #9093] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-15merge revision(s) r44586: [Backport #9152]nagachika
* lib/xmlrpc/client.rb: [DOC] Remove note about SSL package on RAA Since RAA has been deprecated, and the SSL package has been replaced with net/https this statement is entirely false and should be deleted. [Bug #9152] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-15merge revision(s) r44585: [Backport #9268]nagachika
* lib/net/smtp.rb: [DOC] Remove dead link to RAA by Giorgos Tsiftsis Fixes the following bugs: [Bug #9152] [Bug #9268] [Bug #9394] * lib/open-uri.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-15merge revision(s) r44880: [Backport #9477]nagachika
* lib/resolv.rb: Ignore name servers which cause EAFNOSUPPORT on socket creation. Reported by Bjoern Rennhak. [ruby-core:60442] [Bug #9477] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-15merge revision(s) r44884: [Backport #9498]nagachika
* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder): Raise DecodeError if no data before the limit. Reported by Will Bryant. [ruby-core:60557] [Bug #9498] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-09merge revision(s) 44595: [Backport #9342]nagachika
* ext/thread/thread.c (rb_szqueue_clear): notify SZQUEUE_WAITERS on SizedQueue#clear. [ruby-core:59462] [Bug #9342] * test/thread/test_queue.rb: add test. the patch is from Justin Collins. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-24merge revision(s) 43954: [Backport #9125]nagachika
* lib/net/smtp.rb (Net::SMTP#critical): Always return a Net::SMTP::Response. Patch by Pawel Veselov. [ruby-trunk - Bug #9125] * test/net/smtp/test_smtp.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-24merge revision(s) 40829:nagachika
fix typos inspired by r40825 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-24merge revision(s) 44184: [Backport #9247]nagachika
* ext/socket/lib/socket.rb: Don't test $! in "ensure" clause because it may be set before the body. Reported by ko1 and mrkn. [ruby-core:59088] [Bug #9247] * lib/cgi/core.rb: Ditto. * lib/drb/ssl.rb: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-23merge revision(s) 44019: [Backport #9213]nagachika
* lib/mkmf.rb (configuration): strip destdir part from prefix to get rid of duplication. a patch by arton at [ruby-core:58859]. [ruby-core:58856] [Bug #9213] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-21merge revision(s) 44312,44318,44321: [Backport #9273]nagachika
* lib/resolv.rb (Resolv::Hosts#lazy_initialize): should not consider encodings in hosts file. [ruby-core:59239] [Bug #9273] * lib/resolv.rb (Resolv::Config.parse_resolv_conf): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13* lib/rubygems: Update to RubyGems 2.0.14. [ruby-core:58300]nagachika
[Backport #9104] the patch is provided by drbrain (Eric Hodel). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-10-26* lib/rubygems: Update to RubyGems 2.0.13. [ruby-core:58031]nagachika
[Backport #9052] the patch is provided by drbrain (Eric Hodel). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-10-24* lib/rubygems: Update to RubyGems 2.0.12. [ruby-core:57818]nagachika
[Backport #9014] the patch is provided by drbrain (Eric Hodel). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-10-09merge revision(s) 43110,43155: [Backport #8768]nagachika
* lib/tempfile.rb (Tempfile#unlink): finalizer is no longer needed after unlinking. patched by by normalperson (Eric Wong) at [ruby-core:56521] [Bug #8768] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-10-09merge revision(s) 43177,43191: [Backport #8991]nagachika
* lib/time.rb (Time.strptime): Use :offset. Patch by Felipe Contreras. [ruby-core:57694] * lib/time.rb (Time.strptime): Time.strptime('0', '%s') returns local time Time object as Ruby 2.0 and before. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-26* lib/rubygems: Update to Rubygems 2.0.10. [ruby-core:57360]nagachika
[Backport #8950] the patch is provided by drbrain (Eric Hodel). this update contains a security fix for CVE-2013-4363. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-26merge revision(s) 42930: [Backport #8898]nagachika
* lib/uri/generic.rb (URI::Generic.find_proxy): return nil if http_proxy environment variable is empty string. [ruby-core:57140] [Bug #8898] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-26merge revision(s) 42994: [Backport #8913]nagachika
* lib/gserver.rb: [DOC] correct gserver.rb license [Bug #8913] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-15* lib/rubygems: Update to Rubygems 2.0.9. [ruby-core:57183]nagachika
[Backport #8908] the patch is provided by drbrain (Eric Hodel). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-13* lib/rubygems: Update to RubyGems to 2.0.8. [ruby-core:57155]nagachika
[Backport #8900] the patch is provided by drbrain (Eric Hodel). this update contains a security fix for CVE-2013-4287. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-16* lib/rubygems: update to RubyGems 2.0.6. the patch by drbrain.nagachika
[ruby-core:56633] [Backport #8787] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-03merge revision(s) 40080,40081: [Backport #8209]nagachika
* ext/extmk.rb (extmake): Use Logging.open to switch stdout and stderr. Delay Logging::log_close until the failure message is written. Write the failure message only if log file is opened. * lib/mkmf.rb (Logging.log_opened?): New method. [ruby-dev:47215] [Bug #8209] * ext/extmk.rb (extmake): Invoke Logging::log_close in a ensure clause. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-03merge revision(s) 42223: [Backport #8702]nagachika
* lib/mkmf.rb (xsystem): expand environment variable in all macros not expanded with RbConfig. [Bug #8702] * test/mkmf/test_framework.rb (create_framework): replace all $@ not only once. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-03merge revision(s) 41777,41779: [Backport #8593]nagachika
* lib/mkmf.rb (have_framework): allow header file to check. [ruby-core:55745] [Bug #8593] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-03merge revision(s) 42271: [Backport #8713]nagachika
* lib/uri/common.rb (URI.decode_www_form_component): Don't raise error when str includes multibyte characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-25* lib/rubygems: Update to RubyGems 2.0.6. [ruby-core:56160]nagachika
[Backport #8682] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-24merge revision(s) 42153: [Backport #8645]nagachika
* lib/uri/generic.rb (find_proxy): raise BadURIError if the URI is a relative URI. [Bug #8645] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-22merge revision(s) 41933:nagachika
* lib/rubygems/psych_additions.rb: Ignore Psych docs here git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-22* lib/rubygems: Update to RubyGems 2.0.5.nagachika
The patch provided by drbrain (Eric Hodel). [ruby-core:55896] [Backport #8617] * test/rubygems: Tests for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-13merge revision(s) 41902:nagachika
* lib/logger.rb: Use :call-seq: for method signature rdoc git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-13merge revision(s) 41853: [Backport #8633]nagachika
* lib/fileutils.rb (FileUtils#mode_to_s): Define mode_to_s() also as singleton method, or FileUtils.chmod fails in verbose mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-13merge revision(s) 41851:nagachika
* lib/fileutils.rb (FileUtils#chown, FileUtils#chown_R): If user and group are both nil, print ":". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-06merge revision(s) 41781: [Backport #8604]nagachika
* lib/fileutils.rb (FileUtils#symbolic_modes_to_i): Fix the wrong character class [+-=], which happened to match all desired characters but also match undesired characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-06merge revision(s) 41796:nagachika
* lib/fileutils.rb (FileUtils#chown, FileUtils#chown_R): Fix the wrong output message when user is nil, which should be "chown :group file" instead of "chown group file". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-03merge revision(s) 41734,41737: [Backport #8596]nagachika
* lib/mkmf.rb (try_config): Fix to not replace $LDFLAGS with $libs (1.9.3 behavior) [ruby-core:55752] [Bug #8595] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-26merge revision(s) 41648: [Backport #8115]nagachika
* lib/mkmf.rb: should use expanded values for header directories unless extmk. patch by vo.x (Vit Ondruch) at [ruby-core:55653] [Bug #8115], rhbz#921650. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-25merge revision(s) 41629: [Backport #8533]nagachika
* lib/rubygems/ext/builder.rb (Gem::Ext::Builder.make): Pass DESTDIR via command line to override what's in MAKEFLAGS. This fixes an installation problem under a package building environment where DESTDIR is specified in the (parent) command line. [Fixes GH-327] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-21merge revision(s) 41076: [Backport #8558]nagachika
* lib/rubygems: Update to RubyGems 2.0.3 * test/rubygems: Tests for the above. * NEWS: Added RubyGems 2.0.3 note. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-08merge revision(s) 39841: [Backport #8115]nagachika
* lib/mkmf.rb (install_dirs, with_destdir): prefix with DESTDIR directories to install only unless bundled extension libraries. [ruby-core:53502] [Bug #8115] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-08merge revision(s) 41091: [Backport #8415]nagachika
* lib/net/imap.rb (capability_response): should ignore trailing 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/branches/ruby_2_0_0@41188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e