avro 1.10.0 → 1.10.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eab84afb7b30d99dee71a7e360dba2a36957500b
4
- data.tar.gz: 8211aea9ad1e00a4f94bb3edc2aeaf9ab06edffa
3
+ metadata.gz: 25662687b72649ae6bbc6a18a975ada73965b60d
4
+ data.tar.gz: 8ffb726920396bc1644c499440a1f7b844deb404
5
5
  SHA512:
6
- metadata.gz: c51889575e3cd689f7288bdd7a0d8250a8147a8eaf568805f726991f9f115c28f8ca9fa396262c687021859cbd9a26c5f196b7f73a174a2da9dd7f22764fe8d8
7
- data.tar.gz: 0d936920e8b8ea8edd70583164bd519ac46108de4ab9f7d359d6edb7e8d1941eb3bad06ed8462cdc6bac2d3152c16faba49833d115cc6240e26d3cf51f746c08
6
+ metadata.gz: 0542c4933a9cd95411c76b26cb88e456c1cd733749eccff6125058ecbf64fd184f64f7547f0b24376b80ba3b8349937926dfbd85a159d7b51e587ec439e59ef8
7
+ data.tar.gz: 76e8c8d2f1f30199a343fccfda5a4f6b972c6b33cef99b324a61a97554baebae59b62b8eec14682e6f10015d48c4740fb00f3c58fefdff39a313bdbbebbc9066
data/Manifest CHANGED
@@ -6,6 +6,7 @@ Rakefile
6
6
  avro.gemspec
7
7
  interop/test_interop.rb
8
8
  lib/avro.rb
9
+ lib/avro/VERSION.txt
9
10
  lib/avro/data_file.rb
10
11
  lib/avro/io.rb
11
12
  lib/avro/ipc.rb
data/Rakefile CHANGED
@@ -17,6 +17,7 @@
17
17
  require 'rubygems'
18
18
  require 'echoe'
19
19
  VERSION = File.open('../../share/VERSION.txt').read.sub('-SNAPSHOT', '.pre1').chomp
20
+ File.write("lib/avro/VERSION.txt", VERSION)
20
21
  Echoe.new('avro', VERSION) do |p|
21
22
  p.author = "Apache Software Foundation"
22
23
  p.email = "dev@avro.apache.org"
@@ -1,25 +1,25 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: avro 1.10.0 ruby lib
2
+ # stub: avro 1.10.1 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "avro".freeze
6
- s.version = "1.10.0"
6
+ s.version = "1.10.1"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2".freeze) if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib".freeze]
10
10
  s.authors = ["Apache Software Foundation".freeze]
11
- s.date = "2020-06-22"
11
+ s.date = "2020-11-18"
12
12
  s.description = "Avro is a data serialization and RPC format".freeze
13
13
  s.email = "dev@avro.apache.org".freeze
14
- s.extra_rdoc_files = ["CHANGELOG".freeze, "LICENSE".freeze, "lib/avro.rb".freeze, "lib/avro/data_file.rb".freeze, "lib/avro/io.rb".freeze, "lib/avro/ipc.rb".freeze, "lib/avro/logical_types.rb".freeze, "lib/avro/protocol.rb".freeze, "lib/avro/schema.rb".freeze, "lib/avro/schema_compatibility.rb".freeze, "lib/avro/schema_normalization.rb".freeze, "lib/avro/schema_validator.rb".freeze]
15
- s.files = ["CHANGELOG".freeze, "LICENSE".freeze, "Manifest".freeze, "NOTICE".freeze, "Rakefile".freeze, "avro.gemspec".freeze, "interop/test_interop.rb".freeze, "lib/avro.rb".freeze, "lib/avro/data_file.rb".freeze, "lib/avro/io.rb".freeze, "lib/avro/ipc.rb".freeze, "lib/avro/logical_types.rb".freeze, "lib/avro/protocol.rb".freeze, "lib/avro/schema.rb".freeze, "lib/avro/schema_compatibility.rb".freeze, "lib/avro/schema_normalization.rb".freeze, "lib/avro/schema_validator.rb".freeze, "test/case_finder.rb".freeze, "test/random_data.rb".freeze, "test/sample_ipc_client.rb".freeze, "test/sample_ipc_http_client.rb".freeze, "test/sample_ipc_http_server.rb".freeze, "test/sample_ipc_server.rb".freeze, "test/test_datafile.rb".freeze, "test/test_fingerprints.rb".freeze, "test/test_help.rb".freeze, "test/test_io.rb".freeze, "test/test_logical_types.rb".freeze, "test/test_protocol.rb".freeze, "test/test_schema.rb".freeze, "test/test_schema_compatibility.rb".freeze, "test/test_schema_normalization.rb".freeze, "test/test_schema_validator.rb".freeze, "test/test_socket_transport.rb".freeze, "test/tool.rb".freeze]
14
+ s.extra_rdoc_files = ["CHANGELOG".freeze, "LICENSE".freeze, "lib/avro.rb".freeze, "lib/avro/VERSION.txt".freeze, "lib/avro/data_file.rb".freeze, "lib/avro/io.rb".freeze, "lib/avro/ipc.rb".freeze, "lib/avro/logical_types.rb".freeze, "lib/avro/protocol.rb".freeze, "lib/avro/schema.rb".freeze, "lib/avro/schema_compatibility.rb".freeze, "lib/avro/schema_normalization.rb".freeze, "lib/avro/schema_validator.rb".freeze]
15
+ s.files = ["CHANGELOG".freeze, "LICENSE".freeze, "Manifest".freeze, "NOTICE".freeze, "Rakefile".freeze, "avro.gemspec".freeze, "interop/test_interop.rb".freeze, "lib/avro.rb".freeze, "lib/avro/VERSION.txt".freeze, "lib/avro/data_file.rb".freeze, "lib/avro/io.rb".freeze, "lib/avro/ipc.rb".freeze, "lib/avro/logical_types.rb".freeze, "lib/avro/protocol.rb".freeze, "lib/avro/schema.rb".freeze, "lib/avro/schema_compatibility.rb".freeze, "lib/avro/schema_normalization.rb".freeze, "lib/avro/schema_validator.rb".freeze, "test/case_finder.rb".freeze, "test/random_data.rb".freeze, "test/sample_ipc_client.rb".freeze, "test/sample_ipc_http_client.rb".freeze, "test/sample_ipc_http_server.rb".freeze, "test/sample_ipc_server.rb".freeze, "test/test_datafile.rb".freeze, "test/test_fingerprints.rb".freeze, "test/test_help.rb".freeze, "test/test_io.rb".freeze, "test/test_logical_types.rb".freeze, "test/test_protocol.rb".freeze, "test/test_schema.rb".freeze, "test/test_schema_compatibility.rb".freeze, "test/test_schema_normalization.rb".freeze, "test/test_schema_validator.rb".freeze, "test/test_socket_transport.rb".freeze, "test/tool.rb".freeze]
16
16
  s.homepage = "https://avro.apache.org/".freeze
17
17
  s.licenses = ["Apache-2.0".freeze]
18
18
  s.rdoc_options = ["--line-numbers".freeze, "--title".freeze, "Avro".freeze]
19
19
  s.rubyforge_project = "avro".freeze
20
20
  s.rubygems_version = "2.5.2.1".freeze
21
21
  s.summary = "Apache Avro for Ruby".freeze
22
- s.test_files = ["test/test_help.rb".freeze, "test/test_io.rb".freeze, "test/test_socket_transport.rb".freeze, "test/test_fingerprints.rb".freeze, "test/test_schema.rb".freeze, "test/test_schema_compatibility.rb".freeze, "test/test_schema_validator.rb".freeze, "test/test_schema_normalization.rb".freeze, "test/test_protocol.rb".freeze, "test/test_datafile.rb".freeze, "test/test_logical_types.rb".freeze]
22
+ s.test_files = ["test/test_schema.rb".freeze, "test/test_socket_transport.rb".freeze, "test/test_io.rb".freeze, "test/test_logical_types.rb".freeze, "test/test_help.rb".freeze, "test/test_datafile.rb".freeze, "test/test_protocol.rb".freeze, "test/test_schema_validator.rb".freeze, "test/test_schema_compatibility.rb".freeze, "test/test_schema_normalization.rb".freeze, "test/test_fingerprints.rb".freeze]
23
23
 
24
24
  if s.respond_to? :specification_version then
25
25
  s.specification_version = 4
@@ -22,7 +22,7 @@ require 'stringio'
22
22
  require 'zlib'
23
23
 
24
24
  module Avro
25
- VERSION = "FIXME"
25
+ VERSION = File.read("#{__dir__}/avro/VERSION.txt").freeze
26
26
 
27
27
  class AvroError < StandardError; end
28
28
 
@@ -0,0 +1 @@
1
+ 1.10.1
@@ -181,7 +181,7 @@ module Avro
181
181
  working = crc_64_avro_fingerprint
182
182
  bytes = Array.new(8)
183
183
  8.times do |i|
184
- bytes[7 - i] = (working & 0xff)
184
+ bytes[i] = (working & 0xff)
185
185
  working = working >> 8
186
186
  end
187
187
  bytes
@@ -50,7 +50,7 @@ class TestFingerprints < Test::Unit::TestCase
50
50
  { "type": "int" }
51
51
  SCHEMA
52
52
 
53
- assert_equal ["c3", "01", "72", "75", "d5", "1a", "3f", "39", "5c", "8f"].map{|e| e.to_i(16) },
53
+ assert_equal ["c3", "01", "8f", "5c", "39", "3f", "1a", "D5", "75", "72"].map{|e| e.to_i(16) },
54
54
  schema.single_object_encoding_header
55
55
  end
56
56
  end
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.10.0
4
+ version: 1.10.1
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: 2020-06-22 00:00:00.000000000 Z
11
+ date: 2020-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -32,6 +32,7 @@ extra_rdoc_files:
32
32
  - CHANGELOG
33
33
  - LICENSE
34
34
  - lib/avro.rb
35
+ - lib/avro/VERSION.txt
35
36
  - lib/avro/data_file.rb
36
37
  - lib/avro/io.rb
37
38
  - lib/avro/ipc.rb
@@ -50,6 +51,7 @@ files:
50
51
  - avro.gemspec
51
52
  - interop/test_interop.rb
52
53
  - lib/avro.rb
54
+ - lib/avro/VERSION.txt
53
55
  - lib/avro/data_file.rb
54
56
  - lib/avro/io.rb
55
57
  - lib/avro/ipc.rb
@@ -105,14 +107,14 @@ signing_key:
105
107
  specification_version: 4
106
108
  summary: Apache Avro for Ruby
107
109
  test_files:
108
- - test/test_help.rb
109
- - test/test_io.rb
110
- - test/test_socket_transport.rb
111
- - test/test_fingerprints.rb
112
110
  - test/test_schema.rb
113
- - test/test_schema_compatibility.rb
111
+ - test/test_socket_transport.rb
112
+ - test/test_io.rb
113
+ - test/test_logical_types.rb
114
+ - test/test_help.rb
115
+ - test/test_datafile.rb
116
+ - test/test_protocol.rb
114
117
  - test/test_schema_validator.rb
118
+ - test/test_schema_compatibility.rb
115
119
  - test/test_schema_normalization.rb
116
- - test/test_protocol.rb
117
- - test/test_datafile.rb
118
- - test/test_logical_types.rb
120
+ - test/test_fingerprints.rb