From 2edc4027e1550eb6793cfd9a3ce2a6e0931ca6fc Mon Sep 17 00:00:00 2001 From: Donald Ball Date: Fri, 21 Nov 2008 15:33:34 -0600 Subject: [PATCH] fixing up gemspec --- bin/zoomify | 1 + zoomifier.gemspec | 15 +++++---------- 2 files changed, 6 insertions(+), 10 deletions(-) mode change 100644 => 100755 zoomifier.gemspec diff --git a/bin/zoomify b/bin/zoomify index 89437ba..835c151 100755 --- a/bin/zoomify +++ b/bin/zoomify @@ -1,3 +1,4 @@ +#!/usr/bin/env ruby $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib" require 'zoomifier' Zoomifier::zoomify(ARGV[0]) diff --git a/zoomifier.gemspec b/zoomifier.gemspec old mode 100644 new mode 100755 index acb08e7..b211d55 --- a/zoomifier.gemspec +++ b/zoomifier.gemspec @@ -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