aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* remove string literal concatenationnobu2012-10-254-14/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb: Documentation for OpenURIzzak2012-10-201-8/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: fix Net::IMAP::ResponseParser to acceptshugo2012-10-171-0/+36
| | | | | | | | | | message/delivery-status ([ruby-core:47920] [Bug #7146]), message/rfc822 attachments ([ruby-core:47921] [Bug #7147]), and (BODY ("MIXED")) ([ruby-core:47951] [Bug #7153]). * test/net/imap/test_imap_response_parser.rb: related test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: use configured libdir valuenobu2012-10-121-2/+4
| | | | | | | | * lib/mkmf.rb (dir_config, init_mkmf): use configured libdir value as default library path. [ruby-core:43726] [Bug #6207] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/timeout.rb (timeout):zzak2012-10-111-3/+0
| | | | | | | | Remove paragraph on wrong implementation detail. [ruby-core:47739] [Bug #7088] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/abbrev.rb: Documentation examples for Abbrev.zzak2012-10-061-9/+38
| | | | | | | [ruby-dev:47442] [Bug #6985] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/html5.rb: Add html5 tag maker.xibbar2012-10-042-2/+59
| | | | | | | * lib/cgi/core.rb: ditto. [Feature #6637] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/installer.rb (check_that_user_bin_dir_is_in_path):naruse2012-09-281-1/+7
| | | | | | | | | | test_generate_bin_bindir_with_user_install_warning(TestGemInstaller) fails on Windows with msys bash. It makes comparing paths case-insensitive. pick from upstream to fix a failure of test-all [ruby-core:47711] https://github.com/rubygems/rubygems/commit/c474edb2f3704206f04da1c8c6cf9fb079d84abe git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: unspacenobu2012-09-231-5/+10
| | | | | | | | * lib/mkmf.rb (String#unspace): unescape with backslashes. normal makes need to escape spaces with backslashes. nmake is not the case. [Bug #7036] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: directory timestampnobu2012-09-231-3/+3
| | | | | | | * lib/mkmf.rb (create_makefile): use timestamp file dependencies for directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: unexpand macrosnobu2012-09-231-3/+4
| | | | | | * lib/mkmf.rb: unexpand macros. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: library path quotenobu2012-09-231-1/+1
| | | | | | * lib/mkmf.rb (LIBPATHFLAG): no needs to escape library path here. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: use internal pathnobu2012-09-231-11/+10
| | | | | | | * lib/mkmf.rb (MakeMakefile#configuration): make prefix paths internal to deal with in Makefile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: fallback mkintpathnobu2012-09-231-1/+1
| | | | | | * lib/mkmf.rb (MakeMakefile#mkintpath): not a global function now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: untabifynobu2012-09-211-10/+9
| | | | | | * lib/mkmf.rb: untabify. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/ssl.rb (DRb::DRbSSLSocket::SSLConfig::DEFAULT): addnaruse2012-09-201-0/+2
| | | | | | | | | | | | SSLTmpDhCallback for configuration option. * lib/drb/ssl.rb (setup_ssl_context): copy the value of tmp_dh_callback. * test/drb/ut_array_drbssl.rb: set tmp_dh_callback to suppress warning. * test/drb/ut_drb_drbssl.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r36994 "* lib/find.rb: Error in documentation example"nobu2012-09-201-1/+1
| | | | | | * lib/find.rb: revert wrong example. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove garbages.nobu2012-09-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/find.rb: Error in documentation examplezzak2012-09-201-1/+1
| | | | | | | Found by Herwin Weststrate, thank you! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb (Object#CSV, Array#to_csv, String#parse_csv): zzak2012-09-191-5/+26
| | | | | | | | Examples and documentation for CSV. [Bug #6880] [ruby-core:47218] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/securerandom.rb: fix errors on Windowsshirosaki2012-09-131-4/+5
| | | | | | | | | | | * lib/securerandom.rb (SecureRandom.random_bytes): Use 64bit value as pointer for Windows x64 to fix SystemCallError. * lib/securerandom.rb (SecureRandom.lastWin32ErrorMessage): Set proper encoding to avoid invalid byte sequence error. [ruby-core:47451] [Bug #6990] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb: Remove unreachable email address from documentationzzak2012-09-131-2/+1
| | | | | | | [Bug #6996] [ruby-core:47459] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc.rb: Documentation for XMLRPCzzak2012-09-1313-1147/+998
| | | | | | | | | | | | | | | | | | | * lib/xmlrpc/datetime.rb: ditto. * lib/xmlrpc/parser.rb: ditto. * lib/xmlrpc/client.rb: ditto. * lib/xmlrpc/utils.rb: ditto. * lib/xmlrpc/README.rdoc: ditto. * lib/xmlrpc/create.rb: ditto. * lib/xmlrpc/base64.rb: ditto. * lib/xmlrpc/config.rb: ditto. * lib/xmlrpc/httpserver.rb: ditto. * lib/xmlrpc/server.rb: ditto. * lib/xmlrpc/marshal.rb: ditto. * lib/xmlrpc/README.txt: ditto. [Bug #6909] [ruby-core:47286] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/shellwords.rb: Documentation for Shellwords.zzak2012-09-121-35/+76
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: fix $LDFLAGSnobu2012-09-111-1/+3
| | | | | | | * lib/mkmf.rb (have_framework): insert a space between options. add just one -ObjC option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/thread.rb (Queue#pop): Fixed double registration issue whenkosaki2012-09-091-13/+21
| | | | | | | | | | | mutex.sleep is interrupted. [Bug #5258] [ruby-dev:44448] * lib/thread.rb (SizedQueue#push): ditto. * test/thread/test_queue.rb (test_sized_queue_and_wakeup, test_queue_pop_interrupt, test_sized_queue_pop_interrupt, test_sized_queue_push_interrupt): new tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/sync.rb (Sync_m#sync_lock): Fixed wakeup/raise unsafe code.kosaki2012-09-091-8/+14
| | | | | | | | | | Patched by Masaki Matsushita. [Bug #5355] [ruby-dev:44521] * test/thread/test_sync.rb (test_sync_lock_and_wakeup, test_sync_upgrade_and_wakeup, test_sync_lock_and_raise): new test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/sync.rb (Sync_m): Removed RCS_ID.kosaki2012-09-091-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: fix splitting options with an argumentnobu2012-09-061-3/+6
| | | | | | | | * ext/extmk.rb (extmake), lib/mkmf.rb (have_framework): fix splitting options with an argument, not using NUL as special character. [ruby-core:47447] [Bug #6987] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Imported minitest 3.4.0 (r7762)ryan2012-09-052-4/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matrix.rb: complex vectornobu2012-09-031-1/+1
| | | | | | | * lib/matrix.rb (Vector#magnitude): accumulate squares of absolute values to fix for complex vector. [ruby-dev:46100] [Bug #6966] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typo of r36878naruse2012-09-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/ssl.rb (WEBrick::Config::SSL): add new keynaruse2012-09-011-0/+2
| | | | | | | | | SSLTmpDhCallback to set SSLContext#tmp_dh_calback. * lib/webrick/ssl.rb (WEBrick::GenericServer#setup_ssl_context): follow above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (#initialize_copy, #eql): Use instance_variable_getknu2012-09-011-2/+2
| | | | | | instead of instance_eval. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/test-unit.gemspec: Make test/unit default gem.kou2012-08-311-0/+14
| | | | | | | [Feature #6875] [ruby-dev:46051] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (Set#{each,reject!,select!}, SortedSet#each): Passknu2012-08-311-12/+12
| | | | | | | the original block through instead of creating one that only yields the passed argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ipaddr.rb: Introduce several new error classes where onlyknu2012-08-311-42/+53
| | | | | | | | | ArgumentError and StandardError were used. IPAddr::Error is their common ancestor class that inherits from ArgumentError for backward compatibility. Submitted by Jon Daniel. Fixes #173 on GitHub. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: fix race conditions at install-extnobu2012-08-311-2/+2
| | | | | | | | * lib/mkmf.rb (create_makefile): fix race conditions at install-ext. target files need to depend on destination directory timestamp files, not phony trgets. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (Set#{<,>,<=,>=}): Define comparison operators asknu2012-08-301-0/+23
| | | | | | | shorthand for the {proper_}{subset?,superset?} methods (finally). Given a push by Alexander E. Fischer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/ftp.rb (URI::FTP#initialize): raise InvalidURIError if "//"naruse2012-08-301-0/+1
| | | | | | is not present [ruby-core:47344] [Bug #6945] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: timestamp for directoriesnobu2012-08-261-1/+1
| | | | | | | * lib/mkmf.rb: (create_makefile): use timestamp file for install-rb dependenting directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: clean timestampsnobu2012-08-251-1/+1
| | | | | | * lib/mkmf.rb (MakeMakefile::CLEANINGS): clean timestamp files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: fix r36815nobu2012-08-241-2/+2
| | | | | | | * lib/mkmf.rb (create_makefile): remove unnecessary rule and newline. [ruby-dev:46067] [Bug #6904] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: timestamp for directoriesnobu2012-08-241-4/+14
| | | | | | | * lib/mkmf.rb (create_makefile): use timestamp for destination directories. [ruby-dev:46067] [Bug #6904] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http/backward.rb (class Net): Restored Net::HTTPSession todrbrain2012-08-231-1/+4
| | | | | | | fix backwards-compatibility with ancient Net::HTTP. [Bug #6889] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): add dependency to header files whenusa2012-08-231-1/+5
| | | | | | | | depend files don't exist. now we can remove simple (and often wrong) depend files in most cases. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck: removed. Fixes [ruby-core:43360]tenderlove2012-08-221-54/+20
| | | | | | | | | * test/syck: removed. * lib/yaml.rb: only require psych, show a warning if people try to set the engine to syck. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/mkmf.rb: ruby_headersnobu2012-08-221-7/+9
| | | | | | | * lib/mkmf.rb (configuration): extact least ruby headers list as ruby_headers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/test_case.rb: run test with psych if exist.naruse2012-08-221-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/util.rb (CGI.escapeHTML): use &#39;naruse2012-08-211-1/+1
| | | | | | [ruby-core:47221] [Bug #6861] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e