drbrain
0a7d24cc5a
* lib/rubygems/test_case.rb: Determine path to certificates to avoid
...
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 08:04:04 +00:00
drbrain
9694bb8cac
* lib/rubygems*: Updated to RubyGems 2.0
...
* 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-11-29 06:52:18 +00:00
nobu
2301f983d2
test_gem_installer.rb: restore ARGV
...
* test/rubygems/test_gem_installer.rb
(TestGemInstaller#test_install_creates_binstub_that_dont_trust_encoding):
restore ARGV properly, non-ascii strings in different encodings are
not equal. [ruby-core:45975] [Bug #6673 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-25 02:14:18 +00:00
nobu
68e47b6122
test_gem_specification.rb: skip meaningless tests
...
* test/rubygems/test_gem_specification.rb (have_syck): skip tests
which are meaningless if syck is never possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-08 07:54:27 +00:00
naruse
7a69af7461
* lib/rubygems/test_case.rb: run test with psych if exist.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-22 02:22:03 +00:00
naruse
b0837c440e
Suppress warnings
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-21 22:30:43 +00:00
nobu
d059d718b5
remove trainling spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-21 04:50:18 +00:00
naruse
0357ac8a38
* lib/rubygems/platform.rb (Gem::Platform#initialize): Support pattern
...
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-30 14:04:48 +00:00
nobu
d176c4ee99
Bug #5348
...
* test/rubygems/test_gem_indexer.rb (setup, teardown): save @tempdir
to remove it properly. [Bug #5348 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-24 15:37:25 +00:00
nobu
e62c35fb8f
* test/rubygems/test_gem_remote_fetcher.rb: skip OpenSSL dependent
...
tests if not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-09 04:26:29 +00:00
ryan
a213c2ed9c
Imported minitest 3.0.0 (r7435) w/ fixes for rubygems. 10955 tests, 2253343 assertions, 1 failures, 1 errors, 28 skips minus drb tests on x86_64-darwin11.3.0 and reviewed by drbrain
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-09 04:09:25 +00:00
nobu
298258891d
use assert_equal, assert_match, and so on.
...
* test/fileutils/fileasserts.rb: use assert_equal, assert_match, and so on.
* test/ruby/enc/test_utf16.rb, test/ruby/enc/test_utf32.rb,
test/ruby/test_io_m17n.rb (assert_str_equal): ditto.
* test/rubygems/test_gem_remote_fetcher.rb
(assert_data_from_{server,proxy}): ditto.
* test/test_pstore.rb (test_thread_safe): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-07 01:23:07 +00:00
nobu
b5ba059a0b
test_gem_installer.rb: fix argument order
...
* test/rubygems/test_gem_installer.rb (TestGemInstaller#test_dir): fix
argument order. expected value must come first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-07 01:16:32 +00:00
naruse
ae4fa7951f
Revert r35443.
...
Revert "* test/rubygems/test_gem_installer.rb: fix broken test for r35541."
* r35541 breaks exist tests, it should be a bug unless it is inteneded.
there seems no such intention.
68858105b2
* assert('mswin32' =~ Gem::Platform.local) won't output any useful
information when it fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-05 13:15:29 +00:00
ayumin
f406e3ac63
* test/rubygems/test_gem_installer.rb: fix broken test for r35541.
...
[ruby-core:44884][Bug #6405 ]
* test/rubygems/test_gem_platform.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-05 09:27:06 +00:00
naruse
66b0d426ed
rescue if it cannnot load psych.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-04 13:26:39 +00:00
nobu
28a8188e4d
fix condition to set yaml engine
...
* test/rubygems/test_gem_specification.rb (test_to_yaml_emits_syck_compat_yaml):
fix condition to set yaml engine.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 01:41:15 +00:00
nobu
e0431daa00
test with psych
...
* test/rubygems/test_gem_specification.rb (test_to_yaml_emits_syck_compat_yaml):
test with psych.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 13:48:45 +00:00
nobu
c2cc5fc961
ignore unnecessary test
...
* test/rubygems/test_gem_specification.rb (test_emits_zulu_timestamps_properly):
ignore unnecessary test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 13:48:43 +00:00
nobu
77b1d88513
skip OpenSSL dependent tests if not available
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-23 13:48:41 +00:00
drbrain
064bf602e0
* lib/rubygems: Update to RubyGems 1.8.23 which contains security
...
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-19 23:07:48 +00:00
naruse
61c1fb7058
Use mock of Gem::Security::OPT[:trust_dir]
...
Gem::Security::OPT[:trust_dir] depends Gem.user_home but doesn't reset
on setup/teardown.
NOTE: Gem.user_home won't be recovered now, so teardown doesn't work.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-18 23:14:26 +00:00
drbrain
6c1da63bd7
* lib/rubygems: Update to RubyGems 1.8.22 plus r33517 and r35337 which
...
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-18 00:04:12 +00:00
drbrain
0ebe38eedd
Revert r35370 due to bad source branch
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-17 21:17:56 +00:00
drbrain
22d9456b79
* lib/rubygems: Update to RubyGems 1.8.22 plus r33517 and r35337 which
...
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-17 20:50:00 +00:00
nobu
8e683a8a97
* test/rubygems/test_gem_specification.rb (test_self_from_yaml_syck_default_key_bug):
...
ignore the test for too old versions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-27 01:53:47 +00:00
naruse
9a82672ce2
Follow the error format changed by FreeBSD 9.
...
FreeBSD 8.2's last line is
"./configure: Can't open ./configure: No such file or directory\n""
but FreeBSD 9's is
"cannot open ./configure: No such file or directory\n"".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-24 06:41:57 +00:00
drbrain
90dfc8f99e
* lib/rubygems: Update to RubyGems 1.8.11. Move Deprecate into the
...
Gem namespace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-03 22:15:47 +00:00
sorah
73a1e841d6
* test/rubygems/test_gem_commands_help_command.rb: Add one
...
`require` because if run test-all with test/unit parallel
running, sometimes this test fails by some constants not found.
The error reason is some worker doesn't require the file needed by
this test. This issue is related to [ruby-core:36168].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-09 02:08:44 +00:00
naruse
522c16e84c
* test/rubygems/test_gem_security.rb
...
(test_class_build_self_signed_cert): reset opt[:trust_dir] to apply
temporary Gem.user_home.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-05 06:06:31 +00:00
drbrain
e93d882d96
* lib/rubygems: Update to RubyGems 1.8.10. Fixes security issue in
...
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-26 01:10:50 +00:00
drbrain
cede48fd40
* lib/rubygems: Update to RubyGems 1.8.9. Fixes uninstalling multiple
...
gems and gem cleanup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-23 22:58:06 +00:00
drbrain
3434676e9e
* lib/rubygems: Import RubyGems 1.8.7:
...
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-05 01:00:01 +00:00
luislavena
9e49d29e08
Correct RubyGems bin check on Windows. Bug #5111
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-01 21:22:13 +00:00
drbrain
55b81eb9e6
* lib/rubygems/uninstaller.rb: Add missing require and update
...
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 03:33:45 +00:00
drbrain
035ef0a347
* lib/rubygems: Update to RubyGems 1.8.6.1.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-27 01:40:07 +00:00
drbrain
6b3ec75c7f
* lib/rubygems/specification.rb: Restore behavior of
...
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-23 16:05:19 +00:00
usa
733be25907
* lib/rubygems/user_interaction.rb (Gem::StreamUI#tty?): IO#tty? of
...
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-07 09:56:30 +00:00
usa
04b81ae799
* test/rubygems/test_gem.rb (TestGem#{test_self_user_home_userprofile,
...
test_self_user_home_user_drive_and_path}): should simply ignore
meaningless tests instead of skipping them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-07 09:38:51 +00:00
naruse
1de2e1fdc2
* test/rubygems/test_gem_commands_which_command.rb:
...
"missing" exists on ruby's top source directory. [Bug #4815 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-03 19:09:59 +00:00
nobu
b204eabf05
* lib/rubygems, test/rubygems: properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-01 04:05:03 +00:00
ryan
d22130922e
Import rubygems 1.8.5 (released @ 137c80f)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-01 03:45:05 +00:00
nobu
3a47cf3395
* remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-15 11:55:52 +00:00
ryan
6e5f49770c
Import rubygems 1.6.2 (release candidate @ 2026fbb5)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-09 22:32:29 +00:00
usa
d504a2458c
* test/rubygems/test_gem_spec_fetcher.rb
...
(TestGemSpecFetcher#test_cache_dir_escapes_windows_paths): cache_dir
may have driveletter and `:' for base of cache_dir itself, so need
to skip it for checking.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-08 06:59:51 +00:00
matz
1df42597d1
cancel subversion backfire. sorry
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07 08:44:45 +00:00
matz
eb807d42ec
* gc.c (rb_gc_set_params): allow GC parameter configuration by
...
environment variables. based on a patch from funny-falcon at
https://gist.github.com/856296 , but honors safe level.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07 08:39:39 +00:00
ryan
25a9b62d45
Import rubygems 1.6.0 (released version @ 58d8a0b9)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-01 09:41:32 +00:00
ryan
ec84bfc9e3
Import rubygems 1.5.0 (released version @ 1fb59d0)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-01 03:11:34 +00:00
nobu
ce00071053
* test/rubygems/test_gem_security.rb (TestGemSecurity): valid only
...
if OpenSSL is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-30 07:40:31 +00:00
ryan
934f537b45
Import rubygems 1.5.0 (release candidate @ 09893d9)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-28 23:46:47 +00:00
ryan
64847a9cfe
Importing rubygems @ c2d4131: Deal with platforms that have DLEXT2 == nil. Fixes RF#28867
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-19 21:23:04 +00:00
drbrain
4993a1a814
Finish removing code, (fixes sources command test).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-19 04:17:17 +00:00
ryan
e798ccbacf
Import rubygems 1.5.0 (release candidate)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-19 00:08:49 +00:00
ryan
f52c2cc24d
Reduced gem_prelude to just require rubygems. Reviewed by Evan Phoenix
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-14 02:02:12 +00:00
nobu
0afddf7b0a
Tue Aug 17 07:38:43 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
...
* gem_prelude.rb, lib/rubygems.rb (Gem.suffixes): include empty
suffix. [ruby-core:31730]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-16 22:38:46 +00:00
mame
d1de97e0bc
* gem_prelude.rb: provide workaround for gem activation. Currently,
...
gem activation does not work by default. Now it can be worked
around by requiring "rubygems" first. [ruby-core:29486]
a patch from Evan Phoenix in [ruby-core:31096].
* lib/rubygems.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-07 15:40:52 +00:00
tarui
5f960a9ca2
* test/rubygems/gemutilities.rb: check ENV['make'] for make_command.
...
* test/rubygems/test_gem_ext_configure_builder.rb: use gemutilities' make_command.
* test/rubygems/test_gem_ext_ext_conf_builder.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-28 16:01:22 +00:00
mame
48c5afeba0
* lib/rubygems/install_update_options.rb
...
(Gem::InstallUpdateOptions#add_install_update_options): deprecate
--test option which has not worked. [ruby-core:21714]
* test/rubygems/test_gem_command_manager.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 13:42:54 +00:00
naruse
c659f40446
Revert r28200.
...
It caused many failures on test-all and following is SEGV.
./ruby -e 'require %!#{"foo/" * 10000}foo!'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 04:31:08 +00:00
nobu
2258b0c7ef
* test/rubygems/test_gem_activation.rb: typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-07 21:28:54 +00:00
nobu
2b322524cd
* gem_prelude.rb: load full rubygems at LoadError for activation
...
check. [ruby-core:29486]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-07 21:27:16 +00:00
nobu
e2ab44ac40
* test/rubygems/mockgemui.rb (MockGemUi::TTY),
...
test/rubygems/test_gem_stream_ui.rb (TestGemStreamUI::IsTty):
need #noecho.
* test/rubygems/test_gem_gemcutter_utilities.rb: need
rubygems/command.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09 17:26:40 +00:00
drbrain
372dcece3f
Update to RubyGems 1.3.7.pre.1
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-22 08:24:42 +00:00
tenderlove
5a7b5e7058
* test/rubygems/gemutilities.rb: removing gem requirement on minitest.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-11 00:44:06 +00:00
naruse
10c9ed2493
* ext/psych/lib/psych/core_ext.rb: remove before alias.
...
* ext/syck/lib/syck.rb: don't warn called by itself.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-05 04:12:14 +00:00
naruse
bad1200f9d
Fix test for testing rake command.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-01 17:21:08 +00:00
naruse
63a8580694
fix path to bin/rake from the test utility file.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-01 11:29:35 +00:00
naruse
35b2c59ac0
* test/rubygems/gemutilities.rb (setup, teardown):
...
Object#to_yaml must use syck on RubyGem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-31 04:57:31 +00:00
nobu
b551e8c8b3
* lib/rubygems: update to 1.3.6.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-22 02:52:35 +00:00
nobu
ed5d5c5829
* lib/rubygems: update to 1.3.5.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-08 07:19:09 +00:00
nobu
47dfb32c43
* test/rubygems/test_gem_installer.rb (test_build_extensions_extconf_bad):
...
escaped meta charater.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-04 04:59:11 +00:00
nobu
da63c5ca4b
* test/rubygems/gemutilities.rb (setup): use ENV["RUBY"] before
...
installation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-04 04:55:23 +00:00
nobu
57940c0323
* test/rubygems/test_gem.rb (TestGem#test_self_find_files): "."
...
is no longer included in $LOAD_PATH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-04 04:53:57 +00:00
nobu
19bad26c5a
* test/rubygems: use require_relative.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-03 15:59:29 +00:00
naruse
6bbed0e31b
* test: use require_relative.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12 17:00:51 +00:00
drbrain
31c94ffeb5
Update to RubyGems 1.3.4 r2223
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-09 21:38:59 +00:00
akr
c42a5df5c1
* ext/extmk.rb: use RbConfig instead of Config.
...
* instruby.rb: ditto.
* lib/rubygems.rb: ditto.
* test/rubygems/test_config.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-30 16:34:01 +00:00
akr
d5bfa31f82
* runruby.rb: use RbConfig::CONFIG instead of Config::CONFIG.
...
* spec/default.mspec: ditto.
* yarvtest/yarvtest.rb: ditto.
* instruby.rb: ditto.
* benchmark/report.rb: ditto.
* benchmark/runc.rb: ditto.
* tool/eval.rb: ditto.
* test/rubygems/test_gem.rb: ditto.
* test/rubygems/test_config.rb: ditto.
* test/rubygems/test_gem_platform.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-30 12:25:23 +00:00
nobu
d85689f5cb
* lib/rubygems/installer.rb (Gem::Installer#shebang): fix for env
...
shebang.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-15 03:01:39 +00:00
nobu
753f4824e3
* test/rubygems/simple_gem.rb: updated for 1.9.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-07 10:36:27 +00:00
nobu
287a34ae0d
* {ext,lib,test}/**/*.rb: removed trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 03:56:38 +00:00
nobu
018e1e4f5e
* lib/rubygems/installer.rb (Gem::Installer#initialize): fixed
...
typos.
* test/rubygems/test_gem.rb (test_self_dir): removed false
assertions.
* test/rubygems/test_gem.rb (test_self_set_paths): checks if paths
are included.
* test/rubygems/test_gem_commands_install_command.rb
(test_execute_remote): checks diagnostic message too.
* test/rubygems/test_gem_installer.rb (load): uses Gem.ruby.
* test/rubygems/gemutilities.rb (Gem.ruby): initializes from the
environment variable to run without installation.
* test/rubygems/gemutilities.rb (RubyGemTestCase#util_build_gem):
creates cache directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-22 07:28:35 +00:00
nobu
0e9023acd0
* test/rubygems/test_gem.rb (test_self_user_home_user_drive_and_path): removed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-07 14:33:17 +00:00
yugui
7be399c567
merges r21134 from ruby_1_9_1 into trunk.
...
* test/rubygems/test_gem_command.rb
(test_add_option_overlapping_common_and_local_options):
follows r21066.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-29 06:18:14 +00:00
naruse
faa2987d54
* test/rubygems/test_ext_configure_builder.rb (test_self_build_fail):
...
Extends pattern for FreeBSD's error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28 08:24:35 +00:00
drbrain
af0221e728
Don't require rubygems/defaults from gem_prelude.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-31 22:27:35 +00:00
yugui
e3e645f43a
merged r19975 and r19978 from ruby_1_9_1 into trunk.
...
* gem_prelude.rb: considers --program-suffix and prefix configure
options.
* lib/rubygems/defaults.rb: ditto.
* test/rubygems/test_gem.rb (@default_dir_re): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-28 08:21:50 +00:00
drbrain
b61d8b6045
Update to RubyGems 1.3.1 r1909.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-25 22:58:43 +00:00
nobu
7de38fadc0
* test/rubygems/gemutilities.rb (RubyGemTestCase#build_rake_in):
...
get rid of interference with other tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 09:07:27 +00:00
drbrain
abf17f3586
Remove extra call to setup to fix ENV['HOME'] pollution
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-30 04:20:07 +00:00
drbrain
a42df5094d
Fix some RDoc and RubyGems test interactions. Fix -n in test/runner.rb
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-29 22:48:11 +00:00
drbrain
6cd13d6577
Fix broken merge of gemutilities, add build_rake_in as necessary
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-25 10:37:01 +00:00
drbrain
d478c7a734
Update to RubyGems 1.3.0 r1891
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-25 10:13:50 +00:00
nobu
00b4a3f9c4
* test: assert_raises has been deprecated since a long time ago.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 17:44:39 +00:00
naruse
31a0672306
* test/rubygems/test_gem_ext_configure_builder.rb
...
(test_self_build_fail): remove extra newline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-31 07:39:41 +00:00
mame
498324c5d3
* lib/test/unit/ui/console/testrunner.rb: prevent destructive modification to $0.
...
* test/rubygems/gemutilities.rb (build_rake_in): move from test_gem_ext_rake_builder.rb.
* test/rubygems/test_gem_ext_rake_builder.rb: ditto.
* test/rubygems/test_gem_installer.rb: override Gem.ruby and ENV["rake"].
* test/rubygems/test_gem_uninstaller.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 12:33:11 +00:00
nobu
c274c6fabf
* lib/rubygems/ext/builder.rb (Gem::Ext::Builder.make),
...
(Gem::Ext::Builder.run): EXIT_SUCCESS may be 0 or may not.
* test/rubygems/test_gem_ext_rake_builder.rb (build_rake_in): override
Gem.ruby and ENV["rake"].
* runruby.rb: bin/rake does not exist in archdir where architecture
depend script (i.e. rbconfig.rb) exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 06:01:15 +00:00
drbrain
5c8ab4d9c2
RubyGems patches by Yusuke ENDOH [ruby-core:17442], [ruby-core:17444].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30 18:46:21 +00:00
akr
c8ab5d2dd9
* test/rubygems/test_gem.rb (test_self_path_APPLE_GEM_HOME): don't use
...
fixed /tmp/apple_gem_home directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-28 04:13:08 +00:00
drbrain
8b424513fd
Upgrade to RubyGems 1.2.0 r1824. Incorporates [ruby-core:17353].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-26 02:06:00 +00:00
drbrain
08837d081d
Update to RubyGems 1.1.1 r1784 (pre 1.2)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19 18:15:26 +00:00
drbrain
215fbc639f
Fix RubyGems for 1.9, r1780
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-17 23:59:31 +00:00
drbrain
9d4f37f51f
Update RubyGems to 1.1.1 r1778 (almost 1.2)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-17 22:04:18 +00:00
drbrain
e72b71d56a
Update to RubyGems 1.1.1 r1701.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-11 20:57:02 +00:00
drbrain
283be20b27
Remove test file that was removed in RubyGems 1.1.0
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-31 22:55:00 +00:00
drbrain
8cc45aae94
Import RubyGems 1.1.0
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-31 22:40:06 +00:00
drbrain
5d613c83cc
Import RubyGems r1601. [ruby-core:15381].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-10 08:00:19 +00:00
drbrain
9ca563978e
Fix some test failures in RubyGems.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 23:28:35 +00:00
drbrain
ed9690bba5
Fix warnings in RubyGems
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23 06:34:28 +00:00
drbrain
b42179135d
Update to RubyGems 1.0.1, r1581
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 08:45:07 +00:00
drbrain
8289771e32
Import RubyGems 1.0.0, r1575
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20 08:39:12 +00:00
drbrain
369697bceb
Import fast-loading gem_prelude.rb from RubyGems.
...
Import RubyGems r1516.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-25 03:26:36 +00:00
drbrain
db74541efe
Update to RubyGems 0.9.5
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-20 05:56:43 +00:00
drbrain
fbf59bdbea
Import RubyGems trunk revision 1493.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-10 07:48:56 +00:00