fixing up gemspec

This commit is contained in:
Donald Ball 2008-11-21 15:33:34 -06:00
parent 12240d384f
commit 2edc4027e1
2 changed files with 6 additions and 10 deletions

View File

@ -1,3 +1,4 @@
#!/usr/bin/env ruby
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib"
require 'zoomifier'
Zoomifier::zoomify(ARGV[0])

15
zoomifier.gemspec Normal file → Executable file
View File

@ -1,14 +1,14 @@
require 'rubygems'
spec = Gem::Specification.new do |s|
s.name = 'Zoomifier'
Gem::Specification.new do |s|
s.name = 'zoomifier'
s.version = '1.2'
s.author = 'Donald Ball'
s.date = '2008-11-21'
s.email = 'donald.ball@gmail.com'
s.platform = Gem::Platform::RUBY
s.summary = 'A library for zoomifying images'
s.files = ['init.rb', 'lib/zoomifier.rb', 'bin/zoomify']
s.files = ['lib/zoomifier.rb', 'bin/zoomify', 'spec/zoomifier_spec.rb', 'spec/spec_helper.rb', 'spec/data/1024x768.jpg', 'spec/data/2973x2159.jpg']
s.test_files = ['spec/zoomifier_spec.rb']
s.require_path = 'lib'
s.autorequire = 'zoomifier'
s.bindir = 'bin'
s.executables = ['zoomify']
s.default_executable = 'zoomify'
@ -16,8 +16,3 @@ spec = Gem::Specification.new do |s|
s.extra_rdoc_files = ['README.txt']
s.add_dependency('rmagick')
end
if $0 == __FILE__
Gem::manage_gems
Gem::Builder.new(spec).build
end