avro 1.8.2 → 1.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +2 -2
- data/Manifest +6 -0
- data/NOTICE +1 -1
- data/Rakefile +2 -2
- data/avro.gemspec +21 -21
- data/interop/test_interop.rb +10 -2
- data/lib/avro.rb +12 -1
- data/lib/avro/data_file.rb +2 -2
- data/lib/avro/io.rb +45 -65
- data/lib/avro/ipc.rb +9 -9
- data/lib/avro/logical_types.rb +90 -0
- data/lib/avro/protocol.rb +12 -8
- data/lib/avro/schema.rb +90 -64
- data/lib/avro/schema_compatibility.rb +170 -0
- data/lib/avro/schema_normalization.rb +1 -1
- data/lib/avro/schema_validator.rb +242 -0
- data/test/case_finder.rb +1 -1
- data/test/random_data.rb +22 -3
- data/test/sample_ipc_client.rb +1 -1
- data/test/sample_ipc_http_client.rb +1 -1
- data/test/sample_ipc_http_server.rb +1 -1
- data/test/sample_ipc_server.rb +1 -1
- data/test/test_datafile.rb +4 -4
- data/test/test_fingerprints.rb +1 -1
- data/test/test_help.rb +1 -1
- data/test/test_io.rb +74 -7
- data/test/test_logical_types.rb +128 -0
- data/test/test_protocol.rb +37 -4
- data/test/test_schema.rb +324 -28
- data/test/test_schema_compatibility.rb +475 -0
- data/test/test_schema_normalization.rb +1 -1
- data/test/test_schema_validator.rb +554 -0
- data/test/test_socket_transport.rb +1 -1
- data/test/tool.rb +1 -2
- metadata +21 -9
@@ -6,7 +6,7 @@
|
|
6
6
|
# "License"); you may not use this file except in compliance
|
7
7
|
# with the License. You may obtain a copy of the License at
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
10
|
#
|
11
11
|
# Unless required by applicable law or agreed to in writing, software
|
12
12
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
data/test/tool.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
# "License"); you may not use this file except in compliance
|
7
7
|
# with the License. You may obtain a copy of the License at
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
10
|
#
|
11
11
|
# Unless required by applicable law or agreed to in writing, software
|
12
12
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -42,7 +42,6 @@ class GenericHandler < WEBrick::HTTPServlet::AbstractServlet
|
|
42
42
|
writer = Avro::IPC::FramedWriter.new(StringIO.new)
|
43
43
|
writer.write_framed_message(unframed_resp)
|
44
44
|
resp.body = writer.to_s
|
45
|
-
@server.stop
|
46
45
|
end
|
47
46
|
end
|
48
47
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Apache Software Foundation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
@@ -35,9 +35,12 @@ extra_rdoc_files:
|
|
35
35
|
- lib/avro/data_file.rb
|
36
36
|
- lib/avro/io.rb
|
37
37
|
- lib/avro/ipc.rb
|
38
|
+
- lib/avro/logical_types.rb
|
38
39
|
- lib/avro/protocol.rb
|
39
40
|
- lib/avro/schema.rb
|
41
|
+
- lib/avro/schema_compatibility.rb
|
40
42
|
- lib/avro/schema_normalization.rb
|
43
|
+
- lib/avro/schema_validator.rb
|
41
44
|
files:
|
42
45
|
- CHANGELOG
|
43
46
|
- LICENSE
|
@@ -50,9 +53,12 @@ files:
|
|
50
53
|
- lib/avro/data_file.rb
|
51
54
|
- lib/avro/io.rb
|
52
55
|
- lib/avro/ipc.rb
|
56
|
+
- lib/avro/logical_types.rb
|
53
57
|
- lib/avro/protocol.rb
|
54
58
|
- lib/avro/schema.rb
|
59
|
+
- lib/avro/schema_compatibility.rb
|
55
60
|
- lib/avro/schema_normalization.rb
|
61
|
+
- lib/avro/schema_validator.rb
|
56
62
|
- test/case_finder.rb
|
57
63
|
- test/random_data.rb
|
58
64
|
- test/sample_ipc_client.rb
|
@@ -63,12 +69,15 @@ files:
|
|
63
69
|
- test/test_fingerprints.rb
|
64
70
|
- test/test_help.rb
|
65
71
|
- test/test_io.rb
|
72
|
+
- test/test_logical_types.rb
|
66
73
|
- test/test_protocol.rb
|
67
74
|
- test/test_schema.rb
|
75
|
+
- test/test_schema_compatibility.rb
|
68
76
|
- test/test_schema_normalization.rb
|
77
|
+
- test/test_schema_validator.rb
|
69
78
|
- test/test_socket_transport.rb
|
70
79
|
- test/tool.rb
|
71
|
-
homepage:
|
80
|
+
homepage: https://avro.apache.org/
|
72
81
|
licenses:
|
73
82
|
- Apache License 2.0 (Apache-2.0)
|
74
83
|
metadata: {}
|
@@ -91,16 +100,19 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
100
|
version: '1.2'
|
92
101
|
requirements: []
|
93
102
|
rubyforge_project: avro
|
94
|
-
rubygems_version: 2.2.
|
103
|
+
rubygems_version: 2.5.2.1
|
95
104
|
signing_key:
|
96
105
|
specification_version: 4
|
97
106
|
summary: Apache Avro for Ruby
|
98
107
|
test_files:
|
99
|
-
- test/
|
100
|
-
- test/
|
101
|
-
- test/test_help.rb
|
108
|
+
- test/test_schema.rb
|
109
|
+
- test/test_socket_transport.rb
|
102
110
|
- test/test_io.rb
|
111
|
+
- test/test_logical_types.rb
|
112
|
+
- test/test_help.rb
|
113
|
+
- test/test_datafile.rb
|
103
114
|
- test/test_protocol.rb
|
104
|
-
- test/
|
115
|
+
- test/test_schema_validator.rb
|
116
|
+
- test/test_schema_compatibility.rb
|
105
117
|
- test/test_schema_normalization.rb
|
106
|
-
- test/
|
118
|
+
- test/test_fingerprints.rb
|