forked from solnic/virtus-dirty_tracking
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Rakefile
29 lines (23 loc) · 851 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
29
require 'rubygems'
require 'rake'
require 'jeweler'
require 'rspec/core/rake_task'
Jeweler::Tasks.new do |gem|
gem.name = "virtus-dirty"
gem.platform = Gem::Platform::RUBY
gem.authors = ["Jingwen Owen Ou"]
gem.email = ["[email protected]"]
gem.homepage = "https://github.com/jingweno/virtus-dirty"
gem.summary = %q{Add dirty tracking of attributes to your ruby objects}
gem.description = gem.summary
gem.files = `git ls-files`.split("\n")
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
gem.require_paths = ["lib"]
gem.add_runtime_dependency 'virtus'
end
Jeweler::GemcutterTasks.new
desc "Run specs"
RSpec::Core::RakeTask.new
desc 'Default: run specs.'
task :default => :spec