Sha256: 976e7a54f3d4c4aeae949a7be296433c092b4595a1f1b0dfab2b4d24f374e55a

Contents?: true

Size: 1.77 KB

Versions: 1

Compression:

Stored size: 1.77 KB

Contents

# -*- ruby -*-

require 'rubygems'
require 'hoe'
require "rake/testtask"
require 'rcov/rcovtask'
$: << File.dirname(__FILE__)
require 'lib/right_rackspace.rb'

##testglobs =     ["test/ts_right_aws.rb"]


# Suppress Hoe's self-inclusion as a dependency for our Gem.  This also keeps
# Rake & rubyforge out of the dependency list.  Users must manually install
# these gems to run tests, etc.
class Hoe
  def extra_deps
    @extra_deps.reject do |x|
      Array(x).first == 'hoe'
    end
  end
end

Hoe.new('right_rackspace', RightRackspace::VERSION::STRING) do |p|
  p.rubyforge_name = 'rightrackspace'
  p.author = 'RightScale, Inc.'
  p.email = 'support@rightscale.com'
  p.summary = 'Interface classes for the Rackspace Services'
##  p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
##  p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
##  p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
##  p.remote_rdoc_dir = "/right_rackspace_gem_doc"
  p.extra_deps = [['right_http_connection','>= 1.2.1']]
##  p.test_globs = testglobs
end

##desc "Analyze code coverage of the unit tests."
##Rcov::RcovTask.new do |t|
##  t.test_files = FileList[testglobs]
##  #t.verbose = true     # uncomment to see the executed command
##end
 
# vim: syntax=Ruby


begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "rackspace_cloudservers_api"
    gemspec.summary = "CloudServers Api based on RightScale's gem"
    gemspec.description = "CloudServers Api based on RightScale's gem"
    gemspec.email = "daniel.gemcutter@tenner.org"
    gemspec.homepage = "http://github.com/swombat/rackspace_cloudservers_api"
    gemspec.authors = ["Daniel Tenner", "Rightscale"]
  end
rescue LoadError
  puts "Jeweler not available. Install it with: gem install jeweler"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rackspace_cloudservers_api-0.0.2 Rakefile