Sha256: 6a19adb0318ebe1c298c599fe6e54239df21acc95c2a0ecdd9f0d287abae415f

Contents?: true

Size: 654 Bytes

Versions: 32

Compression:

Stored size: 654 Bytes

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

$:.unshift File.expand_path( '../lib', __FILE__)
require 'hobo_support'

RUBY = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name']).sub(/.*\s.*/m, '"\&"')
RUBYDOCTEST = ENV['RUBYDOCTEST'] || "#{RUBY} -S rubydoctest"

namespace "test" do
  desc "Run the doctests"
  task :doctest do |t|
    files=Dir['test/**/*.rdoctest'].map {|f| File.expand_path(f)}.join(' ')
    exit(1) if !system("#{RUBYDOCTEST} --single #{files}")
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
hobo_support-1.3.3 Rakefile
hobo_support-1.3.2 Rakefile
hobo_support-1.3.1 Rakefile
hobo_support-1.4.0.pre7 Rakefile
hobo_support-1.4.0.pre6 Rakefile
hobo_support-1.4.0.pre5 Rakefile
hobo_support-1.4.0.pre4 Rakefile
hobo_support-1.4.0.pre3 Rakefile
hobo_support-1.4.0.pre2 Rakefile
hobo_support-1.3.0 Rakefile
hobo_support-1.3.0.RC4 Rakefile
hobo_support-1.3.0.RC3 Rakefile
hobo_support-1.3.0.RC2 Rakefile
hobo_support-1.3.0.RC1 Rakefile
hobo_support-1.3.0.RC Rakefile
hobo_support-1.3.0.pre31 Rakefile
hobo_support-1.3.0.pre29 Rakefile
hobo_support-1.3.0.pre28 Rakefile
hobo_support-1.3.0.pre27 Rakefile
hobo_support-1.3.0.pre26 Rakefile