avrolution 0.4.2 → 0.4.3

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: '088dfe49f67fb16793f203e93f835b86642d673d'
4
- data.tar.gz: 732d92a448ab63764ba2ed4ccd6467d135f608c4
3
+ metadata.gz: 8e9b32091ae620ee5845b83ae4165df1e518b441
4
+ data.tar.gz: 36bfd10a6c3c737d50dae978a79f6c885f172ab8
5
5
  SHA512:
6
- metadata.gz: ad2e51cebe9cb98868920ed7ca829853bb376cc8749f7222938dda5832a5b48a91bb20b5e3c2f95b2a1a639f4eade9d4c22dd5ed473079b60ee9e552533317dd
7
- data.tar.gz: d723468e44d7130d8f49084d9bc8e63ff0195ca3d8ae0a7255273cac18e73b868bb15c5f245ce02f9a77fd1c6a385483cc116b31414182f8d50d93888620ced7
6
+ metadata.gz: 0db0ca422c92815b05a9ebc59411ef0ff40e9b2e1c6bd8a6a216b4edf999bed460554e2ee0fbcf4cb30d03db172036d45586d8116af56e170d29cf373e142311
7
+ data.tar.gz: cfa8db2a9fad2e322c5dc0f9db3fc8dd0ba843ea26d09cd425f254ee1670c8cfed4154199265743b866382bf4b45612d60b98bc38ad2349f984182a43de81566
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # avrolution
2
2
 
3
+ ## v0.4.3
4
+ - Allow deleted schema files during deploy.
5
+
3
6
  ## v0.4.2
4
7
  - Fix typo in template file.
5
8
 
@@ -50,9 +50,11 @@ module Avrolution
50
50
 
51
51
  def schemas
52
52
  @schemas ||= schema_files.map do |schema_file|
53
- json = File.read(schema_file)
54
- [json, Avro::Schema.parse(json)]
55
- end
53
+ if File.exist?(schema_file)
54
+ json = File.read(schema_file)
55
+ [json, Avro::Schema.parse(json)]
56
+ end
57
+ end.compact
56
58
  end
57
59
 
58
60
  def build_schema_registry
@@ -1,3 +1,3 @@
1
1
  module Avrolution
2
- VERSION = '0.4.2'.freeze
2
+ VERSION = '0.4.3'.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.2
4
+ version: 0.4.3
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-04-27 00:00:00.000000000 Z
11
+ date: 2017-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler