rimless 0.2.1 → 0.3.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: 1b3369ef3be81c9b8d5a25645f20ea552f40beb2803471203e7bb791208e79e1
4
- data.tar.gz: 7eab67748a9d227f0b56c626feffcb4fe4a3841bd1d919da8e8e7f03d77ec56a
3
+ metadata.gz: 4d97aaf1dd758a38f0537d4d2419052241412cba8f7ff45c30d40d5a5254a6e3
4
+ data.tar.gz: 483c104c176c020d79bec4347789be3d6558f21777571a36ffe5956813a75dff
5
5
  SHA512:
6
- metadata.gz: 313805748ce8b9e2efacd5d56b4babc3d5833d176eda3a7d9f02c343577a3f0da6db35ca3cd3a881d40d30f780212f816ccbfe0c78bc9f74c272cd109cf2c184
7
- data.tar.gz: 705c2a7557976fd503cdb75e079ab8f678cc6953dd8a4d2f3050b9106b05c1245cf08c4775c71be26e4db6ab5f92eb2565572271f67ab987896faa1dfd268fe4
6
+ metadata.gz: deb7b05ed932b8dee372ecf9812cff38bd851e8d82cad80d31615278d182c0d4fdc258dc1e974f55d3330a2696ac803faf95156c54f7c5c8948eecd9ef15c50a
7
+ data.tar.gz: 8c3191a6e4e15240a72d36511143b775dce8602c375727defca0c2e11d6c56b6df7471a3ba2d70f95a5dc23e2eefbddfe74414c651904e7fd1fcf5b9dc2d9baa
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.3.0
2
+
3
+ * Upgraded the avro_turf gem (`~> 0.11.0`) (#5)
4
+
1
5
  ### 0.2.1
2
6
 
3
7
  * Added support for the
@@ -1,11 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rimless
4
- # Due to dynamic contrains on the Apache Avro schemas we need to compile our
4
+ # Due to dynamic constrains on the Apache Avro schemas we need to compile our
5
5
  # schema templates to actual ready-to-consume schemas. The namespace part of
6
6
  # the schemas and cross-references to other schemas must be rendered
7
7
  # according to the dynamic namespace prefix which reflects the application
8
- # environment. Unfortunately we need to mess around with actual files to
8
+ # environment. Unfortunately we need to mess around with actual files to
9
9
  # support the Avro and AvroTurf gems.
10
10
  class AvroUtils
11
11
  attr_reader :namespace, :env
@@ -50,12 +50,12 @@ module Rimless
50
50
  # rubocop:disable Security/JSONLoad because we wrote the file contents
51
51
  def validate_file(dest)
52
52
  JSON.load(dest)
53
- rescue JSON::ParserError => err
53
+ rescue JSON::ParserError => e
54
54
  path = File.expand_path(dest.is_a?(File) ? dest.path : dest.to_s)
55
55
  prefix = "Invalid JSON detected: #{path}"
56
- Rimless.logger.fatal("#{prefix}\n#{err.message}")
57
- err.message.prepend("#{prefix} - ")
58
- raise err
56
+ Rimless.logger.fatal("#{prefix}\n#{e.message}")
57
+ e.message.prepend("#{prefix} - ")
58
+ raise e
59
59
  end
60
60
  # rubocop:enable Security/JSONLoad
61
61
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Rimless
4
4
  # The version of the +rimless+ gem
5
- VERSION = '0.2.1'
5
+ VERSION = '0.3.0'
6
6
  end
data/rimless.gemspec CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.require_paths = ['lib']
25
25
 
26
26
  spec.add_runtime_dependency 'activesupport', '>= 4.2.0'
27
- spec.add_runtime_dependency 'avro_turf', '~> 0.8.1'
27
+ spec.add_runtime_dependency 'avro_turf', '~> 0.11.0'
28
28
  spec.add_runtime_dependency 'sinatra'
29
29
  spec.add_runtime_dependency 'sparsify', '~> 1.1'
30
30
  spec.add_runtime_dependency 'waterdrop', '~> 1.2'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rimless
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hermann Mayer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-13 00:00:00.000000000 Z
11
+ date: 2019-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.8.1
33
+ version: 0.11.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.8.1
40
+ version: 0.11.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: sinatra
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -376,7 +376,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
376
376
  - !ruby/object:Gem::Version
377
377
  version: '0'
378
378
  requirements: []
379
- rubygems_version: 3.0.4
379
+ rubygems_version: 3.0.6
380
380
  signing_key:
381
381
  specification_version: 4
382
382
  summary: A bundle of opinionated Apache Kafka / Confluent Schema Registry helpers.