forked from chetan/rested
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
28 lines (26 loc) · 840 Bytes
/
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
begin
require 'rubygems'
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "rested"
gemspec.summary = "Ruby library for working with RESTful APIs"
gemspec.description = "Ruby library built on top of httpclient for working with RESTful APIs."
gemspec.email = "[email protected]"
gemspec.homepage = ""
gemspec.authors = ["Chetan Sarva"]
gemspec.add_dependency('httpclient', '>= 2.1.5.2')
gemspec.add_dependency('json', '>= 1.4.2')
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler"
end
require "rake/testtask"
desc "Run unit tests"
Rake::TestTask.new("test") { |t|
#t.libs << "test"
t.ruby_opts << "-rubygems"
t.pattern = "test/**/*_test.rb"
t.verbose = false
t.warning = false
}