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