naruse
3e92b635fb
Add frozen_string_literal: false for all files
...
When you change this to true, you may need to add more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16 05:07:31 +00:00
hsbt
0c5841bead
* lib/rubygems: Update to RubyGems 2.5.1
...
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-11 02:53:09 +00:00
hsbt
e2cf71a085
* lib/rubygems: Update to RubyGems 2.5.0+ HEAD(fdab4c4).
...
this version includes #1396 , #1397 , #1398 , #1399
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-04 06:21:53 +00:00
hsbt
ba516bc317
* lib/rubygems/installer.rb: Fix two double-word typos.
...
[ci skip][fix GH-1108] Patch by @jwworth
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-24 01:00:15 +00:00
hsbt
5f6715275e
* lib/rubygems: Update to RubyGems 2.5.0+ HEAD(c6b4946).
...
this version includes #1114 , #1314 , #1322 , #1375 , #1383 , #1387
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-19 06:16:19 +00:00
hsbt
a2ba489e2e
* lib/rubygems: Update to RubyGems 2.5.0+ HEAD(db78980).
...
this version includes #1367 , #1373 , #1375
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-12 04:50:06 +00:00
hsbt
e00d5437d1
* lib/rubygems: Update to RubyGems HEAD(60d7972).
...
this version contains pull requests number of #1343 , #1356 , #1357 , #1363
at https://github.com/rubygems/rubygems/pulls
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-30 00:54:12 +00:00
usa
5e262e5277
* lib/rubygems/stub_specification.rb (Gem::StubSpecification#data):
...
should not change the value of $. when `require`ing gems.
this fixed test failures introduced by r51813.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-09 09:18:47 +00:00
hsbt
59991b6ac5
* lib/rubygems: Update to RubyGems HEAD(fe61e4c112).
...
this version contains new feature that warn invalid SPDX license
identifiers. https://github.com/rubygems/rubygems/pull/1249
and #1032 , #1023 , #1332 , #1328 , #1306 , #1321 , #1324
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-08 22:46:43 +00:00
nobu
6c3d366bbc
resolver.rb: fix fd leaks
...
* lib/rubygems/resolver.rb (resolve): close UI output unless
debugging.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-07-08 06:09:09 +00:00
nobu
5c19a5fa24
test_case.rb: fix multiple load
...
* lib/rubygems/test_case.rb (teardown): do not delete features
loaded from the original load paths, the same libraries should
be loaded again when the same features are required.
[ruby-dev:49031] [Bug #11222 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-07-04 01:43:01 +00:00
nobu
a499d1e698
rubygems.rb: use @gem_prelude_index
...
* lib/rubygems.rb (Gem.load_path_insert_index): search
@gem_prelude_index first.
* lib/rubygems/test_case.rb (Gem::TestCase#setup): keep already
expanded paths to prserve instance variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-07-02 05:15:53 +00:00
hsbt
ccd85f7b17
* lib/rubygems/resolver.rb: fixed NameError of Gem::Util::NULL_DEVICE.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-07-02 01:30:07 +00:00
hsbt
8cb26a09b2
* lib/rubygems/resolver.rb: fix error of null device reference with DOSISH
...
platform.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-07-02 00:51:50 +00:00
hsbt
effdbf5936
* lib/rubygems: Update to RubyGems HEAD(c202db2).
...
this version contains many enhancements see http://git.io/vtNwF
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-07-01 21:50:14 +00:00
hsbt
038213351b
* lib/rubygems.rb: bump version to 2.4.7 and 2.4.8. these versions fixed
...
CVE-2015-3900.
* lib/rubygems/remote_fetcher.rb: ditto.
* test/rubygems/test_gem_remote_fetcher.rb: added testcase for CVE-2015-3900
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-06-11 05:34:52 +00:00
glass
0c14c3ab0b
* ext/win32ole/win32ole_variant.c: fix typo "indicies".
...
the patch is from davydovanton <antondavydov.o at gmail.com>.
[fix GH-892]
* lib/rubygems/indexer.rb: ditto.
* test/rubygems/test_gem_indexer.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-10 03:01:18 +00:00
hsbt
2e4f0af00f
* ext/json/*, test/json/*: Reverted r50231. Because it's not works with
...
cross-compile environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-12 08:36:37 +00:00
hsbt
e40ab5942b
* lib/rubygems/test_case.rb: use explicitly exception class and reverted
...
to require JSON library for rubygems tests with Ruby 2.2.0 or earlier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-12 06:14:29 +00:00
hsbt
1cb2131153
* lib/rubygems/test_case.rb: fixed json load error for rubygems tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-12 05:53:30 +00:00
hsbt
cfaddc2a32
* ext/json/*, test/json/*, defs/default_gems: Gemify JSON library.
...
[fix GH-867][Feature #11057 ]
* test/ruby/test_extlibs.rb: removed json gem from existence extentions.
* gems/bundled_gems: added json gem into bundled gem.
* lib/rdoc/rubygems_hook.rb: ignored no json environment.
* lib/rubygems/test_case.rb, test/rubygems/*: ditto.
* lib/rdoc/test_case.rb, test/rdoc/*: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-11 11:14:36 +00:00
nobu
e98d4947b7
ignore rake load error
...
rake is not available until installation now, so skip rake
packagetask even if it cannot load until it is actually needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-09 06:06:56 +00:00
nobu
be6ef3502e
test_case.rb: $make before $MAKE
...
* lib/rubygems/test_case.rb (make_command): try unusual $make
before usual $MAKE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-30 00:50:47 +00:00
nobu
d4fc094391
test_case.rb: use $MAKE
...
* lib/rubygems/test_case.rb (make_command): usually $MAKE is
defined but not $make.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-29 22:35:45 +00:00
nobu
05c29680e5
fix env leaks
...
* lib/rubygems/test_case.rb (setup, teardown): fix
environment variable change leaks.
* test/cgi/update_env.rb: ditto.
* test/rake/test_rake_application_options.rb (setup, teardown):
ditto.
* test/rake/test_rake_file_utils.rb (setup, teardown): ditto.
* test/rubygems/test_gem_request.rb (setup): add https_proxy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-12 14:57:33 +00:00
nobu
418d915f7b
remove GEM directories at exit
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-05 05:07:39 +00:00
hsbt
d9c32d62a0
* lib/rubygems: Update to RubyGems 2.4.6 and HEAD(800f2e6).
...
Fixed #1159 , #1171 , #1173 on rubygems/rubygems
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-27 13:00:45 +00:00
hsbt
c3546c76c8
* lib/rubygems: Update to RubyGems HEAD(5c3b6f3).
...
Fixed #1156 , #1142 , #1115 , #1142 , #1139 on rubygems/rubygems
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-05 13:42:45 +00:00
hsbt
07b87cd239
* lib/rubygems: Update to RubyGems HEAD(e53c54a).
...
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-09 14:20:10 +00:00
nobu
ce59e249a5
rubygems: fix variable name
...
* lib/rubygems/compatibility.rb: fix out-of-scope local variable.
* lib/rubygems/specification.rb (Gem::Specification#validate): get
rid of conflict between a local variable and a method name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-25 03:37:54 +00:00
svn
7d2d6d0a2f
* remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-07 00:53:20 +00:00
drbrain
97f80207d0
* lib/rubygems: Update to RubyGems 2.4.5.
...
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-07 00:53:01 +00:00
hsbt
d35a2bd4df
* lib/rubygems/*, test/rubygems/*: Update to RubyGems 2.4.4
...
master (2f6e42e).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-17 03:55:02 +00:00
usa
c93dd36e0e
revert previous commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-15 10:46:38 +00:00
usa
b5cda0ffb6
* lib/mkmf.rb (depend_rules): support comments during a line.
...
* lib/mkmf.rb (depend_rules): apply RULE_SUBST even if the dependency
file contains path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-15 10:43:12 +00:00
hsbt
bb6b37a9bc
* lib/rubygems/*: Update to RubyGems 2.4.3 master (7b1f684).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-12 13:30:58 +00:00
naruse
05eb6111d9
* lib/rubygems/commands/contents_command.rb (files_in_default_gem):
...
remove useless sort. show_files will sort the result and
another branch, files_in_gem, doesn't sort.
it should be removed for consistency.
* test/rubygems/test_gem_commands_contents_command.rb
(test_execute_default_gem): adjust the sort algorithm with
Gem::Commands::ContentsCommand#show_files, which sort items
as array of [prefix, basename] not strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-11 05:08:59 +00:00
hsbt
e899fb19e9
* lib/rubygems/*.rb: Update to RubyGems master(3e36528).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-10 07:20:48 +00:00
drbrain
cec4f5a9e0
* lib/rubygems: Update to RubyGems 2.4.2.
...
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-01 08:30:21 +00:00
hsbt
4de117a615
* lib/rubygems: Update to RubyGems 2.4.1 master(713ab65)
...
Complete history at:
https://github.com/rubygems/rubygems/blob/master/History.txt#L3-L216
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-14 03:30:02 +00:00
hsbt
e47fec1f86
* lib/drb/acl.rb: Removed meaningless #to_s methods in interpolation.
...
[Feature #10174 ][ruby-core:64584]
* lib/erb.rb: ditto.
* lib/observer.rb: ditto.
* lib/rake/invocation_chain.rb: ditto.
* lib/rubygems/command_manager.rb: ditto.
* lib/rubygems/config_file.rb: ditto.
* lib/uri/common.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-27 12:21:41 +00:00
nobu
a98c65338d
rubygems/util.rb: remove unused variable
...
* lib/rubygems/util.rb (Gem::Util.silent_system): remove unused
variable, to fix test failures with verbose flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-03 13:33:06 +00:00
nobu
ad989e5521
rubygems/util.rb: redirect options
...
* lib/rubygems/util.rb (Gem.silent_system): use keyword options to
redirect outputs instead of reopening global IOs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-25 07:55:55 +00:00
nobu
892a97ebeb
specification.rb: fix leaked FDs
...
* lib/rubygems/specification.rb (build_extensions): close
redirection FDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-25 07:55:52 +00:00
nobu
3f818a33a8
rubygems/util.rb: fix leaked FDs
...
* lib/rubygems/util.rb (silent_system): close duplicated IOs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-25 07:55:48 +00:00
nobu
a818740553
remote_fetcher.rb: fix leaked FDs
...
* lib/rubygems/remote_fetcher.rb (request): close connections.
* lib/rubygems/request.rb (close): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-25 07:55:42 +00:00
nobu
ebed2ef335
test_gem_silent_ui.rb: fix leaked FDs
...
* lib/rubygems/user_interaction.rb (Gem::StreamUI#close): clean up
IOs.
* test/rubygems/test_gem_silent_ui.rb (TestGemSilentUI#teardown):
fix leaked FDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-25 06:53:31 +00:00
hsbt
cc02a4ab7b
* lib/rubygems/test_case.rb: rescue Gem::LoadError in Gem::TestCase.
...
because it's effected by removing minitest from stdlib.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-27 06:32:59 +00:00
hsbt
b0bc563550
* lib/rubygems/specification.rb: fixed broken condition caused
...
by removing YAML::ENGINE.
* lib/rubygems/package/old.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-27 03:35:51 +00:00
nobu
76e37aa636
ext_conf_builder.rb: fix tempfile leak
...
* lib/rubygems/ext/ext_conf_builder.rb (build): ensure to remove
temporary siteconf script.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-26 14:36:36 +00:00