File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1414 Pull request #184 by Carlos Agarie
1515 * RDoc::Servlet no longer ignores extra directories from -d. Pull request
1616 #173 by Thomas Leitner
17+ * Fixed `rdoc --ri-site`. Bug #193 by Michal Papis.
1718
1819=== 4.0.0 / 2013-02-24
1920
Original file line number Diff line number Diff line change @@ -928,7 +928,7 @@ def parse argv
928928 check_generator
929929
930930 @generator_name = "ri"
931- @op_dir = RDoc ::RI ::Paths :: SITEDIR
931+ @op_dir = RDoc ::RI ::Paths . site_dir
932932 setup_generator
933933 end
934934
Original file line number Diff line number Diff line change @@ -501,6 +501,13 @@ def test_parse_page_dir_root
501501 end
502502 end
503503
504+ def test_parse_ri_site
505+ @options . parse %w[ --ri-site ]
506+
507+ assert_equal RDoc ::Generator ::RI , @options . generator
508+ assert_equal RDoc ::RI ::Paths . site_dir , @options . op_dir
509+ end
510+
504511 def test_parse_root
505512 assert_equal Pathname ( Dir . pwd ) , @options . root
506513
You can’t perform that action at this time.
0 commit comments