ffi-yajl 0.0.3-universal-java → 0.0.4-universal-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/ffi_yajl/ext/encoder/encoder.c +1 -1
- data/ext/libyajl2/vendored/.gitignore +3 -0
- data/ext/libyajl2/vendored/BUILDING +23 -0
- data/ext/libyajl2/vendored/BUILDING.win32 +27 -0
- data/ext/libyajl2/vendored/CMakeLists.txt +79 -0
- data/ext/libyajl2/vendored/COPYING +13 -0
- data/ext/libyajl2/vendored/ChangeLog +175 -0
- data/ext/libyajl2/vendored/README +74 -0
- data/ext/libyajl2/vendored/TODO +9 -0
- data/ext/libyajl2/vendored/YAJLDoc.cmake +26 -0
- data/ext/libyajl2/vendored/configure +79 -0
- data/ext/libyajl2/vendored/example/CMakeLists.txt +23 -0
- data/ext/libyajl2/vendored/example/README.md +7 -0
- data/ext/libyajl2/vendored/example/parse_config.c +69 -0
- data/ext/libyajl2/vendored/example/sample.config +101 -0
- data/ext/libyajl2/vendored/perf/CMakeLists.txt +23 -0
- data/ext/libyajl2/vendored/perf/documents.c +1418 -0
- data/ext/libyajl2/vendored/perf/documents.h +28 -0
- data/ext/libyajl2/vendored/perf/perftest.c +134 -0
- data/ext/libyajl2/vendored/reformatter/CMakeLists.txt +39 -0
- data/ext/libyajl2/vendored/reformatter/json_reformat.c +194 -0
- data/ext/libyajl2/vendored/src/CMakeLists.txt +86 -0
- data/ext/libyajl2/vendored/src/YAJL.dxy +1258 -0
- data/ext/libyajl2/vendored/src/api/yajl_common.h +75 -0
- data/ext/libyajl2/vendored/src/api/yajl_gen.h +157 -0
- data/ext/libyajl2/vendored/src/api/yajl_parse.h +226 -0
- data/ext/libyajl2/vendored/src/api/yajl_tree.h +185 -0
- data/ext/libyajl2/vendored/src/api/yajl_version.h.cmake +23 -0
- data/ext/libyajl2/vendored/src/yajl +33 -0
- data/ext/libyajl2/vendored/src/yajl.c +175 -0
- data/ext/libyajl2/vendored/src/yajl.pc.cmake +9 -0
- data/ext/libyajl2/vendored/src/yajl_alloc.c +52 -0
- data/ext/libyajl2/vendored/src/yajl_alloc.h +34 -0
- data/ext/libyajl2/vendored/src/yajl_buf.c +103 -0
- data/ext/libyajl2/vendored/src/yajl_buf.h +57 -0
- data/ext/libyajl2/vendored/src/yajl_bytestack.h +69 -0
- data/ext/libyajl2/vendored/src/yajl_encode.c +220 -0
- data/ext/libyajl2/vendored/src/yajl_encode.h +34 -0
- data/ext/libyajl2/vendored/src/yajl_gen.c +354 -0
- data/ext/libyajl2/vendored/src/yajl_lex.c +763 -0
- data/ext/libyajl2/vendored/src/yajl_lex.h +117 -0
- data/ext/libyajl2/vendored/src/yajl_parser.c +498 -0
- data/ext/libyajl2/vendored/src/yajl_parser.h +78 -0
- data/ext/libyajl2/vendored/src/yajl_tree.c +503 -0
- data/ext/libyajl2/vendored/src/yajl_version.c +7 -0
- data/ext/libyajl2/vendored/test/CMakeLists.txt +23 -0
- data/ext/libyajl2/vendored/test/cases/ac_difficult_json_c_test_case_with_comments.json +1 -0
- data/ext/libyajl2/vendored/test/cases/ac_difficult_json_c_test_case_with_comments.json.gold +36 -0
- data/ext/libyajl2/vendored/test/cases/ac_simple_with_comments.json +11 -0
- data/ext/libyajl2/vendored/test/cases/ac_simple_with_comments.json.gold +9 -0
- data/ext/libyajl2/vendored/test/cases/ag_false_then_garbage.json +1 -0
- data/ext/libyajl2/vendored/test/cases/ag_false_then_garbage.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/ag_null_then_garbage.json +1 -0
- data/ext/libyajl2/vendored/test/cases/ag_null_then_garbage.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/ag_true_then_garbage.json +1 -0
- data/ext/libyajl2/vendored/test/cases/ag_true_then_garbage.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/am_eof.json +1 -0
- data/ext/libyajl2/vendored/test/cases/am_eof.json.gold +4 -0
- data/ext/libyajl2/vendored/test/cases/am_integers.json +1 -0
- data/ext/libyajl2/vendored/test/cases/am_integers.json.gold +3 -0
- data/ext/libyajl2/vendored/test/cases/am_multiple.json +3 -0
- data/ext/libyajl2/vendored/test/cases/am_multiple.json.gold +5 -0
- data/ext/libyajl2/vendored/test/cases/am_stuff.json +7 -0
- data/ext/libyajl2/vendored/test/cases/am_stuff.json.gold +14 -0
- data/ext/libyajl2/vendored/test/cases/ap_array_open.json +1 -0
- data/ext/libyajl2/vendored/test/cases/ap_array_open.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/ap_eof_str.json +1 -0
- data/ext/libyajl2/vendored/test/cases/ap_eof_str.json.gold +1 -0
- data/ext/libyajl2/vendored/test/cases/ap_map_open.json +1 -0
- data/ext/libyajl2/vendored/test/cases/ap_map_open.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/ap_partial_ok.json +1 -0
- data/ext/libyajl2/vendored/test/cases/ap_partial_ok.json.gold +4 -0
- data/ext/libyajl2/vendored/test/cases/array.json +6 -0
- data/ext/libyajl2/vendored/test/cases/array.json.gold +22 -0
- data/ext/libyajl2/vendored/test/cases/array_close.json +1 -0
- data/ext/libyajl2/vendored/test/cases/array_close.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/bignums.json +1 -0
- data/ext/libyajl2/vendored/test/cases/bignums.json.gold +5 -0
- data/ext/libyajl2/vendored/test/cases/bogus_char.json +4 -0
- data/ext/libyajl2/vendored/test/cases/bogus_char.json.gold +10 -0
- data/ext/libyajl2/vendored/test/cases/codepoints_from_unicode_org.json +1 -0
- data/ext/libyajl2/vendored/test/cases/codepoints_from_unicode_org.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/deep_arrays.json +1 -0
- data/ext/libyajl2/vendored/test/cases/deep_arrays.json.gold +2049 -0
- data/ext/libyajl2/vendored/test/cases/difficult_json_c_test_case.json +1 -0
- data/ext/libyajl2/vendored/test/cases/difficult_json_c_test_case.json.gold +36 -0
- data/ext/libyajl2/vendored/test/cases/doubles.json +1 -0
- data/ext/libyajl2/vendored/test/cases/doubles.json.gold +7 -0
- data/ext/libyajl2/vendored/test/cases/doubles_in_array.json +1 -0
- data/ext/libyajl2/vendored/test/cases/doubles_in_array.json.gold +8 -0
- data/ext/libyajl2/vendored/test/cases/empty_array.json +1 -0
- data/ext/libyajl2/vendored/test/cases/empty_array.json.gold +3 -0
- data/ext/libyajl2/vendored/test/cases/empty_string.json +1 -0
- data/ext/libyajl2/vendored/test/cases/empty_string.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/escaped_bulgarian.json +4 -0
- data/ext/libyajl2/vendored/test/cases/escaped_bulgarian.json.gold +7 -0
- data/ext/libyajl2/vendored/test/cases/escaped_foobar.json +1 -0
- data/ext/libyajl2/vendored/test/cases/escaped_foobar.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/false.json +1 -0
- data/ext/libyajl2/vendored/test/cases/false.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/fg_false_then_garbage.json +1 -0
- data/ext/libyajl2/vendored/test/cases/fg_false_then_garbage.json.gold +3 -0
- data/ext/libyajl2/vendored/test/cases/fg_issue_7.json +1 -0
- data/ext/libyajl2/vendored/test/cases/fg_issue_7.json.gold +3 -0
- data/ext/libyajl2/vendored/test/cases/fg_null_then_garbage.json +1 -0
- data/ext/libyajl2/vendored/test/cases/fg_null_then_garbage.json.gold +3 -0
- data/ext/libyajl2/vendored/test/cases/fg_true_then_garbage.json +1 -0
- data/ext/libyajl2/vendored/test/cases/fg_true_then_garbage.json.gold +3 -0
- data/ext/libyajl2/vendored/test/cases/four_byte_utf8.json +2 -0
- data/ext/libyajl2/vendored/test/cases/four_byte_utf8.json.gold +5 -0
- data/ext/libyajl2/vendored/test/cases/high_overflow.json +1 -0
- data/ext/libyajl2/vendored/test/cases/high_overflow.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/integers.json +3 -0
- data/ext/libyajl2/vendored/test/cases/integers.json.gold +14 -0
- data/ext/libyajl2/vendored/test/cases/invalid_utf8.json +1 -0
- data/ext/libyajl2/vendored/test/cases/invalid_utf8.json.gold +3 -0
- data/ext/libyajl2/vendored/test/cases/isolated_surrogate_marker.json +1 -0
- data/ext/libyajl2/vendored/test/cases/isolated_surrogate_marker.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/leading_zero_in_number.json +1 -0
- data/ext/libyajl2/vendored/test/cases/leading_zero_in_number.json.gold +5 -0
- data/ext/libyajl2/vendored/test/cases/lonely_minus_sign.json +7 -0
- data/ext/libyajl2/vendored/test/cases/lonely_minus_sign.json.gold +9 -0
- data/ext/libyajl2/vendored/test/cases/lonely_number.json +1 -0
- data/ext/libyajl2/vendored/test/cases/lonely_number.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/low_overflow.json +1 -0
- data/ext/libyajl2/vendored/test/cases/low_overflow.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/map_close.json +1 -0
- data/ext/libyajl2/vendored/test/cases/map_close.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/missing_integer_after_decimal_point.json +1 -0
- data/ext/libyajl2/vendored/test/cases/missing_integer_after_decimal_point.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/missing_integer_after_exponent.json +1 -0
- data/ext/libyajl2/vendored/test/cases/missing_integer_after_exponent.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/multiple.json +3 -0
- data/ext/libyajl2/vendored/test/cases/multiple.json.gold +4 -0
- data/ext/libyajl2/vendored/test/cases/non_utf8_char_in_string.json +1 -0
- data/ext/libyajl2/vendored/test/cases/non_utf8_char_in_string.json.gold +8 -0
- data/ext/libyajl2/vendored/test/cases/np_partial_bad.json +1 -0
- data/ext/libyajl2/vendored/test/cases/np_partial_bad.json.gold +5 -0
- data/ext/libyajl2/vendored/test/cases/null.json +1 -0
- data/ext/libyajl2/vendored/test/cases/null.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/nulls_and_bools.json +5 -0
- data/ext/libyajl2/vendored/test/cases/nulls_and_bools.json.gold +9 -0
- data/ext/libyajl2/vendored/test/cases/simple.json +5 -0
- data/ext/libyajl2/vendored/test/cases/simple.json.gold +9 -0
- data/ext/libyajl2/vendored/test/cases/simple_with_comments.json +11 -0
- data/ext/libyajl2/vendored/test/cases/simple_with_comments.json.gold +5 -0
- data/ext/libyajl2/vendored/test/cases/string_invalid_escape.json +1 -0
- data/ext/libyajl2/vendored/test/cases/string_invalid_escape.json.gold +3 -0
- data/ext/libyajl2/vendored/test/cases/string_invalid_hex_char.json +1 -0
- data/ext/libyajl2/vendored/test/cases/string_invalid_hex_char.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/string_with_escapes.json +3 -0
- data/ext/libyajl2/vendored/test/cases/string_with_escapes.json.gold +7 -0
- data/ext/libyajl2/vendored/test/cases/string_with_invalid_newline.json +2 -0
- data/ext/libyajl2/vendored/test/cases/string_with_invalid_newline.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/three_byte_utf8.json +1 -0
- data/ext/libyajl2/vendored/test/cases/three_byte_utf8.json.gold +7 -0
- data/ext/libyajl2/vendored/test/cases/true.json +1 -0
- data/ext/libyajl2/vendored/test/cases/true.json.gold +2 -0
- data/ext/libyajl2/vendored/test/cases/unescaped_bulgarian.json +1 -0
- data/ext/libyajl2/vendored/test/cases/unescaped_bulgarian.json.gold +4 -0
- data/ext/libyajl2/vendored/test/cases/zerobyte.json +1 -0
- data/ext/libyajl2/vendored/test/cases/zerobyte.json.gold +0 -0
- data/ext/libyajl2/vendored/test/run_tests.sh +94 -0
- data/ext/libyajl2/vendored/test/yajl_test.c +281 -0
- data/ext/libyajl2/vendored/verify/CMakeLists.txt +39 -0
- data/ext/libyajl2/vendored/verify/json_verify.c +116 -0
- data/lib/ffi_yajl/version.rb +1 -1
- data/lib/libyajl.so +0 -0
- data/lib/libyajl.so.2 +0 -0
- data/lib/libyajl.so.2.0.5 +0 -0
- data/lib/libyajl_s.a +0 -0
- data/spec/ffi_yajl/encoder_spec.rb +6 -0
- metadata +171 -10
- data/ext/ffi_yajl/ext/encoder/encoder.bundle +0 -0
- data/ext/ffi_yajl/ext/encoder/encoder.o +0 -0
- data/ext/ffi_yajl/ext/parser/parser.bundle +0 -0
- data/ext/ffi_yajl/ext/parser/parser.o +0 -0
- data/ext/libyajl2/mkmf.log +0 -63
- data/lib/libyajl.2.0.1.dylib +0 -0
- data/lib/libyajl.2.dylib +0 -0
- data/lib/libyajl.dylib +0 -0
data/lib/ffi_yajl/version.rb
CHANGED
data/lib/libyajl.so
ADDED
Binary file
|
data/lib/libyajl.so.2
ADDED
Binary file
|
Binary file
|
data/lib/libyajl_s.a
CHANGED
Binary file
|
@@ -45,5 +45,11 @@ describe "FFI_Yajl::Encoder" do
|
|
45
45
|
ruby = {"thing" => :one}
|
46
46
|
expect(encoder.encode(ruby)).to eq('{"thing":"one"}')
|
47
47
|
end
|
48
|
+
|
49
|
+
it "can encode 32-bit unsigned ints" do
|
50
|
+
ruby = {"gid"=>4294967294}
|
51
|
+
expect(encoder.encode(ruby)).to eq('{"gid":4294967294}')
|
52
|
+
end
|
53
|
+
|
48
54
|
end
|
49
55
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffi-yajl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: universal-java
|
6
6
|
authors:
|
7
7
|
- Lamont Granquist
|
@@ -94,16 +94,177 @@ files:
|
|
94
94
|
- README.md
|
95
95
|
- Rakefile
|
96
96
|
- bin/ffi-yajl-bench
|
97
|
-
- ext/ffi_yajl/ext/encoder/encoder.bundle
|
98
97
|
- ext/ffi_yajl/ext/encoder/encoder.c
|
99
|
-
- ext/ffi_yajl/ext/encoder/encoder.o
|
100
98
|
- ext/ffi_yajl/ext/encoder/extconf.rb
|
101
99
|
- ext/ffi_yajl/ext/parser/extconf.rb
|
102
|
-
- ext/ffi_yajl/ext/parser/parser.bundle
|
103
100
|
- ext/ffi_yajl/ext/parser/parser.c
|
104
|
-
- ext/ffi_yajl/ext/parser/parser.o
|
105
101
|
- ext/libyajl2/extconf.rb
|
106
|
-
- ext/libyajl2/
|
102
|
+
- ext/libyajl2/vendored/.git
|
103
|
+
- ext/libyajl2/vendored/.gitignore
|
104
|
+
- ext/libyajl2/vendored/BUILDING
|
105
|
+
- ext/libyajl2/vendored/BUILDING.win32
|
106
|
+
- ext/libyajl2/vendored/CMakeLists.txt
|
107
|
+
- ext/libyajl2/vendored/COPYING
|
108
|
+
- ext/libyajl2/vendored/ChangeLog
|
109
|
+
- ext/libyajl2/vendored/README
|
110
|
+
- ext/libyajl2/vendored/TODO
|
111
|
+
- ext/libyajl2/vendored/YAJLDoc.cmake
|
112
|
+
- ext/libyajl2/vendored/configure
|
113
|
+
- ext/libyajl2/vendored/example/CMakeLists.txt
|
114
|
+
- ext/libyajl2/vendored/example/README.md
|
115
|
+
- ext/libyajl2/vendored/example/parse_config.c
|
116
|
+
- ext/libyajl2/vendored/example/sample.config
|
117
|
+
- ext/libyajl2/vendored/perf/CMakeLists.txt
|
118
|
+
- ext/libyajl2/vendored/perf/documents.c
|
119
|
+
- ext/libyajl2/vendored/perf/documents.h
|
120
|
+
- ext/libyajl2/vendored/perf/perftest.c
|
121
|
+
- ext/libyajl2/vendored/reformatter/CMakeLists.txt
|
122
|
+
- ext/libyajl2/vendored/reformatter/json_reformat.c
|
123
|
+
- ext/libyajl2/vendored/src/CMakeLists.txt
|
124
|
+
- ext/libyajl2/vendored/src/YAJL.dxy
|
125
|
+
- ext/libyajl2/vendored/src/api/yajl_common.h
|
126
|
+
- ext/libyajl2/vendored/src/api/yajl_gen.h
|
127
|
+
- ext/libyajl2/vendored/src/api/yajl_parse.h
|
128
|
+
- ext/libyajl2/vendored/src/api/yajl_tree.h
|
129
|
+
- ext/libyajl2/vendored/src/api/yajl_version.h.cmake
|
130
|
+
- ext/libyajl2/vendored/src/yajl
|
131
|
+
- ext/libyajl2/vendored/src/yajl.c
|
132
|
+
- ext/libyajl2/vendored/src/yajl.pc.cmake
|
133
|
+
- ext/libyajl2/vendored/src/yajl_alloc.c
|
134
|
+
- ext/libyajl2/vendored/src/yajl_alloc.h
|
135
|
+
- ext/libyajl2/vendored/src/yajl_buf.c
|
136
|
+
- ext/libyajl2/vendored/src/yajl_buf.h
|
137
|
+
- ext/libyajl2/vendored/src/yajl_bytestack.h
|
138
|
+
- ext/libyajl2/vendored/src/yajl_encode.c
|
139
|
+
- ext/libyajl2/vendored/src/yajl_encode.h
|
140
|
+
- ext/libyajl2/vendored/src/yajl_gen.c
|
141
|
+
- ext/libyajl2/vendored/src/yajl_lex.c
|
142
|
+
- ext/libyajl2/vendored/src/yajl_lex.h
|
143
|
+
- ext/libyajl2/vendored/src/yajl_parser.c
|
144
|
+
- ext/libyajl2/vendored/src/yajl_parser.h
|
145
|
+
- ext/libyajl2/vendored/src/yajl_tree.c
|
146
|
+
- ext/libyajl2/vendored/src/yajl_version.c
|
147
|
+
- ext/libyajl2/vendored/test/CMakeLists.txt
|
148
|
+
- ext/libyajl2/vendored/test/cases/ac_difficult_json_c_test_case_with_comments.json
|
149
|
+
- ext/libyajl2/vendored/test/cases/ac_difficult_json_c_test_case_with_comments.json.gold
|
150
|
+
- ext/libyajl2/vendored/test/cases/ac_simple_with_comments.json
|
151
|
+
- ext/libyajl2/vendored/test/cases/ac_simple_with_comments.json.gold
|
152
|
+
- ext/libyajl2/vendored/test/cases/ag_false_then_garbage.json
|
153
|
+
- ext/libyajl2/vendored/test/cases/ag_false_then_garbage.json.gold
|
154
|
+
- ext/libyajl2/vendored/test/cases/ag_null_then_garbage.json
|
155
|
+
- ext/libyajl2/vendored/test/cases/ag_null_then_garbage.json.gold
|
156
|
+
- ext/libyajl2/vendored/test/cases/ag_true_then_garbage.json
|
157
|
+
- ext/libyajl2/vendored/test/cases/ag_true_then_garbage.json.gold
|
158
|
+
- ext/libyajl2/vendored/test/cases/am_eof.json
|
159
|
+
- ext/libyajl2/vendored/test/cases/am_eof.json.gold
|
160
|
+
- ext/libyajl2/vendored/test/cases/am_integers.json
|
161
|
+
- ext/libyajl2/vendored/test/cases/am_integers.json.gold
|
162
|
+
- ext/libyajl2/vendored/test/cases/am_multiple.json
|
163
|
+
- ext/libyajl2/vendored/test/cases/am_multiple.json.gold
|
164
|
+
- ext/libyajl2/vendored/test/cases/am_stuff.json
|
165
|
+
- ext/libyajl2/vendored/test/cases/am_stuff.json.gold
|
166
|
+
- ext/libyajl2/vendored/test/cases/ap_array_open.json
|
167
|
+
- ext/libyajl2/vendored/test/cases/ap_array_open.json.gold
|
168
|
+
- ext/libyajl2/vendored/test/cases/ap_eof_str.json
|
169
|
+
- ext/libyajl2/vendored/test/cases/ap_eof_str.json.gold
|
170
|
+
- ext/libyajl2/vendored/test/cases/ap_map_open.json
|
171
|
+
- ext/libyajl2/vendored/test/cases/ap_map_open.json.gold
|
172
|
+
- ext/libyajl2/vendored/test/cases/ap_partial_ok.json
|
173
|
+
- ext/libyajl2/vendored/test/cases/ap_partial_ok.json.gold
|
174
|
+
- ext/libyajl2/vendored/test/cases/array.json
|
175
|
+
- ext/libyajl2/vendored/test/cases/array.json.gold
|
176
|
+
- ext/libyajl2/vendored/test/cases/array_close.json
|
177
|
+
- ext/libyajl2/vendored/test/cases/array_close.json.gold
|
178
|
+
- ext/libyajl2/vendored/test/cases/bignums.json
|
179
|
+
- ext/libyajl2/vendored/test/cases/bignums.json.gold
|
180
|
+
- ext/libyajl2/vendored/test/cases/bogus_char.json
|
181
|
+
- ext/libyajl2/vendored/test/cases/bogus_char.json.gold
|
182
|
+
- ext/libyajl2/vendored/test/cases/codepoints_from_unicode_org.json
|
183
|
+
- ext/libyajl2/vendored/test/cases/codepoints_from_unicode_org.json.gold
|
184
|
+
- ext/libyajl2/vendored/test/cases/deep_arrays.json
|
185
|
+
- ext/libyajl2/vendored/test/cases/deep_arrays.json.gold
|
186
|
+
- ext/libyajl2/vendored/test/cases/difficult_json_c_test_case.json
|
187
|
+
- ext/libyajl2/vendored/test/cases/difficult_json_c_test_case.json.gold
|
188
|
+
- ext/libyajl2/vendored/test/cases/doubles.json
|
189
|
+
- ext/libyajl2/vendored/test/cases/doubles.json.gold
|
190
|
+
- ext/libyajl2/vendored/test/cases/doubles_in_array.json
|
191
|
+
- ext/libyajl2/vendored/test/cases/doubles_in_array.json.gold
|
192
|
+
- ext/libyajl2/vendored/test/cases/empty_array.json
|
193
|
+
- ext/libyajl2/vendored/test/cases/empty_array.json.gold
|
194
|
+
- ext/libyajl2/vendored/test/cases/empty_string.json
|
195
|
+
- ext/libyajl2/vendored/test/cases/empty_string.json.gold
|
196
|
+
- ext/libyajl2/vendored/test/cases/escaped_bulgarian.json
|
197
|
+
- ext/libyajl2/vendored/test/cases/escaped_bulgarian.json.gold
|
198
|
+
- ext/libyajl2/vendored/test/cases/escaped_foobar.json
|
199
|
+
- ext/libyajl2/vendored/test/cases/escaped_foobar.json.gold
|
200
|
+
- ext/libyajl2/vendored/test/cases/false.json
|
201
|
+
- ext/libyajl2/vendored/test/cases/false.json.gold
|
202
|
+
- ext/libyajl2/vendored/test/cases/fg_false_then_garbage.json
|
203
|
+
- ext/libyajl2/vendored/test/cases/fg_false_then_garbage.json.gold
|
204
|
+
- ext/libyajl2/vendored/test/cases/fg_issue_7.json
|
205
|
+
- ext/libyajl2/vendored/test/cases/fg_issue_7.json.gold
|
206
|
+
- ext/libyajl2/vendored/test/cases/fg_null_then_garbage.json
|
207
|
+
- ext/libyajl2/vendored/test/cases/fg_null_then_garbage.json.gold
|
208
|
+
- ext/libyajl2/vendored/test/cases/fg_true_then_garbage.json
|
209
|
+
- ext/libyajl2/vendored/test/cases/fg_true_then_garbage.json.gold
|
210
|
+
- ext/libyajl2/vendored/test/cases/four_byte_utf8.json
|
211
|
+
- ext/libyajl2/vendored/test/cases/four_byte_utf8.json.gold
|
212
|
+
- ext/libyajl2/vendored/test/cases/high_overflow.json
|
213
|
+
- ext/libyajl2/vendored/test/cases/high_overflow.json.gold
|
214
|
+
- ext/libyajl2/vendored/test/cases/integers.json
|
215
|
+
- ext/libyajl2/vendored/test/cases/integers.json.gold
|
216
|
+
- ext/libyajl2/vendored/test/cases/invalid_utf8.json
|
217
|
+
- ext/libyajl2/vendored/test/cases/invalid_utf8.json.gold
|
218
|
+
- ext/libyajl2/vendored/test/cases/isolated_surrogate_marker.json
|
219
|
+
- ext/libyajl2/vendored/test/cases/isolated_surrogate_marker.json.gold
|
220
|
+
- ext/libyajl2/vendored/test/cases/leading_zero_in_number.json
|
221
|
+
- ext/libyajl2/vendored/test/cases/leading_zero_in_number.json.gold
|
222
|
+
- ext/libyajl2/vendored/test/cases/lonely_minus_sign.json
|
223
|
+
- ext/libyajl2/vendored/test/cases/lonely_minus_sign.json.gold
|
224
|
+
- ext/libyajl2/vendored/test/cases/lonely_number.json
|
225
|
+
- ext/libyajl2/vendored/test/cases/lonely_number.json.gold
|
226
|
+
- ext/libyajl2/vendored/test/cases/low_overflow.json
|
227
|
+
- ext/libyajl2/vendored/test/cases/low_overflow.json.gold
|
228
|
+
- ext/libyajl2/vendored/test/cases/map_close.json
|
229
|
+
- ext/libyajl2/vendored/test/cases/map_close.json.gold
|
230
|
+
- ext/libyajl2/vendored/test/cases/missing_integer_after_decimal_point.json
|
231
|
+
- ext/libyajl2/vendored/test/cases/missing_integer_after_decimal_point.json.gold
|
232
|
+
- ext/libyajl2/vendored/test/cases/missing_integer_after_exponent.json
|
233
|
+
- ext/libyajl2/vendored/test/cases/missing_integer_after_exponent.json.gold
|
234
|
+
- ext/libyajl2/vendored/test/cases/multiple.json
|
235
|
+
- ext/libyajl2/vendored/test/cases/multiple.json.gold
|
236
|
+
- ext/libyajl2/vendored/test/cases/non_utf8_char_in_string.json
|
237
|
+
- ext/libyajl2/vendored/test/cases/non_utf8_char_in_string.json.gold
|
238
|
+
- ext/libyajl2/vendored/test/cases/np_partial_bad.json
|
239
|
+
- ext/libyajl2/vendored/test/cases/np_partial_bad.json.gold
|
240
|
+
- ext/libyajl2/vendored/test/cases/null.json
|
241
|
+
- ext/libyajl2/vendored/test/cases/null.json.gold
|
242
|
+
- ext/libyajl2/vendored/test/cases/nulls_and_bools.json
|
243
|
+
- ext/libyajl2/vendored/test/cases/nulls_and_bools.json.gold
|
244
|
+
- ext/libyajl2/vendored/test/cases/simple.json
|
245
|
+
- ext/libyajl2/vendored/test/cases/simple.json.gold
|
246
|
+
- ext/libyajl2/vendored/test/cases/simple_with_comments.json
|
247
|
+
- ext/libyajl2/vendored/test/cases/simple_with_comments.json.gold
|
248
|
+
- ext/libyajl2/vendored/test/cases/string_invalid_escape.json
|
249
|
+
- ext/libyajl2/vendored/test/cases/string_invalid_escape.json.gold
|
250
|
+
- ext/libyajl2/vendored/test/cases/string_invalid_hex_char.json
|
251
|
+
- ext/libyajl2/vendored/test/cases/string_invalid_hex_char.json.gold
|
252
|
+
- ext/libyajl2/vendored/test/cases/string_with_escapes.json
|
253
|
+
- ext/libyajl2/vendored/test/cases/string_with_escapes.json.gold
|
254
|
+
- ext/libyajl2/vendored/test/cases/string_with_invalid_newline.json
|
255
|
+
- ext/libyajl2/vendored/test/cases/string_with_invalid_newline.json.gold
|
256
|
+
- ext/libyajl2/vendored/test/cases/three_byte_utf8.json
|
257
|
+
- ext/libyajl2/vendored/test/cases/three_byte_utf8.json.gold
|
258
|
+
- ext/libyajl2/vendored/test/cases/true.json
|
259
|
+
- ext/libyajl2/vendored/test/cases/true.json.gold
|
260
|
+
- ext/libyajl2/vendored/test/cases/unescaped_bulgarian.json
|
261
|
+
- ext/libyajl2/vendored/test/cases/unescaped_bulgarian.json.gold
|
262
|
+
- ext/libyajl2/vendored/test/cases/zerobyte.json
|
263
|
+
- ext/libyajl2/vendored/test/cases/zerobyte.json.gold
|
264
|
+
- ext/libyajl2/vendored/test/run_tests.sh
|
265
|
+
- ext/libyajl2/vendored/test/yajl_test.c
|
266
|
+
- ext/libyajl2/vendored/verify/CMakeLists.txt
|
267
|
+
- ext/libyajl2/vendored/verify/json_verify.c
|
107
268
|
- lib/ffi_yajl.rb
|
108
269
|
- lib/ffi_yajl/benchmark.rb
|
109
270
|
- lib/ffi_yajl/benchmark/MIT-LICENSE
|
@@ -134,9 +295,9 @@ files:
|
|
134
295
|
- lib/ffi_yajl/json_gem.rb
|
135
296
|
- lib/ffi_yajl/parser.rb
|
136
297
|
- lib/ffi_yajl/version.rb
|
137
|
-
- lib/libyajl.
|
138
|
-
- lib/libyajl.2
|
139
|
-
- lib/libyajl.
|
298
|
+
- lib/libyajl.so
|
299
|
+
- lib/libyajl.so.2
|
300
|
+
- lib/libyajl.so.2.0.5
|
140
301
|
- lib/libyajl_s.a
|
141
302
|
- spec/ffi_yajl/encoder_spec.rb
|
142
303
|
- spec/ffi_yajl/json_gem_spec.rb
|
@@ -162,7 +323,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
323
|
version: '0'
|
163
324
|
requirements: []
|
164
325
|
rubyforge_project:
|
165
|
-
rubygems_version: 2.2.
|
326
|
+
rubygems_version: 2.2.1
|
166
327
|
signing_key:
|
167
328
|
specification_version: 4
|
168
329
|
summary: Ruby FFI wrapper around YAJL 2.x
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/ext/libyajl2/mkmf.log
DELETED
@@ -1,63 +0,0 @@
|
|
1
|
-
have_library: checking for yajl_complete_parse() in -lyajl... -------------------- no
|
2
|
-
|
3
|
-
"/usr/bin/clang -o conftest -I/Users/lamont/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0/x86_64-darwin12.4.0 -I/Users/lamont/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0/ruby/backward -I/Users/lamont/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/include -O3 -march=nocona -O2 -pipe -fno-common -Wall conftest.c -L. -L/Users/lamont/.rvm/rubies/ruby-2.0.0-p247/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib -L. -fstack-protector -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib -lruby.2.0.0 -lpthread -ldl -lobjc "
|
4
|
-
checked program was:
|
5
|
-
/* begin */
|
6
|
-
1: #include "ruby.h"
|
7
|
-
2:
|
8
|
-
3: int main(int argc, char **argv)
|
9
|
-
4: {
|
10
|
-
5: return 0;
|
11
|
-
6: }
|
12
|
-
/* end */
|
13
|
-
|
14
|
-
"/usr/bin/clang -o conftest -I/Users/lamont/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0/x86_64-darwin12.4.0 -I/Users/lamont/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0/ruby/backward -I/Users/lamont/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/include -O3 -march=nocona -O2 -pipe -fno-common -Wall conftest.c -L. -L/Users/lamont/.rvm/rubies/ruby-2.0.0-p247/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib -L. -fstack-protector -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib -lruby.2.0.0 -lyajl -lpthread -ldl -lobjc "
|
15
|
-
conftest.c:3:10: fatal error: 'yajl/yajl_parse.h' file not found
|
16
|
-
#include <yajl/yajl_parse.h>
|
17
|
-
^
|
18
|
-
1 error generated.
|
19
|
-
checked program was:
|
20
|
-
/* begin */
|
21
|
-
1: #include "ruby.h"
|
22
|
-
2:
|
23
|
-
3: #include <yajl/yajl_parse.h>
|
24
|
-
4:
|
25
|
-
5: /*top*/
|
26
|
-
6: extern int t(void);
|
27
|
-
7: int t(void) { void ((*volatile p)()); p = (void ((*)()))yajl_complete_parse; return 0; }
|
28
|
-
8: int main(int argc, char **argv)
|
29
|
-
9: {
|
30
|
-
10: if (argc > 1000000) {
|
31
|
-
11: printf("%p", &t);
|
32
|
-
12: }
|
33
|
-
13:
|
34
|
-
14: return 0;
|
35
|
-
15: }
|
36
|
-
/* end */
|
37
|
-
|
38
|
-
"/usr/bin/clang -o conftest -I/Users/lamont/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0/x86_64-darwin12.4.0 -I/Users/lamont/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0/ruby/backward -I/Users/lamont/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/include -O3 -march=nocona -O2 -pipe -fno-common -Wall conftest.c -L. -L/Users/lamont/.rvm/rubies/ruby-2.0.0-p247/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib -L. -fstack-protector -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib -lruby.2.0.0 -lyajl -lpthread -ldl -lobjc "
|
39
|
-
conftest.c:3:10: fatal error: 'yajl/yajl_parse.h' file not found
|
40
|
-
#include <yajl/yajl_parse.h>
|
41
|
-
^
|
42
|
-
1 error generated.
|
43
|
-
checked program was:
|
44
|
-
/* begin */
|
45
|
-
1: #include "ruby.h"
|
46
|
-
2:
|
47
|
-
3: #include <yajl/yajl_parse.h>
|
48
|
-
4:
|
49
|
-
5: /*top*/
|
50
|
-
6: extern int t(void);
|
51
|
-
7: int t(void) { yajl_complete_parse(); return 0; }
|
52
|
-
8: int main(int argc, char **argv)
|
53
|
-
9: {
|
54
|
-
10: if (argc > 1000000) {
|
55
|
-
11: printf("%p", &t);
|
56
|
-
12: }
|
57
|
-
13:
|
58
|
-
14: return 0;
|
59
|
-
15: }
|
60
|
-
/* end */
|
61
|
-
|
62
|
-
--------------------
|
63
|
-
|
data/lib/libyajl.2.0.1.dylib
DELETED
Binary file
|
data/lib/libyajl.2.dylib
DELETED
Binary file
|
data/lib/libyajl.dylib
DELETED
Binary file
|