Sha256: 3b5392401fbc88e3b743ec22a1151213775e03622fbf5a8cd8bdba8d9a9e6dbd

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

require 'activerecord'
ActiveRecord::ActiveRecordError # hack for https://rails.lighthouseapp.com/projects/8994/tickets/2577-when-using-activerecordassociations-outside-of-rails-a-nameerror-is-thrown
require File.dirname(__FILE__) + '/lib/hobo_support.rb'

namespace "test" do
  desc "Run the doctests"
  task :doctest do |t|
    exit(1) if !system("rubydoctest test/*.rdoctest test/hobosupport/*.rdoctest")
  end
end

# --- build gem via Jeweller --- #

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.version      = HoboSupport::VERSION
    gemspec.name         = "hobosupport"
    gemspec.email        = "tom@tomlocke.com"
    gemspec.summary      = "Core Ruby extensions from the Hobo project"
    gemspec.homepage     = "http://hobocentral.net/"
    gemspec.authors      = ["Tom Locke"]
    gemspec.rubyforge_project = "hobosupport"
  end
  Jeweler::GemcutterTasks.new
  Jeweler::RubyforgeTasks.new do |rubyforge|
    rubyforge.doc_task = false
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hobosupport-0.8.10 Rakefile