forked from maxjustus/sinatra-authentication
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
executable file
·37 lines (31 loc) · 1.12 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'
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = 'sinatra-authentication'
gemspec.version = '0.3.1'
gemspec.description = "Simple authentication plugin for sinatra."
gemspec.summary = "Simple authentication plugin for sinatra."
gemspec.homepage = "http://github.com/maxjustus/sinatra-authentication"
gemspec.author = "Max Justus Spransy"
gemspec.email = "maxjustus@gmail.com"
gemspec.add_dependency "sinatra"
gemspec.add_dependency "dm-core"
gemspec.add_dependency "dm-validations"
gemspec.add_dependency "dm-timestamps"
gemspec.add_dependency "rufus-tokyo"
gemspec.add_dependency "sinbook"
gemspec.add_dependency "rack-flash"
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it first!"
end
Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
require 'rake/testtask'
Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList['test/mongomapper_test.rb']
t.verbose = true
end