avro 1.9.1 → 1.9.2

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: 96c7660634a5f7e85c04d6895dc94ae20a2ea9c8
4
- data.tar.gz: 4e68260b9070cc565aa152988d9809a3f7671772
3
+ metadata.gz: 5cff0cff918530cc4b15352758c668a08cb78aa0
4
+ data.tar.gz: 2e67c0829395100b1f98b58956057d35968e453b
5
5
  SHA512:
6
- metadata.gz: '064323997a22d0341e21d93bda5855a27d3859e8f247a85032854198e00330a278912f12cf6037fb374e1e322b009bd902fdff112ededb78b994f6978d6db020'
7
- data.tar.gz: ecdec673bb86ca8d8571198eebf0bada327f71134ddc176dbc327bdea27be31b62838f37a5952edaf33398f21591677268f4b15bee28176cac88b839b8df44b6
6
+ metadata.gz: fbb6b03c4b320ca6be7db6114367e1e93b711d4e9b3c903b54ca56c32197d2d6aae5bc48b5ff0fffc6204139a715e8bb786c14286235dc01456002738c0f49a6
7
+ data.tar.gz: a9cde162a3f19c3c8a873e8ced87970aa4e963d9c0ec5ea8b8cd110c8bef90013e94c31f3274448003bc9c3857b4ff357ddb80af4cc7a168a211a384557195fa
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: avro 1.9.1 ruby lib
2
+ # stub: avro 1.9.2 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "avro".freeze
6
- s.version = "1.9.1"
6
+ s.version = "1.9.2"
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 = "2019-08-28"
11
+ s.date = "2020-02-07"
12
12
  s.description = "Avro is a data serialization and RPC format".freeze
13
13
  s.email = "dev@avro.apache.org".freeze
14
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]
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
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_schema_validator.rb".freeze, "test/test_help.rb".freeze, "test/test_schema_normalization.rb".freeze, "test/test_datafile.rb".freeze, "test/test_schema.rb".freeze, "test/test_io.rb".freeze, "test/test_socket_transport.rb".freeze, "test/test_schema_compatibility.rb".freeze, "test/test_logical_types.rb".freeze, "test/test_fingerprints.rb".freeze, "test/test_protocol.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
@@ -19,11 +19,19 @@ require 'rubygems'
19
19
  require 'test/unit'
20
20
  require 'avro'
21
21
 
22
+ CODECS_TO_VALIDATE = ['deflate'] # The 'null' codec is implicitly included
23
+
22
24
  class TestInterop < Test::Unit::TestCase
23
25
  HERE = File.expand_path(File.dirname(__FILE__))
24
26
  SHARE = HERE + '/../../../share'
25
27
  SCHEMAS = SHARE + '/test/schemas'
26
- Dir[HERE + '/../../../build/interop/data/*'].each do |fn|
28
+
29
+ files = Dir[HERE + '/../../../build/interop/data/*.avro'].select do |fn|
30
+ sep, codec = File.basename(fn, 'avro').rpartition('_')[1, 2]
31
+ sep.empty? || CODECS_TO_VALIDATE.include?(codec)
32
+ end
33
+
34
+ files.each do |fn|
27
35
  define_method("test_read_#{File.basename(fn, 'avro')}") do
28
36
  projection = Avro::Schema.parse(File.read(SCHEMAS+'/interop.avsc'))
29
37
 
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.9.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: 2019-08-28 00:00:00.000000000 Z
11
+ date: 2020-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -105,14 +105,14 @@ signing_key:
105
105
  specification_version: 4
106
106
  summary: Apache Avro for Ruby
107
107
  test_files:
108
- - test/test_schema_validator.rb
109
- - test/test_help.rb
110
- - test/test_schema_normalization.rb
111
- - test/test_datafile.rb
112
108
  - test/test_schema.rb
113
- - test/test_io.rb
114
109
  - test/test_socket_transport.rb
115
- - test/test_schema_compatibility.rb
110
+ - test/test_io.rb
116
111
  - test/test_logical_types.rb
117
- - test/test_fingerprints.rb
112
+ - test/test_help.rb
113
+ - test/test_datafile.rb
118
114
  - test/test_protocol.rb
115
+ - test/test_schema_validator.rb
116
+ - test/test_schema_compatibility.rb
117
+ - test/test_schema_normalization.rb
118
+ - test/test_fingerprints.rb