avrolution 0.4.3 → 0.4.4

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
  SHA1:
3
- metadata.gz: 8e9b32091ae620ee5845b83ae4165df1e518b441
4
- data.tar.gz: 36bfd10a6c3c737d50dae978a79f6c885f172ab8
3
+ metadata.gz: a7e1d6b23c8ab989ecccb29309498ecfcad4aa52
4
+ data.tar.gz: 2dafc67a9c7e8d8569f0704c3ac84d73d98308fc
5
5
  SHA512:
6
- metadata.gz: 0db0ca422c92815b05a9ebc59411ef0ff40e9b2e1c6bd8a6a216b4edf999bed460554e2ee0fbcf4cb30d03db172036d45586d8116af56e170d29cf373e142311
7
- data.tar.gz: cfa8db2a9fad2e322c5dc0f9db3fc8dd0ba843ea26d09cd425f254ee1670c8cfed4154199265743b866382bf4b45612d60b98bc38ad2349f984182a43de81566
6
+ metadata.gz: 91b64b6847ab9a43f15394979e2278d166fad43d4d9bc93138773a7715e49e615a1fdc0c9942e66b4d448df2ccdb5d95a5b7631707df1f83380fa2674ff044c2
7
+ data.tar.gz: 6c97b870b3d5c20a17ef6f9a6671e2c2e00b3f4afa236480fbb13035ed9572f7f1fd93784923fe1d70e3ba28f00e695f944384957ef172799bddac9872488198
@@ -1,5 +1,8 @@
1
1
  # avrolution
2
2
 
3
+ ## v0.4.4
4
+ - Report current compatibility BOTH as FULL since BOTH is deprecated.
5
+
3
6
  ## v0.4.3
4
7
  - Allow deleted schema files during deploy.
5
8
 
@@ -11,6 +11,7 @@ module Avrolution
11
11
 
12
12
  NONE = 'NONE'.freeze
13
13
  FULL = 'FULL'.freeze
14
+ BOTH = 'BOTH'.freeze
14
15
  BACKWARD = 'BACKWARD'.freeze
15
16
  FORWARD = 'FORWARD'.freeze
16
17
 
@@ -97,6 +98,7 @@ module Avrolution
97
98
  logger.info(Diffy::Diff.new(last_json, json, context: 3).to_s) unless compatibility_with_last == FULL
98
99
 
99
100
  compatibility = schema_registry.subject_config(fullname)['compatibility'] || schema_registry.global_config['compatibility']
101
+ compatibility = FULL if compatibility == BOTH
100
102
  logger.info("... Current compatibility level: #{compatibility}")
101
103
  logger.info(
102
104
  "\n To allow a compatibility break, run:\n" \
@@ -1,3 +1,3 @@
1
1
  module Avrolution
2
- VERSION = '0.4.3'.freeze
2
+ VERSION = '0.4.4'.freeze
3
3
  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.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Salsify, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-03 00:00:00.000000000 Z
11
+ date: 2017-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler