forked from jnunemaker/joint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
36 lines (30 loc) · 1.08 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
36
require 'rubygems'
require 'rake'
require 'yard'
require 'jeweler'
require 'rake/testtask'
require File.join(File.dirname(__FILE__), 'lib', 'joint', 'version')
Jeweler::Tasks.new do |gem|
gem.name = "joint"
gem.summary = %Q{MongoMapper and GridFS joined in file upload love.}
gem.description = %Q{MongoMapper and GridFS joined in file upload love.}
gem.email = "nunemaker@gmail.com"
gem.homepage = "http://github.com/jnunemaker/joint"
gem.authors = ["John Nunemaker"]
gem.version = Joint::Version
gem.files = FileList['lib/**/*.rb', 'bin/*', '[A-Z]*', 'test/**/*'].to_a
gem.test_files = FileList['test/**/*'].to_a
gem.add_dependency 'wand', '>= 0.2.1'
gem.add_dependency 'mime-types'
gem.add_development_dependency 'jeweler'
gem.add_development_dependency 'mongo_mapper'
end
Jeweler::GemcutterTasks.new
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.ruby_opts << '-rubygems'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end
task :test => :check_dependencies
task :default => :test