-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRakefile
28 lines (24 loc) · 971 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "cached_values"
gem.summary = %Q{Memoize and persist calculations into ActiveRecord attributes}
gem.description = %Q{Speedup your ActiveRecord by storing and updating the results of SQL or Ruby expressions into record attributes}
gem.email = "[email protected]"
gem.homepage = "http://github.com/JackDanger/cached_values"
gem.authors = ["Jack Danger Canty"]
gem.add_dependency "object_proxy", ">= 0"
gem.add_development_dependency "active_record", ">= 0"
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
task :default => :test
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << '.'
test.pattern = 'test/*_test.rb'
test.verbose = true
end