avro-salsify-fork 1.9.0.1 → 1.9.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZmE2MTc2YmEzZjFiZGM4Y2MwOWY0MmM0NDRmZWNiY2Y5YzA0NDg5Ng==
5
- data.tar.gz: !binary |-
6
- M2ZjZWRlNWQ2NDVkODljZjk4MGQ3YmY4Y2VhMDQ4NzMyMzhmNGFhZA==
2
+ SHA1:
3
+ metadata.gz: 525f50ff0c98925e120b4ab2517c0e1769f88a8c
4
+ data.tar.gz: d3332be0b5b397baaa6fa83c9b0d979470d849e7
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- NjA2N2JmM2MzYWM1MWQzOGNmNzg0NDM3Nzk3NDQ4NDRiYzY5N2I1YjZhNmZm
10
- ZGQyYzJjZjAxNjBhNjFhZGQ0YTk2NTNhNmMzY2NlMmU0MTMwOGUyMTQ2ZDU2
11
- Y2U1NDI5OGMxZmM2OGUyOTliMmY5ZTQ2MjI2OTdmYWNhZTlmM2M=
12
- data.tar.gz: !binary |-
13
- NDFhOTMyOTY1OTcxZGE0YzgzOGE4ZmU1Njk0ZTUwZjY0ODk4ZmZlYjUyYzg4
14
- N2RmNDBmNjMwMTM4ODMzMTRiMTQyOTc4OTU5NmZjMjg2YjkzMGNjNTQxNjFj
15
- Mjc3YzViMzY3NzM2MzVmMWRlNTRlNTA0Nzc5ZWIzZDYwZTkwYmQ=
6
+ metadata.gz: 4c44254ba038292e519c4129802061eac7b1ba7282503972420e3869adf39b43dcef3d65ebc19b9696528e9720ed53dc0834071e57406868628fab160b6eedc1
7
+ data.tar.gz: 102a76c34941d746945ec12c12646e0500f0a6f8a7d50fdc9014fcac1316c202721f5ff19532e9a99519edb0045552d176d288f09d55c6cc4fa613458b8a819a
data/Rakefile CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  require 'rubygems'
18
18
  require 'echoe'
19
- VERSION = '1.9.0.1'
19
+ VERSION = '1.9.0.2'
20
20
  Echoe.new('avro-salsify-fork', VERSION) do |p|
21
21
  p.author = "Apache Software Foundation / Salsify Engineering"
22
22
  p.email = "engineering@salsify.com"
@@ -1,35 +1,35 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: avro-salsify-fork 1.9.0.1 ruby lib
2
+ # stub: avro-salsify-fork 1.9.0.2 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
- s.name = "avro-salsify-fork"
6
- s.version = "1.9.0.1"
5
+ s.name = "avro-salsify-fork".freeze
6
+ s.version = "1.9.0.2"
7
7
 
8
- s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
9
- s.require_paths = ["lib"]
10
- s.authors = ["Apache Software Foundation / Salsify Engineering"]
11
- s.date = "2016-08-29"
12
- s.description = "Avro is a data serialization and RPC format.\nThis release contains the changes submitted in https://github.com/apache/avro/pull/116\nto support logical types in the Ruby gem."
13
- s.email = "engineering@salsify.com"
14
- s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "lib/avro.rb", "lib/avro/data_file.rb", "lib/avro/io.rb", "lib/avro/ipc.rb", "lib/avro/logical_types.rb", "lib/avro/protocol.rb", "lib/avro/schema.rb", "lib/avro/schema_normalization.rb"]
15
- s.files = ["CHANGELOG", "LICENSE", "Manifest", "NOTICE", "Rakefile", "avro-salsify-fork.gemspec", "avro.gemspec", "interop/test_interop.rb", "lib/avro.rb", "lib/avro/data_file.rb", "lib/avro/io.rb", "lib/avro/ipc.rb", "lib/avro/logical_types.rb", "lib/avro/protocol.rb", "lib/avro/schema.rb", "lib/avro/schema_normalization.rb", "test/case_finder.rb", "test/random_data.rb", "test/sample_ipc_client.rb", "test/sample_ipc_http_client.rb", "test/sample_ipc_http_server.rb", "test/sample_ipc_server.rb", "test/test_datafile.rb", "test/test_fingerprints.rb", "test/test_help.rb", "test/test_io.rb", "test/test_logical_types.rb", "test/test_protocol.rb", "test/test_schema.rb", "test/test_schema_normalization.rb", "test/test_socket_transport.rb", "test/tool.rb"]
16
- s.homepage = "https://github.com/salsify/avro"
17
- s.licenses = ["Apache License 2.0 (Apache-2.0)"]
18
- s.rdoc_options = ["--line-numbers", "--title", "Avro-salsify-fork"]
19
- s.rubyforge_project = "avro-salsify-fork"
20
- s.rubygems_version = "2.4.8"
21
- s.summary = "Apache Avro for Ruby with logical types patch"
22
- s.test_files = ["test/test_datafile.rb", "test/test_fingerprints.rb", "test/test_help.rb", "test/test_io.rb", "test/test_logical_types.rb", "test/test_protocol.rb", "test/test_schema.rb", "test/test_schema_normalization.rb", "test/test_socket_transport.rb"]
8
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2".freeze) if s.respond_to? :required_rubygems_version=
9
+ s.require_paths = ["lib".freeze]
10
+ s.authors = ["Apache Software Foundation / Salsify Engineering".freeze]
11
+ s.date = "2016-09-06"
12
+ s.description = "Avro is a data serialization and RPC format.\nThis release contains the changes submitted in https://github.com/apache/avro/pull/116\nto support logical types in the Ruby gem.".freeze
13
+ s.email = "engineering@salsify.com".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_normalization.rb".freeze]
15
+ s.files = ["CHANGELOG".freeze, "LICENSE".freeze, "Manifest".freeze, "NOTICE".freeze, "Rakefile".freeze, "avro-salsify-fork.gemspec".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_normalization.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_normalization.rb".freeze, "test/test_socket_transport.rb".freeze, "test/tool.rb".freeze]
16
+ s.homepage = "https://github.com/salsify/avro".freeze
17
+ s.licenses = ["Apache License 2.0 (Apache-2.0)".freeze]
18
+ s.rdoc_options = ["--line-numbers".freeze, "--title".freeze, "Avro-salsify-fork".freeze]
19
+ s.rubyforge_project = "avro-salsify-fork".freeze
20
+ s.rubygems_version = "2.6.6".freeze
21
+ s.summary = "Apache Avro for Ruby with logical types patch".freeze
22
+ s.test_files = ["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_normalization.rb".freeze, "test/test_socket_transport.rb".freeze]
23
23
 
24
24
  if s.respond_to? :specification_version then
25
25
  s.specification_version = 4
26
26
 
27
27
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
28
- s.add_runtime_dependency(%q<multi_json>, [">= 0"])
28
+ s.add_runtime_dependency(%q<multi_json>.freeze, [">= 0"])
29
29
  else
30
- s.add_dependency(%q<multi_json>, [">= 0"])
30
+ s.add_dependency(%q<multi_json>.freeze, [">= 0"])
31
31
  end
32
32
  else
33
- s.add_dependency(%q<multi_json>, [">= 0"])
33
+ s.add_dependency(%q<multi_json>.freeze, [">= 0"])
34
34
  end
35
35
  end
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: avro 1.9.0.salsify2 ruby lib
2
+ # stub: avro 1.9.0.pre1 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "avro".freeze
6
- s.version = "1.9.0.salsify2"
6
+ s.version = "1.9.0.pre1"
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 = "2016-08-24"
11
+ s.date = "2016-09-06"
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_normalization.rb".freeze]
@@ -98,7 +98,7 @@ module Avro
98
98
  datum = if encoded
99
99
  logical_datum
100
100
  else
101
- expected_schema.type_adapter.encode(logical_datum)
101
+ expected_schema.type_adapter.encode(logical_datum) rescue nil
102
102
  end
103
103
 
104
104
  case expected_schema.type_sym
@@ -126,6 +126,7 @@ EOS
126
126
  def test_union
127
127
  union_schema = <<EOS
128
128
  ["string",
129
+ {"type": "int", "logicalType": "date"},
129
130
  "null",
130
131
  "long",
131
132
  {"type": "record",
metadata CHANGED
@@ -1,34 +1,33 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avro-salsify-fork
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0.1
4
+ version: 1.9.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apache Software Foundation / Salsify Engineering
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-29 00:00:00.000000000 Z
11
+ date: 2016-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
- description: ! 'Avro is a data serialization and RPC format.
28
-
27
+ description: |-
28
+ Avro is a data serialization and RPC format.
29
29
  This release contains the changes submitted in https://github.com/apache/avro/pull/116
30
-
31
- to support logical types in the Ruby gem.'
30
+ to support logical types in the Ruby gem.
32
31
  email: engineering@salsify.com
33
32
  executables: []
34
33
  extensions: []
@@ -82,24 +81,24 @@ licenses:
82
81
  metadata: {}
83
82
  post_install_message:
84
83
  rdoc_options:
85
- - --line-numbers
86
- - --title
84
+ - "--line-numbers"
85
+ - "--title"
87
86
  - Avro-salsify-fork
88
87
  require_paths:
89
88
  - lib
90
89
  required_ruby_version: !ruby/object:Gem::Requirement
91
90
  requirements:
92
- - - ! '>='
91
+ - - ">="
93
92
  - !ruby/object:Gem::Version
94
93
  version: '0'
95
94
  required_rubygems_version: !ruby/object:Gem::Requirement
96
95
  requirements:
97
- - - ! '>='
96
+ - - ">="
98
97
  - !ruby/object:Gem::Version
99
98
  version: '1.2'
100
99
  requirements: []
101
100
  rubyforge_project: avro-salsify-fork
102
- rubygems_version: 2.4.8
101
+ rubygems_version: 2.6.6
103
102
  signing_key:
104
103
  specification_version: 4
105
104
  summary: Apache Avro for Ruby with logical types patch