forked from katta/fakerest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrakefile
30 lines (26 loc) · 1.04 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
require 'rubygems'
require 'rubygems/package_task'
require 'rake/testtask'
spec = Gem::Specification.new do |s|
s.name = 'fakerest'
s.version = '0.0.5'
s.date = '2012-08-21'
s.summary = "Fake rest"
s.description = "Fakerest is a simple tool based on sinatra which starts a http server (webrick) and exposes restful services based on the configuration specified in a YAML format, which can be used as stub out any external systems"
s.authors = ["Srivatsa Katta"]
s.email = 'vatsa.katta@gmail.com'
s.files = ["lib/fakerest.rb", "lib/fakerest/argumentsparser.rb", "lib/fakerest/userrequests.rb","lib/fakerest/profileloader.rb"]
s.executables = 'fakerest'
s.homepage = 'http://github.com/katta/fakerest'
s.add_dependency('sinatra','>=1.3.2' )
s.add_development_dependency('mocha','>=0.12.3')
end
Gem::PackageTask.new(spec) do |pkg|
nil
end
Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList["test/**/test*.rb"]
t.options = "-v"
end
task :default => [:test, :repackage]