forked from eregon/zip
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRakefile
More file actions
56 lines (52 loc) · 1.81 KB
/
Rakefile
File metadata and controls
56 lines (52 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Rakefile for RubyGems -*- ruby -*-
require 'rubygems'
require 'rake'
require './lib/zip/version.rb'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = 'openlogic-zip'
gem.version = Zip::VERSION
gem.summary = 'zip is a Ruby library for reading and writing Zip files'
gem.description = 'zip is a Ruby library for reading and writing Zip files. Unlike the official rubyzip, zip is compatible with Ruby 1.9.2, and lets you read and write from StringIOs and other IO-like objects.'
gem.email = ['todd.thomas@openlogic.com']
gem.homepage = 'http://github.com/toddthomas/zip'
gem.authors = ['Postmodern', 'Thomas Sondergaard', 'Sam Lown', 'Todd Thomas']
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
task :test => :check_dependencies do
ruby %{-C test -I . alltests.rb}
end