Find file
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (30 sloc) 943 Bytes
require 'lib/esi_for_rack'
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "esi-for-rack"
s.description = s.summary = "ESI for Rack"
s.email = "joshbuddy@gmail.com"
s.homepage = "http://github.com/joshbuddy/esi_for_rack"
s.authors = ["Joshua Hull"]
s.files = FileList["[A-Z]*", "{lib,spec}/**/*"]
s.add_dependency 'esi_attribute_language'
s.add_dependency 'nokogiri'
s.add_dependency 'spy-vs-spy'
s.add_dependency 'dirge'
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
require 'spec'
require 'spec/rake/spectask'
task :spec => 'spec:all'
namespace(:spec) do
Spec::Rake::SpecTask.new(:all) do |t|
t.spec_opts ||= []
t.spec_opts << "-rubygems"
t.spec_opts << "--options" << "spec/spec.opts"
t.spec_files = FileList['spec/**/*.rb']
end
end