forked from maxjustus/sinatra-authentication
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
executable file
·43 lines (37 loc) · 1.3 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
37
38
39
40
41
42
43
require 'rubygems'
require 'rake'
#require 'spec/rake/spectask'
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = 'sinatra-authentication'
gemspec.version = '0.4.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 = "[email protected]"
gemspec.add_dependency "sinatra"
gemspec.add_dependency "dm-core"
gemspec.add_dependency "dm-migrations"
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
#desc 'Run all specs'
#Spec::Rake::SpecTask.new('specs') do |t|
# t.spec_files = FileList['spec/**/*.rb']
#end