avro-resolution_canonical_form 0.4.0 → 0.5.0

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
  SHA256:
3
- metadata.gz: 5bc3f7c52afdd1298ab687f9d68d77c0c9aacf080c5087ed0c89a7f9066e55a7
4
- data.tar.gz: a76c46c1a5b50efc70b634063de67f84d6dee38a3b91934a8263365622c5fc58
3
+ metadata.gz: e736c50683d624c7b5485a6f88f5781615aea22d511f9dda2e2303f93f4b3da0
4
+ data.tar.gz: 1ae5676258a29dbaa26161eca21fa7293284f6b882b9d9d0938b578ff7d8254a
5
5
  SHA512:
6
- metadata.gz: 510197a7bf31b4841e18664d02aaf29b96a215a3d914ac1615f21e7680bfb4b9edeab7218983fc340efaae0649dbd01d7be83d7329557602b9ffccb11dc046fc
7
- data.tar.gz: c910f5a1de6cfed67a46f52ce5a746fcf7403a458ae29aa41d13170592afd29f02a1be72deedd11833fb26adc07790c038040200b5c87e3bf3e885cead5c3b84
6
+ metadata.gz: c7b1c18ea72995dea01d6b294056208d927f311203b4c907b93c1f240e253ea99f2f849d6602881b354f863016bc24801ba23542fdb427b007f0d81400fcc49d
7
+ data.tar.gz: bcc4207e111b01fbe560469b41069dc53f98747618ac4eca1572acd732a9268f51ba444788adee001649a8ef3a019108272c2d7f652bc9803a29b28dd4f0f60a
data/.circleci/config.yml CHANGED
@@ -2,14 +2,14 @@ version: 2.1
2
2
  jobs:
3
3
  lint:
4
4
  docker:
5
- - image: salsify/ruby_ci:2.6.6
5
+ - image: salsify/ruby_ci:2.6.8
6
6
  working_directory: ~/avro-resolution_canonical_form
7
7
  steps:
8
8
  - checkout
9
9
  - restore_cache:
10
10
  keys:
11
- - v2-gems-ruby-2.6.6-{{ checksum "avro-resolution_canonical_form.gemspec" }}-{{ checksum "Gemfile" }}
12
- - v2-gems-ruby-2.6.6-
11
+ - v2-gems-ruby-2.6.8-{{ checksum "avro-resolution_canonical_form.gemspec" }}-{{ checksum "Gemfile" }}
12
+ - v2-gems-ruby-2.6.8-
13
13
  - run:
14
14
  name: Install Gems
15
15
  command: |
@@ -18,7 +18,7 @@ jobs:
18
18
  bundle clean
19
19
  fi
20
20
  - save_cache:
21
- key: v2-gems-ruby-2.6.6-{{ checksum "avro-resolution_canonical_form.gemspec" }}-{{ checksum "Gemfile" }}
21
+ key: v2-gems-ruby-2.6.8-{{ checksum "avro-resolution_canonical_form.gemspec" }}-{{ checksum "Gemfile" }}
22
22
  paths:
23
23
  - "vendor/bundle"
24
24
  - "gemfiles/vendor/bundle"
@@ -66,6 +66,6 @@ workflows:
66
66
  matrix:
67
67
  parameters:
68
68
  ruby-version:
69
- - "2.6.6"
70
- - "2.7.2"
71
- - "3.0.0"
69
+ - "2.6.8"
70
+ - "2.7.4"
71
+ - "3.0.2"
data/CHANGELOG.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # avro-resolution_canonical_form
2
2
 
3
- ## v0.4.0 (Unreleased)
3
+ ## v0.5.0
4
+ - Require Avro v1.11.
5
+
6
+ ## v0.4.0
4
7
  - Drop dependency on `avro-patches`.
5
8
  - Add support for Ruby 3.0.
6
9
  - Drop support for Ruby < 2.6.
@@ -38,18 +38,16 @@ Gem::Specification.new do |spec|
38
38
  spec.add_development_dependency 'salsify_rubocop', '~> 1.0.1'
39
39
  spec.add_development_dependency 'simplecov'
40
40
 
41
- spec.add_runtime_dependency 'avro', '~> 1.10.0'
41
+ spec.add_runtime_dependency 'avro', '~> 1.11.0'
42
42
 
43
43
  spec.post_install_message = %(
44
- avro-resolution_canonical_form now requires Avro v1.10.
44
+ avro-resolution_canonical_form now requires Avro v1.11.
45
45
 
46
- New features in Avro Ruby v1.10 are now included in the canonical form:
47
- - aliases
48
- - enum defaults
49
- - decimal logical types
46
+ Avro Ruby v1.11 adds support for decimal logical type attributes on fixed types and these attributes are
47
+ included in the resolution canonical form.
50
48
 
51
- Schemas that use any of these features will get a different fingerprint with
49
+ Schemas that use these attributes will get a different fingerprint with
52
50
  this version. For projects that only use Ruby, use of these features is unlikely
53
- as they were previously unsupported.
51
+ as they were previously unsupported, and encoding/decoding fixed decimals is not yet supported.
54
52
  )
55
53
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AvroResolutionCanonicalForm
4
- VERSION = '0.4.0'
4
+ VERSION = '0.5.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avro-resolution_canonical_form
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Salsify, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-15 00:00:00.000000000 Z
11
+ date: 2021-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 1.10.0
117
+ version: 1.11.0
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 1.10.0
124
+ version: 1.11.0
125
125
  description: Unique identification of Avro schemas for schema resolution
126
126
  email:
127
127
  - engineering@salsify.com
@@ -155,16 +155,14 @@ metadata:
155
155
  allowed_push_host: https://rubygems.org
156
156
  post_install_message: |2
157
157
 
158
- avro-resolution_canonical_form now requires Avro v1.10.
158
+ avro-resolution_canonical_form now requires Avro v1.11.
159
159
 
160
- New features in Avro Ruby v1.10 are now included in the canonical form:
161
- - aliases
162
- - enum defaults
163
- - decimal logical types
160
+ Avro Ruby v1.11 adds support for decimal logical type attributes on fixed types and these attributes are
161
+ included in the resolution canonical form.
164
162
 
165
- Schemas that use any of these features will get a different fingerprint with
163
+ Schemas that use these attributes will get a different fingerprint with
166
164
  this version. For projects that only use Ruby, use of these features is unlikely
167
- as they were previously unsupported.
165
+ as they were previously unsupported, and encoding/decoding fixed decimals is not yet supported.
168
166
  rdoc_options: []
169
167
  require_paths:
170
168
  - lib
@@ -179,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
177
  - !ruby/object:Gem::Version
180
178
  version: '0'
181
179
  requirements: []
182
- rubygems_version: 3.2.3
180
+ rubygems_version: 3.0.3
183
181
  signing_key:
184
182
  specification_version: 4
185
183
  summary: Unique identification of Avro schemas for schema resolution