Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (27 sloc) 1.04 KB
require 'rake'
require 'rake/testtask'
require 'test/helper' do |t|
t.libs << SlimScrooge::ActiveRecordTest::AR_TEST_SUITE
t.libs << SlimScrooge::ActiveRecordTest.connection
t.test_files = SlimScrooge::ActiveRecordTest.test_files
t.ruby_opts = ["-r #{File.join(File.dirname(__FILE__), 'test', 'active_record_setup')}"]
t.verbose = true
require 'jeweler' do |s| = "slim_scrooge"
s.summary = "Slim_scrooge - serious optimisation for ActiveRecord" = ""
s.homepage = ""
s.description = "Slim scrooge boosts speed in Rails ActiveRecord Models by only querying the database for what is needed."
s.authors = ["Stephen Sykes"]
s.files = FileList["[A-Z]*", "{ext,lib,test}/**/*"]
s.extensions = "ext/Rakefile"
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://"
Jump to Line
Something went wrong with that request. Please try again.