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

* ext/json/*, test/json/*, defs/default_gems: Gemify JSON library.

[fix GH-867][Feature #11057]
* test/ruby/test_extlibs.rb: removed json gem from existence extentions.
* gems/bundled_gems: added json gem into bundled gem.
* lib/rdoc/rubygems_hook.rb: ignored no json environment.
* lib/rubygems/test_case.rb, test/rubygems/*: ditto.
* lib/rdoc/test_case.rb, test/rdoc/*: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2015-04-11 11:14:36 +00:00
parent 8e7b572d97
commit cfaddc2a32
83 changed files with 34 additions and 7673 deletions

View file

@ -6,6 +6,11 @@ rescue NoMethodError, Gem::LoadError
# for ruby tests
end
begin
require 'json'
rescue LoadError
end
require 'minitest/autorun'
require 'minitest/benchmark' if ENV['BENCHMARK']
@ -214,4 +219,3 @@ $LOAD_PATH.each do |load_path|
break if load_path[0] == ?/
load_path.replace File.expand_path load_path
end if RUBY_VERSION < '1.9'