summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2013-03-13assertions.rb: private flagnobu
* lib/test/unit/assertions.rb (assert_respond_to): accept optional include-private flag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-12* lib/irb.rb: Fix typodrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-11* lib/rubygems/commands/setup_command.rb: Don't delete non-rubygemsdrbrain
files when installing RubyGems. * test/rubygems/test_gem_commands_setup_command.rb: Test for the above. * lib/rubygems/ext/ext_conf_builder.rb: Use full path to siteconf.rb in case the extconf.rb changes directories (like memcached does). * lib/rubygems/package.rb: Remove double slash from path. * test/rubygems/test_gem_package.rb: Test for the above. * test/rubygems/test_gem_package_old.rb: ditto. * lib/rubygems/source.rb: Revert automatic HTTPS upgrade * lib/rubygems/spec_fetcher.rb: ditto. * test/rubygems/test_gem_remote_fetcher.rb: ditto. * test/rubygems/test_gem_source.rb: ditto. * test/rubygems/test_gem_spec_fetcher.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-11* lib/net/smtp.rb: Added Net::SMTP#rset method to implement the SMTPdrbrain
RSET command. [ruby-trunk - Feature #5373] * NEWS: ditto. * test/net/smtp/test_smtp.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-11* lib/resolv-replace.rb (TCPSocket#initialize): resolve the 3rdakr
argument only if non-nil value is given. [ruby-dev:47150] [ruby-trunk - Bug #8054] reported and analyzed by mrkn. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-11mkmf.rb: defer use of instance variablenobu
* lib/mkmf.rb (MakeMakefile#dir_config, MakeMakefile#_libdir_basename): defer use of instance variable until needed. [Bug #8074] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10* lib/thread.rb (Queue#push): return self.kosaki
* lib/thread.rb (Queue#clear): ditto. * lib/thread.rb (SizedQueue#push): ditto. * test/thread/test_queue.rb: add tests for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10ext_conf_builder.rb: use intermediate destdir alwaysnobu
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build): it is impossible to predict which file will be installed to where, by the arguments, so use intermediate destination directory always. [Bug #7698] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08assertions.rb: split linesnobu
* lib/test/unit/assertions.rb (Test::Unit::Assertions#message): split msg and default procs by period and newline. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08assertions.rb: allow procnobu
* lib/test/unit/assertions.rb (Test::Unit::Assertions#message): convert msg by call if it is a proc, as well as assert. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-08* lib/webrick/httpproxy.rb: Fix typos in HTTPProxyServer [Bug #8013]zzak
Patch by Nobuhiro IMAI [ruby-core:53127] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-07 * ChangeLog:drbrain
* lib/rubygems/commands/setup_command.rb (class Gem): * lib/rubygems/commands/setup_command.rb (TEXT): * lib/rubygems/spec_fetcher.rb (class Gem): * lib/rubygems/test_utilities.rb (class Gem): * lib/rubygems.rb (module Gem): * test/rubygems/test_gem_commands_setup_command.rb (class TestGemCommandsSetupCommand): * test/rubygems/test_gem_spec_fetcher.rb (Upgraded http): git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05* lib/rubygems.rb: Allow specification of directory permissions.drbrain
[ruby-trunk - Bug #7713] * test/rubygems/test_gem.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05* lib/rubygems/commands/query_command.rb: Only fetch remote specs whendrbrain
showing details. [ruby-trunk - Bug #8019] RubyGems bug #487 * lib/rubygems/remote_fetcher.rb: ditto. * lib/rubygems/security/policy.rb: ditto. * test/rubygems/test_gem_commands_query_command.rb: Test for the above. * lib/rubygems/security.rb: Make OpenSSL optional for RubyGems. * lib/rubygems/commands/cert_command.rb: ditto. * lib/rubygems/config_file.rb: Display file with YAML error, not ~/.gemrc * lib/rubygems/remote_fetcher.rb: Only create gem subdirectories when installing gems. * lib/rubygems/dependency_resolver.rb: ditto. * lib/rubygems/test_utilities.rb: ditto. * test/rubygems/test_gem_commands_fetch_command.rb: Test for the above. * lib/rubygems/spec_fetcher.rb: Only try to upgrade http://rubygems.org to HTTPS * test/rubygems/test_gem_spec_fetcher.rb: Test for the above. * lib/rubygems.rb: Update win_platform? check for JRuby compatibility. * test/rubygems/test_gem_installer.rb: Update for Ruby 1.9.2 compatibility git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05* lib/rubygems.rb: Bump version to 2.0.1 for upcoming bugfix releasedrbrain
* lib/rubygems/ext/ext_conf_builder.rb: Restore ruby 1.8 compatibility for [Bug #9698] * test/rubygems/test_gem_installer.rb: Ditto. * lib/rubygems/package.rb: Restore ruby 1.8 compatibility. * test/rubygems/test_gem_dependency_installer.rb: Fix warnings git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-05ext_conf_builder.rb: clear DESTDIRnobu
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build): clear DESTDIR so RUBYARCHDIR and RUBYLIBDIR are not be overrdden. [Bug #7698] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-04ext_conf_builder.rb: install via temporary directorynobu
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build): fix for unusal cases again. install to a temporary directory once and move instaled files to the destination directory, if it is same as the current directory. [Bug #7698] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-03mkmf.rb: libpath_envnobu
* lib/mkmf.rb (MakeMakefile#libpath_env): ignore empty LIBPATHENV. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-03mkmf.rb: libpath_envnobu
* lib/mkmf.rb (MakeMakefile#libpath_env): set runtime library path for the case rpath is disabled. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-03ext_conf_builder.rb: remove circular dependency in install-sonobu
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.hack_for_obsolete_style_gems): remove circular dependencies in install-so too. [ruby-core:52882] [Bug #7698] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02fix typos in r39560kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02ext_conf_builder.rb: hack for obsolete sytle gemsnobu
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.hack_for_obsolete_sytle_gems): remove circular dependencies for old style gems which locate extconf.rb on the toplevel. [ruby-core:53059] [ruby-trunk - Bug #7698] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02ext_conf_builder.rb: use RUBYOPTnobu
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build): use RUBYOPT instead of -r option, and revert some tests. [Bug #7698] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02ext_conf_builder.rb: build in the source directorynobu
* lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build): revert use of temporary directory for build, to work some buggy extconf.rb which cannot build outside the source directory. [ruby-core:53056] [Bug #7698] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02mswin: static-linked-extnobu
* enc/depend (CPPFLAGS), lib/mkmf.rb (MakeMakefile#create_makefile): define RUBY_EXPORT for static-linked-ext mswin. [Bug #7960] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-02* lib/webrick/utils.rb: use Socket.tcp_server_sockets to create serverakr
sockets. fix [Bug #7100] https://bugs.ruby-lang.org/issues/7100 reported by sho-h (Sho Hashimoto). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-01* lib/fileutils.rb: Revert r34669 which altered the waydrbrain
metaprogramming in FileUtils occurred. [ruby-trunk - Bug #7958] * test/fileutils/visibility_tests.rb: Refactored tests of FileUtils options modules to expose bug found in #7958 * test/fileutils/test_dryrun.rb: ditto. * test/fileutils/test_nowrite.rb: ditto. * test/fileutils/test_verbose.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-28* lib/rubygems/ext/builder.rb: Fix incompatibilities when installingdrbrain
extensions. Patch by Nobu. [ruby-trunk - Bug #7968] [ruby-trunk - Bug #7971] * lib/rubygems/ext/ext_conf_builder.rb: ditto. * lib/rubygems/installer.rb: ditto. * test/rubygems/test_gem_ext_ext_conf_builder.rb: Test for the above. * test/rubygems/test_gem_installer.rb: ditto. * lib/rubygems/commands/sources_command.rb: Prefer HTTPS over HTTP. * lib/rubygems/defaults.rb: ditto * lib/rubygems/dependency_resolver.rb: Ditto. * lib/rubygems/source.rb: ditto. * lib/rubygems/spec_fetcher.rb: ditto. * lib/rubygems/specification.rb: ditto. * lib/rubygems/test_utilities.rb: ditto. * test/rubygems/test_gem.rb: Test for the above. * test/rubygems/test_gem_commands_sources_command.rb: ditto. * test/rubygems/test_gem_dependency_resolver_api_set.rb: ditto. * test/rubygems/test_gem_remote_fetcher.rb: ditto. * test/rubygems/test_gem_source.rb: ditto. * test/rubygems/test_gem_spec_fetcher.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-27* lib/rubygems/available_set.rb: Undent for styledrbrain
* lib/rubygems/dependency_installer.rb: Pick latest prerelease gem to install. Fixes RubyGems bug #468. * test/rubygems/test_gem_dependency_installer.rb: Test for the above. * lib/rubygems/dependency_installer.rb: Don't display "Done installing documentation" if documentation will not be installed. * lib/rubygems/rdoc.rb: ditto * lib/rubygems/dependency_list.rb: Use Array#concat for Ruby 1.x performance. * lib/rubygems/installer.rb: Use formatted program name when comparing executables. RubyGems pull request #471 * test/rubygems/test_gem_installer.rb: Test for the above. * lib/rubygems/package.rb: Use more explicit feature check to work around JRuby bug #552 * lib/rubygems/ssl_certs/GeoTrust_Global_CA.pem: Added GeoTrust root certificate. * test/rubygems/test_gem_source_list.rb: Use "example" instead of real hostname git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-27* lib/rexml/security.rb (REXML::Security): create.kou
* lib/rexml/rexml.rb: move entity_expansion_limit and entity_expansion_text_limit accessors to ... * lib/rexml/security.rb: ... here. * lib/rexml/document.rb: use REXML::Security. * lib/rexml/text.rb: use REXML::Security. * test/rexml/test_document.rb: use REXML::Security. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-27* lib/ostruct.rb: Typo in OpenStruct overview [Github Fixes #251]zzak
Patch by Chun-wei Kuo git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-26* lib/rexml/document.rb: move entity_expansion_limit accessor to ...kou
* lib/rexml/rexml.rb: ... here for consistency. * lib/rexml/document.rb (REXML::Document.entity_expansion_limit): deprecated. * lib/rexml/document.rb (REXML::Document.entity_expansion_limit=): deprecated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-26* lib/rexml/document.rb: move entity_expansion_limit accessor to ...kou
* lib/rexml/rexml.rb: ... here to make rexml/text independent from REXML::Document. It causes circular require. * lib/rexml/document.rb (REXML::Document.entity_expansion_limit): deprecated. * lib/rexml/document.rb (REXML::Document.entity_expansion_limit=): deprecated. * lib/rexml/text.rb: add missing require "rexml/rexml" for REXML.entity_expansion_limit. Reported by Robert Ulejczyk. Thanks!!! [ruby-core:52895] [Bug #7961] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-25* lib/rubygems/config_file.rb: Lazily load .gem/credentials to onlydrbrain
check permissions when necessary. RubyGems bug #465 * test/rubygems/test_gem_config_file.rb: Test for the above. * test/rubygems/test_gem_commands_push_command.rb: Remove duplicated test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-25mkmf.rb: default libdirnamenobu
* lib/mkmf.rb (MakeMakefile#init_mkmf): default libdirname to libdir. * tool/rbinstall.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-24* lib/net/http.rb: Removed duplicate Accept-Encoding in Net::HTTP#get.drbrain
[ruby-trunk - Bug #7924] * test/net/http/test_http.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22* lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):nagachika
fix a typo in comment in r39384. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22* lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):usa
new attribute to read/write entity expansion text limit. the default limit is 10Kb. * lib/rexml/text.rb (REXML::Text.unnormalize): check above attribute. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22mkmf.rb: adjust default library pathnobu
* lib/mkmf.rb (MakeMakefile#init_mkmf): adjust default library path for multiarch. [Bug #7874] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22un.rb: suppress warningnobu
* lib/un.rb (wait_writable): show error messages only if -v is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21* lib/rubygems/installer.rb (build_extensions): Create extensiondrbrain
install destination before building extension. Patch by Kenta Murata. [ruby-trunk - Bug #7897] * test/rubygems/test_gem_installer.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21* lib/abbrev.rb: Add words parameter to Abbrev::abbrevzzak
Patch by Devin Weaver [Github documenting-ruby/ruby/#7] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20* lib/mutex_m.rb: Add rdoc for Mutex_m modulezzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-20* lib/rubygems/commands/update_command.rb: Create the installer afterdrbrain
options are processed. [ruby-trunk - Bug #7779] * test/rubygems/test_gem_commands_update_command.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-19* lib/rubygems/installer.rb: Use gsub instead of gsub! to avoiddrbrain
altering @bin_dir. Fixes tests on windows. [ruby-trunk - Bug #7885] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-18* lib/rubygems/installer.rb: Fixed placement of executables withdrbrain
--user-install. [ruby-trunk - Bug #7779] * test/rubygems/test_gem_installer.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-18* lib/ipaddr.rb (IPAddr#in6_addr): Fix a typo with the closingknu
parenthesis. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-18Fix the IPv6 parser.knu
* lib/ipaddr.rb (IPAddr#in6_addr): Fix the parser so that it can recognize IPv6 addresses with only one edge 16-bit piece compressed, like [::2:3:4:5:6:7:8] or [1:2:3:4:5:6:7::]. [Bug #7477] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-17mkmf.rb: remove extra topdir in VPATHnobu
* lib/mkmf.rb: remove extra topdir in VPATH, which was in win32/Makefile.sub for some reason and moved from there. [ruby-dev:46998] [Bug #7864] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-15mkmf.rb: fail if cross compilingnobu
* lib/mkmf.rb (MakeMakefile#try_run): bail out explicitly if cross compiling, because it cannot work of course. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e