Sha256: a1703128c7b470442ebeec22409628fc9e35dcce8eb947d3668c794aee7ca662
Contents?: true
Size: 1.09 KB
Versions: 3
Compression:
Stored size: 1.09 KB
Contents
require 'active_record' 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' RUBY = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name']).sub(/.*\s.*/m, '"\&"') RUBYDOCTEST = ENV['RUBYDOCTEST'] || "#{RUBY} `which rubydoctest`" 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 --- # 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
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hobosupport-0.9.103 | Rakefile |
hobosupport-0.9.102 | Rakefile |
hobosupport-0.9.101 | Rakefile |