Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Commit

Permalink
fix rake rdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
lidaobing committed Aug 22, 2012
1 parent 8f0aeff commit 23abb50
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
20 changes: 10 additions & 10 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,25 @@ PATH
GEM
remote: http://rubygems.org/
specs:
activesupport (3.2.6)
activesupport (3.2.8)
i18n (~> 0.6)
multi_json (~> 1.0)
addressable (2.2.8)
backup (3.0.24)
addressable (2.3.2)
backup (3.0.25)
open4 (~> 1.3.0)
thor (~> 0.14.6)
thor (~> 0.15.4)
columnize (0.3.6)
debugger (1.1.4)
debugger (1.2.0)
columnize (>= 0.3.1)
debugger-linecache (~> 1.1.1)
debugger-ruby_core_source (~> 1.1.3)
debugger-linecache (1.1.1)
debugger-linecache (1.1.2)
debugger-ruby_core_source (>= 1.1.1)
debugger-ruby_core_source (1.1.3)
i18n (0.6.0)
json (1.7.3)
launchy (2.1.0)
addressable (~> 2.2.6)
json (1.7.5)
launchy (2.1.2)
addressable (~> 2.3)
mime-types (1.19)
multi_json (1.3.6)
oauth (0.4.6)
Expand All @@ -39,7 +39,7 @@ GEM
json (~> 1.4)
rest-client (1.6.7)
mime-types (>= 1.16)
thor (0.14.6)
thor (0.15.4)

PLATFORMS
ruby
Expand Down
5 changes: 2 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
require 'rubygems'
require 'bundler'
require 'bundler/setup'
Bundler::GemHelper.install_tasks
require 'rdoc'
require 'rdoc/task'

ENV["RDOC_OPTS"] ||= "-c UTF-8"
RDoc::Task.new do |rd|
rd.main = "README.rdoc"
rd.rdoc_files.include("README.rdoc", "History.rdoc", "lib/**/*.rb")
rd.rdoc_files.include("History.rdoc", "lib/**/*.rb")
rd.options << "--charset" << "UTF-8"
end

Expand Down
5 changes: 2 additions & 3 deletions backup2everbox.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ Gem::Specification.new do |s|
s.description = %q{backup to EverBox}

s.rubyforge_project = "backup2everbox"
s.rdoc_options << '--main' << 'README.md' <<
'--charset' << 'UTF-8'
s.extra_rdoc_files = ['README.md', 'History.rdoc']
s.rdoc_options << '--charset' << 'UTF-8'
s.extra_rdoc_files = ['History.rdoc']

s.add_dependency 'backup', '~> 3.0'
s.add_dependency 'activesupport'
Expand Down

0 comments on commit 23abb50

Please sign in to comment.