Sha256: 9a814cfa82e103f4fffd897097e50cf449e14c1f26906d37a89bbc7f1d76ef2d

Contents?: true

Size: 1.46 KB

Versions: 1

Compression:

Stored size: 1.46 KB

Contents

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
  gem.name = "oahu-dragonfly"
  gem.email = "mark@new-bamboo.co.uk"
  gem.summary = %Q{Ideal gem for handling attachments in Rails, Sinatra and Rack applications.}
  gem.description = %Q{Dragonfly is a framework that enables on-the-fly processing for any content type.
  It is especially suited to image handling. Its uses range from image thumbnails to standard attachments to on-demand text generation.}
  gem.homepage = "http://github.com/markevans/dragonfly"
  gem.license = "MIT"
  gem.authors = ["Mark Evans"]
  gem.add_runtime_dependency('rack')
end
Jeweler::RubygemsDotOrgTasks.new

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = FileList['spec/**/*_spec.rb']
end

RSpec::Core::RakeTask.new(:rcov) do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:features)

task :default => [:spec, :features]

require 'yard'
YARD::Rake::YardocTask.new do |t|
  t.files   = ['lib/**/*.rb']
  t.options = []
end
YARD::Rake::YardocTask.new 'yard:changed' do |t|
  t.files   = `git status | grep '.rb' | grep modified | grep -v yard | cut -d' ' -f4`.split
  t.options = []
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
oahu-dragonfly-0.8.2 Rakefile