forked from snusnu/dm-accepts_nested_attributes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
26 lines (21 loc) · 928 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
require 'rubygems'
require 'rake'
begin
gem 'jeweler', '~> 1.5.2'
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = 'dm-accepts_nested_attributes'
gem.summary = 'Nested model assignment for datamapper'
gem.description = 'A datamapper plugin that allows nested model assignment like activerecord.'
gem.email = 'gamsnjaga [a] gmail [d] com'
gem.homepage = 'http://github.com/snusnu/dm-accepts_nested_attributes'
gem.authors = [ 'Martin Gamsjaeger (snusnu)' ]
gem.has_rdoc = 'yard'
end
Jeweler::GemcutterTasks.new
FileList['tasks/**/*.rake'].each { |task| import task }
rescue LoadError => e
puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler'
puts '-----------------------------------------------------------------------------'
puts e.backtrace # Let's help by actually showing *which* dependency is missing
end