Sha256: 8029fabd7dbabfda6b12683db3da9a055c0a9a2ec3d8b3112f7013df69ae25aa

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

require './lib/cloudfiles.rb'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "tfe-cloudfiles"
    gemspec.summary = "A Ruby API into Rackspace Cloud Files"
    gemspec.description = "A Ruby version of the Rackspace Cloud Files API."
    gemspec.email = ["wade.minter@rackspace.com", "todd@toddeichel.com"]
    gemspec.homepage = "http://www.rackspacecloud.com/cloud_hosting_products/files"
    gemspec.authors = ["H. Wade Minter", "Rackspace Hosting", "Todd Eichel"]
    gemspec.add_dependency('mime-types', '>= 1.16')
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install jeweler"
end 

namespace :test do
  desc 'Check test coverage'
  task :coverage do
    rm_f "coverage"
    system("rcov -x '/Library/Ruby/Gems/1.8/gems/' --sort coverage #{File.join(File.dirname(__FILE__), 'test/*_test.rb')}")
    system("open #{File.join(File.dirname(__FILE__), 'coverage/index.html')}") if PLATFORM['darwin']
  end

  desc 'Remove coverage products'
  task :clobber_coverage do
    rm_r 'coverage' rescue nil
  end

end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tfe-cloudfiles-1.4.7 Rakefile