avrolution 0.7.1 → 0.7.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,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a487413bb55d7c38f33c2b8c2774193b64b600292181224ae19b674d677d5a1
4
- data.tar.gz: 6ef79cdd9d91cd562d0c6bc017a08a9eae1497a0f35f16b2b865c27980939b83
3
+ metadata.gz: 444e46752c437b989bfebbf5370818c0fc770acae6e11b41c17846d89c6cc0f4
4
+ data.tar.gz: 9b3a81634fea7865ab3189b1a0576a072986b37efe76f22ecf19b7df035495e4
5
5
  SHA512:
6
- metadata.gz: f525bf53815eba944c6ab7e907f716a0d15f45e9d277cbbbbb60b431789ba5abe8247eca5bd9f845754afca7bdd33b3cdff185a6599b81110d9bd0fbcffe85cd
7
- data.tar.gz: d049b770986b7288129ca14daa69c42c58eddbd665f592229440ec6dc0df41b744d7c1cbd36c24247ced977c6badc7948808f931880a5e524da731701a782435
6
+ metadata.gz: 7aab59b4a3da8b0a429c1b607c072caa8b20a0c88f27943d604f0b3c2e5dba6ae975344fa553eaf194b5c186b09a5edf718260db3139f20e31e5a6eebd5806cb
7
+ data.tar.gz: 938cb343916b6a6c85edb46f78526bc760c5339d16cbd586f75dfa0730f17da3d49891841a533a06bcc3db38953465e98161847290f99982f37a86efb9959330
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # avrolution
2
2
 
3
+ ## v0.7.2
4
+ - Fix a bug related to Ruby 3.0 keyword arguments in
5
+ AvroSchemaRegistry::Client#register_without_lookup.
6
+
3
7
  ## v0.7.1
4
8
  - Adjust Rake task definitions to work with Ruby 3.0.
5
9
 
@@ -40,11 +40,15 @@ module Avrolution
40
40
  compatibility_break = compatibility_breaks[[fullname, fingerprint]]
41
41
 
42
42
  begin
43
- schema_registry.register_without_lookup(
44
- fullname,
45
- json,
46
- compatibility_break.try(:register_options) || {}
47
- )
43
+ if compatibility_break
44
+ schema_registry.register_without_lookup(
45
+ fullname,
46
+ json,
47
+ **compatibility_break.register_options
48
+ )
49
+ else
50
+ schema_registry.register_without_lookup(fullname, json)
51
+ end
48
52
  rescue Excon::Error::Conflict
49
53
  raise IncompatibleSchemaError.new(fullname)
50
54
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Avrolution
4
- VERSION = '0.7.1'
4
+ VERSION = '0.7.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avrolution
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
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-04-06 00:00:00.000000000 Z
11
+ date: 2021-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler