aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems
Commit message (Collapse)AuthorAgeFilesLines
* Add debug print to debug make dist error on rubyci FreeBSDnaruse2012-12-101-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/ext/cmake_builder.rb: Added a builder for cmake.drbrain2012-12-103-0/+17
| | | | | | | | | * 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
* * lib/rubygems/package.rb: Omit directories when packaging gems likedrbrain2012-12-101-0/+2
| | | | | | | | 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
* * lib/rubygems/commands/cleanup_command.rb: Skip default gems whendrbrain2012-12-084-15/+28
| | | | | | | | | | | | | | | | | | | | | | | | 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
* * lib/rubygems/command_manager.rb: Removed string concatenationdrbrain2012-12-067-15/+14
| | | | | | | | | | | | | | | | | 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
* * lib/rubygems/package.rb: Set rubygems_version before validation.drbrain2012-12-065-15/+18
| | | | | | | | | | | | | | | | | | | | | 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
* * lib/rubygems/commands/cleanup_command.rb: Fix cleanup command fordrbrain2012-12-011-1/+2
| | | | | | | | | 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
* * lib/rubygems/specification.rb: Don't add default gems to $LOAD_PATHdrbrain2012-12-011-0/+2
| | | | | | | as they are already there. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/command.rb (Gem::Command#get_all_gem_names_and_versions):usa2012-11-302-2/+10
| | | | | | | | | | | | | 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
* * lib/rubygems/specification.rbusa2012-11-301-4/+6
| | | | | | | | | (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
* * lib/rubygems/package.rb: Load YAML for building gems.drbrain2012-11-301-0/+1
| | | | | | | | * 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
* * lib/rubygems/commands/setup_command.rb: Remove old files on installdrbrain2012-11-301-2/+27
| | | | | | | | 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
* * lib/rubygems/spec_fetcher.rb: Allow prerelease spec fetching to faildrbrain2012-11-301-3/+13
| | | | | | | | 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
* * lib/rubygems/commands/contents_command.rb: Sort output from command.drbrain2012-11-303-3/+10
| | | | | | | | | | | 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
* remove trainling spacesnobu2012-11-292-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/test_case.rb: Determine path to certificates to avoiddrbrain2012-11-291-3/+5
| | | | | | | | | 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
* * lib/rubygems/test_case.rb: Disable loading of keys and certificatesdrbrain2012-11-291-3/+12
| | | | | | | | 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
* * lib/rubygems*: Updated to RubyGems 2.0drbrain2012-11-29104-4355/+7043
| | | | | | | | | | | | * 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
* * 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
* * 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
* remove trainling spaces.nobu2012-08-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/platform.rb (Gem::Platform#initialize): Support patternnaruse2012-07-301-1/+1
| | | | | | like x86_64-netbsd6.99.7. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: Updated to RubyGems 1.8.24, a bugfix release.drbrain2012-07-242-5/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/ssl_certs/AddTrustExternalCARoot.pem: Removed to avoiddrbrain2012-04-203-237/+0
| | | | | | | | | | | 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
* * lib/rubygems: Update to RubyGems 1.8.23 which contains securitydrbrain2012-04-197-7/+3663
| | | | | | | | | | | | | | | 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
* * lib/rubygems/version.rb: Fixed init_with warning by calling intodrbrain2012-04-181-0/+4
| | | | | | | 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
* * lib/rubygems: Update to RubyGems 1.8.22 plus r33517 and r35337 whichdrbrain2012-04-1822-98/+315
| | | | | | | | | | | 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
* Revert r35370 due to bad source branchdrbrain2012-04-1722-309/+98
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: Update to RubyGems 1.8.22 plus r33517 and r35337 whichdrbrain2012-04-1722-98/+309
| | | | | | | | | | | 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
* * lib/rubygems/remote_fetcher.rb (Gem::RemoteFetcher#download): shouldusa2012-04-161-1/+1
| | | | | | | | 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
* * lib/rubygems: Update to RubyGems 1.8.11. Move Deprecate into thedrbrain2011-10-0311-56/+58
| | | | | | | Gem namespace. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: Update to RubyGems 1.8.10. Fixes security issue indrbrain2011-08-264-19/+17
| | | | | | | | | 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
* * lib/rubygems: Update to RubyGems 1.8.9. Fixes uninstalling multipledrbrain2011-08-231-0/+4
| | | | | | | gems and gem cleanup. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: Import RubyGems 1.8.8. Fixes encoding of YAML gemspecdrbrain2011-08-121-2/+7
| | | | | | | from gems. Github Issue #149 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: Import RubyGems 1.8.7:drbrain2011-08-057-12/+39
| | | | | | | | | | | | | | | | | | | | | | | 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
* Correct RubyGems bin check on Windows. Bug #5111luislavena2011-08-011-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/user_interaction.rb (Gem::StreamUI#tty?): typo.usa2011-07-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/uninstaller.rb: Add missing require and updatedrbrain2011-07-271-7/+13
| | | | | | | | 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
* * lib/rubygems: Update to RubyGems 1.8.6.1.drbrain2011-07-2787-531/+54
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/specification.rb: Restore behavior ofdrbrain2011-07-231-3/+6
| | | | | | | 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
* * lib/rubygems.rb: Reduce requires to improve `make benchmark`.drbrain2011-07-061-0/+3
| | | | | | | | | [#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
* * lib/rubygems/user_interaction.rb (Gem::StreamUI#tty?): IO#tty? ofusa2011-06-071-6/+2
| | | | | | | | | 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
* * lib/rubygems/test_case.rb: Refix for test-all in separate directory.naruse2011-06-031-2/+3
| | | | | | r31147 + r31151. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems, test/rubygems: properties.nobu2011-06-013-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import rubygems 1.8.5 (released @ 137c80f)ryan2011-06-0156-1872/+2852
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2011-05-153-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/test_case.rb: save current dir to @current_dirnaruse2011-03-221-1/+2
| | | | | | before Dir.chdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/runner.rb: set Gem::TestCase's @@project_dir.naruse2011-03-221-1/+1
| | | | | | | * lib/rubygems/test_case.rb: set Gem::TestCase's @@project_dir only when it is not defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import rubygems 1.6.2 (release candidate @ 2026fbb5)ryan2011-03-0913-32/+82
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import rubygems 1.6.0 (released version @ 58d8a0b9)ryan2011-03-0129-255/+630
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e