Sha256: e1ba264e9a6fca53b050520f541ac4feef3e91ead78672a5fd6e1bba63ea29f1
Contents?: true
Size: 1.04 KB
Versions: 4
Compression:
Stored size: 1.04 KB
Contents
require 'rake' require 'rake/testtask' require 'test/helper' Rake::TestTask.new(:test_with_active_record) 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 end begin require 'jeweler' Jeweler::Tasks.new do |s| s.name = "slim_scrooge" s.summary = "Slim_scrooge - serious optimisation for ActiveRecord" s.email = "sdsykes@gmail.com" s.homepage = "http://github.com/sdsykes/slim_scrooge" 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/extconf.rb" end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http:// gems.github.com" end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
slim_scrooge-1.0.4 | Rakefile |
slim_scrooge-1.0.3 | Rakefile |
slim_scrooge-1.0.2 | Rakefile |
slim_scrooge-1.0.1 | Rakefile |