forked from pointlessone/dm-is-slug
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
35 lines (29 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
31
32
33
34
35
require 'rubygems'
require 'rake'
begin
gem 'jeweler', '~> 1.4'
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "dm-is-slug"
gem.summary = "DataMapper plugin that generates unique slugs"
gem.description = gem.summary
gem.email = [
'nik [a] terminaldischarge [d] net',
]
gem.homepage = "http://github.com/aq1018/dm-is-slug"
gem.authors = ['Aaron Qian', 'James Herdman', 'Nik Radford', 'Paul', 'Mike Frawley', 'Alexander Mankuta']
gem.add_dependency "dm-core", "~> 1.1.0"
gem.add_dependency "dm-validations", "~> 1.1.0"
gem.add_dependency "unidecode", "~> 1.0.0"
gem.add_development_dependency 'rspec', '~> 1.3'
end
Jeweler::GemcutterTasks.new
FileList['tasks/**/*.rake'].each { |task| import task }
rescue LoadError
puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler'
end