Sha256: b4f981b7726d7977e8f1071f97990fe1ccde34ab9a48c1633049306655ac3ea4

Contents?: true

Size: 1.03 KB

Versions: 5

Compression:

Stored size: 1.03 KB

Contents

require './lib/cloudfiles.rb'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "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"
    gemspec.homepage = "http://www.rackspacecloud.com/cloud_hosting_products/files"
    gemspec.authors = ["H. Wade Minter", "Rackspace Hosting"]
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
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

5 entries across 5 versions & 1 rubygems

Version Path
cloudfiles-1.4.4 Rakefile
cloudfiles-1.4.3 Rakefile
cloudfiles-1.4.2 Rakefile
cloudfiles-1.4.1 Rakefile
cloudfiles-1.4.0 Rakefile