This version of json has been in the tree for a month and fixes a problem with all older versions where the optimized compiled version would never be used, in addition to the upstream bug fixes and improvements. This bug supersedes bug 316883 for those arches who have not stabled that version yet.
This needs jruby stable also
amd64 stable
It fails the tests on x86... * Running test phase for ruby18 ... (in /var/tmp/portage/dev-ruby/json-1.4.3-r1/work/ruby18/json-1.4.3) WARNING: rake-compiler is not installed. You will not be able to build the json gem until you install it. GNU Make 3.81 dev-ruby/rake-compiler is keyworded and has a long list of other dependent, keyworded packages for USE="test".... Anyhow.. with rake-compiler(USE="-test") i get * Running test phase for ruby18 ... (in /var/tmp/portage/dev-ruby/json-1.4.3-r1/work/ruby18/json-1.4.3) GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i686-pc-linux-gnu Ragel State Machine Compiler version 6.6 Dec 2009 Copyright (c) 2001-2009 by Adrian Thurston Ragel State Machine Compiler version 6.6 Dec 2009 Copyright (c) 2001-2009 by Adrian Thurston rake-compiler must be configured first to enable cross-compilation rake-compiler must be configured first to enable cross-compilation rake-compiler must be configured first to enable cross-compilation rake-compiler must be configured first to enable cross-compilation /usr/bin/ruby18 -S testrb ./tests/test_json.rb ./tests/test_json_rails.rb ./tests/test_json_encoding.rb ./tests/test_json_unicode.rb ./tests/test_json_addition.rb ./tests/test_json_fixtures.rb ./tests/test_json_generate.rb Loaded suite [./tests/test_json.rb, ./tests/test_json_rails.rb, ./tests/test_json_encoding.rb, ./tests/test_json_unicode.rb, ./tests/test_json_addition.rb, ./tests/test_json_fixtures.rb, ./tests/test_json_generate.rb] Started ................................/lib/json/pure/parser.rb:196: warning: Float 23456789012E666 out of range ............F.. Finished in 1.422973 seconds. 1) Failure: test_symbol(TC_JSONRails) [./tests/test_json_rails.rb:142]: <"\"foo\""> expected but was <"{\"json_class\":\"Symbol\",\"s\":\"foo\"}">. 46 tests, 1913 assertions, 1 failures, 0 errors rake aborted! Command failed with status (1): [/usr/bin/ruby18 -S testrb ./tests/test_jso...] /var/tmp/portage/dev-ruby/json-1.4.3-r1/work/ruby18/json-1.4.3/Rakefile:44:in `myruby'
x86 stable (test failure isn't a regression), thanks Andreas
ia64/sparc stable
ppc done
ppc64 done; closing as last arch