avro-resolution_canonical_form 0.4.0 → 0.6.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: 53825f132917454e820d4110d0d4d27432838342e4a474037b1b754cb7a52bb6
4
+ data.tar.gz: 7350bd692e7e4bf457b680d889d83ccf9af64fc2a81022d75ffd071838c422ae
5
5
  SHA512:
6
- metadata.gz: 510197a7bf31b4841e18664d02aaf29b96a215a3d914ac1615f21e7680bfb4b9edeab7218983fc340efaae0649dbd01d7be83d7329557602b9ffccb11dc046fc
7
- data.tar.gz: c910f5a1de6cfed67a46f52ce5a746fcf7403a458ae29aa41d13170592afd29f02a1be72deedd11833fb26adc07790c038040200b5c87e3bf3e885cead5c3b84
6
+ metadata.gz: 3f161a235a537eabc52a2f669f08e540f549cd6c15b13548ed4cfeb71e88f37a524374cbc9a6a3032356c65beb02b57289b900fe690b725c5d6a046921686e7b
7
+ data.tar.gz: 72189a46bad33eeed7427395d3172e77c45f5bc09b6b30e255745567c9b271fcd772c73a54c1e6cd74801060becab2caf523f23acaea8452000a5c8486d43116
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.7.7
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.7.7-{{ checksum "avro-resolution_canonical_form.gemspec" }}-{{ checksum "Gemfile" }}
12
+ - v2-gems-ruby-2.7.7-
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.7.7-{{ checksum "avro-resolution_canonical_form.gemspec" }}-{{ checksum "Gemfile" }}
22
22
  paths:
23
23
  - "vendor/bundle"
24
24
  - "gemfiles/vendor/bundle"
@@ -66,6 +66,7 @@ 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.7.7"
70
+ - "3.0.5"
71
+ - "3.1.3"
72
+ - "3.2.0"
@@ -0,0 +1 @@
1
+ * @jturkel @tjwp @salsify/infrastructure-services
data/.rubocop.yml CHANGED
@@ -2,7 +2,7 @@ inherit_gem:
2
2
  salsify_rubocop: conf/rubocop.yml
3
3
 
4
4
  AllCops:
5
- TargetRubyVersion: 2.6
5
+ TargetRubyVersion: 2.7
6
6
 
7
7
  Naming/FileName:
8
8
  Exclude:
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # avro-resolution_canonical_form
2
2
 
3
- ## v0.4.0 (Unreleased)
3
+ ## v0.6.0
4
+ - Add support for Ruby 3.2.
5
+ - Drop support for Ruby 2.6.
6
+
7
+ ## v0.5.0
8
+ - Require Avro v1.11.
9
+
10
+ ## v0.4.0
4
11
  - Drop dependency on `avro-patches`.
5
12
  - Add support for Ruby 3.0.
6
13
  - Drop support for Ruby < 2.6.
@@ -19,6 +19,7 @@ Gem::Specification.new do |spec|
19
19
  # Set 'allowed_push_post' to control where this gem can be published.
20
20
  if spec.respond_to?(:metadata)
21
21
  spec.metadata['allowed_push_host'] = 'https://rubygems.org'
22
+ spec.metadata['rubygems_mfa_required'] = 'true'
22
23
  else
23
24
  raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
24
25
  end
@@ -28,7 +29,7 @@ Gem::Specification.new do |spec|
28
29
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
29
30
  spec.require_paths = ['lib']
30
31
 
31
- spec.required_ruby_version = '>= 2.6'
32
+ spec.required_ruby_version = '>= 2.7'
32
33
 
33
34
  spec.add_development_dependency 'bundler', '~> 2.0'
34
35
  spec.add_development_dependency 'overcommit'
@@ -38,18 +39,16 @@ Gem::Specification.new do |spec|
38
39
  spec.add_development_dependency 'salsify_rubocop', '~> 1.0.1'
39
40
  spec.add_development_dependency 'simplecov'
40
41
 
41
- spec.add_runtime_dependency 'avro', '~> 1.10.0'
42
+ spec.add_runtime_dependency 'avro', '~> 1.11.0'
42
43
 
43
44
  spec.post_install_message = %(
44
- avro-resolution_canonical_form now requires Avro v1.10.
45
+ avro-resolution_canonical_form now requires Avro v1.11.
45
46
 
46
- New features in Avro Ruby v1.10 are now included in the canonical form:
47
- - aliases
48
- - enum defaults
49
- - decimal logical types
47
+ Avro Ruby v1.11 adds support for decimal logical type attributes on fixed types and these attributes are
48
+ included in the resolution canonical form.
50
49
 
51
- Schemas that use any of these features will get a different fingerprint with
50
+ Schemas that use these attributes will get a different fingerprint with
52
51
  this version. For projects that only use Ruby, use of these features is unlikely
53
- as they were previously unsupported.
52
+ as they were previously unsupported, and encoding/decoding fixed decimals is not yet supported.
54
53
  )
55
54
  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.6.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.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Salsify, Inc
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-15 00:00:00.000000000 Z
11
+ date: 2023-01-09 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
@@ -132,6 +132,7 @@ extensions: []
132
132
  extra_rdoc_files: []
133
133
  files:
134
134
  - ".circleci/config.yml"
135
+ - ".github/CODEOWNERS"
135
136
  - ".gitignore"
136
137
  - ".overcommit.yml"
137
138
  - ".rspec"
@@ -153,18 +154,17 @@ licenses:
153
154
  - MIT
154
155
  metadata:
155
156
  allowed_push_host: https://rubygems.org
157
+ rubygems_mfa_required: 'true'
156
158
  post_install_message: |2
157
159
 
158
- avro-resolution_canonical_form now requires Avro v1.10.
160
+ avro-resolution_canonical_form now requires Avro v1.11.
159
161
 
160
- New features in Avro Ruby v1.10 are now included in the canonical form:
161
- - aliases
162
- - enum defaults
163
- - decimal logical types
162
+ Avro Ruby v1.11 adds support for decimal logical type attributes on fixed types and these attributes are
163
+ included in the resolution canonical form.
164
164
 
165
- Schemas that use any of these features will get a different fingerprint with
165
+ Schemas that use these attributes will get a different fingerprint with
166
166
  this version. For projects that only use Ruby, use of these features is unlikely
167
- as they were previously unsupported.
167
+ as they were previously unsupported, and encoding/decoding fixed decimals is not yet supported.
168
168
  rdoc_options: []
169
169
  require_paths:
170
170
  - lib
@@ -172,15 +172,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
172
172
  requirements:
173
173
  - - ">="
174
174
  - !ruby/object:Gem::Version
175
- version: '2.6'
175
+ version: '2.7'
176
176
  required_rubygems_version: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - ">="
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  requirements: []
182
- rubygems_version: 3.2.3
183
- signing_key:
182
+ rubygems_version: 3.3.7
183
+ signing_key:
184
184
  specification_version: 4
185
185
  summary: Unique identification of Avro schemas for schema resolution
186
186
  test_files: []