require 'rubygems' require 'hoe' LIB_DIR = File.expand_path(File.join(File.dirname(__FILE__), 'lib')) $LOAD_PATH << LIB_DIR require 'iclassify-interface/version' HOE = Hoe.new('iclassify-interface', IClassify::VERSION) do |p| p.name = "iclassify-interface" p.author = "W. Andrew Loe III" p.email = "loe@onehub.com" p.summary = "Module for interfacing with an iclassify server." end # Cribbed from nokogiri namespace :gem do task :spec do File.open("#{HOE.name}.gemspec", 'w') do |f| f.write(HOE.spec.to_ruby) end end end