forked from jmckible/version_fu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
30 lines (27 loc) · 1.02 KB
/
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
29
30
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rubygems'
desc 'Default: run unit tests.'
task :default=>:test
desc 'Test the version_fu plugin.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.libs << 'test'
t.libs << 'test/models'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "nbudin-version_fu"
gemspec.summary = "Gemified version of the version_fu plugin, tracking changes from revo and jmckible."
gemspec.description = "version_fu is a ActveRecord versioning gem that takes advantage of the new dirty attribute checking available in Rails 2.1. Previous solutions like Rick Olson's acts_as_versioned are no long compatible with Rails."
gemspec.email = ""
gemspec.homepage = "http://github.com/nbudin/version_fu"
gemspec.authors = ["Jordan McKible"]
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end