Sha256: f7d672234d086a07b599399b800aee0135f9ef10754c8ddd9859f280c4cf1f02

Contents?: true

Size: 1.83 KB

Versions: 1

Compression:

Stored size: 1.83 KB

Contents

# Rakefile for RubyGems      -*- ruby -*-

require 'rubygems'
require 'rake'

require './lib/zip/version.rb'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = 'rubyzip2'
    gem.version = Zip::VERSION
    gem.summary = 'rubyzip2 is a Ruby library for reading and writing Zip files'
    gem.description = 'rubyzip2 is a Ruby library for reading and writing Zip files. Unlike the official rubyzip, rubyzip2 is compatible with Ruby 1.9.1.'
    gem.email = 'postmodern.mod3@gmail.com'
    gem.homepage = 'http://github.com/postmodern/rubyzip2'
    gem.authors = ['Postmodern', 'Thomas Sondergaard']
    gem.files =  FileList[
      'README.txt',
      'NEWS.txt',
      'TODO.txt',
      'ChangeLog.txt',
      'Rakefile',
      'lib/zip.rb',
      'lib/zip/ioextras.rb',
      'lib/zip/stdrubyext.rb',
      'lib/zip/tempfile_bugfixed.rb',
      'lib/zip/zip.rb',
      'lib/zip/zipfilesystem.rb',
      'lib/zip/ziprequire.rb',
      'lib/zip/version.rb',
      'samples/example.rb',
      'samples/example_filesystem.rb',
      'samples/gtk_zip.rb',
      'samples/qt_zip.rb',
      'samples/write_simple.rb',
      'samples/zipfind.rb',
      'test/alltests.rb',
      'test/data/file1.txt',
      'test/data/file1.txt.deflatedData',
      'test/data/file2.txt',
      'test/data/notzippedruby.rb',
      'test/data/rubycode.zip',
      'test/data/rubycode2.zip',
      'test/data/testDirectory.bin',
      'test/data/zipWithDirs.zip',
    ]
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'rake/testtask'

Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

task :test => :check_dependencies

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubyzip2-2.0.2 Rakefile