summaryrefslogtreecommitdiff
path: root/lib/rubygems
AgeCommit message (Collapse)Author
2012-12-18* lib/rubygems/specification.rb: Fixed ruby output of requirementsdrbrain
with multiple version specifiers. * test/rubygems/test_gem_ext_cmake_builder.rb: Only look for specific lines in cmake output. Should fix [ruby-trunk - Bug #7579] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-14* lib/rubygems/commands/rdoc_command.rb: When overwritingdrbrain
documentation, remove existing documentation first. * lib/rubygems/server.rb: Fixed documentation links. * test/rubygems/test_gem_server.rb: Test for the above. * lib/rubygems/rdoc.rb: Reduced diff with RDoc::RubyGemsHook * test/rubygems/test_gem_rdoc.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-11Revert r38296 and r38301naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-10More debug print for r38296naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-10Add debug print to debug make dist error on rubyci FreeBSDnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-10* lib/rubygems/ext/cmake_builder.rb: Added a builder for cmake.drbrain
* lib/rubygems/ext.rb: ditto. * lib/rubygems/installer.rb: ditto. * test/rubygems/test_gem_ext_cmake_builder.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-10* lib/rubygems/package.rb: Omit directories when packaging gems likedrbrain
RubyGems 1.8.x * test/rubygems/test_gem_package.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-08* lib/rubygems/commands/cleanup_command.rb: Skip default gems whendrbrain
cleaning up. * test/rubygems/test_gem_commands_cleanup_command.rb: Test for above. * lib/rubygems/commands/query_command.rb: Fixed listing remote gems. * lib/rubygems/dependency_installer.rb: Ignore non-files when looking for local gems. * test/rubygems/test_gem_dependency_installer.rb: Test for above. * lib/rubygems/uninstaller.rb: The user must confirm uninstalling gems that have dependencies. * test/rubygems/test_gem_uninstaller.rb: Test for above. * lib/rubygems.rb (module Gem): Updated version. * test/rubygems/*.pem: Updated to run in FIPS mode. * test/rubygems/test_gem_security.rb: ditto. * test/rubygems/test_gem_security_signer.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-06* lib/rubygems/command_manager.rb: Removed string concatenationdrbrain
syntax. [Bug #6265] * lib/rubygems/commands/install_command.rb: ditto * lib/rubygems/commands/uninstall_command.rb: ditto * lib/rubygems/indexer.rb: ditto * lib/rubygems/security/policy.rb: ditto * lib/rubygems/security.rb: ditto * lib/rubygems/uninstaller.rb: ditto * test/rubygems/test_gem_commands_cert_command.rb: ditto * test/rubygems/test_gem_package.rb: ditto * test/rubygems/test_gem_security.rb: ditto * test/rubygems/test_gem_security_policy.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-06* lib/rubygems/package.rb: Set rubygems_version before validation.drbrain
Fixes issue with bundler. * test/rubygems/test_gem_package.rb: Test for above. * lib/rubygems/remote_fetcher.rb: Only update the cache when we have permission. [ruby-trunk - Bug #7509] * lib/rubygems/source.rb (class Gem): ditto * test/rubygems/test_gem_remote_fetcher.rb: Test for above. * lib/rubygems/test_utilities.rb: ditto * lib/rubygems/specification.rb: Derive base_dir properly for default gems. [ruby-trunk - Bug #7496] * test/rubygems/test_gem_specification.rb: Test for above. * lib/rubygems.rb: Untaint Dir.pwd when searching for gemdeps files for operation under $SAFE=1 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-01* lib/rubygems/commands/cleanup_command.rb: Fix cleanup command fordrbrain
multiple gems. [ruby-trunk - #7481] by Kouhei Sutou * test/rubygems/test_gem_commands_cleanup_command.rb: Test for above. * lib/rubygems.rb: Autoload Gem::Source to prevent test failures git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-01* lib/rubygems/specification.rb: Don't add default gems to $LOAD_PATHdrbrain
as they are already there. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-30* lib/rubygems/command.rb (Gem::Command#get_all_gem_names_and_versions):usa
who assumes that the pathname of a gem never contains ':' ? yes, on Unixen pathnames can contain ':', and on Windows they almost certainly contain ':'. see [ruby-core:50388]. * lib/rubygems/requirement.rb (Gem::Requirement::PATTERN_RAW): extract the regexp to match the version specifier from PATTERN to use in above method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-30* lib/rubygems/specification.rbusa
(Gem::Specification.validate_permissions): don't check executablity of the source on Windows. they will be wrapped to .bat files when installing. see [ruby-core:50388]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-30* lib/rubygems/package.rb: Load YAML for building gems.drbrain
* test/rubygems/test_gem_commands_contents_command.rb: Sort expected output of default gem contents. Re-fixes r38004 and r38005. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-30 * lib/rubygems/commands/setup_command.rb: Remove old files on installdrbrain
of RubyGems. (not by rbinstall.rb). * test/rubygems/test_gem_commands_setup_command.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-30 * lib/rubygems/spec_fetcher.rb: Allow prerelease spec fetching to faildrbrain
for bundler. * test/rubygems/test_gem_spec_fetcher.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-30* lib/rubygems/commands/contents_command.rb: Sort output from command.drbrain
Replaces r38004, r38005 * test/rubygems/test_gem_commands_contents_command.rb: ditto. * lib/rubygems/defaults.rb: Use Gem.path_separator for jruby support. * lib/rubygems/path_support.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-29remove trainling spacesnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-29 * lib/rubygems/test_case.rb: Determine path to certificates to avoiddrbrain
build-dir problems. * test/rubygems/test_gem_security_signer.rb: Use predetermined paths to avoid build-dir problems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-29* lib/rubygems/test_case.rb: Disable loading of keys and certificatesdrbrain
outside rubygems or ruby tests as the files are not available (or necessary). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-29* lib/rubygems*: Updated to RubyGems 2.0drbrain
* test/rubygems*: ditto. * common.mk (prelude): Updated for RubyGems 2.0 source rearrangement. * tool/change_maker.rb: Allow invalid UTF-8 characters in source files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-28* lib/rubygems/installer.rb (check_that_user_bin_dir_is_in_path):naruse
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
2012-08-22* lib/rubygems/test_case.rb: run test with psych if exist.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-21remove trainling spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-30* lib/rubygems/platform.rb (Gem::Platform#initialize): Support patternnaruse
like x86_64-netbsd6.99.7. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-24* lib/rubygems: Updated to RubyGems 1.8.24, a bugfix release.drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-20* lib/rubygems/ssl_certs/AddTrustExternalCARoot.pem: Removed to avoiddrbrain
conflict with ca-bundle.pem * lib/rubygems/ssl_certs/VerisignClass3PublicPrimaryCertificationAuthority-G2.pem: ditto. * lib/rubygems/ssl_certs/Entrust_net-Secure-Server-Certification-Authority.pem: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-19* lib/rubygems: Update to RubyGems 1.8.23 which contains securitydrbrain
fixes: RubyGems now disallows redirection from HTTPS to HTTP. RubyGems now verifies SSL connections. See https://github.com/rubygems/rubygems/blob/1.8/History.txt for changes since 1.8.22. * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18* lib/rubygems/version.rb: Fixed init_with warning by calling intodrbrain
yaml_initialize (for syck) from psych's init_with git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18* lib/rubygems: Update to RubyGems 1.8.22 plus r33517 and r35337 whichdrbrain
were ported to the rubygems git repository. See https://github.com/rubygems/rubygems/blob/1.8/History.txt for changes since 1.8.11. * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-17Revert r35370 due to bad source branchdrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-17* lib/rubygems: Update to RubyGems 1.8.22 plus r33517 and r35337 whichdrbrain
were ported to the rubygems git repository. See https://github.com/rubygems/rubygems/blob/1.8/History.txt for changes since 1.8.11. * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-16* lib/rubygems/remote_fetcher.rb (Gem::RemoteFetcher#download): shouldusa
use File.identical? to chech the identicality of the files. this fixed an error of a test on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-03* lib/rubygems: Update to RubyGems 1.8.11. Move Deprecate into thedrbrain
Gem namespace. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-26* lib/rubygems: Update to RubyGems 1.8.10. Fixes security issue indrbrain
creating ruby-format gemspecs. Fixes Gem.dir not being at the front of Gem.path to fix uninstall and cleanup commands. Fixes gem uninstall stopping on the first missing gem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-23* lib/rubygems: Update to RubyGems 1.8.9. Fixes uninstalling multipledrbrain
gems and gem cleanup. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-12* lib/rubygems: Import RubyGems 1.8.8. Fixes encoding of YAML gemspecdrbrain
from gems. Github Issue #149 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-05 * lib/rubygems: Import RubyGems 1.8.7:drbrain
Added missing require for `gem uninstall --format-executable`. The correct name of the executable being uninstalled is now displayed with --format-executable. Fixed `gem unpack uninstalled_gem` default version picker. RubyGems no longer claims a nonexistent gem can be uninstalled. `gem which` no longer claims directories are requirable files. `gem cleanup` continues cleaning up gems if one can't be uninstalled due to permissions. Issue #82. Gem repository directories are no longer created world-writable. Patch by Sakuro OZAWA. [Ruby 1.9 - Bug #4930] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-01Correct RubyGems bin check on Windows. Bug #5111luislavena
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-28* lib/rubygems/user_interaction.rb (Gem::StreamUI#tty?): typo.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-27 * lib/rubygems/uninstaller.rb: Add missing require and updatedrbrain
messaging to avoid confusion with uninstall --format-executable. [Ruby 1.9 - Bug #4062] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-27 * lib/rubygems: Update to RubyGems 1.8.6.1.drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-23 * lib/rubygems/specification.rb: Restore behavior ofdrbrain
Gem::Specification#loaded. [Ruby 1.9 - Bug #5032] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 * lib/rubygems.rb: Reduce requires to improve `make benchmark`.drbrain
[#4962] * lib/rubygems/specification.rb: Delay initialization of rubygems until require is called. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-07* lib/rubygems/user_interaction.rb (Gem::StreamUI#tty?): IO#tty? ofusa
Windows has been fixed at r29969. * test/rubygems/test_gem_stream_ui.rb: now can run tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-03* lib/rubygems/test_case.rb: Refix for test-all in separate directory.naruse
r31147 + r31151. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-01* lib/rubygems, test/rubygems: properties.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-01Import rubygems 1.8.5 (released @ 137c80f)ryan
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-15* remove trailing spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e