Sha256: 03e2fb19284ce1bea6f55c8310380fe3323507f405f39a15d10dc4454626892f

Contents?: true

Size: 1.04 KB

Versions: 5

Compression:

Stored size: 1.04 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "addresslogic"
    gem.summary = "Creates a meaningful array of address parts for easy displaying."
    gem.email = "bjohnson@binarylogic.com"
    gem.homepage = "http://github.com/binarylogic/addresslogic"
    gem.authors = ["Ben Johnson of Binary Logic"]
    gem.rubyforge_project = "addresslogic"
  end
  Jeweler::RubyforgeTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo 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

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
binarylogic-addresslogic-1.1.3 Rakefile
binarylogic-addresslogic-1.2.0 Rakefile
binarylogic-addresslogic-1.2.1 Rakefile
addresslogic-1.1.3 Rakefile
addresslogic-1.2.0 Rakefile