1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

servlet.rb: requires json

* lib/rdoc/servlet.rb (documentation_search, root_search):
  requires json for JSON.dump and fix sporadic failures due to
  the loading order.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-06-17 00:50:15 +00:00
parent db577345ca
commit e5471cbe63
3 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
Wed Jun 17 09:50:12 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/rdoc/servlet.rb (documentation_search, root_search):
requires json for JSON.dump and fix sporadic failures due to
the loading order.
Tue Jun 16 19:19:53 2015 Tanaka Akira <akr@fsij.org>
* ext/rbconfig/sizeof/extconf.rb: Check several types defined in C99

View file

@ -1,5 +1,6 @@
require 'rdoc'
require 'time'
require 'json'
require 'webrick'
##

View file

@ -185,7 +185,7 @@ class TestRDocServlet < RDoc::TestCase
@s.do_GET @req, @res
assert_equal 'application/javascript', @res.content_type
assert_equal 'application/javascript', @res.content_type, @res.body
end
def test_documentation_page_class