brianmario-yajl-ruby 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. data/CHANGELOG.rdoc +10 -0
  2. data/README.rdoc +25 -23
  3. data/Rakefile +11 -1
  4. data/VERSION.yml +2 -2
  5. data/benchmark/encode.rb +1 -1
  6. data/benchmark/encode_json_and_marshal.rb +1 -1
  7. data/benchmark/encode_json_and_yaml.rb +1 -1
  8. data/benchmark/parse.rb +1 -1
  9. data/benchmark/parse_json_and_marshal.rb +1 -1
  10. data/benchmark/parse_json_and_yaml.rb +1 -1
  11. data/benchmark/subjects/unicode.json +1 -3315
  12. data/ext/api/yajl_common.h +85 -0
  13. data/ext/api/yajl_gen.h +123 -0
  14. data/ext/api/yajl_parse.h +179 -0
  15. data/ext/extconf.rb +2 -8
  16. data/ext/yajl.c +128 -260
  17. data/ext/yajl_alloc.c +65 -0
  18. data/ext/yajl_alloc.h +50 -0
  19. data/ext/yajl_buf.c +119 -0
  20. data/ext/yajl_buf.h +73 -0
  21. data/ext/yajl_bytestack.h +85 -0
  22. data/ext/yajl_encode.c +179 -0
  23. data/ext/yajl_encode.h +44 -0
  24. data/ext/yajl_ext.c +283 -0
  25. data/ext/{yajl.h → yajl_ext.h} +2 -2
  26. data/ext/yajl_gen.c +295 -0
  27. data/ext/yajl_lex.c +737 -0
  28. data/ext/yajl_lex.h +133 -0
  29. data/ext/yajl_parser.c +445 -0
  30. data/ext/yajl_parser.h +79 -0
  31. data/lib/yajl/bzip2.rb +1 -1
  32. data/lib/yajl/deflate.rb +1 -1
  33. data/lib/yajl/gzip.rb +1 -1
  34. data/lib/yajl/http_stream.rb +1 -1
  35. data/lib/yajl.rb +1 -1
  36. data/spec/encoding/encoding_spec.rb +23 -0
  37. data/spec/http/{http.bzip2.dump → fixtures/http.bzip2.dump} +0 -0
  38. data/spec/http/{http.deflate.dump → fixtures/http.deflate.dump} +0 -0
  39. data/spec/http/{http.gzip.dump → fixtures/http.gzip.dump} +0 -0
  40. data/spec/http/{http.raw.dump → fixtures/http.raw.dump} +0 -0
  41. data/spec/http/http_spec.rb +98 -0
  42. data/spec/{active_support_spec.rb → parsing/active_support_spec.rb} +1 -1
  43. data/spec/{fixtures → parsing/fixtures}/fail.15.json +0 -0
  44. data/spec/{fixtures → parsing/fixtures}/fail.16.json +0 -0
  45. data/spec/{fixtures → parsing/fixtures}/fail.17.json +0 -0
  46. data/spec/{fixtures → parsing/fixtures}/fail.26.json +0 -0
  47. data/spec/{fixtures → parsing/fixtures}/fail11.json +0 -0
  48. data/spec/{fixtures → parsing/fixtures}/fail12.json +0 -0
  49. data/spec/{fixtures → parsing/fixtures}/fail13.json +0 -0
  50. data/spec/{fixtures → parsing/fixtures}/fail14.json +0 -0
  51. data/spec/{fixtures → parsing/fixtures}/fail19.json +0 -0
  52. data/spec/{fixtures → parsing/fixtures}/fail20.json +0 -0
  53. data/spec/{fixtures → parsing/fixtures}/fail21.json +0 -0
  54. data/spec/{fixtures → parsing/fixtures}/fail22.json +0 -0
  55. data/spec/{fixtures → parsing/fixtures}/fail23.json +0 -0
  56. data/spec/{fixtures → parsing/fixtures}/fail24.json +0 -0
  57. data/spec/{fixtures → parsing/fixtures}/fail25.json +0 -0
  58. data/spec/{fixtures → parsing/fixtures}/fail27.json +0 -0
  59. data/spec/{fixtures → parsing/fixtures}/fail28.json +0 -0
  60. data/spec/{fixtures → parsing/fixtures}/fail3.json +0 -0
  61. data/spec/{fixtures → parsing/fixtures}/fail4.json +0 -0
  62. data/spec/{fixtures → parsing/fixtures}/fail5.json +0 -0
  63. data/spec/{fixtures → parsing/fixtures}/fail6.json +0 -0
  64. data/spec/{fixtures → parsing/fixtures}/fail9.json +0 -0
  65. data/spec/{fixtures → parsing/fixtures}/pass.array.json +0 -0
  66. data/spec/{fixtures → parsing/fixtures}/pass.codepoints_from_unicode_org.json +0 -0
  67. data/spec/{fixtures → parsing/fixtures}/pass.contacts.json +0 -0
  68. data/spec/{fixtures → parsing/fixtures}/pass.db100.xml.json +0 -0
  69. data/spec/{fixtures → parsing/fixtures}/pass.db1000.xml.json +0 -0
  70. data/spec/{fixtures → parsing/fixtures}/pass.dc_simple_with_comments.json +0 -0
  71. data/spec/{fixtures → parsing/fixtures}/pass.deep_arrays.json +0 -0
  72. data/spec/{fixtures → parsing/fixtures}/pass.difficult_json_c_test_case.json +0 -0
  73. data/spec/{fixtures → parsing/fixtures}/pass.difficult_json_c_test_case_with_comments.json +0 -0
  74. data/spec/{fixtures → parsing/fixtures}/pass.doubles.json +0 -0
  75. data/spec/{fixtures → parsing/fixtures}/pass.empty_array.json +0 -0
  76. data/spec/{fixtures → parsing/fixtures}/pass.empty_string.json +0 -0
  77. data/spec/{fixtures → parsing/fixtures}/pass.escaped_bulgarian.json +0 -0
  78. data/spec/{fixtures → parsing/fixtures}/pass.escaped_foobar.json +0 -0
  79. data/spec/{fixtures → parsing/fixtures}/pass.item.json +0 -0
  80. data/spec/{fixtures → parsing/fixtures}/pass.json-org-sample1.json +0 -0
  81. data/spec/{fixtures → parsing/fixtures}/pass.json-org-sample2.json +0 -0
  82. data/spec/{fixtures → parsing/fixtures}/pass.json-org-sample3.json +0 -0
  83. data/spec/{fixtures → parsing/fixtures}/pass.json-org-sample4-nows.json +0 -0
  84. data/spec/{fixtures → parsing/fixtures}/pass.json-org-sample4.json +0 -0
  85. data/spec/{fixtures → parsing/fixtures}/pass.json-org-sample5.json +0 -0
  86. data/spec/{fixtures → parsing/fixtures}/pass.map-spain.xml.json +0 -0
  87. data/spec/{fixtures → parsing/fixtures}/pass.ns-invoice100.xml.json +0 -0
  88. data/spec/{fixtures → parsing/fixtures}/pass.ns-soap.xml.json +0 -0
  89. data/spec/{fixtures → parsing/fixtures}/pass.numbers-fp-4k.json +0 -0
  90. data/spec/{fixtures → parsing/fixtures}/pass.numbers-fp-64k.json +0 -0
  91. data/spec/{fixtures → parsing/fixtures}/pass.numbers-int-4k.json +0 -0
  92. data/spec/{fixtures → parsing/fixtures}/pass.numbers-int-64k.json +0 -0
  93. data/spec/{fixtures → parsing/fixtures}/pass.twitter-search.json +0 -0
  94. data/spec/{fixtures → parsing/fixtures}/pass.twitter-search2.json +0 -0
  95. data/spec/{fixtures → parsing/fixtures}/pass.unicode.json +0 -0
  96. data/spec/{fixtures → parsing/fixtures}/pass.yelp.json +0 -0
  97. data/spec/{fixtures → parsing/fixtures}/pass1.json +0 -0
  98. data/spec/{fixtures → parsing/fixtures}/pass2.json +0 -0
  99. data/spec/{fixtures → parsing/fixtures}/pass3.json +0 -0
  100. data/spec/{fixtures_spec.rb → parsing/fixtures_spec.rb} +1 -1
  101. data/spec/{one_off_spec.rb → parsing/one_off_spec.rb} +1 -1
  102. data/yajl-ruby.gemspec +91 -72
  103. metadata +91 -71
  104. data/benchmark/subjects/yelp.json +0 -1
@@ -1,6 +1,6 @@
1
1
  # encoding: UTF-8
2
2
  require 'socket' unless defined?(Socket)
3
- require 'yajl.rb' unless defined?(Yajl::Stream)
3
+ require 'yajl' unless defined?(Yajl::Stream)
4
4
 
5
5
  module Yajl
6
6
  # == Yajl::HttpStream
data/lib/yajl.rb CHANGED
@@ -13,7 +13,7 @@ require 'yajl_ext'
13
13
  #
14
14
  # Ruby bindings to the excellent Yajl (Yet Another JSON Parser) ANSI C library.
15
15
  module Yajl
16
- VERSION = "0.4.6"
16
+ VERSION = "0.4.7"
17
17
 
18
18
  # == Yajl::Chunked
19
19
  #
@@ -0,0 +1,23 @@
1
+ # encoding: UTF-8
2
+ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper.rb')
3
+
4
+ describe "Yajl JSON encoder" do
5
+ FILES = Dir[File.dirname(__FILE__)+'/../../benchmark/subjects/*.json']
6
+
7
+ FILES.each do |file|
8
+ it "should encode #{File.basename(file)}" do
9
+ input = File.new(File.expand_path(file), 'r')
10
+ hash = Yajl::Stream.parse(input)
11
+
12
+ io = StringIO.new
13
+ output = Yajl::Stream.encode(hash, io)
14
+ io.rewind
15
+ hash2 = Yajl::Stream.parse(io)
16
+
17
+ io.close
18
+ input.close
19
+
20
+ hash.should == hash2
21
+ end
22
+ end
23
+ end
File without changes
@@ -0,0 +1,98 @@
1
+ # encoding: UTF-8
2
+ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper.rb')
3
+ require 'yajl/bzip2'
4
+ require 'yajl/gzip'
5
+ require 'yajl/deflate'
6
+ require 'yajl/http_stream'
7
+
8
+ def parse_off_headers(io)
9
+ io.each_line do |line|
10
+ if line == "\r\n" # end of the headers
11
+ break
12
+ end
13
+ end
14
+ end
15
+
16
+ describe "Yajl HTTP GET request" do
17
+ before(:all) do
18
+ @raw = File.new(File.expand_path(File.dirname(__FILE__) + '/fixtures/http.raw.dump'), 'r')
19
+ @bzip2 = File.new(File.expand_path(File.dirname(__FILE__) + '/fixtures/http.bzip2.dump'), 'r')
20
+ @deflate = File.new(File.expand_path(File.dirname(__FILE__) + '/fixtures/http.deflate.dump'), 'r')
21
+ @gzip = File.new(File.expand_path(File.dirname(__FILE__) + '/fixtures/http.gzip.dump'), 'r')
22
+
23
+ parse_off_headers(@raw)
24
+ @raw_template_hash = Yajl::Stream.parse(@raw)
25
+ @raw.rewind
26
+ end
27
+
28
+ after(:all) do
29
+ @raw.close unless @raw.closed?
30
+ @bzip2.close unless @bzip2.closed?
31
+ @deflate.close unless @deflate.closed?
32
+ @gzip.close unless @gzip.closed?
33
+ end
34
+
35
+ after(:each) do
36
+ GC.start
37
+ end
38
+
39
+ it "should parse a raw response" do
40
+ file = File.expand_path(File.dirname(__FILE__) + '/http/http.raw.dump')
41
+ uri = 'file://'+file
42
+
43
+ TCPSocket.should_receive(:new).and_return(@raw)
44
+ @raw.should_receive(:write)
45
+ uri.should_receive(:host).at_least(2).times
46
+ uri.should_receive(:port)
47
+ uri.should_receive(:path)
48
+ uri.should_receive(:query)
49
+ uri.should_receive(:userinfo)
50
+
51
+ @raw_template_hash.should == Yajl::HttpStream.get(uri)
52
+ end
53
+
54
+ it "should parse a bzip2 compressed response" do
55
+ file = File.expand_path(File.dirname(__FILE__) + '/http/http.bzip2.dump')
56
+ uri = 'file://'+file
57
+
58
+ TCPSocket.should_receive(:new).and_return(@bzip2)
59
+ @bzip2.should_receive(:write)
60
+ uri.should_receive(:host).at_least(2).times
61
+ uri.should_receive(:port)
62
+ uri.should_receive(:path)
63
+ uri.should_receive(:query)
64
+ uri.should_receive(:userinfo)
65
+
66
+ @raw_template_hash.should == Yajl::HttpStream.get(uri)
67
+ end
68
+
69
+ it "should parse a deflate compressed response" do
70
+ file = File.expand_path(File.dirname(__FILE__) + '/http/http.deflate.dump')
71
+ uri = 'file://'+file
72
+
73
+ TCPSocket.should_receive(:new).and_return(@deflate)
74
+ @deflate.should_receive(:write)
75
+ uri.should_receive(:host).at_least(2).times
76
+ uri.should_receive(:port)
77
+ uri.should_receive(:path)
78
+ uri.should_receive(:query)
79
+ uri.should_receive(:userinfo)
80
+
81
+ @raw_template_hash.should == Yajl::HttpStream.get(uri)
82
+ end
83
+
84
+ it "should parse a gzip compressed response" do
85
+ file = File.expand_path(File.dirname(__FILE__) + '/http/http.gzip.dump')
86
+ uri = 'file://'+file
87
+
88
+ TCPSocket.should_receive(:new).and_return(@gzip)
89
+ @gzip.should_receive(:write)
90
+ uri.should_receive(:host).at_least(2).times
91
+ uri.should_receive(:port)
92
+ uri.should_receive(:path)
93
+ uri.should_receive(:query)
94
+ uri.should_receive(:userinfo)
95
+
96
+ @raw_template_hash.should == Yajl::HttpStream.get(uri)
97
+ end
98
+ end
@@ -1,5 +1,5 @@
1
1
  # encoding: UTF-8
2
- require File.expand_path(File.dirname(__FILE__) + '/spec_helper.rb')
2
+ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper.rb')
3
3
 
4
4
  describe "ActiveSupport test cases" do
5
5
  TESTS = {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  # encoding: UTF-8
2
- require File.expand_path(File.dirname(__FILE__) + '/spec_helper.rb')
2
+ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper.rb')
3
3
 
4
4
  describe "Parsing JSON Fixtures" do
5
5
  fixtures = File.join(File.dirname(__FILE__), 'fixtures/*.json')
@@ -1,5 +1,5 @@
1
1
  # encoding: UTF-8
2
- require File.expand_path(File.dirname(__FILE__) + '/spec_helper.rb')
2
+ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper.rb')
3
3
 
4
4
  describe "One-off JSON examples" do
5
5
  it "should parse 23456789012E666 and return Infinity" do
data/yajl-ruby.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{yajl-ruby}
5
- s.version = "0.4.6"
5
+ s.version = "0.4.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Brian Lopez"]
9
- s.date = %q{2009-05-17}
8
+ s.authors = ["Brian Lopez", "Lloyd Hilaiel"]
9
+ s.date = %q{2009-05-18}
10
10
  s.email = %q{seniorlopez@gmail.com}
11
11
  s.extensions = ["ext/extconf.rb"]
12
12
  s.extra_rdoc_files = [
@@ -33,10 +33,25 @@ Gem::Specification.new do |s|
33
33
  "benchmark/subjects/ohai.json",
34
34
  "benchmark/subjects/twitter_search.json",
35
35
  "benchmark/subjects/unicode.json",
36
- "benchmark/subjects/yelp.json",
36
+ "ext/api/yajl_common.h",
37
+ "ext/api/yajl_gen.h",
38
+ "ext/api/yajl_parse.h",
37
39
  "ext/extconf.rb",
38
40
  "ext/yajl.c",
39
- "ext/yajl.h",
41
+ "ext/yajl_alloc.c",
42
+ "ext/yajl_alloc.h",
43
+ "ext/yajl_buf.c",
44
+ "ext/yajl_buf.h",
45
+ "ext/yajl_bytestack.h",
46
+ "ext/yajl_encode.c",
47
+ "ext/yajl_encode.h",
48
+ "ext/yajl_ext.c",
49
+ "ext/yajl_ext.h",
50
+ "ext/yajl_gen.c",
51
+ "ext/yajl_lex.c",
52
+ "ext/yajl_lex.h",
53
+ "ext/yajl_parser.c",
54
+ "ext/yajl_parser.h",
40
55
  "lib/yajl.rb",
41
56
  "lib/yajl/bzip2.rb",
42
57
  "lib/yajl/bzip2/stream_reader.rb",
@@ -48,70 +63,72 @@ Gem::Specification.new do |s|
48
63
  "lib/yajl/gzip/stream_reader.rb",
49
64
  "lib/yajl/gzip/stream_writer.rb",
50
65
  "lib/yajl/http_stream.rb",
51
- "spec/active_support_spec.rb",
52
- "spec/fixtures/fail.15.json",
53
- "spec/fixtures/fail.16.json",
54
- "spec/fixtures/fail.17.json",
55
- "spec/fixtures/fail.26.json",
56
- "spec/fixtures/fail11.json",
57
- "spec/fixtures/fail12.json",
58
- "spec/fixtures/fail13.json",
59
- "spec/fixtures/fail14.json",
60
- "spec/fixtures/fail19.json",
61
- "spec/fixtures/fail20.json",
62
- "spec/fixtures/fail21.json",
63
- "spec/fixtures/fail22.json",
64
- "spec/fixtures/fail23.json",
65
- "spec/fixtures/fail24.json",
66
- "spec/fixtures/fail25.json",
67
- "spec/fixtures/fail27.json",
68
- "spec/fixtures/fail28.json",
69
- "spec/fixtures/fail3.json",
70
- "spec/fixtures/fail4.json",
71
- "spec/fixtures/fail5.json",
72
- "spec/fixtures/fail6.json",
73
- "spec/fixtures/fail9.json",
74
- "spec/fixtures/pass.array.json",
75
- "spec/fixtures/pass.codepoints_from_unicode_org.json",
76
- "spec/fixtures/pass.contacts.json",
77
- "spec/fixtures/pass.db100.xml.json",
78
- "spec/fixtures/pass.db1000.xml.json",
79
- "spec/fixtures/pass.dc_simple_with_comments.json",
80
- "spec/fixtures/pass.deep_arrays.json",
81
- "spec/fixtures/pass.difficult_json_c_test_case.json",
82
- "spec/fixtures/pass.difficult_json_c_test_case_with_comments.json",
83
- "spec/fixtures/pass.doubles.json",
84
- "spec/fixtures/pass.empty_array.json",
85
- "spec/fixtures/pass.empty_string.json",
86
- "spec/fixtures/pass.escaped_bulgarian.json",
87
- "spec/fixtures/pass.escaped_foobar.json",
88
- "spec/fixtures/pass.item.json",
89
- "spec/fixtures/pass.json-org-sample1.json",
90
- "spec/fixtures/pass.json-org-sample2.json",
91
- "spec/fixtures/pass.json-org-sample3.json",
92
- "spec/fixtures/pass.json-org-sample4-nows.json",
93
- "spec/fixtures/pass.json-org-sample4.json",
94
- "spec/fixtures/pass.json-org-sample5.json",
95
- "spec/fixtures/pass.map-spain.xml.json",
96
- "spec/fixtures/pass.ns-invoice100.xml.json",
97
- "spec/fixtures/pass.ns-soap.xml.json",
98
- "spec/fixtures/pass.numbers-fp-4k.json",
99
- "spec/fixtures/pass.numbers-fp-64k.json",
100
- "spec/fixtures/pass.numbers-int-4k.json",
101
- "spec/fixtures/pass.numbers-int-64k.json",
102
- "spec/fixtures/pass.twitter-search.json",
103
- "spec/fixtures/pass.twitter-search2.json",
104
- "spec/fixtures/pass.unicode.json",
105
- "spec/fixtures/pass.yelp.json",
106
- "spec/fixtures/pass1.json",
107
- "spec/fixtures/pass2.json",
108
- "spec/fixtures/pass3.json",
109
- "spec/fixtures_spec.rb",
110
- "spec/http/http.bzip2.dump",
111
- "spec/http/http.deflate.dump",
112
- "spec/http/http.gzip.dump",
113
- "spec/http/http.raw.dump",
114
- "spec/one_off_spec.rb",
66
+ "spec/encoding/encoding_spec.rb",
67
+ "spec/http/fixtures/http.bzip2.dump",
68
+ "spec/http/fixtures/http.deflate.dump",
69
+ "spec/http/fixtures/http.gzip.dump",
70
+ "spec/http/fixtures/http.raw.dump",
71
+ "spec/http/http_spec.rb",
72
+ "spec/parsing/active_support_spec.rb",
73
+ "spec/parsing/fixtures/fail.15.json",
74
+ "spec/parsing/fixtures/fail.16.json",
75
+ "spec/parsing/fixtures/fail.17.json",
76
+ "spec/parsing/fixtures/fail.26.json",
77
+ "spec/parsing/fixtures/fail11.json",
78
+ "spec/parsing/fixtures/fail12.json",
79
+ "spec/parsing/fixtures/fail13.json",
80
+ "spec/parsing/fixtures/fail14.json",
81
+ "spec/parsing/fixtures/fail19.json",
82
+ "spec/parsing/fixtures/fail20.json",
83
+ "spec/parsing/fixtures/fail21.json",
84
+ "spec/parsing/fixtures/fail22.json",
85
+ "spec/parsing/fixtures/fail23.json",
86
+ "spec/parsing/fixtures/fail24.json",
87
+ "spec/parsing/fixtures/fail25.json",
88
+ "spec/parsing/fixtures/fail27.json",
89
+ "spec/parsing/fixtures/fail28.json",
90
+ "spec/parsing/fixtures/fail3.json",
91
+ "spec/parsing/fixtures/fail4.json",
92
+ "spec/parsing/fixtures/fail5.json",
93
+ "spec/parsing/fixtures/fail6.json",
94
+ "spec/parsing/fixtures/fail9.json",
95
+ "spec/parsing/fixtures/pass.array.json",
96
+ "spec/parsing/fixtures/pass.codepoints_from_unicode_org.json",
97
+ "spec/parsing/fixtures/pass.contacts.json",
98
+ "spec/parsing/fixtures/pass.db100.xml.json",
99
+ "spec/parsing/fixtures/pass.db1000.xml.json",
100
+ "spec/parsing/fixtures/pass.dc_simple_with_comments.json",
101
+ "spec/parsing/fixtures/pass.deep_arrays.json",
102
+ "spec/parsing/fixtures/pass.difficult_json_c_test_case.json",
103
+ "spec/parsing/fixtures/pass.difficult_json_c_test_case_with_comments.json",
104
+ "spec/parsing/fixtures/pass.doubles.json",
105
+ "spec/parsing/fixtures/pass.empty_array.json",
106
+ "spec/parsing/fixtures/pass.empty_string.json",
107
+ "spec/parsing/fixtures/pass.escaped_bulgarian.json",
108
+ "spec/parsing/fixtures/pass.escaped_foobar.json",
109
+ "spec/parsing/fixtures/pass.item.json",
110
+ "spec/parsing/fixtures/pass.json-org-sample1.json",
111
+ "spec/parsing/fixtures/pass.json-org-sample2.json",
112
+ "spec/parsing/fixtures/pass.json-org-sample3.json",
113
+ "spec/parsing/fixtures/pass.json-org-sample4-nows.json",
114
+ "spec/parsing/fixtures/pass.json-org-sample4.json",
115
+ "spec/parsing/fixtures/pass.json-org-sample5.json",
116
+ "spec/parsing/fixtures/pass.map-spain.xml.json",
117
+ "spec/parsing/fixtures/pass.ns-invoice100.xml.json",
118
+ "spec/parsing/fixtures/pass.ns-soap.xml.json",
119
+ "spec/parsing/fixtures/pass.numbers-fp-4k.json",
120
+ "spec/parsing/fixtures/pass.numbers-fp-64k.json",
121
+ "spec/parsing/fixtures/pass.numbers-int-4k.json",
122
+ "spec/parsing/fixtures/pass.numbers-int-64k.json",
123
+ "spec/parsing/fixtures/pass.twitter-search.json",
124
+ "spec/parsing/fixtures/pass.twitter-search2.json",
125
+ "spec/parsing/fixtures/pass.unicode.json",
126
+ "spec/parsing/fixtures/pass.yelp.json",
127
+ "spec/parsing/fixtures/pass1.json",
128
+ "spec/parsing/fixtures/pass2.json",
129
+ "spec/parsing/fixtures/pass3.json",
130
+ "spec/parsing/fixtures_spec.rb",
131
+ "spec/parsing/one_off_spec.rb",
115
132
  "spec/spec_helper.rb",
116
133
  "yajl-ruby.gemspec"
117
134
  ]
@@ -121,9 +138,11 @@ Gem::Specification.new do |s|
121
138
  s.rubygems_version = %q{1.3.3}
122
139
  s.summary = %q{Ruby C bindings to the excellent Yajl JSON stream-based parser library.}
123
140
  s.test_files = [
124
- "spec/active_support_spec.rb",
125
- "spec/fixtures_spec.rb",
126
- "spec/one_off_spec.rb",
141
+ "spec/encoding/encoding_spec.rb",
142
+ "spec/http/http_spec.rb",
143
+ "spec/parsing/active_support_spec.rb",
144
+ "spec/parsing/fixtures_spec.rb",
145
+ "spec/parsing/one_off_spec.rb",
127
146
  "spec/spec_helper.rb"
128
147
  ]
129
148