Sha256: c3e4b960cbddce72e88dd46169a32e01a33950cc5f3b9bf3ee4a9c5484d4295d

Contents?: true

Size: 1.5 KB

Versions: 2

Compression:

Stored size: 1.5 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "wdd-ruby-ext"
    gem.summary = %Q{Handy extensions to the Ruby base classes and other utilities.}
    gem.description = %Q{Some of these are borrowed.  Some are original.  This gem simply provides a single place to source control them all for incorporation into other projects.}
    gem.email = "github@wdoughty.net"
    gem.homepage = "http://github.com/shock/wdd-ruby-ext"
    gem.authors = ["shock"]
    gem.add_development_dependency "rspec", '~> 1.3'
    gem.add_dependency "nokogiri", "~> 1.4.1"
    gem.add_dependency "eventmachine", "~> 0.12.10"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
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|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wdd-ruby-ext-0.6.0 Rakefile
wdd-ruby-ext-0.5.1 Rakefile