forked from semanticart/is_paranoid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
24 lines (21 loc) · 849 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
require "spec"
require "spec/rake/spectask"
require_relative 'lib/is_paranoid.rb'
Spec::Rake::SpecTask.new do |t|
t.spec_opts = ['--options', "\"#{File.dirname(__FILE__)}/spec/spec.opts\""]
t.spec_files = FileList['spec/**/*_spec.rb']
end
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = %q{is_paranoid}
s.summary = %q{ActiveRecord 2.3 compatible gem "allowing you to hide and restore records without actually deleting them." Yes, like acts_as_paranoid, only with less code and less complexity.}
s.email = %q{[email protected]}
s.homepage = %q{http://github.com/jchupp/is_paranoid/}
s.description = ""
s.authors = ["Jeffrey Chupp"]
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
task :default => :spec