Module ZipUtils::DryRun
In: lib/more/facets/ziputils.rb

Dry-run verions of ZipUtils.

This is the same as passing the :dryrun flag to ZipUtils. Which is also equivalent to passing :noop and :verbose together.

Methods

bzip   bzip2   compress   gzip   tar   tar_bzip   tar_bzip2   tar_gzip   unbzip   unbzip2   ungzip   untar   untar_bzip   untar_bzip2   untar_gzip   unzip   zip  

Public Instance methods

bzip(file, options={})

Alias for bzip2

[Source]

# File lib/more/facets/ziputils.rb, line 378
  def bzip2(file, options={})
    options[:dryrun] = true
    ZipUtils.bzip2(file, options)
  end

[Source]

# File lib/more/facets/ziputils.rb, line 363
  def compress(format_extension, folder, file=nil, options={})
    options[:dryrun] = true
    ZipUtils.tar_gzip(format_extension, folder, file, options)
  end

[Source]

# File lib/more/facets/ziputils.rb, line 368
  def gzip(file, options={})
    options[:dryrun] = true
    ZipUtils.gzip(file, options)
  end

[Source]

# File lib/more/facets/ziputils.rb, line 392
  def tar(folder, file=nil, options={})
    options[:dryrun] = true
    ZipUtils.tar(folder, file, options)
  end
tar_bzip(folder, file=nil, options={})

Alias for tar_bzip2

[Source]

# File lib/more/facets/ziputils.rb, line 412
  def tar_bzip2(folder, file=nil, options={})
    options[:dryrun] = true
    ZipUtils.untar_bzip2(folder, file, options)
  end

[Source]

# File lib/more/facets/ziputils.rb, line 402
  def tar_gzip(folder, file=nil, options={})
    options[:dryrun] = true
    ZipUtils.tar_gzip(folder, file, options)
  end
unbzip(file, options={})

Alias for unbzip2

[Source]

# File lib/more/facets/ziputils.rb, line 385
  def unbzip2(file, options={})
    options[:dryrun] = true
    ZipUtils.unbzip2(file, options)
  end

[Source]

# File lib/more/facets/ziputils.rb, line 373
  def ungzip(file, options={})
    options[:dryrun] = true
    ZipUtils.ungzip(file, options)
  end

[Source]

# File lib/more/facets/ziputils.rb, line 397
  def untar(file, options={})
    options[:dryrun] = true
    ZipUtils.untar(file, options)
  end
untar_bzip(file, options={})

Alias for untar_bzip2

[Source]

# File lib/more/facets/ziputils.rb, line 419
  def untar_bzip2(file, options={})
    options[:dryrun] = true
    ZipUtils.untar_bzip2(file, options)
  end

[Source]

# File lib/more/facets/ziputils.rb, line 407
  def untar_gzip(file, options={})
    options[:dryrun] = true
    ZipUtils.untar_gzip(file, options)
  end

[Source]

# File lib/more/facets/ziputils.rb, line 431
  def unzip(file, options={})
    options[:dryrun] = true
    ZipUtils.unzip(file, options)
  end

[Source]

# File lib/more/facets/ziputils.rb, line 426
  def zip(folder, file=nil, options={})
    options[:dryrun] = true
    ZipUtils.unzip(folder, file, options)
  end

[Validate]