Skip to content

Commit

Permalink
Tweak RDoc dependency:
Browse files Browse the repository at this point in the history
* Add the rdoc gem as development dependency
* Make rdoc overridable in Gemfile
* Add RDoc ~>3.0 to Travis
  • Loading branch information
judofyr committed Feb 26, 2013
1 parent a25e8af commit 714ab6b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Expand Up @@ -6,3 +6,8 @@ rvm:
- 2.0.0
- jruby
- rbx

matrix:
include:
- rvm: 1.9.3
env: RDOC_VERSION="~>3.0"
3 changes: 3 additions & 0 deletions Gemfile
@@ -1,3 +1,6 @@
source "http://rubygems.org"
gem 'rake'
gemspec

gem 'rdoc', ENV['RDOC_VERSION'] if ENV['RDOC_VERSION']

1 change: 1 addition & 0 deletions tilt.gemspec
Expand Up @@ -103,6 +103,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'sass'
s.add_development_dependency 'wikicloth'
s.add_development_dependency 'yajl-ruby'
s.add_development_dependency 'rdoc'

s.homepage = "http://github.com/rtomayko/tilt/"
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Tilt", "--main", "Tilt"]
Expand Down

0 comments on commit 714ab6b

Please sign in to comment.