Permalink
Browse files

upgrade json 1.7.7

  • Loading branch information...
1 parent 77f328f commit 59b9e6d9b68d307813bfc88239d7af3922d63957 @tka tka committed Mar 30, 2013
Showing with 1,428 additions and 3,725 deletions.
  1. +0 −10 lib/ruby/jruby/json-1.5.0-java/lib/json.rb
  2. +0 −21 lib/ruby/jruby/json-1.5.0-java/lib/json/Array.xpm
  3. +0 −21 lib/ruby/jruby/json-1.5.0-java/lib/json/FalseClass.xpm
  4. +0 −21 lib/ruby/jruby/json-1.5.0-java/lib/json/Hash.xpm
  5. +0 −73 lib/ruby/jruby/json-1.5.0-java/lib/json/Key.xpm
  6. +0 −21 lib/ruby/jruby/json-1.5.0-java/lib/json/NilClass.xpm
  7. +0 −28 lib/ruby/jruby/json-1.5.0-java/lib/json/Numeric.xpm
  8. +0 −96 lib/ruby/jruby/json-1.5.0-java/lib/json/String.xpm
  9. +0 −21 lib/ruby/jruby/json-1.5.0-java/lib/json/TrueClass.xpm
  10. +0 −147 lib/ruby/jruby/json-1.5.0-java/lib/json/add/core.rb
  11. +0 −8 lib/ruby/jruby/json-1.5.0-java/lib/json/add/rails.rb
  12. +0 −1,369 lib/ruby/jruby/json-1.5.0-java/lib/json/editor.rb
  13. BIN lib/ruby/jruby/json-1.5.0-java/lib/json/ext/generator.jar
  14. BIN lib/ruby/jruby/json-1.5.0-java/lib/json/ext/parser.jar
  15. +0 −1,499 lib/ruby/jruby/json-1.5.0-java/lib/json/json.xpm
  16. +0 −1 lib/ruby/jruby/json-1.5.0-java/tests/fixtures/fail18.json
  17. +0 −179 lib/ruby/jruby/json-1.5.0-java/tests/test_json_generate.rb
  18. +62 −0 lib/ruby/jruby/json-1.7.7-java/lib/json.rb
  19. +28 −0 lib/ruby/jruby/json-1.7.7-java/lib/json/add/bigdecimal.rb
  20. +22 −0 lib/ruby/jruby/json-1.7.7-java/lib/json/add/complex.rb
  21. +11 −0 lib/ruby/jruby/json-1.7.7-java/lib/json/add/core.rb
  22. +34 −0 lib/ruby/jruby/json-1.7.7-java/lib/json/add/date.rb
  23. +50 −0 lib/ruby/jruby/json-1.7.7-java/lib/json/add/date_time.rb
  24. +31 −0 lib/ruby/jruby/json-1.7.7-java/lib/json/add/exception.rb
  25. +31 −0 lib/ruby/jruby/json-1.7.7-java/lib/json/add/ostruct.rb
  26. +29 −0 lib/ruby/jruby/json-1.7.7-java/lib/json/add/range.rb
  27. +22 −0 lib/ruby/jruby/json-1.7.7-java/lib/json/add/rational.rb
  28. +30 −0 lib/ruby/jruby/json-1.7.7-java/lib/json/add/regexp.rb
  29. +30 −0 lib/ruby/jruby/json-1.7.7-java/lib/json/add/struct.rb
  30. +25 −0 lib/ruby/jruby/json-1.7.7-java/lib/json/add/symbol.rb
  31. +38 −0 lib/ruby/jruby/json-1.7.7-java/lib/json/add/time.rb
  32. +115 −47 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/lib/json/common.rb
  33. +6 −0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/lib/json/ext.rb
  34. BIN lib/ruby/jruby/json-1.7.7-java/lib/json/ext/generator.jar
  35. BIN lib/ruby/jruby/json-1.7.7-java/lib/json/ext/parser.jar
  36. +61 −0 lib/ruby/jruby/json-1.7.7-java/lib/json/generic_object.rb
  37. +6 −0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/lib/json/pure.rb
  38. +81 −30 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/lib/json/pure/generator.rb
  39. +103 −64 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/lib/json/pure/parser.rb
  40. +1 −1 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/lib/json/version.rb
  41. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail1.json
  42. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail10.json
  43. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail11.json
  44. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail12.json
  45. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail13.json
  46. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail14.json
  47. +1 −0 lib/ruby/jruby/json-1.7.7-java/tests/fixtures/fail18.json
  48. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail19.json
  49. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail2.json
  50. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail20.json
  51. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail21.json
  52. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail22.json
  53. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail23.json
  54. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail24.json
  55. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail25.json
  56. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail27.json
  57. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail28.json
  58. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail3.json
  59. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail4.json
  60. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail5.json
  61. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail6.json
  62. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail7.json
  63. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail8.json
  64. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/fail9.json
  65. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/pass1.json
  66. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/pass15.json
  67. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/pass16.json
  68. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/pass17.json
  69. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/pass2.json
  70. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/pass26.json
  71. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/fixtures/pass3.json
  72. 0 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/setup_variant.rb
  73. +183 −28 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/test_json.rb
  74. +55 −26 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/test_json_addition.rb
  75. +2 −2 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/test_json_encoding.rb
  76. +2 −2 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/test_json_fixtures.rb
  77. +300 −0 lib/ruby/jruby/json-1.7.7-java/tests/test_json_generate.rb
  78. +60 −0 lib/ruby/jruby/json-1.7.7-java/tests/test_json_generic_object.rb
  79. +7 −8 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/test_json_string_matching.rb
  80. +2 −2 lib/ruby/jruby/{json-1.5.0-java → json-1.7.7-java}/tests/test_json_unicode.rb
@@ -1,10 +0,0 @@
-require 'json/common'
-module JSON
- require 'json/version'
-
- begin
- require 'json/ext'
- rescue LoadError
- require 'json/pure'
- end
-end
@@ -1,21 +0,0 @@
-/* XPM */
-static char * Array_xpm[] = {
-"16 16 2 1",
-" c None",
-". c #000000",
-" ",
-" ",
-" ",
-" .......... ",
-" . . ",
-" . . ",
-" . . ",
-" . . ",
-" . . ",
-" . . ",
-" . . ",
-" . . ",
-" .......... ",
-" ",
-" ",
-" "};
@@ -1,21 +0,0 @@
-/* XPM */
-static char * False_xpm[] = {
-"16 16 2 1",
-" c None",
-". c #FF0000",
-" ",
-" ",
-" ",
-" ...... ",
-" . ",
-" . ",
-" . ",
-" ...... ",
-" . ",
-" . ",
-" . ",
-" . ",
-" . ",
-" ",
-" ",
-" "};
@@ -1,21 +0,0 @@
-/* XPM */
-static char * Hash_xpm[] = {
-"16 16 2 1",
-" c None",
-". c #000000",
-" ",
-" ",
-" ",
-" . . ",
-" . . ",
-" . . ",
-" ......... ",
-" . . ",
-" . . ",
-" ......... ",
-" . . ",
-" . . ",
-" . . ",
-" ",
-" ",
-" "};
@@ -1,73 +0,0 @@
-/* XPM */
-static char * Key_xpm[] = {
-"16 16 54 1",
-" c None",
-". c #110007",
-"+ c #0E0900",
-"@ c #000013",
-"# c #070600",
-"$ c #F6F006",
-"% c #ECE711",
-"& c #E5EE00",
-"* c #16021E",
-"= c #120900",
-"- c #EDF12B",
-"; c #000033",
-"> c #0F0000",
-", c #FFFE03",
-"' c #E6E500",
-") c #16021B",
-"! c #F7F502",
-"~ c #000E00",
-"{ c #130000",
-"] c #FFF000",
-"^ c #FFE711",
-"/ c #140005",
-"( c #190025",
-"_ c #E9DD27",
-": c #E7DC04",
-"< c #FFEC09",
-"[ c #FFE707",
-"} c #FFDE10",
-"| c #150021",
-"1 c #160700",
-"2 c #FAF60E",
-"3 c #EFE301",
-"4 c #FEF300",
-"5 c #E7E000",
-"6 c #FFFF08",
-"7 c #0E0206",
-"8 c #040000",
-"9 c #03052E",
-"0 c #041212",
-"a c #070300",
-"b c #F2E713",
-"c c #F9DE13",
-"d c #36091E",
-"e c #00001C",
-"f c #1F0010",
-"g c #FFF500",
-"h c #DEDE00",
-"i c #050A00",
-"j c #FAF14A",
-"k c #F5F200",
-"l c #040404",
-"m c #1A0D00",
-"n c #EDE43D",
-"o c #ECE007",
-" ",
-" ",
-" .+@ ",
-" #$%&* ",
-" =-;>,') ",
-" >!~{]^/ ",
-" (_:<[}| ",
-" 1234567 ",
-" 890abcd ",
-" efghi ",
-" >jkl ",
-" mnol ",
-" >kl ",
-" ll ",
-" ",
-" "};
@@ -1,21 +0,0 @@
-/* XPM */
-static char * False_xpm[] = {
-"16 16 2 1",
-" c None",
-". c #000000",
-" ",
-" ",
-" ",
-" ... ",
-" . . ",
-" . . ",
-" . . ",
-" . . ",
-" . . ",
-" . . ",
-" . . ",
-" . . ",
-" ... ",
-" ",
-" ",
-" "};
@@ -1,28 +0,0 @@
-/* XPM */
-static char * Numeric_xpm[] = {
-"16 16 9 1",
-" c None",
-". c #FF0000",
-"+ c #0000FF",
-"@ c #0023DB",
-"# c #00EA14",
-"$ c #00FF00",
-"% c #004FAF",
-"& c #0028D6",
-"* c #00F20C",
-" ",
-" ",
-" ",
-" ... +++@#$$$$ ",
-" .+ %& $$ ",
-" . + $ ",
-" . + $$ ",
-" . ++$$$$ ",
-" . + $$ ",
-" . + $ ",
-" . + $ ",
-" . + $ $$ ",
-" .....++++*$$ ",
-" ",
-" ",
-" "};
@@ -1,96 +0,0 @@
-/* XPM */
-static char * String_xpm[] = {
-"16 16 77 1",
-" c None",
-". c #000000",
-"+ c #040404",
-"@ c #080806",
-"# c #090606",
-"$ c #EEEAE1",
-"% c #E7E3DA",
-"& c #E0DBD1",
-"* c #D4B46F",
-"= c #0C0906",
-"- c #E3C072",
-"; c #E4C072",
-"> c #060505",
-", c #0B0A08",
-"' c #D5B264",
-") c #D3AF5A",
-"! c #080602",
-"~ c #E1B863",
-"{ c #DDB151",
-"] c #DBAE4A",
-"^ c #DDB152",
-"/ c #DDB252",
-"( c #070705",
-"_ c #0C0A07",
-": c #D3A33B",
-"< c #020201",
-"[ c #DAAA41",
-"} c #040302",
-"| c #E4D9BF",
-"1 c #0B0907",
-"2 c #030201",
-"3 c #020200",
-"4 c #C99115",
-"5 c #080704",
-"6 c #DBC8A2",
-"7 c #E7D7B4",
-"8 c #E0CD9E",
-"9 c #080601",
-"0 c #040400",
-"a c #010100",
-"b c #0B0B08",
-"c c #DCBF83",
-"d c #DCBC75",
-"e c #DEB559",
-"f c #040301",
-"g c #BC8815",
-"h c #120E07",
-"i c #060402",
-"j c #0A0804",
-"k c #D4A747",
-"l c #D6A12F",
-"m c #0E0C05",
-"n c #C8C1B0",
-"o c #1D1B15",
-"p c #D7AD51",
-"q c #070502",
-"r c #080804",
-"s c #BC953B",
-"t c #C4BDAD",
-"u c #0B0807",
-"v c #DBAC47",
-"w c #1B150A",
-"x c #B78A2C",
-"y c #D8A83C",
-"z c #D4A338",
-"A c #0F0B03",
-"B c #181105",
-"C c #C59325",
-"D c #C18E1F",
-"E c #060600",
-"F c #CC992D",
-"G c #B98B25",
-"H c #B3831F",
-"I c #C08C1C",
-"J c #060500",
-"K c #0E0C03",
-"L c #0D0A00",
-" ",
-" .+@# ",
-" .$%&*= ",
-" .-;>,')! ",
-" .~. .{]. ",
-" .^/. (_:< ",
-" .[.}|$12 ",
-" 345678}90 ",
-" a2bcdefgh ",
-" ijkl.mno ",
-" <pq. rstu ",
-" .]v. wx= ",
-" .yzABCDE ",
-" .FGHIJ ",
-" 0KL0 ",
-" "};
@@ -1,21 +0,0 @@
-/* XPM */
-static char * TrueClass_xpm[] = {
-"16 16 2 1",
-" c None",
-". c #0BF311",
-" ",
-" ",
-" ",
-" ......... ",
-" . ",
-" . ",
-" . ",
-" . ",
-" . ",
-" . ",
-" . ",
-" . ",
-" . ",
-" ",
-" ",
-" "};
Oops, something went wrong. Retry.

0 comments on commit 59b9e6d

Please sign in to comment.