avrolution 0.3.0 → 0.4.0.rc0

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
  SHA1:
3
- metadata.gz: 44d01ea587ccbb464a081d3376aa5744b1d8c152
4
- data.tar.gz: 431e8de8391b220872e68ce3927e830583fa85a5
3
+ metadata.gz: 1927a0ffec1ea39c555e51d324281899ca9142ff
4
+ data.tar.gz: 91f7c6723e95df2ef2562f9dd3a33d725c458a8e
5
5
  SHA512:
6
- metadata.gz: 0a0bfe0ffc2609847a4fb606aa5065857fe7513fbbde5fd44bf1372263826122dd292b468741a0d99714f3a20bf8d8188a19c78c80eab819f6232ed1c0bb6aba
7
- data.tar.gz: 8a2b82eced1d43966a21207df5d5575d3818513eb7f2f9aa348c36de903776af3875297d302d856b270f3a750a70149d70211c9ca6571bb254f408dbaf2fba6c
6
+ metadata.gz: 91842dec6fd051daecbf2c51f67f16b94feee0acfb764f10b9499516f5357738e9c3b81b9fa0cf7a8cedede8a7764bdf2087f9c7b462c7168ee14866b5478de0
7
+ data.tar.gz: 10602cc66b3dd61bfba1db610f5faf9c070586e3fb2eb4c3ee88161eecfc4d40d38231cdc8bcf4fdefb68189dafadb7ac2db588c120bf1825e5f51561e583662
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # avrolution
2
2
 
3
+ ## v0.4.0
4
+ - Support a Proc for the configuration of `compatibility_schema_registry_url`
5
+ and `deployment_schema_registry_url`.
6
+
3
7
  ## v0.3.0
4
8
  - Add rake task to register new schema versions.
5
9
 
@@ -34,12 +34,14 @@ module Avrolution
34
34
  end
35
35
 
36
36
  def self.compatibility_schema_registry_url
37
+ @compatibility_schema_registry_url = @compatibility_schema_registry_url.call if @compatibility_schema_registry_url.is_a?(Proc)
37
38
  @compatibility_schema_registry_url ||= ENV.fetch(COMPATIBILITY_SCHEMA_REGISTRY_URL) do
38
39
  raise 'compatibility_schema_registry_url must be set'
39
40
  end
40
41
  end
41
42
 
42
43
  def self.deployment_schema_registry_url
44
+ @deployment_schema_registry_url = @deployment_schema_registry_url.call if @deployment_schema_registry_url.is_a?(Proc)
43
45
  @deployment_schema_registry_url ||= ENV.fetch(DEPLOYMENT_SCHEMA_REGISTRY_URL) do
44
46
  raise 'deployment_schema_registry_url must be set'
45
47
  end
@@ -1,3 +1,3 @@
1
1
  module Avrolution
2
- VERSION = '0.3.0'.freeze
2
+ VERSION = '0.4.0.rc0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avrolution
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0.rc0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Salsify, Inc
@@ -273,9 +273,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
273
273
  version: '0'
274
274
  required_rubygems_version: !ruby/object:Gem::Requirement
275
275
  requirements:
276
- - - ">="
276
+ - - ">"
277
277
  - !ruby/object:Gem::Version
278
- version: '0'
278
+ version: 1.3.1
279
279
  requirements: []
280
280
  rubyforge_project:
281
281
  rubygems_version: 2.6.11