Skip to content

Commit

Permalink
added rdoc option in gemspec
Browse files Browse the repository at this point in the history
which will force utf-8 encoding irrespective of the locale
settings of the user.
  • Loading branch information
kgrz committed Jul 6, 2012
1 parent 4365cda commit 6a023ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sinatra.gemspec
Expand Up @@ -10,7 +10,7 @@ Gem::Specification.new 'sinatra', Sinatra::VERSION do |s|
s.files = `git ls-files`.split("\n") - %w[.gitignore .travis.yml]
s.test_files = s.files.select { |p| p =~ /^test\/.*_test.rb/ }
s.extra_rdoc_files = s.files.select { |p| p =~ /^README/ } << 'LICENSE'
s.rdoc_options = %w[--line-numbers --inline-source --title Sinatra --main README.rdoc]
s.rdoc_options = %w[--line-numbers --inline-source --title Sinatra --main README.rdoc --encoding=UTF-8]

s.add_dependency 'rack', '~> 1.3', '>= 1.3.6'
s.add_dependency 'rack-protection', '~> 1.2'
Expand Down

0 comments on commit 6a023ab

Please sign in to comment.