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.
- data/CHANGELOG.rdoc +10 -0
- data/README.rdoc +25 -23
- data/Rakefile +11 -1
- data/VERSION.yml +2 -2
- data/benchmark/encode.rb +1 -1
- data/benchmark/encode_json_and_marshal.rb +1 -1
- data/benchmark/encode_json_and_yaml.rb +1 -1
- data/benchmark/parse.rb +1 -1
- data/benchmark/parse_json_and_marshal.rb +1 -1
- data/benchmark/parse_json_and_yaml.rb +1 -1
- data/benchmark/subjects/unicode.json +1 -3315
- data/ext/api/yajl_common.h +85 -0
- data/ext/api/yajl_gen.h +123 -0
- data/ext/api/yajl_parse.h +179 -0
- data/ext/extconf.rb +2 -8
- data/ext/yajl.c +128 -260
- data/ext/yajl_alloc.c +65 -0
- data/ext/yajl_alloc.h +50 -0
- data/ext/yajl_buf.c +119 -0
- data/ext/yajl_buf.h +73 -0
- data/ext/yajl_bytestack.h +85 -0
- data/ext/yajl_encode.c +179 -0
- data/ext/yajl_encode.h +44 -0
- data/ext/yajl_ext.c +283 -0
- data/ext/{yajl.h → yajl_ext.h} +2 -2
- data/ext/yajl_gen.c +295 -0
- data/ext/yajl_lex.c +737 -0
- data/ext/yajl_lex.h +133 -0
- data/ext/yajl_parser.c +445 -0
- data/ext/yajl_parser.h +79 -0
- data/lib/yajl/bzip2.rb +1 -1
- data/lib/yajl/deflate.rb +1 -1
- data/lib/yajl/gzip.rb +1 -1
- data/lib/yajl/http_stream.rb +1 -1
- data/lib/yajl.rb +1 -1
- data/spec/encoding/encoding_spec.rb +23 -0
- data/spec/http/{http.bzip2.dump → fixtures/http.bzip2.dump} +0 -0
- data/spec/http/{http.deflate.dump → fixtures/http.deflate.dump} +0 -0
- data/spec/http/{http.gzip.dump → fixtures/http.gzip.dump} +0 -0
- data/spec/http/{http.raw.dump → fixtures/http.raw.dump} +0 -0
- data/spec/http/http_spec.rb +98 -0
- data/spec/{active_support_spec.rb → parsing/active_support_spec.rb} +1 -1
- data/spec/{fixtures → parsing/fixtures}/fail.15.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail.16.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail.17.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail.26.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail11.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail12.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail13.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail14.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail19.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail20.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail21.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail22.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail23.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail24.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail25.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail27.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail28.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail3.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail4.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail5.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail6.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/fail9.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.array.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.codepoints_from_unicode_org.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.contacts.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.db100.xml.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.db1000.xml.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.dc_simple_with_comments.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.deep_arrays.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.difficult_json_c_test_case.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.difficult_json_c_test_case_with_comments.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.doubles.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.empty_array.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.empty_string.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.escaped_bulgarian.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.escaped_foobar.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.item.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.json-org-sample1.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.json-org-sample2.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.json-org-sample3.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.json-org-sample4-nows.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.json-org-sample4.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.json-org-sample5.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.map-spain.xml.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.ns-invoice100.xml.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.ns-soap.xml.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.numbers-fp-4k.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.numbers-fp-64k.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.numbers-int-4k.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.numbers-int-64k.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.twitter-search.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.twitter-search2.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.unicode.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass.yelp.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass1.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass2.json +0 -0
- data/spec/{fixtures → parsing/fixtures}/pass3.json +0 -0
- data/spec/{fixtures_spec.rb → parsing/fixtures_spec.rb} +1 -1
- data/spec/{one_off_spec.rb → parsing/one_off_spec.rb} +1 -1
- data/yajl-ruby.gemspec +91 -72
- metadata +91 -71
- data/benchmark/subjects/yelp.json +0 -1
data/lib/yajl/http_stream.rb
CHANGED
data/lib/yajl.rb
CHANGED
@@ -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
|
File without changes
|
File without changes
|
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
|
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
|
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
|
File without changes
|
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.
|
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-
|
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
|
-
"
|
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/
|
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/
|
52
|
-
"spec/fixtures/
|
53
|
-
"spec/fixtures/
|
54
|
-
"spec/fixtures/
|
55
|
-
"spec/fixtures/
|
56
|
-
"spec/
|
57
|
-
"spec/
|
58
|
-
"spec/fixtures/
|
59
|
-
"spec/fixtures/
|
60
|
-
"spec/fixtures/
|
61
|
-
"spec/fixtures/
|
62
|
-
"spec/fixtures/
|
63
|
-
"spec/fixtures/
|
64
|
-
"spec/fixtures/
|
65
|
-
"spec/fixtures/
|
66
|
-
"spec/fixtures/
|
67
|
-
"spec/fixtures/
|
68
|
-
"spec/fixtures/
|
69
|
-
"spec/fixtures/
|
70
|
-
"spec/fixtures/
|
71
|
-
"spec/fixtures/
|
72
|
-
"spec/fixtures/
|
73
|
-
"spec/fixtures/
|
74
|
-
"spec/fixtures/
|
75
|
-
"spec/fixtures/
|
76
|
-
"spec/fixtures/
|
77
|
-
"spec/fixtures/
|
78
|
-
"spec/fixtures/
|
79
|
-
"spec/fixtures/
|
80
|
-
"spec/fixtures/pass.
|
81
|
-
"spec/fixtures/pass.
|
82
|
-
"spec/fixtures/pass.
|
83
|
-
"spec/fixtures/pass.
|
84
|
-
"spec/fixtures/pass.
|
85
|
-
"spec/fixtures/pass.
|
86
|
-
"spec/fixtures/pass.
|
87
|
-
"spec/fixtures/pass.
|
88
|
-
"spec/fixtures/pass.
|
89
|
-
"spec/fixtures/pass.
|
90
|
-
"spec/fixtures/pass.
|
91
|
-
"spec/fixtures/pass.
|
92
|
-
"spec/fixtures/pass.
|
93
|
-
"spec/fixtures/pass.
|
94
|
-
"spec/fixtures/pass.
|
95
|
-
"spec/fixtures/pass.
|
96
|
-
"spec/fixtures/pass.
|
97
|
-
"spec/fixtures/pass.
|
98
|
-
"spec/fixtures/pass.
|
99
|
-
"spec/fixtures/pass.
|
100
|
-
"spec/fixtures/pass.
|
101
|
-
"spec/fixtures/pass.
|
102
|
-
"spec/fixtures/pass.
|
103
|
-
"spec/fixtures/pass.
|
104
|
-
"spec/fixtures/pass.
|
105
|
-
"spec/fixtures/pass.
|
106
|
-
"spec/fixtures/
|
107
|
-
"spec/fixtures/
|
108
|
-
"spec/fixtures/
|
109
|
-
"spec/
|
110
|
-
"spec/
|
111
|
-
"spec/
|
112
|
-
"spec/
|
113
|
-
"spec/
|
114
|
-
"spec/
|
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/
|
125
|
-
"spec/
|
126
|
-
"spec/
|
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
|
|