Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 13, 2015
  1. @hsbt

    * lib/tempfile.rb: Fix typo. [fix GH-933] Patch by @Zorbash

    hsbt authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 30, 2015
  1. @unak

    * lib/tempfile.rb (Remover#call): fixed wrong condition introduced at

    unak authored
      r50682.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @unak

    * lib/tempfile.rb (Tempfile#initialize): initialize @unlinked to fix

    unak authored
      test failures introduced at r50682.  I hope that check the results of
      tests before committing, at least the tests about the changed feature.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @mmasaki

    * lib/tempfile.rb: refactoring.

    mmasaki authored
      * use warn instead of STDERR.print
      * remove @tmpname and use @tmpfile.path
      * introduce @unlinked flag
      * Remover takes only @tmpfile
      * mode will be modified just before file reopen
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 4, 2015
  1. @hsbt

    * lib/tempfile.rb: provide default basename parameter.

    hsbt authored
      [fix GH-523] Patch by @dissolved
    * test/test_tempfile.rb: ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Sep 21, 2014
  1. @nobu

    tempfile.rb: fix r47655

    nobu authored
    * lib/tempfile.rb (Tempfile#initialize, Tempfile.create): get rid of
      shadowing local variables.
    
    * lib/tmpdir.rb (Dir::Tmpname#make_tmpname): simlify argument
      splitting.
    
    * test/test_tempfile.rb: need thread library for ConditionVariable.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Sep 20, 2014
  1. @mmasaki

    * lib/tempfile.rb: define parameters appropriately and some

    mmasaki authored
                       refactoring.
    
    * lib/tmpdir.rb:   ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Aug 27, 2014
  1. @mmasaki

    * lib/tempfile.rb: remove "require 'thread'". its features are no

    mmasaki authored
      longer used.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Aug 11, 2014
  1. @nobu

    lib/tempfile.rb: include doc of Tempfile.open

    nobu authored
    * lib/tempfile.rb: start rdoc parsing inside singleton class
      definition to include the document there.
      [ruby-core:64157] [Bug #10105]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 23, 2014
  1. @hsbt

    * lib/tempfile.rb: split executable code into sample directory.

    hsbt authored
    * sample/tempfile.rb: ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 27, 2014
  1. @akr

    * lib/tempfile.rb (Tempfile#inspect): Show "(closed)" if the tempfile

    akr authored
      is closed.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 21, 2013
  1. @nobu

    tempfile.rb: get rid of warnings

    nobu authored
    * lib/tempfile.rb (Tempfile#initialize): use class method to get rid
      of warnings when $VERBOSE.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 1, 2013
  1. @nobu

    tempfile.rb: undefine finalizer on unlink

    nobu authored
    * lib/tempfile.rb (Tempfile#unlink): finalizer is no longer needed
      after unlinking.  patched by by normalperson (Eric Wong) at
      [ruby-core:56521] [Bug #8768]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 19, 2013
  1. @zzak

    * lib/tempfile.rb: nodoc Tempfile#inspect

    zzak authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 20, 2013
  1. @akr

    * lib/tempfile.rb (Tempfile.create): Close when the block exits.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @akr

    * lib/tempfile.rb (Tempfile.create): New method.

    akr authored
      The method name is proposed by Shugo Maeda.  [ruby-dev:47220]
      [ruby-core:41478] [Feature #5707]
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 6, 2012
  1. @mmasaki

    * lib/tempfile.rb: fix confusing inspect.

    mmasaki authored
      previous Tempfile#inspect says it is a File, but actually
      it is not a File.
    
        t = Tempfile.new("foo") #=> #<File:/tmp/foo20121106-31970-1ffbum0>
        t.is_a? File #=> false
    
      now Tempfile#inspect returns like:
    
        t = Tempfile.new("foo")
        #=> #<Tempfile:/tmp/foo20121106-31970-1ffbum0>
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 1, 2012
  1. @knu

    * lib/tempfile.rb (Tempfile#unlink, Tempfile::Remover#call): Just

    knu authored
      call File.unlink and ignore ENOENT because existence check
      before unlinking does not help in terms of race condition.
    
    * lib/tempfile.rb (Tempfile#unlink, Tempfile::Remover#call): My
      comment about thread safeness is obsolete.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 9, 2012
  1. @nagachika

    * lib/tempfile.rb (Tempfile#_close): clear @tempfile and @data[1] even

    nagachika authored
      when an exception is raised at @tempfile.close. [ruby-dev:45113]
    
    * lib/tempfile.rb (Tempfile#unlink): fix a typo.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 23, 2011
  1. @akr

    * lib/tempfile.rb (Tempfile#initialize): warn if a block is given.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 4, 2011
  1. @akr

    * lib/tempfile.rb: don't use lock directory. [ruby-dev:39197]

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @akr

    fix a typo.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @akr

    * lib/tempfile.rb (Tempfile::MAX_TRY): remove unused constant.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Aug 26, 2011
  1. @drbrain

    * ext/pathname/lib/pathname.rb: Fix typos and grammar mistakes. Patch

    drbrain authored
      by Luke Gruber.  [#5203]
    * ext/pty/lib/expect.rb:  ditto
    * lib/mathn.rb:  ditto
    * lib/net/http.rb:  ditto
    * lib/open-uri.rb:  ditto
    * lib/ostruct.rb:  ditto
    * lib/tempfile.rb:  ditto
    * lib/thread.rb:  ditto
    * lib/weakref.rb:  ditto
    * sample/webrick/httpproxy.rb:  ditto
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 24, 2011
  1. @nobu

    * lib/tempfile.rb (Tempfile.{mkdir,rmdir}): revert for backward

    nobu authored
      compatibility.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @nobu

    * lib/tempfile.rb (Tempfile.{lock,unlock}_tempfile): refactor.

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @nobu

    * lib/tempfile.rb (Tempfile.{mkdir,rmdir}): internal methods to be ov…

    nobu authored
    …erridden in subclasses.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 19, 2011
  1. @nobu

    * lib: revert r31635-r31638 and untabify with expand(1).

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 18, 2011
  1. @drbrain

    * lib: Convert tabs to spaces for ruby files per

    drbrain authored
    	  http://redmine.ruby-lang.org/projects/ruby/wiki/DeveloperHowto#coding-style
    	  Patch by Steve Klabnik [Ruby 1.9 - Bug #4730]
    	  Patch by Jason Dew [Ruby 1.9 - Feature #4718]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @drbrain

    * lib/tempfile.rb: Document Dir.mkdir and Dir.rmdir. Patch by Clinton

    drbrain authored
    	  Nixon.  [Ruby 1.9 - Bug #4728]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 7, 2011
  1. cancel subversion backfire. sorry

    matz authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * gc.c (rb_gc_set_params): allow GC parameter configuration by

    matz authored
      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
Commits on Feb 28, 2011
  1. @shyouhei

    * lib/tempfile.rb: Fix example file paths in docs for tempfile.

    shyouhei authored
      #5
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Aug 29, 2010
  1. @nobu

    * lib/tempfile.rb: not executable.

    nobu authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 30, 2010
  1. @mame

    * lib/tempfile.rb (Tempfile#unlink): leave @data. Assigning nil to

    mame authored
      @data caused double closing error of the same IO in finalizer.  a
      patch from Simon Nicholls.  [ruby-core:29395]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Something went wrong with that request. Please try again.