aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * lib/cgi/session.rb: Fix a typo.xibbar2013-05-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/util.rb: class methods modulize for using like a function.xibbar2013-05-031-16/+19
| | | | | | [Feature #8354] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Imported minitest 4.7.4 (r8483)ryan2013-05-027-336/+446
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: nodoc EngineManager, add History doc #8344zzak2013-05-021-5/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake/version.rb: Fix RDoc warning with :include: [Bug #8347]zzak2013-05-011-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/benchmark.rb: Update Benchmark results on newer CPUzzak2013-04-301-40/+38
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: Clarify documentation about YAML being always Psych.eregon2013-04-281-22/+11
| | | | | | Give a tip about using Syck. See #8344. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: Use another trick to define the YAML module.eregon2013-04-281-2/+4
| | | | | | https://twitter.com/n0kada/status/328342207511801856 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb: Update PP module overview by @geopetzzak2013-04-281-13/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: Disable setting YAML const twice [ruby-core:54642]zzak2013-04-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: add security warning to YAML documentationcharliesome2013-04-271-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: Documentation for YAML module [Bug #8213]zzak2013-04-271-1/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/text.rb (REXML::Text.normalize): Fix a bug that allkou2013-04-261-1/+1
| | | | | | | | | | entity filters are ignored. [ruby-dev:47278] [Bug #8302] Patch by Ippei Obayashi. Thanks!!! * test/rexml/test_entity.rb (EntityTester#test_entity_filter): Add a test of the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/element.rb (REXML::Attributes#to_a): Supportkou2013-04-261-1/+1
| | | | | | | | | | | namespaced attributes. [ruby-dev:47277] [Bug #8301] Patch by Ippei Obayashi. Thanks!!! * test/rexml/test_attributes.rb (AttributesTester#test_to_a_with_namespaces): Add a test of the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/atom.rb (RSS::Atom::Entry): Fix indent of document comment.kou2013-04-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/maker.rb (RSS::Maker): Fix indent of document comment.kou2013-04-261-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/atom.rb: Documentation for RSS::Atom based on a patch byzzak2013-04-262-1/+108
| | | | | | | | Michael Denomy * lib/rss/maker.rb: Documentation for RSS::Maker also by @mdenomy git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ring.rb: specify multicast interfaceshirosaki2013-04-251-6/+52
| | | | | | | | | | | | | | | | | | | | | | * lib/rinda/ring.rb (Rinda::RingServer#initialize): accept array arguments of address to specify multicast interface. * lib/rinda/ring.rb (Rinda::RingServer#make_socket): add optional arguments for multicast interface. * test/rinda/test_rinda.rb (TestRingFinger#test_ring_server_ipv4_multicast, TestRingFinger#test_ring_server_ipv6_multicast): add tests for above change. * test/rinda/test_rinda.rb (TestRingServer#test_make_socket_ipv4_multicast, TestRingServer#test_make_socket_ipv6_multicast): change bound interface address because multicast address is not allowed on Linux or Windows. [ruby-core:53692] [Bug #8159] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ring.rb: add a socket to @sockets in make_socket()shirosaki2013-04-251-1/+3
| | | | | | | | | | * lib/rinda/ring.rb (Rinda::RingServer#initialize): add a socket to @sockets in make_socket() to close sockets on shutdown even if make_socket() is called after initialize. * lib/rinda/ring.rb (Rinda::RingServer#make_socket): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb (URI.decode_www_form): follow current URL Standard.naruse2013-04-251-30/+272
| | | | | | | | | | | | | It gets encoding argument to specify the character encoding. It now allows loose percent encoded strings, but denies ;-separator. [ruby-core:53475] [Bug #8103] * lib/uri/common.rb (URI.decode_www_form): follow current URL Standard. It gets encoding argument to convert before percent encode. Now UTF-16 strings aren't converted to UTF-8 before percent encode by default. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tracer.rb: File.readlinesnobu2013-04-241-10/+2
| | | | | | | * lib/tracer.rb (get_line): simply read by File.readlines. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* debug.rb: Fix debug listingnobu2013-04-241-9/+12
| | | | | | | | | | | * lib/debug.rb (script_lines): get source lines from SCRIPT_LINES__ or read from the file. * lib/debug.rb (display_list): use script_lines instead of recursion. [Bug #8318] * lib/debug.rb (line_at): use script_lines same as display_list. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* debug.rb: Fix debug listingnobu2013-04-241-1/+4
| | | | | | | | | * lib/debug.rb (display_list): Fix debug listing when called from the same file it has been required. patch by Dario Bertini <berdario AT gmail.com> [Bug #8318] [fix GH-280] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/rexml/document.rb, lib/rexml/element.rb,duerst2013-04-233-11/+5
| | | | | | | | lib/rexml/formatters/pretty.rb: remove opinionated language in documentation. [Bug #8309], reported by Charles Beckmann git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (getacl_response): parse the mailbox of an ACLshugo2013-04-231-3/+3
| | | | | | response correctly. [ruby-core:54365] [Bug #8281] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile.create): Close when the block exits.akr2013-04-201-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpauth/htpasswd.rb: Use Tempfile.create to avoidakr2013-04-202-6/+12
| | | | | | | | unintentional unlink() by the finalizer. lib/webrick/httpauth/htdigest.rb: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile.create): New method.akr2013-04-201-0/+45
| | | | | | | | | The method name is proposed by Shugo Maeda. [ruby-dev:47220] [ruby-core:41478] [Feature #5707] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Fix typo in rdocmarcandre2013-04-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (body_type_msg): should acceptshugo2013-04-191-20/+19
| | | | | | | | | message/delivery-status with extra data. [ruby-core:53741] [Bug #8167] * test/net/imap/test_imap_response_parser.rb: related test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb: update use rescue nil all becausexibbar2013-04-191-3/+3
| | | | | | session delete shoud try all pattern. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-04-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb: update use rescue Errno::ENOENT becausexibbar2013-04-191-4/+3
| | | | | | session delete shoud try all pattern. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb: update rescue in delete session filexibbar2013-04-191-3/+4
| | | | | | only Errno::ENOENT.[Bug #7940] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/cookie.rb: refactoring.xibbar2013-04-181-27/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/cookie.rb(CGI::Cookie.parse): add requirexibbar2013-04-181-0/+1
| | | | | | for standalone require 'cgi/cookie' .[Bug #7997] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* assertions.rb: remove UNASSIGNEDnobu2013-04-171-9/+5
| | | | | | | * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert): UNASSIGNED is not a valid message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo by @zsalzbank [fix GH-289]hsbt2013-04-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (MakeMakefile#create_makefile): remove {$(VPATH)} othernaruse2013-04-131-1/+1
| | | | | | | | than nmke. * ext/ripper/depend: use VPATH expecting removed by above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: timestamp directorynobu2013-04-131-1/+2
| | | | | | | * lib/mkmf.rb (timestamp_file): gather timestamp files in one directory from each extension directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (MakeMakefile#create_makefile): output new macrousa2013-04-131-0/+1
| | | | | | | | | disthdrdir to specify the path of id.h, parse.h and etc. * ext/ripper/depend: use above macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Add Vector#cross_product, patch by Luis Ezcurdiamarcandre2013-04-131-0/+12
| | | | | | [fix GH-276] [rubyspec:81eec89a124] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: Add ruby/ruby.h, ruby/missing.h, ruby/intern.h,akr2013-04-131-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ruby/st.h and ruby/subst.h for ruby_headers in generated Makefile. * ext/-test-/old_thread_select/depend: Update dependencies. * ext/-test-/wait_for_single_fd/depend: Ditto. * ext/bigdecimal/depend: Ditto. * ext/curses/depend: Ditto. * ext/digest/bubblebabble/depend: Ditto. * ext/digest/depend: Ditto. * ext/digest/md5/depend: Ditto. * ext/digest/rmd160/depend: Ditto. * ext/digest/sha1/depend: Ditto. * ext/digest/sha2/depend: Ditto. * ext/dl/callback/depend: Ditto. * ext/dl/depend: Ditto. * ext/etc/depend: Ditto. * ext/nkf/depend: Ditto. * ext/objspace/depend: Ditto. * ext/pty/depend: Ditto. * ext/readline/depend: Ditto. * ext/ripper/depend: Ditto. * ext/sdbm/depend: Ditto. * ext/socket/depend: Ditto. * ext/stringio/depend: Ditto. * ext/strscan/depend: Ditto. * ext/syslog/depend: Ditto. * ext/-test-/num2int/depend: Removed. * ext/dbm/depend: Ditto. * ext/fcntl/depend: Ditto. * ext/gdbm/depend: Ditto. * ext/racc/cparse/depend: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/html.rb: remove 'super {yield}' which is for old version.xibbar2013-04-111-30/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/html.rb: fix indent. delete unnecessary code.xibbar2013-04-111-4/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/html.rb: fix tagmaker because attributes should recognize.xibbar2013-04-111-1/+1
| | | | | | [Bug #8252] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/{core,html}.rb : Update define tagmakerxibbar2013-04-112-143/+120
| | | | | | because to delete eval. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e