-
Notifications
You must be signed in to change notification settings - Fork 12
/
Rakefile
36 lines (32 loc) · 1.31 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 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "rest-client-components"
s.summary = %Q{RestClient on steroids ! Easily add one or more Rack middleware around RestClient to add functionalities such as transparent caching (Rack::Cache), transparent logging, etc.}
s.email = "[email protected]"
s.homepage = "http://github.com/crohr/rest-client-components"
s.description = "RestClient on steroids ! Easily add one or more Rack middleware around RestClient to add functionalities such as transparent caching (Rack::Cache), transparent logging, etc."
s.authors = ["Cyril Rohr"]
s.add_dependency "rest-client", ">= 1.6.0"
s.add_dependency "rack", ">= 1.0.1"
s.add_development_dependency "webmock", ">= 1.21"
s.add_development_dependency "rspec", ">= 3.2.0"
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'rest-client-components'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
begin
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
rescue LoadError
end
task :default => :spec