Sha256: 0e793f1384626971b7ff2c5883a653ad049af50a3ee978d870144b67e772bb05

Contents?: true

Size: 658 Bytes

Versions: 27

Compression:

Stored size: 658 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(RbConfig::CONFIG['bindir'], RbConfig::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

27 entries across 27 versions & 1 rubygems

Version Path
hobo_support-2.2.6 Rakefile
hobo_support-2.2.5 Rakefile
hobo_support-2.2.4 Rakefile
hobo_support-2.2.3 Rakefile
hobo_support-2.2.2 Rakefile
hobo_support-2.2.1 Rakefile
hobo_support-2.2.0 Rakefile
hobo_support-2.1.2 Rakefile
hobo_support-2.1.1 Rakefile
hobo_support-2.1.0 Rakefile
hobo_support-2.1.0.pre4 Rakefile
hobo_support-2.1.0.pre3 Rakefile
hobo_support-2.1.0.pre2 Rakefile
hobo_support-2.1.0.pre1 Rakefile
hobo_support-2.0.1 Rakefile
hobo_support-2.0.0 Rakefile
hobo_support-2.0.0.pre10 Rakefile
hobo_support-2.0.0.pre9 Rakefile
hobo_support-2.0.0.pre8 Rakefile
hobo_support-2.0.0.pre7 Rakefile