avromatic 2.1.0 → 2.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.ruby-version +1 -1
- data/.travis.yml +12 -13
- data/Appraisals +23 -29
- data/CHANGELOG.md +17 -0
- data/avromatic.gemspec +7 -7
- data/gemfiles/{avro_patches_0_3_4_rails5_2.gemfile → avro1_10_rails5_2.gemfile} +1 -1
- data/gemfiles/{rails5_0.gemfile → avro1_10_rails6_0.gemfile} +3 -3
- data/gemfiles/{rails5_2.gemfile → avro1_8_rails5_2.gemfile} +0 -0
- data/gemfiles/{avro_patches_5_0.gemfile → avro1_9_rails5_2.gemfile} +3 -3
- data/gemfiles/{rails5_1.gemfile → avro1_9_rails6_0.gemfile} +3 -3
- data/gemfiles/avro_patches_rails5_2.gemfile +1 -1
- data/gemfiles/avro_patches_rails6_0.gemfile +9 -0
- data/lib/avromatic.rb +1 -3
- data/lib/avromatic/io/datum_reader.rb +2 -2
- data/lib/avromatic/model/nested_models.rb +13 -2
- data/lib/avromatic/model/types/abstract_type.rb +7 -0
- data/lib/avromatic/model/types/array_type.rb +4 -0
- data/lib/avromatic/model/types/boolean_type.rb +4 -0
- data/lib/avromatic/model/types/custom_type.rb +4 -0
- data/lib/avromatic/model/types/date_type.rb +4 -0
- data/lib/avromatic/model/types/enum_type.rb +4 -0
- data/lib/avromatic/model/types/fixed_type.rb +4 -0
- data/lib/avromatic/model/types/float_type.rb +4 -0
- data/lib/avromatic/model/types/integer_type.rb +4 -0
- data/lib/avromatic/model/types/map_type.rb +5 -0
- data/lib/avromatic/model/types/null_type.rb +4 -0
- data/lib/avromatic/model/types/record_type.rb +4 -0
- data/lib/avromatic/model/types/string_type.rb +5 -1
- data/lib/avromatic/model/types/timestamp_micros_type.rb +4 -1
- data/lib/avromatic/model/types/timestamp_millis_type.rb +4 -1
- data/lib/avromatic/model/types/union_type.rb +4 -0
- data/lib/avromatic/model_registry.rb +2 -1
- data/lib/avromatic/rspec.rb +6 -1
- data/lib/avromatic/version.rb +1 -1
- metadata +59 -54
- data/gemfiles/avro_patches_0_3_4_rails5_1.gemfile +0 -9
- data/gemfiles/avro_patches_rails5_1.gemfile +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cc3e17c99ffc3587dc747dbc97da2b63304e20e2bbc7f335a00878ae87bbcf2
|
4
|
+
data.tar.gz: 47e581e34bf75f8ea6fd6775ab91c67c51566475e0d831452bd6ef922f185151
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29d285151df19f4a3611889c2b805a3de2018c08120a6fca53a88234ab5028b63f83c0f499118a56ca23709071a8ef811713575e6d621c74c42ff6936cd038af
|
7
|
+
data.tar.gz: 97bb648dd3e554219b5ecf81611c1dbc482467fabc50c1f219c0d2b52e31eb891903be92cb20b472f3c9e4ac07d2507d59a2b16dacbec374d22a712b19c4c50c
|
data/.rubocop.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.5.
|
1
|
+
2.5.8
|
data/.travis.yml
CHANGED
@@ -1,17 +1,16 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 2.5.
|
4
|
-
- 2.
|
5
|
-
- 2.
|
3
|
+
- 2.5.8
|
4
|
+
- 2.6.6
|
5
|
+
- 2.7.1
|
6
6
|
before_script:
|
7
|
-
- bundle exec appraisal install --jobs=3
|
8
|
-
script:
|
9
7
|
- bundle exec rubocop
|
10
|
-
|
11
|
-
-
|
12
|
-
-
|
13
|
-
-
|
14
|
-
-
|
15
|
-
-
|
16
|
-
-
|
17
|
-
-
|
8
|
+
gemfile:
|
9
|
+
- gemfiles/avro1_8_rails5_2.gemfile
|
10
|
+
- gemfiles/avro1_9_rails5_2.gemfile
|
11
|
+
- gemfiles/avro1_10_rails5_2.gemfile
|
12
|
+
- gemfiles/avro1_9_rails6_0.gemfile
|
13
|
+
- gemfiles/avro1_10_rails6_0.gemfile
|
14
|
+
- gemfiles/avro_patches_rails5_2.gemfile
|
15
|
+
- gemfiles/avro_patches_rails6_0.gemfile
|
16
|
+
script: bundle exec rspec
|
data/Appraisals
CHANGED
@@ -1,49 +1,43 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
appraise '
|
3
|
+
appraise 'avro1_8-rails5_2' do
|
4
4
|
gem 'avro', '1.8.2'
|
5
|
-
gem 'activesupport', '~> 5.0
|
6
|
-
gem 'activemodel', '~> 5.0
|
5
|
+
gem 'activesupport', '~> 5.2.0'
|
6
|
+
gem 'activemodel', '~> 5.2.0'
|
7
7
|
end
|
8
8
|
|
9
|
-
appraise '
|
10
|
-
gem 'avro', '1.
|
11
|
-
gem 'activesupport', '~> 5.
|
12
|
-
gem 'activemodel', '~> 5.
|
9
|
+
appraise 'avro1_9-rails5_2' do
|
10
|
+
gem 'avro', '1.9.2'
|
11
|
+
gem 'activesupport', '~> 5.2.0'
|
12
|
+
gem 'activemodel', '~> 5.2.0'
|
13
13
|
end
|
14
14
|
|
15
|
-
appraise 'rails5_2' do
|
16
|
-
gem 'avro', '1.
|
15
|
+
appraise 'avro1_10-rails5_2' do
|
16
|
+
gem 'avro', '~> 1.10.0'
|
17
17
|
gem 'activesupport', '~> 5.2.0'
|
18
18
|
gem 'activemodel', '~> 5.2.0'
|
19
19
|
end
|
20
20
|
|
21
|
-
appraise '
|
22
|
-
gem 'avro
|
23
|
-
gem 'activesupport', '~>
|
24
|
-
gem 'activemodel', '~>
|
21
|
+
appraise 'avro1_9-rails6_0' do
|
22
|
+
gem 'avro', '1.9.2'
|
23
|
+
gem 'activesupport', '~> 6.0.0'
|
24
|
+
gem 'activemodel', '~> 6.0.0'
|
25
25
|
end
|
26
26
|
|
27
|
-
appraise '
|
28
|
-
gem 'avro
|
29
|
-
gem 'activesupport', '~>
|
30
|
-
gem 'activemodel', '~>
|
27
|
+
appraise 'avro1_10-rails6_0' do
|
28
|
+
gem 'avro', '~> 1.10.0'
|
29
|
+
gem 'activesupport', '~> 6.0.0'
|
30
|
+
gem 'activemodel', '~> 6.0.0'
|
31
31
|
end
|
32
32
|
|
33
|
-
appraise 'avro-patches-
|
34
|
-
gem 'avro-patches', '0.
|
33
|
+
appraise 'avro-patches-rails5_2' do
|
34
|
+
gem 'avro-patches', '>= 0.4.1', '< 1.0'
|
35
35
|
gem 'activesupport', '~> 5.2.0'
|
36
36
|
gem 'activemodel', '~> 5.2.0'
|
37
37
|
end
|
38
38
|
|
39
|
-
appraise 'avro-patches-
|
40
|
-
gem 'avro-patches', '>= 0.
|
41
|
-
gem 'activesupport', '~>
|
42
|
-
gem 'activemodel', '~>
|
43
|
-
end
|
44
|
-
|
45
|
-
appraise 'avro-patches-rails5_2' do
|
46
|
-
gem 'avro-patches', '>= 0.4.0'
|
47
|
-
gem 'activesupport', '~> 5.2.0'
|
48
|
-
gem 'activemodel', '~> 5.2.0'
|
39
|
+
appraise 'avro-patches-rails6_0' do
|
40
|
+
gem 'avro-patches', '>= 1.0.0'
|
41
|
+
gem 'activesupport', '~> 6.0.0'
|
42
|
+
gem 'activemodel', '~> 6.0.0'
|
49
43
|
end
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# avromatic changelog
|
2
2
|
|
3
|
+
## v2.2.4
|
4
|
+
- Compatibility with Avro v1.10.x.
|
5
|
+
|
6
|
+
## v2.2.3
|
7
|
+
- Fix bug where method `#referenced_model_classes` was declared as private instead of public.
|
8
|
+
|
9
|
+
## v2.2.2
|
10
|
+
- Fix missing models in the model registry when in development by loading the nested models of eager loaded models.
|
11
|
+
- Fake schema registry support for stubbing URLs with usernames and passwords.
|
12
|
+
|
13
|
+
## v2.2.1
|
14
|
+
- Avoid allocating default empty hash in `Avromatic::IO::DatumReader.read_data`
|
15
|
+
|
16
|
+
## v2.2.0
|
17
|
+
- Add support for Rails 6.0.
|
18
|
+
- Drop support for Ruby < 2.4.
|
19
|
+
|
3
20
|
## v2.1.0
|
4
21
|
- Add `key_schema_name` and `value_schema_name` attributes to `UnexpectedKeyError`.
|
5
22
|
|
data/avromatic.gemspec
CHANGED
@@ -20,24 +20,24 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
21
|
spec.require_paths = ['lib']
|
22
22
|
|
23
|
-
spec.required_ruby_version = '>= 2.
|
23
|
+
spec.required_ruby_version = '>= 2.4'
|
24
24
|
|
25
|
-
spec.add_runtime_dependency 'activemodel', '>= 5.0', '<
|
26
|
-
spec.add_runtime_dependency 'activesupport', '>= 5.0', '<
|
27
|
-
spec.add_runtime_dependency 'avro', '>= 1.7.7'
|
25
|
+
spec.add_runtime_dependency 'activemodel', '>= 5.0', '< 6.1'
|
26
|
+
spec.add_runtime_dependency 'activesupport', '>= 5.0', '< 6.1'
|
27
|
+
spec.add_runtime_dependency 'avro', '>= 1.7.7', '< 1.11'
|
28
28
|
spec.add_runtime_dependency 'avro_schema_registry-client', '>= 0.3.0'
|
29
29
|
spec.add_runtime_dependency 'avro_turf'
|
30
30
|
spec.add_runtime_dependency 'ice_nine'
|
31
31
|
|
32
|
+
spec.add_development_dependency 'appraisal'
|
32
33
|
spec.add_development_dependency 'avro-builder', '>= 0.12.0'
|
33
34
|
spec.add_development_dependency 'bundler', '>= 1.11'
|
35
|
+
spec.add_development_dependency 'overcommit', '0.35.0'
|
34
36
|
spec.add_development_dependency 'rake', '~> 10.0'
|
35
37
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
38
|
+
spec.add_development_dependency 'salsify_rubocop', '~> 0.52.1.1'
|
36
39
|
spec.add_development_dependency 'simplecov'
|
37
40
|
spec.add_development_dependency 'webmock'
|
38
41
|
# For AvroSchemaRegistry::FakeServer
|
39
|
-
spec.add_development_dependency 'appraisal'
|
40
|
-
spec.add_development_dependency 'overcommit', '0.35.0'
|
41
|
-
spec.add_development_dependency 'salsify_rubocop', '~> 0.52.1.1'
|
42
42
|
spec.add_development_dependency 'sinatra'
|
43
43
|
end
|
File without changes
|
data/lib/avromatic.rb
CHANGED
@@ -85,9 +85,7 @@ module Avromatic
|
|
85
85
|
end
|
86
86
|
|
87
87
|
def self.eager_load_models!
|
88
|
-
|
89
|
-
nested_models.ensure_registered_model(model_name.constantize)
|
90
|
-
end
|
88
|
+
@eager_load_model_names&.each { |model_name| model_name.constantize.register! }
|
91
89
|
end
|
92
90
|
private_class_method :eager_load_models!
|
93
91
|
end
|
@@ -10,7 +10,7 @@ module Avromatic
|
|
10
10
|
|
11
11
|
UNION_MEMBER_INDEX = Avromatic::IO::UNION_MEMBER_INDEX
|
12
12
|
|
13
|
-
def read_data(writers_schema, readers_schema, decoder, initial_record =
|
13
|
+
def read_data(writers_schema, readers_schema, decoder, initial_record = nil)
|
14
14
|
# schema matching
|
15
15
|
unless self.class.match_schemas(writers_schema, readers_schema)
|
16
16
|
raise Avro::IO::SchemaMatchException.new(writers_schema, readers_schema)
|
@@ -52,7 +52,7 @@ module Avromatic
|
|
52
52
|
when :array; read_array(writers_schema, readers_schema, decoder)
|
53
53
|
when :map; read_map(writers_schema, readers_schema, decoder)
|
54
54
|
when :union; read_union(writers_schema, readers_schema, decoder)
|
55
|
-
when :record, :error, :request; read_record(writers_schema, readers_schema, decoder, initial_record)
|
55
|
+
when :record, :error, :request; read_record(writers_schema, readers_schema, decoder, initial_record || {})
|
56
56
|
else
|
57
57
|
raise Avro::AvroError.new("Cannot read unknown schema type: #{writers_schema.type}")
|
58
58
|
end
|
@@ -12,10 +12,21 @@ module Avromatic
|
|
12
12
|
module ClassMethods
|
13
13
|
# Register this model if it can be used as a nested model.
|
14
14
|
def register!
|
15
|
-
|
16
|
-
|
15
|
+
return unless key_avro_schema.nil? && value_avro_schema.type_sym == :record
|
16
|
+
|
17
|
+
roots = [self]
|
18
|
+
until roots.empty?
|
19
|
+
model = roots.shift
|
20
|
+
next if nested_models.registered?(model)
|
21
|
+
|
22
|
+
nested_models.register(model)
|
23
|
+
roots.concat(model.referenced_model_classes)
|
17
24
|
end
|
18
25
|
end
|
26
|
+
|
27
|
+
def referenced_model_classes
|
28
|
+
attribute_definitions.values.flat_map { |definition| definition.type.referenced_model_classes }.freeze
|
29
|
+
end
|
19
30
|
end
|
20
31
|
end
|
21
32
|
end
|
@@ -4,6 +4,9 @@ module Avromatic
|
|
4
4
|
module Model
|
5
5
|
module Types
|
6
6
|
class AbstractType
|
7
|
+
EMPTY_ARRAY = [].freeze
|
8
|
+
private_constant :EMPTY_ARRAY
|
9
|
+
|
7
10
|
def value_classes
|
8
11
|
raise "#{__method__} must be overridden by #{self.class.name}"
|
9
12
|
end
|
@@ -31,6 +34,10 @@ module Avromatic
|
|
31
34
|
def serialize(_value, **)
|
32
35
|
raise "#{__method__} must be overridden by #{self.class.name}"
|
33
36
|
end
|
37
|
+
|
38
|
+
def referenced_model_classes
|
39
|
+
raise "#{__method__} must be overridden by #{self.class.name}"
|
40
|
+
end
|
34
41
|
end
|
35
42
|
end
|
36
43
|
end
|
@@ -5,7 +5,7 @@ require 'avromatic/model/types/abstract_type'
|
|
5
5
|
module Avromatic
|
6
6
|
module Model
|
7
7
|
module Types
|
8
|
-
class StringType
|
8
|
+
class StringType < AbstractType
|
9
9
|
VALUE_CLASSES = [::String].freeze
|
10
10
|
INPUT_CLASSES = [::String, ::Symbol].freeze
|
11
11
|
|
@@ -42,6 +42,10 @@ module Avromatic
|
|
42
42
|
def serialize(value, **)
|
43
43
|
value
|
44
44
|
end
|
45
|
+
|
46
|
+
def referenced_model_classes
|
47
|
+
EMPTY_ARRAY
|
48
|
+
end
|
45
49
|
end
|
46
50
|
end
|
47
51
|
end
|
@@ -13,6 +13,10 @@ module Avromatic
|
|
13
13
|
'timestamp-micros'
|
14
14
|
end
|
15
15
|
|
16
|
+
def referenced_model_classes
|
17
|
+
EMPTY_ARRAY
|
18
|
+
end
|
19
|
+
|
16
20
|
private
|
17
21
|
|
18
22
|
def truncated?(value)
|
@@ -25,7 +29,6 @@ module Avromatic
|
|
25
29
|
# of time zone.
|
26
30
|
::Time.at(input.to_i, input.usec)
|
27
31
|
end
|
28
|
-
|
29
32
|
end
|
30
33
|
end
|
31
34
|
end
|
@@ -13,6 +13,10 @@ module Avromatic
|
|
13
13
|
'timestamp-millis'
|
14
14
|
end
|
15
15
|
|
16
|
+
def referenced_model_classes
|
17
|
+
EMPTY_ARRAY
|
18
|
+
end
|
19
|
+
|
16
20
|
private
|
17
21
|
|
18
22
|
def truncated?(value)
|
@@ -25,7 +29,6 @@ module Avromatic
|
|
25
29
|
# of time zone.
|
26
30
|
::Time.at(input.to_i, input.usec / 1000 * 1000)
|
27
31
|
end
|
28
|
-
|
29
32
|
end
|
30
33
|
end
|
31
34
|
end
|
data/lib/avromatic/rspec.rb
CHANGED
@@ -1,11 +1,16 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'uri'
|
3
4
|
require 'webmock/rspec'
|
4
5
|
require 'avro_schema_registry/test/fake_server'
|
5
6
|
|
6
7
|
RSpec.configure do |config|
|
7
8
|
config.before(:each) do
|
8
|
-
WebMock
|
9
|
+
# Strip the username/password from the URL so WebMock can match the URL
|
10
|
+
registry_uri = URI(Avromatic.registry_url)
|
11
|
+
registry_uri.userinfo = ''
|
12
|
+
|
13
|
+
WebMock.stub_request(:any, /^#{registry_uri}/).to_rack(AvroSchemaRegistry::FakeServer)
|
9
14
|
AvroSchemaRegistry::FakeServer.clear
|
10
15
|
Avromatic.build_messaging!
|
11
16
|
end
|
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: 2.
|
4
|
+
version: 2.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Salsify Engineering
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '5.0'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '6.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '5.0'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '6.1'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: activesupport
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
version: '5.0'
|
40
40
|
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '6.1'
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,7 +49,7 @@ dependencies:
|
|
49
49
|
version: '5.0'
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: '
|
52
|
+
version: '6.1'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: avro
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -57,6 +57,9 @@ dependencies:
|
|
57
57
|
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: 1.7.7
|
60
|
+
- - "<"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '1.11'
|
60
63
|
type: :runtime
|
61
64
|
prerelease: false
|
62
65
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -64,6 +67,9 @@ dependencies:
|
|
64
67
|
- - ">="
|
65
68
|
- !ruby/object:Gem::Version
|
66
69
|
version: 1.7.7
|
70
|
+
- - "<"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '1.11'
|
67
73
|
- !ruby/object:Gem::Dependency
|
68
74
|
name: avro_schema_registry-client
|
69
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,6 +112,20 @@ dependencies:
|
|
106
112
|
- - ">="
|
107
113
|
- !ruby/object:Gem::Version
|
108
114
|
version: '0'
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: appraisal
|
117
|
+
requirement: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - ">="
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0'
|
122
|
+
type: :development
|
123
|
+
prerelease: false
|
124
|
+
version_requirements: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - ">="
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '0'
|
109
129
|
- !ruby/object:Gem::Dependency
|
110
130
|
name: avro-builder
|
111
131
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,6 +154,20 @@ dependencies:
|
|
134
154
|
- - ">="
|
135
155
|
- !ruby/object:Gem::Version
|
136
156
|
version: '1.11'
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: overcommit
|
159
|
+
requirement: !ruby/object:Gem::Requirement
|
160
|
+
requirements:
|
161
|
+
- - '='
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: 0.35.0
|
164
|
+
type: :development
|
165
|
+
prerelease: false
|
166
|
+
version_requirements: !ruby/object:Gem::Requirement
|
167
|
+
requirements:
|
168
|
+
- - '='
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: 0.35.0
|
137
171
|
- !ruby/object:Gem::Dependency
|
138
172
|
name: rake
|
139
173
|
requirement: !ruby/object:Gem::Requirement
|
@@ -163,21 +197,21 @@ dependencies:
|
|
163
197
|
- !ruby/object:Gem::Version
|
164
198
|
version: '3.0'
|
165
199
|
- !ruby/object:Gem::Dependency
|
166
|
-
name:
|
200
|
+
name: salsify_rubocop
|
167
201
|
requirement: !ruby/object:Gem::Requirement
|
168
202
|
requirements:
|
169
|
-
- - "
|
203
|
+
- - "~>"
|
170
204
|
- !ruby/object:Gem::Version
|
171
|
-
version:
|
205
|
+
version: 0.52.1.1
|
172
206
|
type: :development
|
173
207
|
prerelease: false
|
174
208
|
version_requirements: !ruby/object:Gem::Requirement
|
175
209
|
requirements:
|
176
|
-
- - "
|
210
|
+
- - "~>"
|
177
211
|
- !ruby/object:Gem::Version
|
178
|
-
version:
|
212
|
+
version: 0.52.1.1
|
179
213
|
- !ruby/object:Gem::Dependency
|
180
|
-
name:
|
214
|
+
name: simplecov
|
181
215
|
requirement: !ruby/object:Gem::Requirement
|
182
216
|
requirements:
|
183
217
|
- - ">="
|
@@ -191,7 +225,7 @@ dependencies:
|
|
191
225
|
- !ruby/object:Gem::Version
|
192
226
|
version: '0'
|
193
227
|
- !ruby/object:Gem::Dependency
|
194
|
-
name:
|
228
|
+
name: webmock
|
195
229
|
requirement: !ruby/object:Gem::Requirement
|
196
230
|
requirements:
|
197
231
|
- - ">="
|
@@ -204,34 +238,6 @@ dependencies:
|
|
204
238
|
- - ">="
|
205
239
|
- !ruby/object:Gem::Version
|
206
240
|
version: '0'
|
207
|
-
- !ruby/object:Gem::Dependency
|
208
|
-
name: overcommit
|
209
|
-
requirement: !ruby/object:Gem::Requirement
|
210
|
-
requirements:
|
211
|
-
- - '='
|
212
|
-
- !ruby/object:Gem::Version
|
213
|
-
version: 0.35.0
|
214
|
-
type: :development
|
215
|
-
prerelease: false
|
216
|
-
version_requirements: !ruby/object:Gem::Requirement
|
217
|
-
requirements:
|
218
|
-
- - '='
|
219
|
-
- !ruby/object:Gem::Version
|
220
|
-
version: 0.35.0
|
221
|
-
- !ruby/object:Gem::Dependency
|
222
|
-
name: salsify_rubocop
|
223
|
-
requirement: !ruby/object:Gem::Requirement
|
224
|
-
requirements:
|
225
|
-
- - "~>"
|
226
|
-
- !ruby/object:Gem::Version
|
227
|
-
version: 0.52.1.1
|
228
|
-
type: :development
|
229
|
-
prerelease: false
|
230
|
-
version_requirements: !ruby/object:Gem::Requirement
|
231
|
-
requirements:
|
232
|
-
- - "~>"
|
233
|
-
- !ruby/object:Gem::Version
|
234
|
-
version: 0.52.1.1
|
235
241
|
- !ruby/object:Gem::Dependency
|
236
242
|
name: sinatra
|
237
243
|
requirement: !ruby/object:Gem::Requirement
|
@@ -270,14 +276,13 @@ files:
|
|
270
276
|
- bin/console
|
271
277
|
- bin/setup
|
272
278
|
- gemfiles/.bundle/config
|
273
|
-
- gemfiles/
|
274
|
-
- gemfiles/
|
275
|
-
- gemfiles/
|
276
|
-
- gemfiles/
|
279
|
+
- gemfiles/avro1_10_rails5_2.gemfile
|
280
|
+
- gemfiles/avro1_10_rails6_0.gemfile
|
281
|
+
- gemfiles/avro1_8_rails5_2.gemfile
|
282
|
+
- gemfiles/avro1_9_rails5_2.gemfile
|
283
|
+
- gemfiles/avro1_9_rails6_0.gemfile
|
277
284
|
- gemfiles/avro_patches_rails5_2.gemfile
|
278
|
-
- gemfiles/
|
279
|
-
- gemfiles/rails5_1.gemfile
|
280
|
-
- gemfiles/rails5_2.gemfile
|
285
|
+
- gemfiles/avro_patches_rails6_0.gemfile
|
281
286
|
- lib/avromatic.rb
|
282
287
|
- lib/avromatic/io.rb
|
283
288
|
- lib/avromatic/io/datum_reader.rb
|
@@ -329,7 +334,7 @@ homepage: https://github.com/salsify/avromatic.git
|
|
329
334
|
licenses:
|
330
335
|
- MIT
|
331
336
|
metadata: {}
|
332
|
-
post_install_message:
|
337
|
+
post_install_message:
|
333
338
|
rdoc_options: []
|
334
339
|
require_paths:
|
335
340
|
- lib
|
@@ -337,16 +342,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
337
342
|
requirements:
|
338
343
|
- - ">="
|
339
344
|
- !ruby/object:Gem::Version
|
340
|
-
version: '2.
|
345
|
+
version: '2.4'
|
341
346
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
342
347
|
requirements:
|
343
348
|
- - ">="
|
344
349
|
- !ruby/object:Gem::Version
|
345
350
|
version: '0'
|
346
351
|
requirements: []
|
347
|
-
rubyforge_project:
|
348
|
-
rubygems_version: 2.7.
|
349
|
-
signing_key:
|
352
|
+
rubyforge_project:
|
353
|
+
rubygems_version: 2.7.6.2
|
354
|
+
signing_key:
|
350
355
|
specification_version: 4
|
351
356
|
summary: Generate Ruby models from Avro schemas
|
352
357
|
test_files: []
|