Sha256: d4f7b52aa7f71076acc2fc93c1b27ff063c7163aabc2ddcdbd80d77e8d268d15
Contents?: true
Size: 682 Bytes
Versions: 3
Compression:
Stored size: 682 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','test/hobo_support/*.rdoctest'].map {|f| File.expand_path(f)}.join(' ') exit(1) if !system("#{RUBYDOCTEST} --single #{files}") end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hobo_support-1.3.0.pre12 | Rakefile |
hobo_support-1.3.0.pre11 | Rakefile |
hobo_support-1.3.0.pre10 | Rakefile |