avromatic 0.29.1 → 0.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +4 -3
- data/Appraisals +8 -8
- data/CHANGELOG.md +4 -0
- data/gemfiles/avro_patches_5_0.gemfile +2 -2
- data/gemfiles/avro_patches_5_1.gemfile +2 -2
- data/gemfiles/rails5_0.gemfile +2 -2
- data/gemfiles/rails5_1.gemfile +2 -2
- data/lib/avromatic/model/message_decoder.rb +5 -0
- data/lib/avromatic/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6c6dcc8fbca571b5d0dfff98417d67f71731f6dbbef64034bab0b6717565239e
|
4
|
+
data.tar.gz: 3ac538e0dd288f3a8b10115ef3fbaa59e86da2b1390035c4ff646b1cc32653d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e1996635fbb793bd9217c29af8b40833f488544db3b9036ec20156c7e2268b099605798520474b43bf56a2f93fee337e0704a62437f0bd1945b18fa2c4b0f84
|
7
|
+
data.tar.gz: 9463cea8645f309183281998e89ef1d6a741ac2d43597687012f162251830a7282fa99f4c1c0a73d1cada5cfb52c51d36f0706826d1ed5d7bc1f2305bc6398c8
|
data/.travis.yml
CHANGED
data/Appraisals
CHANGED
@@ -12,14 +12,14 @@ end
|
|
12
12
|
|
13
13
|
appraise 'rails5_0' do
|
14
14
|
gem 'avro', '1.8.2'
|
15
|
-
gem 'activesupport', '~> 5.0.
|
16
|
-
gem 'activemodel', '~> 5.0.
|
15
|
+
gem 'activesupport', '~> 5.0.6'
|
16
|
+
gem 'activemodel', '~> 5.0.6'
|
17
17
|
end
|
18
18
|
|
19
19
|
appraise 'rails5_1' do
|
20
20
|
gem 'avro', '1.8.2'
|
21
|
-
gem 'activesupport', '~> 5.1.
|
22
|
-
gem 'activemodel', '~> 5.1.
|
21
|
+
gem 'activesupport', '~> 5.1.4'
|
22
|
+
gem 'activemodel', '~> 5.1.4'
|
23
23
|
end
|
24
24
|
|
25
25
|
appraise 'avro-patches-4_1' do
|
@@ -30,12 +30,12 @@ end
|
|
30
30
|
|
31
31
|
appraise 'avro-patches-5_0' do
|
32
32
|
gem 'avro-patches'
|
33
|
-
gem 'activesupport', '~> 5.0.
|
34
|
-
gem 'activemodel', '~> 5.0.
|
33
|
+
gem 'activesupport', '~> 5.0.6'
|
34
|
+
gem 'activemodel', '~> 5.0.6'
|
35
35
|
end
|
36
36
|
|
37
37
|
appraise 'avro-patches-5_1' do
|
38
38
|
gem 'avro-patches'
|
39
|
-
gem 'activesupport', '~> 5.1.
|
40
|
-
gem 'activemodel', '~> 5.1.
|
39
|
+
gem 'activesupport', '~> 5.1.4'
|
40
|
+
gem 'activemodel', '~> 5.1.4'
|
41
41
|
end
|
data/CHANGELOG.md
CHANGED
data/gemfiles/rails5_0.gemfile
CHANGED
data/gemfiles/rails5_1.gemfile
CHANGED
@@ -57,6 +57,11 @@ module Avromatic
|
|
57
57
|
model.avro_message_attributes(message_key, message_value)
|
58
58
|
end
|
59
59
|
|
60
|
+
# @return [Avromatic model class]
|
61
|
+
def model(*args)
|
62
|
+
extract_decode_args(*args).first
|
63
|
+
end
|
64
|
+
|
60
65
|
private
|
61
66
|
|
62
67
|
attr_reader :schema_names_by_id, :model_map, :schema_registry
|
data/lib/avromatic/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avromatic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Salsify Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avro
|
@@ -330,7 +330,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
330
330
|
version: '0'
|
331
331
|
requirements: []
|
332
332
|
rubyforge_project:
|
333
|
-
rubygems_version: 2.
|
333
|
+
rubygems_version: 2.7.3
|
334
334
|
signing_key:
|
335
335
|
specification_version: 4
|
336
336
|
summary: Generate Ruby models from Avro schemas
|