Sha256: dd06c805b90ee7e66af9d6ae3abcfe3f626a5e167db378da61d9811556c1f5f5

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "paperclip_cloudfiles"
    gem.summary = %Q{Cloudfiles storage for Paperclip}
    gem.description = %Q{Provides a :cloudfiles storage options for Paperclip.}
    gem.email = "erik@bits2life.com"
    gem.homepage = "http://github.com/erikhansson/paperclip_cloudfiles"
    gem.authors = ["Erik Hansson"]
    gem.add_dependency "rackspace-cloudfiles"
    gem.add_development_dependency "rspec"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION')
    version = File.read('VERSION')
  else
    version = ""
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "paperclip_cloudfiles #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
erikhansson-paperclip_cloudfiles-0.0.2 Rakefile
paperclip_cloudfiles-0.0.4 Rakefile