Sha256: 5cae9b97b2a659db2932819785b31160881e9f3b5b705ab1141b9bcedd4e86be
Contents?: true
Size: 1.42 KB
Versions: 56
Compression:
Stored size: 1.42 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 = "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"] 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
56 entries across 56 versions & 2 rubygems