forked from rest-client/rest-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Adam Wiggins
committed
Mar 9, 2008
1 parent
06a1afc
commit 15f58e6
Showing
4 changed files
with
19 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rdoc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,8 +40,10 @@ spec = Gem::Specification.new do |s| | |
s.description = "A simple REST client for Ruby, inspired by the microframework (Camping, Sinatra...) style of specifying actions: get, put, post, delete." | ||
s.author = "Adam Wiggins" | ||
s.email = "[email protected]" | ||
s.rubyforge_project = "rest-client" | ||
|
||
s.platform = Gem::Platform::RUBY | ||
s.has_rdoc = true | ||
|
||
s.files = %w(Rakefile) + Dir.glob("{lib,spec}/**/*") | ||
|
||
|
@@ -66,5 +68,14 @@ Rake::TestTask.new do |t| | |
t.verbose = true | ||
end | ||
|
||
Rake::RDocTask.new do |t| | ||
t.rdoc_dir = 'rdoc' | ||
t.title = "rest-client, fetch RESTful resources effortlessly" | ||
t.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object' | ||
t.options << '--charset' << 'utf-8' | ||
t.rdoc_files.include('README') | ||
t.rdoc_files.include('lib/rest_client.rb') | ||
end | ||
|
||
CLEAN.include [ 'pkg', '*.gem', '.config' ] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters