Permalink
Browse files

update rdoc task (and add rdoc as dev dependency)

  • Loading branch information...
1 parent fcf57e7 commit ae23b97366c5c81ff93f0dc1ed85aad68b81c2b4 @tardate tardate committed with Feb 24, 2012
Showing with 11 additions and 7 deletions.
  1. +1 −1 Gemfile
  2. +5 −1 Gemfile.lock
  3. +4 −5 Rakefile
  4. +1 −0 browser.gemspec
View
@@ -1,2 +1,2 @@
-source "http://gems.simplesideias.com.br"
+source "http://rubygems.org"
gemspec
View
@@ -4,7 +4,7 @@ PATH
browser (0.1.3)
GEM
- remote: http://gems.simplesideias.com.br/
+ remote: http://rubygems.org/
specs:
abstract (1.0.0)
actionpack (3.0.9)
@@ -26,12 +26,15 @@ GEM
erubis (2.6.6)
abstract (>= 1.0.0)
i18n (0.5.0)
+ json (1.6.5)
rack (1.2.3)
rack-mount (0.6.14)
rack (>= 1.0.0)
rack-test (0.5.7)
rack (>= 1.0)
rake (0.9.2)
+ rdoc (3.12)
+ json (~> 1.4)
tzinfo (0.3.29)
PLATFORMS
@@ -41,3 +44,4 @@ DEPENDENCIES
actionpack (~> 3.0)
browser!
rake (~> 0.9)
+ rdoc (~> 3.12)
View
@@ -12,14 +12,13 @@ Rake::TestTask.new do |t|
t.ruby_opts = %w[-rubygems]
end
-require "rdoc/task"
-Rake::RDocTask.new do |rdoc|
+require 'rdoc/task'
+RDoc::Task.new do |rdoc|
rdoc.main = "README.rdoc"
rdoc.rdoc_dir = "doc"
rdoc.title = "Browser API"
- rdoc.options += %w[ --line-numbers --inline-source --charset utf-8 ]
- rdoc.rdoc_files.include("README.rdoc")
- rdoc.rdoc_files.include("lib/**/*.rb")
+ rdoc.options += %w[ --line-numbers --charset utf-8 ]
+ rdoc.rdoc_files.include("README.rdoc", "lib/**/*.rb")
end
task :default => :test
View
@@ -19,4 +19,5 @@ Gem::Specification.new do |s|
s.add_development_dependency "actionpack" , "~> 3.0"
s.add_development_dependency "rake" , "~> 0.9"
+ s.add_development_dependency "rdoc" , "~> 3.12"
end

0 comments on commit ae23b97

Please sign in to comment.