[ruby-cvs:53291] nobu:r46145 (trunk): test/rdoc: avoid tempfile leaks

nobu at ruby-lang.org nobu at ruby-lang.org
Mon May 26 23:36:30 JST 2014


nobu	2014-05-26 23:36:26 +0900 (Mon, 26 May 2014)

  New Revision: 46145

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=46145

  Log:
    test/rdoc: avoid tempfile leaks
    
    * test/rubygems/test_gem_package.rb: avoid tempfile leaks by using
      `Tempfile.create` instead of `Tempfile.open`.
    * test/rubygems/test_gem_request_set.rb: ditto.
    * test/rubygems/test_gem_request_set_gem_dependency_api.rb: ditto.

  Modified files:
    trunk/test/rubygems/test_gem_package.rb
    trunk/test/rubygems/test_gem_request_set.rb
    trunk/test/rubygems/test_gem_request_set_gem_dependency_api.rb


More information about the ruby-cvs mailing list