json_pure 1.6.3 → 1.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,21 +2,21 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "json"
5
- s.version = "1.6.3"
5
+ s.version = "1.6.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Florian Frank"]
9
- s.date = "2011-12-01"
9
+ s.date = "2011-12-24"
10
10
  s.description = "This is a JSON implementation as a Ruby extension in C."
11
11
  s.email = "flori@ping.de"
12
12
  s.extensions = ["ext/json/ext/parser/extconf.rb", "ext/json/ext/generator/extconf.rb"]
13
13
  s.extra_rdoc_files = ["README.rdoc"]
14
- s.files = [".gitignore", ".travis.yml", "CHANGES", "COPYING", "COPYING-json-jruby", "GPL", "Gemfile", "README-json-jruby.markdown", "README.rdoc", "Rakefile", "TODO", "VERSION", "benchmarks/data-p4-3GHz-ruby18/.keep", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log", "benchmarks/data/.keep", "benchmarks/generator2_benchmark.rb", "benchmarks/generator_benchmark.rb", "benchmarks/ohai.json", "benchmarks/ohai.ruby", "benchmarks/parser2_benchmark.rb", "benchmarks/parser_benchmark.rb", "data/example.json", "data/index.html", "data/prototype.js", "diagrams/.keep", "ext/json/ext/fbuffer/fbuffer.h", "ext/json/ext/generator/extconf.rb", "ext/json/ext/generator/generator.c", "ext/json/ext/generator/generator.h", "ext/json/ext/parser/extconf.rb", "ext/json/ext/parser/parser.c", "ext/json/ext/parser/parser.h", "ext/json/ext/parser/parser.rl", "install.rb", "java/lib/bytelist-1.0.6.jar", "java/lib/jcodings.jar", "java/src/json/ext/ByteListTranscoder.java", "java/src/json/ext/Generator.java", "java/src/json/ext/GeneratorMethods.java", "java/src/json/ext/GeneratorService.java", "java/src/json/ext/GeneratorState.java", "java/src/json/ext/OptionsReader.java", "java/src/json/ext/Parser.java", "java/src/json/ext/Parser.rl", "java/src/json/ext/ParserService.java", "java/src/json/ext/RuntimeInfo.java", "java/src/json/ext/StringDecoder.java", "java/src/json/ext/StringEncoder.java", "java/src/json/ext/Utils.java", "json-java.gemspec", "json.gemspec", "json_pure.gemspec", "lib/json.rb", "lib/json/add/bigdecimal.rb", "lib/json/add/complex.rb", "lib/json/add/core.rb", "lib/json/add/date.rb", "lib/json/add/date_time.rb", "lib/json/add/exception.rb", "lib/json/add/ostruct.rb", "lib/json/add/range.rb", "lib/json/add/rational.rb", "lib/json/add/regexp.rb", "lib/json/add/struct.rb", "lib/json/add/symbol.rb", "lib/json/add/time.rb", "lib/json/common.rb", "lib/json/ext.rb", "lib/json/ext/.keep", "lib/json/pure.rb", "lib/json/pure/generator.rb", "lib/json/pure/parser.rb", "lib/json/version.rb", "tests/fixtures/fail1.json", "tests/fixtures/fail10.json", "tests/fixtures/fail11.json", "tests/fixtures/fail12.json", "tests/fixtures/fail13.json", "tests/fixtures/fail14.json", "tests/fixtures/fail18.json", "tests/fixtures/fail19.json", "tests/fixtures/fail2.json", "tests/fixtures/fail20.json", "tests/fixtures/fail21.json", "tests/fixtures/fail22.json", "tests/fixtures/fail23.json", "tests/fixtures/fail24.json", "tests/fixtures/fail25.json", "tests/fixtures/fail27.json", "tests/fixtures/fail28.json", "tests/fixtures/fail3.json", "tests/fixtures/fail4.json", "tests/fixtures/fail5.json", "tests/fixtures/fail6.json", "tests/fixtures/fail7.json", "tests/fixtures/fail8.json", "tests/fixtures/fail9.json", "tests/fixtures/pass1.json", "tests/fixtures/pass15.json", "tests/fixtures/pass16.json", "tests/fixtures/pass17.json", "tests/fixtures/pass2.json", "tests/fixtures/pass26.json", "tests/fixtures/pass3.json", "tests/setup_variant.rb", "tests/test_json.rb", "tests/test_json_addition.rb", "tests/test_json_encoding.rb", "tests/test_json_fixtures.rb", "tests/test_json_generate.rb", "tests/test_json_string_matching.rb", "tests/test_json_unicode.rb", "tools/fuzz.rb", "tools/server.rb", "./tests/test_json_string_matching.rb", "./tests/test_json_fixtures.rb", "./tests/test_json_unicode.rb", "./tests/test_json_addition.rb", "./tests/test_json_generate.rb", "./tests/test_json_encoding.rb", "./tests/test_json.rb"]
14
+ s.files = [".gitignore", ".travis.yml", "CHANGES", "COPYING", "COPYING-json-jruby", "GPL", "Gemfile", "README-json-jruby.markdown", "README.rdoc", "Rakefile", "TODO", "VERSION", "benchmarks/data-p4-3GHz-ruby18/.keep", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log", "benchmarks/data/.keep", "benchmarks/generator2_benchmark.rb", "benchmarks/generator_benchmark.rb", "benchmarks/ohai.json", "benchmarks/ohai.ruby", "benchmarks/parser2_benchmark.rb", "benchmarks/parser_benchmark.rb", "data/example.json", "data/index.html", "data/prototype.js", "diagrams/.keep", "ext/json/ext/fbuffer/fbuffer.h", "ext/json/ext/generator/extconf.rb", "ext/json/ext/generator/generator.c", "ext/json/ext/generator/generator.h", "ext/json/ext/parser/extconf.rb", "ext/json/ext/parser/parser.c", "ext/json/ext/parser/parser.h", "ext/json/ext/parser/parser.rl", "install.rb", "java/src/json/ext/ByteListTranscoder.java", "java/src/json/ext/Generator.java", "java/src/json/ext/GeneratorMethods.java", "java/src/json/ext/GeneratorService.java", "java/src/json/ext/GeneratorState.java", "java/src/json/ext/OptionsReader.java", "java/src/json/ext/Parser.java", "java/src/json/ext/Parser.rl", "java/src/json/ext/ParserService.java", "java/src/json/ext/RuntimeInfo.java", "java/src/json/ext/StringDecoder.java", "java/src/json/ext/StringEncoder.java", "java/src/json/ext/Utils.java", "json-java.gemspec", "json.gemspec", "json_pure.gemspec", "lib/json.rb", "lib/json/add/bigdecimal.rb", "lib/json/add/complex.rb", "lib/json/add/core.rb", "lib/json/add/date.rb", "lib/json/add/date_time.rb", "lib/json/add/exception.rb", "lib/json/add/ostruct.rb", "lib/json/add/range.rb", "lib/json/add/rational.rb", "lib/json/add/regexp.rb", "lib/json/add/struct.rb", "lib/json/add/symbol.rb", "lib/json/add/time.rb", "lib/json/common.rb", "lib/json/ext.rb", "lib/json/ext/.keep", "lib/json/pure.rb", "lib/json/pure/generator.rb", "lib/json/pure/parser.rb", "lib/json/version.rb", "tests/fixtures/fail1.json", "tests/fixtures/fail10.json", "tests/fixtures/fail11.json", "tests/fixtures/fail12.json", "tests/fixtures/fail13.json", "tests/fixtures/fail14.json", "tests/fixtures/fail18.json", "tests/fixtures/fail19.json", "tests/fixtures/fail2.json", "tests/fixtures/fail20.json", "tests/fixtures/fail21.json", "tests/fixtures/fail22.json", "tests/fixtures/fail23.json", "tests/fixtures/fail24.json", "tests/fixtures/fail25.json", "tests/fixtures/fail27.json", "tests/fixtures/fail28.json", "tests/fixtures/fail3.json", "tests/fixtures/fail4.json", "tests/fixtures/fail5.json", "tests/fixtures/fail6.json", "tests/fixtures/fail7.json", "tests/fixtures/fail8.json", "tests/fixtures/fail9.json", "tests/fixtures/pass1.json", "tests/fixtures/pass15.json", "tests/fixtures/pass16.json", "tests/fixtures/pass17.json", "tests/fixtures/pass2.json", "tests/fixtures/pass26.json", "tests/fixtures/pass3.json", "tests/setup_variant.rb", "tests/test_json.rb", "tests/test_json_addition.rb", "tests/test_json_encoding.rb", "tests/test_json_fixtures.rb", "tests/test_json_generate.rb", "tests/test_json_string_matching.rb", "tests/test_json_unicode.rb", "tools/fuzz.rb", "tools/server.rb", "./tests/test_json_string_matching.rb", "./tests/test_json_fixtures.rb", "./tests/test_json_unicode.rb", "./tests/test_json_addition.rb", "./tests/test_json_generate.rb", "./tests/test_json_encoding.rb", "./tests/test_json.rb"]
15
15
  s.homepage = "http://flori.github.com/json"
16
16
  s.rdoc_options = ["--title", "JSON implemention for Ruby", "--main", "README.rdoc"]
17
17
  s.require_paths = ["ext/json/ext", "ext", "lib"]
18
18
  s.rubyforge_project = "json"
19
- s.rubygems_version = "1.8.11"
19
+ s.rubygems_version = "1.8.13"
20
20
  s.summary = "JSON Implementation for Ruby"
21
21
  s.test_files = ["./tests/test_json_string_matching.rb", "./tests/test_json_fixtures.rb", "./tests/test_json_unicode.rb", "./tests/test_json_addition.rb", "./tests/test_json_generate.rb", "./tests/test_json_encoding.rb", "./tests/test_json.rb"]
22
22
 
@@ -2,20 +2,20 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "json_pure"
5
- s.version = "1.6.3"
5
+ s.version = "1.6.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Florian Frank"]
9
- s.date = "2011-12-01"
9
+ s.date = "2011-12-24"
10
10
  s.description = "This is a JSON implementation in pure Ruby."
11
11
  s.email = "flori@ping.de"
12
12
  s.extra_rdoc_files = ["README.rdoc"]
13
- s.files = [".gitignore", ".travis.yml", "CHANGES", "COPYING", "COPYING-json-jruby", "GPL", "Gemfile", "README-json-jruby.markdown", "README.rdoc", "Rakefile", "TODO", "VERSION", "benchmarks/data-p4-3GHz-ruby18/.keep", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log", "benchmarks/data/.keep", "benchmarks/generator2_benchmark.rb", "benchmarks/generator_benchmark.rb", "benchmarks/ohai.json", "benchmarks/ohai.ruby", "benchmarks/parser2_benchmark.rb", "benchmarks/parser_benchmark.rb", "data/example.json", "data/index.html", "data/prototype.js", "diagrams/.keep", "ext/json/ext/fbuffer/fbuffer.h", "ext/json/ext/generator/extconf.rb", "ext/json/ext/generator/generator.c", "ext/json/ext/generator/generator.h", "ext/json/ext/parser/extconf.rb", "ext/json/ext/parser/parser.c", "ext/json/ext/parser/parser.h", "ext/json/ext/parser/parser.rl", "install.rb", "java/lib/bytelist-1.0.6.jar", "java/lib/jcodings.jar", "java/src/json/ext/ByteListTranscoder.java", "java/src/json/ext/Generator.java", "java/src/json/ext/GeneratorMethods.java", "java/src/json/ext/GeneratorService.java", "java/src/json/ext/GeneratorState.java", "java/src/json/ext/OptionsReader.java", "java/src/json/ext/Parser.java", "java/src/json/ext/Parser.rl", "java/src/json/ext/ParserService.java", "java/src/json/ext/RuntimeInfo.java", "java/src/json/ext/StringDecoder.java", "java/src/json/ext/StringEncoder.java", "java/src/json/ext/Utils.java", "json-java.gemspec", "json.gemspec", "json_pure.gemspec", "lib/json.rb", "lib/json/add/bigdecimal.rb", "lib/json/add/complex.rb", "lib/json/add/core.rb", "lib/json/add/date.rb", "lib/json/add/date_time.rb", "lib/json/add/exception.rb", "lib/json/add/ostruct.rb", "lib/json/add/range.rb", "lib/json/add/rational.rb", "lib/json/add/regexp.rb", "lib/json/add/struct.rb", "lib/json/add/symbol.rb", "lib/json/add/time.rb", "lib/json/common.rb", "lib/json/ext.rb", "lib/json/ext/.keep", "lib/json/pure.rb", "lib/json/pure/generator.rb", "lib/json/pure/parser.rb", "lib/json/version.rb", "tests/fixtures/fail1.json", "tests/fixtures/fail10.json", "tests/fixtures/fail11.json", "tests/fixtures/fail12.json", "tests/fixtures/fail13.json", "tests/fixtures/fail14.json", "tests/fixtures/fail18.json", "tests/fixtures/fail19.json", "tests/fixtures/fail2.json", "tests/fixtures/fail20.json", "tests/fixtures/fail21.json", "tests/fixtures/fail22.json", "tests/fixtures/fail23.json", "tests/fixtures/fail24.json", "tests/fixtures/fail25.json", "tests/fixtures/fail27.json", "tests/fixtures/fail28.json", "tests/fixtures/fail3.json", "tests/fixtures/fail4.json", "tests/fixtures/fail5.json", "tests/fixtures/fail6.json", "tests/fixtures/fail7.json", "tests/fixtures/fail8.json", "tests/fixtures/fail9.json", "tests/fixtures/pass1.json", "tests/fixtures/pass15.json", "tests/fixtures/pass16.json", "tests/fixtures/pass17.json", "tests/fixtures/pass2.json", "tests/fixtures/pass26.json", "tests/fixtures/pass3.json", "tests/setup_variant.rb", "tests/test_json.rb", "tests/test_json_addition.rb", "tests/test_json_encoding.rb", "tests/test_json_fixtures.rb", "tests/test_json_generate.rb", "tests/test_json_string_matching.rb", "tests/test_json_unicode.rb", "tools/fuzz.rb", "tools/server.rb", "./tests/test_json_string_matching.rb", "./tests/test_json_fixtures.rb", "./tests/test_json_unicode.rb", "./tests/test_json_addition.rb", "./tests/test_json_generate.rb", "./tests/test_json_encoding.rb", "./tests/test_json.rb"]
13
+ s.files = [".gitignore", ".travis.yml", "CHANGES", "COPYING", "COPYING-json-jruby", "GPL", "Gemfile", "README-json-jruby.markdown", "README.rdoc", "Rakefile", "TODO", "VERSION", "benchmarks/data-p4-3GHz-ruby18/.keep", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat", "benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat", "benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log", "benchmarks/data/.keep", "benchmarks/generator2_benchmark.rb", "benchmarks/generator_benchmark.rb", "benchmarks/ohai.json", "benchmarks/ohai.ruby", "benchmarks/parser2_benchmark.rb", "benchmarks/parser_benchmark.rb", "data/example.json", "data/index.html", "data/prototype.js", "diagrams/.keep", "ext/json/ext/fbuffer/fbuffer.h", "ext/json/ext/generator/extconf.rb", "ext/json/ext/generator/generator.c", "ext/json/ext/generator/generator.h", "ext/json/ext/parser/extconf.rb", "ext/json/ext/parser/parser.c", "ext/json/ext/parser/parser.h", "ext/json/ext/parser/parser.rl", "install.rb", "java/src/json/ext/ByteListTranscoder.java", "java/src/json/ext/Generator.java", "java/src/json/ext/GeneratorMethods.java", "java/src/json/ext/GeneratorService.java", "java/src/json/ext/GeneratorState.java", "java/src/json/ext/OptionsReader.java", "java/src/json/ext/Parser.java", "java/src/json/ext/Parser.rl", "java/src/json/ext/ParserService.java", "java/src/json/ext/RuntimeInfo.java", "java/src/json/ext/StringDecoder.java", "java/src/json/ext/StringEncoder.java", "java/src/json/ext/Utils.java", "json-java.gemspec", "json.gemspec", "json_pure.gemspec", "lib/json.rb", "lib/json/add/bigdecimal.rb", "lib/json/add/complex.rb", "lib/json/add/core.rb", "lib/json/add/date.rb", "lib/json/add/date_time.rb", "lib/json/add/exception.rb", "lib/json/add/ostruct.rb", "lib/json/add/range.rb", "lib/json/add/rational.rb", "lib/json/add/regexp.rb", "lib/json/add/struct.rb", "lib/json/add/symbol.rb", "lib/json/add/time.rb", "lib/json/common.rb", "lib/json/ext.rb", "lib/json/ext/.keep", "lib/json/pure.rb", "lib/json/pure/generator.rb", "lib/json/pure/parser.rb", "lib/json/version.rb", "tests/fixtures/fail1.json", "tests/fixtures/fail10.json", "tests/fixtures/fail11.json", "tests/fixtures/fail12.json", "tests/fixtures/fail13.json", "tests/fixtures/fail14.json", "tests/fixtures/fail18.json", "tests/fixtures/fail19.json", "tests/fixtures/fail2.json", "tests/fixtures/fail20.json", "tests/fixtures/fail21.json", "tests/fixtures/fail22.json", "tests/fixtures/fail23.json", "tests/fixtures/fail24.json", "tests/fixtures/fail25.json", "tests/fixtures/fail27.json", "tests/fixtures/fail28.json", "tests/fixtures/fail3.json", "tests/fixtures/fail4.json", "tests/fixtures/fail5.json", "tests/fixtures/fail6.json", "tests/fixtures/fail7.json", "tests/fixtures/fail8.json", "tests/fixtures/fail9.json", "tests/fixtures/pass1.json", "tests/fixtures/pass15.json", "tests/fixtures/pass16.json", "tests/fixtures/pass17.json", "tests/fixtures/pass2.json", "tests/fixtures/pass26.json", "tests/fixtures/pass3.json", "tests/setup_variant.rb", "tests/test_json.rb", "tests/test_json_addition.rb", "tests/test_json_encoding.rb", "tests/test_json_fixtures.rb", "tests/test_json_generate.rb", "tests/test_json_string_matching.rb", "tests/test_json_unicode.rb", "tools/fuzz.rb", "tools/server.rb", "./tests/test_json_string_matching.rb", "./tests/test_json_fixtures.rb", "./tests/test_json_unicode.rb", "./tests/test_json_addition.rb", "./tests/test_json_generate.rb", "./tests/test_json_encoding.rb", "./tests/test_json.rb"]
14
14
  s.homepage = "http://flori.github.com/json"
15
15
  s.rdoc_options = ["--title", "JSON implemention for ruby", "--main", "README.rdoc"]
16
16
  s.require_paths = ["lib"]
17
17
  s.rubyforge_project = "json"
18
- s.rubygems_version = "1.8.11"
18
+ s.rubygems_version = "1.8.13"
19
19
  s.summary = "JSON Implementation for Ruby"
20
20
  s.test_files = ["./tests/test_json_string_matching.rb", "./tests/test_json_fixtures.rb", "./tests/test_json_unicode.rb", "./tests/test_json_addition.rb", "./tests/test_json_generate.rb", "./tests/test_json_encoding.rb", "./tests/test_json.rb"]
21
21
 
@@ -1,6 +1,6 @@
1
1
  module JSON
2
2
  # JSON version
3
- VERSION = '1.6.3'
3
+ VERSION = '1.6.4'
4
4
  VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
@@ -5,6 +5,7 @@ require 'test/unit'
5
5
  require File.join(File.dirname(__FILE__), 'setup_variant')
6
6
  require 'stringio'
7
7
  require 'tempfile'
8
+ require 'ostruct'
8
9
 
9
10
  unless Array.method_defined?(:permutation)
10
11
  begin
@@ -218,13 +219,41 @@ class TC_JSON < Test::Unit::TestCase
218
219
  end
219
220
  end
220
221
 
221
- def test_parse_array_custom_class
222
+ class SubArrayWrapper
223
+ def initialize
224
+ @data = []
225
+ end
226
+
227
+ attr_reader :data
228
+
229
+ def [](index)
230
+ @data[index]
231
+ end
232
+
233
+ def <<(value)
234
+ @data << value
235
+ @shifted = true
236
+ end
237
+
238
+ def shifted?
239
+ @shifted
240
+ end
241
+ end
242
+
243
+ def test_parse_array_custom_array_derived_class
222
244
  res = parse('[1,2]', :array_class => SubArray)
223
245
  assert_equal([1,2], res)
224
246
  assert_equal(SubArray, res.class)
225
247
  assert res.shifted?
226
248
  end
227
249
 
250
+ def test_parse_array_custom_non_array_derived_class
251
+ res = parse('[1,2]', :array_class => SubArrayWrapper)
252
+ assert_equal([1,2], res.data)
253
+ assert_equal(SubArrayWrapper, res.class)
254
+ assert res.shifted?
255
+ end
256
+
228
257
  def test_parse_object
229
258
  assert_equal({}, parse('{}'))
230
259
  assert_equal({}, parse(' { } '))
@@ -256,13 +285,35 @@ class TC_JSON < Test::Unit::TestCase
256
285
  end
257
286
  end
258
287
 
259
- def test_parse_object_custom_class
288
+ class SubOpenStruct < OpenStruct
289
+ def [](k)
290
+ __send__(k)
291
+ end
292
+
293
+ def []=(k, v)
294
+ @item_set = true
295
+ __send__("#{k}=", v)
296
+ end
297
+
298
+ def item_set?
299
+ @item_set
300
+ end
301
+ end
302
+
303
+ def test_parse_object_custom_hash_derived_class
260
304
  res = parse('{"foo":"bar"}', :object_class => SubHash)
261
305
  assert_equal({"foo" => "bar"}, res)
262
306
  assert_equal(SubHash, res.class)
263
307
  assert res.item_set?
264
308
  end
265
309
 
310
+ def test_parse_object_custom_non_hash_derived_class
311
+ res = parse('{"foo":"bar"}', :object_class => SubOpenStruct)
312
+ assert_equal "bar", res.foo
313
+ assert_equal(SubOpenStruct, res.class)
314
+ assert res.item_set?
315
+ end
316
+
266
317
  def test_generation_of_core_subclasses_with_new_to_json
267
318
  obj = SubHash2["foo" => SubHash2["bar" => true]]
268
319
  obj_json = JSON(obj)
metadata CHANGED
@@ -1,256 +1,249 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: json_pure
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.6.4
4
5
  prerelease:
5
- version: 1.6.3
6
6
  platform: ruby
7
- authors:
8
- - Florian Frank
7
+ authors:
8
+ - Florian Frank
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-12-01 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: permutation
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
19
- none: false
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: "0"
24
- type: :development
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: bullshit
28
- prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
30
- none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: "0"
35
- type: :development
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: sdoc
39
- prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- version: "0"
46
- type: :development
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
49
- name: rake
50
- prerelease: false
51
- requirement: &id004 !ruby/object:Gem::Requirement
52
- none: false
53
- requirements:
54
- - - ~>
55
- - !ruby/object:Gem::Version
56
- version: 0.9.2
57
- type: :development
58
- version_requirements: *id004
12
+ date: 2011-12-24 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: permutation
16
+ requirement: &72357910 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: *72357910
25
+ - !ruby/object:Gem::Dependency
26
+ name: bullshit
27
+ requirement: &72357620 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *72357620
36
+ - !ruby/object:Gem::Dependency
37
+ name: sdoc
38
+ requirement: &72357260 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *72357260
47
+ - !ruby/object:Gem::Dependency
48
+ name: rake
49
+ requirement: &72356890 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 0.9.2
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *72356890
59
58
  description: This is a JSON implementation in pure Ruby.
60
59
  email: flori@ping.de
61
60
  executables: []
62
-
63
61
  extensions: []
64
-
65
- extra_rdoc_files:
66
- - README.rdoc
67
- files:
68
- - .gitignore
69
- - .travis.yml
70
- - CHANGES
71
- - COPYING
72
- - COPYING-json-jruby
73
- - GPL
74
- - Gemfile
75
- - README-json-jruby.markdown
76
- - README.rdoc
77
- - Rakefile
78
- - TODO
79
- - VERSION
80
- - benchmarks/data-p4-3GHz-ruby18/.keep
81
- - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log
82
- - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat
83
- - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat
84
- - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat
85
- - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat
86
- - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat
87
- - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat
88
- - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log
89
- - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat
90
- - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat
91
- - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat
92
- - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat
93
- - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat
94
- - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat
95
- - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log
96
- - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat
97
- - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat
98
- - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log
99
- - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log
100
- - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat
101
- - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat
102
- - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log
103
- - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat
104
- - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat
105
- - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log
106
- - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat
107
- - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat
108
- - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log
109
- - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat
110
- - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat
111
- - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log
112
- - benchmarks/data/.keep
113
- - benchmarks/generator2_benchmark.rb
114
- - benchmarks/generator_benchmark.rb
115
- - benchmarks/ohai.json
116
- - benchmarks/ohai.ruby
117
- - benchmarks/parser2_benchmark.rb
118
- - benchmarks/parser_benchmark.rb
119
- - data/example.json
120
- - data/index.html
121
- - data/prototype.js
122
- - diagrams/.keep
123
- - ext/json/ext/fbuffer/fbuffer.h
124
- - ext/json/ext/generator/extconf.rb
125
- - ext/json/ext/generator/generator.c
126
- - ext/json/ext/generator/generator.h
127
- - ext/json/ext/parser/extconf.rb
128
- - ext/json/ext/parser/parser.c
129
- - ext/json/ext/parser/parser.h
130
- - ext/json/ext/parser/parser.rl
131
- - install.rb
132
- - java/lib/bytelist-1.0.6.jar
133
- - java/lib/jcodings.jar
134
- - java/src/json/ext/ByteListTranscoder.java
135
- - java/src/json/ext/Generator.java
136
- - java/src/json/ext/GeneratorMethods.java
137
- - java/src/json/ext/GeneratorService.java
138
- - java/src/json/ext/GeneratorState.java
139
- - java/src/json/ext/OptionsReader.java
140
- - java/src/json/ext/Parser.java
141
- - java/src/json/ext/Parser.rl
142
- - java/src/json/ext/ParserService.java
143
- - java/src/json/ext/RuntimeInfo.java
144
- - java/src/json/ext/StringDecoder.java
145
- - java/src/json/ext/StringEncoder.java
146
- - java/src/json/ext/Utils.java
147
- - json-java.gemspec
148
- - json.gemspec
149
- - json_pure.gemspec
150
- - lib/json.rb
151
- - lib/json/add/bigdecimal.rb
152
- - lib/json/add/complex.rb
153
- - lib/json/add/core.rb
154
- - lib/json/add/date.rb
155
- - lib/json/add/date_time.rb
156
- - lib/json/add/exception.rb
157
- - lib/json/add/ostruct.rb
158
- - lib/json/add/range.rb
159
- - lib/json/add/rational.rb
160
- - lib/json/add/regexp.rb
161
- - lib/json/add/struct.rb
162
- - lib/json/add/symbol.rb
163
- - lib/json/add/time.rb
164
- - lib/json/common.rb
165
- - lib/json/ext.rb
166
- - lib/json/ext/.keep
167
- - lib/json/pure.rb
168
- - lib/json/pure/generator.rb
169
- - lib/json/pure/parser.rb
170
- - lib/json/version.rb
171
- - tests/fixtures/fail1.json
172
- - tests/fixtures/fail10.json
173
- - tests/fixtures/fail11.json
174
- - tests/fixtures/fail12.json
175
- - tests/fixtures/fail13.json
176
- - tests/fixtures/fail14.json
177
- - tests/fixtures/fail18.json
178
- - tests/fixtures/fail19.json
179
- - tests/fixtures/fail2.json
180
- - tests/fixtures/fail20.json
181
- - tests/fixtures/fail21.json
182
- - tests/fixtures/fail22.json
183
- - tests/fixtures/fail23.json
184
- - tests/fixtures/fail24.json
185
- - tests/fixtures/fail25.json
186
- - tests/fixtures/fail27.json
187
- - tests/fixtures/fail28.json
188
- - tests/fixtures/fail3.json
189
- - tests/fixtures/fail4.json
190
- - tests/fixtures/fail5.json
191
- - tests/fixtures/fail6.json
192
- - tests/fixtures/fail7.json
193
- - tests/fixtures/fail8.json
194
- - tests/fixtures/fail9.json
195
- - tests/fixtures/pass1.json
196
- - tests/fixtures/pass15.json
197
- - tests/fixtures/pass16.json
198
- - tests/fixtures/pass17.json
199
- - tests/fixtures/pass2.json
200
- - tests/fixtures/pass26.json
201
- - tests/fixtures/pass3.json
202
- - tests/setup_variant.rb
203
- - tests/test_json.rb
204
- - tests/test_json_addition.rb
205
- - tests/test_json_encoding.rb
206
- - tests/test_json_fixtures.rb
207
- - tests/test_json_generate.rb
208
- - tests/test_json_string_matching.rb
209
- - tests/test_json_unicode.rb
210
- - tools/fuzz.rb
211
- - tools/server.rb
212
- - ./tests/test_json_string_matching.rb
213
- - ./tests/test_json_fixtures.rb
214
- - ./tests/test_json_unicode.rb
215
- - ./tests/test_json_addition.rb
216
- - ./tests/test_json_generate.rb
217
- - ./tests/test_json_encoding.rb
218
- - ./tests/test_json.rb
62
+ extra_rdoc_files:
63
+ - README.rdoc
64
+ files:
65
+ - .gitignore
66
+ - .travis.yml
67
+ - CHANGES
68
+ - COPYING
69
+ - COPYING-json-jruby
70
+ - GPL
71
+ - Gemfile
72
+ - README-json-jruby.markdown
73
+ - README.rdoc
74
+ - Rakefile
75
+ - TODO
76
+ - VERSION
77
+ - benchmarks/data-p4-3GHz-ruby18/.keep
78
+ - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log
79
+ - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat
80
+ - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat
81
+ - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat
82
+ - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat
83
+ - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat
84
+ - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat
85
+ - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log
86
+ - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat
87
+ - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat
88
+ - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat
89
+ - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat
90
+ - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat
91
+ - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat
92
+ - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log
93
+ - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat
94
+ - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat
95
+ - benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log
96
+ - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log
97
+ - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat
98
+ - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat
99
+ - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log
100
+ - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat
101
+ - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat
102
+ - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log
103
+ - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat
104
+ - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat
105
+ - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log
106
+ - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat
107
+ - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat
108
+ - benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log
109
+ - benchmarks/data/.keep
110
+ - benchmarks/generator2_benchmark.rb
111
+ - benchmarks/generator_benchmark.rb
112
+ - benchmarks/ohai.json
113
+ - benchmarks/ohai.ruby
114
+ - benchmarks/parser2_benchmark.rb
115
+ - benchmarks/parser_benchmark.rb
116
+ - data/example.json
117
+ - data/index.html
118
+ - data/prototype.js
119
+ - diagrams/.keep
120
+ - ext/json/ext/fbuffer/fbuffer.h
121
+ - ext/json/ext/generator/extconf.rb
122
+ - ext/json/ext/generator/generator.c
123
+ - ext/json/ext/generator/generator.h
124
+ - ext/json/ext/parser/extconf.rb
125
+ - ext/json/ext/parser/parser.c
126
+ - ext/json/ext/parser/parser.h
127
+ - ext/json/ext/parser/parser.rl
128
+ - install.rb
129
+ - java/src/json/ext/ByteListTranscoder.java
130
+ - java/src/json/ext/Generator.java
131
+ - java/src/json/ext/GeneratorMethods.java
132
+ - java/src/json/ext/GeneratorService.java
133
+ - java/src/json/ext/GeneratorState.java
134
+ - java/src/json/ext/OptionsReader.java
135
+ - java/src/json/ext/Parser.java
136
+ - java/src/json/ext/Parser.rl
137
+ - java/src/json/ext/ParserService.java
138
+ - java/src/json/ext/RuntimeInfo.java
139
+ - java/src/json/ext/StringDecoder.java
140
+ - java/src/json/ext/StringEncoder.java
141
+ - java/src/json/ext/Utils.java
142
+ - json-java.gemspec
143
+ - json.gemspec
144
+ - json_pure.gemspec
145
+ - lib/json.rb
146
+ - lib/json/add/bigdecimal.rb
147
+ - lib/json/add/complex.rb
148
+ - lib/json/add/core.rb
149
+ - lib/json/add/date.rb
150
+ - lib/json/add/date_time.rb
151
+ - lib/json/add/exception.rb
152
+ - lib/json/add/ostruct.rb
153
+ - lib/json/add/range.rb
154
+ - lib/json/add/rational.rb
155
+ - lib/json/add/regexp.rb
156
+ - lib/json/add/struct.rb
157
+ - lib/json/add/symbol.rb
158
+ - lib/json/add/time.rb
159
+ - lib/json/common.rb
160
+ - lib/json/ext.rb
161
+ - lib/json/ext/.keep
162
+ - lib/json/pure.rb
163
+ - lib/json/pure/generator.rb
164
+ - lib/json/pure/parser.rb
165
+ - lib/json/version.rb
166
+ - tests/fixtures/fail1.json
167
+ - tests/fixtures/fail10.json
168
+ - tests/fixtures/fail11.json
169
+ - tests/fixtures/fail12.json
170
+ - tests/fixtures/fail13.json
171
+ - tests/fixtures/fail14.json
172
+ - tests/fixtures/fail18.json
173
+ - tests/fixtures/fail19.json
174
+ - tests/fixtures/fail2.json
175
+ - tests/fixtures/fail20.json
176
+ - tests/fixtures/fail21.json
177
+ - tests/fixtures/fail22.json
178
+ - tests/fixtures/fail23.json
179
+ - tests/fixtures/fail24.json
180
+ - tests/fixtures/fail25.json
181
+ - tests/fixtures/fail27.json
182
+ - tests/fixtures/fail28.json
183
+ - tests/fixtures/fail3.json
184
+ - tests/fixtures/fail4.json
185
+ - tests/fixtures/fail5.json
186
+ - tests/fixtures/fail6.json
187
+ - tests/fixtures/fail7.json
188
+ - tests/fixtures/fail8.json
189
+ - tests/fixtures/fail9.json
190
+ - tests/fixtures/pass1.json
191
+ - tests/fixtures/pass15.json
192
+ - tests/fixtures/pass16.json
193
+ - tests/fixtures/pass17.json
194
+ - tests/fixtures/pass2.json
195
+ - tests/fixtures/pass26.json
196
+ - tests/fixtures/pass3.json
197
+ - tests/setup_variant.rb
198
+ - tests/test_json.rb
199
+ - tests/test_json_addition.rb
200
+ - tests/test_json_encoding.rb
201
+ - tests/test_json_fixtures.rb
202
+ - tests/test_json_generate.rb
203
+ - tests/test_json_string_matching.rb
204
+ - tests/test_json_unicode.rb
205
+ - tools/fuzz.rb
206
+ - tools/server.rb
207
+ - ./tests/test_json_string_matching.rb
208
+ - ./tests/test_json_fixtures.rb
209
+ - ./tests/test_json_unicode.rb
210
+ - ./tests/test_json_addition.rb
211
+ - ./tests/test_json_generate.rb
212
+ - ./tests/test_json_encoding.rb
213
+ - ./tests/test_json.rb
219
214
  homepage: http://flori.github.com/json
220
215
  licenses: []
221
-
222
216
  post_install_message:
223
- rdoc_options:
224
- - --title
225
- - JSON implemention for ruby
226
- - --main
227
- - README.rdoc
228
- require_paths:
229
- - lib
230
- required_ruby_version: !ruby/object:Gem::Requirement
217
+ rdoc_options:
218
+ - --title
219
+ - JSON implemention for ruby
220
+ - --main
221
+ - README.rdoc
222
+ require_paths:
223
+ - lib
224
+ required_ruby_version: !ruby/object:Gem::Requirement
231
225
  none: false
232
- requirements:
233
- - - ">="
234
- - !ruby/object:Gem::Version
235
- version: "0"
236
- required_rubygems_version: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - ! '>='
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ required_rubygems_version: !ruby/object:Gem::Requirement
237
231
  none: false
238
- requirements:
239
- - - ">="
240
- - !ruby/object:Gem::Version
241
- version: "0"
232
+ requirements:
233
+ - - ! '>='
234
+ - !ruby/object:Gem::Version
235
+ version: '0'
242
236
  requirements: []
243
-
244
237
  rubyforge_project: json
245
- rubygems_version: 1.8.11
238
+ rubygems_version: 1.8.13
246
239
  signing_key:
247
240
  specification_version: 3
248
241
  summary: JSON Implementation for Ruby
249
- test_files:
250
- - ./tests/test_json_string_matching.rb
251
- - ./tests/test_json_fixtures.rb
252
- - ./tests/test_json_unicode.rb
253
- - ./tests/test_json_addition.rb
254
- - ./tests/test_json_generate.rb
255
- - ./tests/test_json_encoding.rb
256
- - ./tests/test_json.rb
242
+ test_files:
243
+ - ./tests/test_json_string_matching.rb
244
+ - ./tests/test_json_fixtures.rb
245
+ - ./tests/test_json_unicode.rb
246
+ - ./tests/test_json_addition.rb
247
+ - ./tests/test_json_generate.rb
248
+ - ./tests/test_json_encoding.rb
249
+ - ./tests/test_json.rb