1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
ko1 f033cfa381 refresh Gem at the end of teardown.
* lib/rubygems/test_case.rb (teardown): call `Gem::refresh()` at the
  end of `teardown`.
  On parallel test sometimes fails test process. The reason
  is:
  (1) previous tests remains `Gem::Specification@@stubs` value
      which points to temporary directories and the directories
      are removed by `teardown` method of previous test.
  (2) `require 'rubygems/gem_runner'` in `test_gem_gem_runner.rb`
      tries to require test utility file. However, with strange `@@stubs`
      RubyGems tries to load specification from removed directory.
      `StubSpecification#to_spec` returns `nil` and error will occur.
  The solution this patch employs is to refresh all of parameters
  includes `Gem::Specification@@stubs` by `Gem::refresh()`.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-15 14:40:07 +00:00
..
cgi share @@accept_charset 2017-05-06 01:33:04 +00:00
drb Use \A and \z to match whole string 2017-04-07 13:26:12 +00:00
forwardable
irb ruby-lex.rb: fix continued line conditions 2017-04-20 11:07:02 +00:00
matrix get rid of ambiguous parentheses warnings 2016-11-29 16:06:54 +00:00
net net/imap: Revert read_tiemout in r58549. 2017-05-12 09:39:23 +00:00
optparse
racc
rdoc Update rdoc-5.1.0 2017-02-24 07:39:37 +00:00
rexml rexml: REXML::Element#[] accepts String or Symbol as attribute name 2016-12-06 13:57:56 +00:00
rinda rinda/ring.rb (make_socket): do not keep socket on failures 2017-01-17 03:31:57 +00:00
rss rss: Accept empty text element as valid element 2017-05-03 12:25:17 +00:00
rubygems refresh Gem at the end of teardown. 2017-05-15 14:40:07 +00:00
shell Fix two typos 2017-03-29 11:49:39 +00:00
unicode_normalize add explanations about status of module UnicodeNormalize 2017-05-09 10:45:46 +00:00
uri lib/uri/generic.rb: fix typos 2017-05-10 19:03:07 +00:00
webrick Merge gemspec from ruby/webrick. 2017-05-01 10:20:35 +00:00
yaml
abbrev.rb lib/abbrev.rb: Specify frozen_string_literal: true. 2017-02-09 16:12:00 +00:00
base64.rb Use unpack1 instead of unpack and first 2017-02-10 00:58:47 +00:00
benchmark.rb lib/benchmark.rb: Specify frozen_string_literal: true. 2017-01-03 02:00:01 +00:00
cgi.rb {lib,test}/cgi: Specify frozen_string_literal: true. 2017-02-18 05:52:16 +00:00
cmath.gemspec Fix a required ruby version on gemspec of gemified libraries. 2017-02-07 07:14:22 +00:00
cmath.rb lib/cmath.rb: Specify frozen_string_literal: true. 2017-01-04 05:47:52 +00:00
csv.gemspec Fix a required ruby version on gemspec of gemified libraries. 2017-02-07 07:14:22 +00:00
csv.rb csv.rb: fix field_size_limit check 2017-01-23 05:59:28 +00:00
debug.rb lib/debug.rb: Specify frozen_string_literal: true. 2017-01-05 01:00:01 +00:00
delegate.rb lib/delegate.rb: Specify frozen_string_literal: true. 2017-01-06 02:05:35 +00:00
drb.rb
e2mmap.rb lib/e2mmap.rb: Specify frozen_string_literal: true. 2017-03-01 11:37:30 +00:00
English.rb lib/English.rb: Specify frozen_string_literal: true. 2017-01-02 12:20:09 +00:00
erb.rb erb.rb: Use String#<< instead of #concat 2017-05-15 13:38:02 +00:00
fileutils.gemspec Import latest gemspec from ruby/fileutils. 2017-04-12 08:12:53 +00:00
fileutils.rb docs for FileUtils.ln methods 2017-03-08 20:41:38 +00:00
find.rb lib/find.rb: Specify frozen_string_literal: true. 2017-02-13 12:16:26 +00:00
forwardable.rb forwardable.rb: fix branches 2017-01-03 09:47:16 +00:00
getoptlong.rb lib/getoptlong.rb: Specify frozen_string_literal: true. 2017-01-08 04:17:08 +00:00
ipaddr.rb
irb.rb Removed math mode from irb. 2017-04-20 09:11:36 +00:00
logger.rb logger: remove redundant opt_str_freeze use 2017-03-24 07:29:33 +00:00
matrix.rb * lib/matrix.rb: Add Vector.zero and Vector#zero? 2017-03-14 20:09:30 +00:00
mkmf.rb mkmf.rb: get rid of error messages 2017-02-27 07:37:55 +00:00
monitor.rb
mutex_m.rb
observer.rb lib/observer.rb: Specify frozen_string_literal: true. 2017-01-13 12:08:29 +00:00
open-uri.rb
open3.rb
optionparser.rb
optparse.rb nodoc OptParse 2017-03-04 19:52:30 +00:00
ostruct.rb ostruct.rb: improve fix for OpenStruct.allocate + #respond_to? 2017-04-01 10:30:48 +00:00
pp.rb Refactored using Method#owner. 2017-04-04 12:54:42 +00:00
prettyprint.rb
prime.rb
profile.rb lib/profile.rb: Specify frozen_string_literal: true. 2017-01-15 02:56:04 +00:00
profiler.rb lib/profiler.rb: Specify frozen_string_literal: true. 2017-01-18 12:35:10 +00:00
pstore.rb lib/pstore.rb: Specify frozen_string_literal: true. 2017-01-17 12:47:38 +00:00
rdoc.rb Update rdoc-5.1.0 2017-02-24 07:39:37 +00:00
resolv-replace.rb
resolv.rb resolv.rb: byte buffer 2017-01-14 02:26:49 +00:00
rss.rb
rubygems.rb Merge rubygems-2.6.12 from rubygems/rubygems. 2017-05-01 11:40:46 +00:00
scanf.gemspec Added initial gemspec for Scanf module. 2017-02-14 11:12:52 +00:00
scanf.rb
securerandom.rb securerandom: fix up r57384 2017-02-24 11:33:06 +00:00
set.rb
shell.rb
shellwords.rb
singleton.rb
sync.rb
tempfile.rb Fix bug of Tempfile#size if nothing is written [Bug #13198] 2017-03-14 12:53:32 +00:00
thwait.rb
time.rb
timeout.rb
tmpdir.rb
tracer.rb
tsort.rb
ubygems.rb
un.rb
uri.rb
weakref.rb [DOC] Use Integer instead of Fixnum [ci skip] 2017-01-26 15:14:02 +00:00
webrick.rb
yaml.rb