-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
28 lines (25 loc) · 888 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
require 'rubygems'
require 'rake'
require 'rspec/core/rake_task'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = 'acts_as_blamable'
gem.summary = 'Stores the creator and updater of a database record'
gem.description = 'Automatically set created_by and updated_by fields'
gem.email = '[email protected]'
gem.homepage = 'http://github.com/create-philipp-ullmann/acts_as_blamable'
gem.authors = ['Philipp Ullmann']
gem.add_development_dependency 'rspec', '>= 2.0.0'
gem.add_development_dependency 'sqlite3-ruby', '>= 1.3.1'
gem.add_development_dependency 'activerecord', '>= 3.0.0'
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler'
end
desc('Run RSpec')
RSpec::Core::RakeTask.new do |t|
t.verbose = false
end
task(:default => :spec)