Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (34 sloc) 1.12 KB
require 'rubygems'
require 'rake'
desc 'Default: run unit tests'
task :default => :test
begin
require 'rspec'
require 'rspec/core/rake_task'
desc 'Run the unit tests'
RSpec::Core::RakeTask.new(:test)
rescue LoadError
task :test do
raise "You must have rspec 2.0 installed to run the tests"
end
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "cobranding"
gem.summary = %Q{Provides Rails view layouts from an HTTP service}
gem.description = %Q{Provides Rails view layouts from an HTTP service.}
gem.authors = ["Brian Durand"]
gem.email = ["mdobrota@tribune.com", "ddpr@tribune.com"]
gem.files = FileList["lib/**/*", "spec/**/*", "README.rdoc", "Rakefile", "License.txt"].to_a
gem.has_rdoc = true
gem.rdoc_options << '--line-numbers' << '--inline-source' << '--main' << 'README.rdoc'
gem.extra_rdoc_files = ["README.rdoc"]
gem.add_dependency('actionpack', '>=3.0.0')
gem.add_dependency('rest-client')
gem.add_development_dependency('rspec', '>= 2.0.0')
gem.add_development_dependency('webmock')
end
Jeweler::RubygemsDotOrgTasks.new
rescue LoadError
end
Jump to Line
Something went wrong with that request. Please try again.