Sha256: 6636befa807398d479c18c104c0fa8aa27d90b214cb2f6f98b6b840b2075cb68

Contents?: true

Size: 1.44 KB

Versions: 8

Compression:

Stored size: 1.44 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "enom-api"
    gem.summary = %Q{eNom API Client}
    gem.description = %Q{Client for communicating with the eNom API}
    gem.email = "geoff@geoffgarside.co.uk"
    gem.homepage = "http://github.com/geoffgarside/enom-api"
    gem.authors = ["Geoff Garside"]
    gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
    gem.add_development_dependency "yard", ">= 0"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
    gem.add_dependency "demolisher", ">= 0.6.0"
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/test_*.rb'
    test.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end

task :test => :check_dependencies

task :default => :test

begin
  require 'yard'
  YARD::Rake::YardocTask.new
rescue LoadError
  task :yardoc do
    abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
enom-api-0.2.3 Rakefile
enom-api-0.2.2 Rakefile
enom-api-0.2.1 Rakefile
enom-api-0.2.0 Rakefile
enom-api-0.1.4 Rakefile
enom-api-0.1.3 Rakefile
enom-api-0.1.2 Rakefile
enom-api-0.1.1 Rakefile