avromatic 2.1.0 → 2.2.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: 2b0e4d3f2c32f7c18ceac64edce77b91493fe72abf24fc6cd05a5b0deb315e68
4
- data.tar.gz: f9b3bdbfa7cf25e8d94c5f87637ceb0f1dfab2eacc04100a600c7904171baa81
3
+ metadata.gz: 482556dad652c8fa82cd9d0bcbf4e0449e387ec2372fa0220f01ab58fac894d4
4
+ data.tar.gz: cc1542fc2a6c468f8b3d882b1b1250ace657dfc0edbabfc4bab97abea18ee2cf
5
5
  SHA512:
6
- metadata.gz: 9a92e2cd960aed018a35ab16362141572ff123dc81a92d0f10cd2c651918d26b465ea14240b90134a1572afeecd733afafcaca56a0d3eea898d8801d7bb2c103
7
- data.tar.gz: 9b168f4d7d4779e6617eadf41b39bb0d4ae867ef2e49dc757be5b1b4074b5d489a0485368263639189456b3462bd024e989591925f9ab20590dfec2b67c5ad4a
6
+ metadata.gz: bd87b05d88c44b57eb9b4eb432e62bfea6d1110420cb5bb9fa01d9d928710193c91270811448a4b8284ea3cbdfee96452c107aa51ac8ac3ecaba20d1aa1db661
7
+ data.tar.gz: ae2cc440e950f157d72692a55f8e309bdbd5ccebb354b53ae1aab40c1f0d5d4d537bfc01f740130d22a5637abf37191f22a2f3de12e05a1f7f6c5feabb5f6f5e
@@ -2,7 +2,7 @@ inherit_gem:
2
2
  salsify_rubocop: conf/rubocop.yml
3
3
 
4
4
  AllCops:
5
- TargetRubyVersion: 2.3
5
+ TargetRubyVersion: 2.4
6
6
 
7
7
  Style/MultilineBlockChain:
8
8
  Enabled: false
@@ -1,17 +1,23 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.5.1
4
- - 2.4.4
5
- - 2.3.5
3
+ - 2.6.3
4
+ - 2.5.5
5
+ - 2.4.6
6
6
  before_script:
7
- - bundle exec appraisal install --jobs=3
8
- script:
9
7
  - bundle exec rubocop
10
- - bundle exec appraisal rails5_0 rspec
11
- - bundle exec appraisal rails5_1 rspec
12
- - bundle exec appraisal rails5_2 rspec
13
- - bundle exec appraisal avro-patches-5_0 rspec
14
- - bundle exec appraisal avro-patches-0_3_4-rails5_1 rspec
15
- - bundle exec appraisal avro-patches-0_3_4-rails5_2 rspec
16
- - bundle exec appraisal avro-patches-rails5_1 rspec
17
- - bundle exec appraisal avro-patches-rails5_2 rspec
8
+ gemfile:
9
+ - gemfiles/rails5_0.gemfile
10
+ - gemfiles/rails5_1.gemfile
11
+ - gemfiles/rails5_2.gemfile
12
+ - gemfiles/rails6_0.gemfile
13
+ - gemfiles/avro_patches_rails5_0.gemfile
14
+ - gemfiles/avro_patches_rails5_1.gemfile
15
+ - gemfiles/avro_patches_rails5_2.gemfile
16
+ - gemfiles/avro_patches_rails6_0.gemfile
17
+ script: bundle exec rspec
18
+ matrix:
19
+ exclude:
20
+ - rvm: 2.4.6
21
+ gemfile: gemfiles/rails6_0.gemfile
22
+ - rvm: 2.4.6
23
+ gemfile: gemfiles/avro_patches_rails6_0.gemfile
data/Appraisals CHANGED
@@ -18,32 +18,32 @@ appraise 'rails5_2' do
18
18
  gem 'activemodel', '~> 5.2.0'
19
19
  end
20
20
 
21
- appraise 'avro-patches-5_0' do
21
+ appraise 'rails6_0' do
22
+ gem 'avro', '1.9.0'
23
+ gem 'activesupport', '~> 6.0.0'
24
+ gem 'activemodel', '~> 6.0.0'
25
+ end
26
+
27
+ appraise 'avro-patches-rails5_0' do
22
28
  gem 'avro-patches'
23
29
  gem 'activesupport', '~> 5.0.6'
24
30
  gem 'activemodel', '~> 5.0.6'
25
31
  end
26
32
 
27
- appraise 'avro-patches-0_3_4-rails5_1' do
28
- gem 'avro-patches', '0.3.4'
29
- gem 'activesupport', '~> 5.1.4'
30
- gem 'activemodel', '~> 5.1.4'
31
- end
32
-
33
- appraise 'avro-patches-0_3_4-rails5_2' do
34
- gem 'avro-patches', '0.3.4'
35
- gem 'activesupport', '~> 5.2.0'
36
- gem 'activemodel', '~> 5.2.0'
37
- end
38
-
39
33
  appraise 'avro-patches-rails5_1' do
40
- gem 'avro-patches', '>= 0.4.0'
34
+ gem 'avro-patches', '>= 0.4.1'
41
35
  gem 'activesupport', '~> 5.1.4'
42
36
  gem 'activemodel', '~> 5.1.4'
43
37
  end
44
38
 
45
39
  appraise 'avro-patches-rails5_2' do
46
- gem 'avro-patches', '>= 0.4.0'
40
+ gem 'avro-patches', '>= 0.4.1'
47
41
  gem 'activesupport', '~> 5.2.0'
48
42
  gem 'activemodel', '~> 5.2.0'
49
43
  end
44
+
45
+ appraise 'avro-patches-rails6_0' do
46
+ gem 'avro-patches', '>= 1.0.0'
47
+ gem 'activesupport', '~> 6.0.0'
48
+ gem 'activemodel', '~> 6.0.0'
49
+ end
@@ -1,5 +1,9 @@
1
1
  # avromatic changelog
2
2
 
3
+ ## v2.2.0
4
+ - Add support for Rails 6.0.
5
+ - Drop support for Ruby < 2.4.
6
+
3
7
  ## v2.1.0
4
8
  - Add `key_schema_name` and `value_schema_name` attributes to `UnexpectedKeyError`.
5
9
 
@@ -20,11 +20,11 @@ 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.3'
23
+ spec.required_ruby_version = '>= 2.4'
24
24
 
25
- spec.add_runtime_dependency 'activemodel', '>= 5.0', '< 5.3'
26
- spec.add_runtime_dependency 'activesupport', '>= 5.0', '< 5.3'
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.10'
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'
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "avro-patches", ">= 0.4.0"
5
+ gem "avro-patches", ">= 0.4.1"
6
6
  gem "activesupport", "~> 5.1.4"
7
7
  gem "activemodel", "~> 5.1.4"
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "avro-patches", ">= 0.4.0"
5
+ gem "avro-patches", ">= 0.4.1"
6
6
  gem "activesupport", "~> 5.2.0"
7
7
  gem "activemodel", "~> 5.2.0"
8
8
 
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "avro-patches", ">= 1.0.0"
6
+ gem "activesupport", "~> 6.0.0"
7
+ gem "activemodel", "~> 6.0.0"
8
+
9
+ gemspec path: "../"
@@ -2,8 +2,8 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "avro-patches", "0.3.4"
6
- gem "activesupport", "~> 5.1.4"
7
- gem "activemodel", "~> 5.1.4"
5
+ gem "avro", "1.9.0"
6
+ gem "activesupport", "~> 6.0.0"
7
+ gem "activemodel", "~> 6.0.0"
8
8
 
9
9
  gemspec path: "../"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Avromatic
4
- VERSION = '2.1.0'
4
+ VERSION = '2.2.0'
5
5
  end
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.1.0
4
+ version: 2.2.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: 2019-02-15 00:00:00.000000000 Z
11
+ date: 2019-08-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: '5.3'
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: '5.3'
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: '5.3'
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: '5.3'
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.10'
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.10'
67
73
  - !ruby/object:Gem::Dependency
68
74
  name: avro_schema_registry-client
69
75
  requirement: !ruby/object:Gem::Requirement
@@ -270,14 +276,14 @@ files:
270
276
  - bin/console
271
277
  - bin/setup
272
278
  - gemfiles/.bundle/config
273
- - gemfiles/avro_patches_0_3_4_rails5_1.gemfile
274
- - gemfiles/avro_patches_0_3_4_rails5_2.gemfile
275
- - gemfiles/avro_patches_5_0.gemfile
279
+ - gemfiles/avro_patches_rails5_0.gemfile
276
280
  - gemfiles/avro_patches_rails5_1.gemfile
277
281
  - gemfiles/avro_patches_rails5_2.gemfile
282
+ - gemfiles/avro_patches_rails6_0.gemfile
278
283
  - gemfiles/rails5_0.gemfile
279
284
  - gemfiles/rails5_1.gemfile
280
285
  - gemfiles/rails5_2.gemfile
286
+ - gemfiles/rails6_0.gemfile
281
287
  - lib/avromatic.rb
282
288
  - lib/avromatic/io.rb
283
289
  - lib/avromatic/io/datum_reader.rb
@@ -337,15 +343,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
337
343
  requirements:
338
344
  - - ">="
339
345
  - !ruby/object:Gem::Version
340
- version: '2.3'
346
+ version: '2.4'
341
347
  required_rubygems_version: !ruby/object:Gem::Requirement
342
348
  requirements:
343
349
  - - ">="
344
350
  - !ruby/object:Gem::Version
345
351
  version: '0'
346
352
  requirements: []
347
- rubyforge_project:
348
- rubygems_version: 2.7.7
353
+ rubygems_version: 3.0.3
349
354
  signing_key:
350
355
  specification_version: 4
351
356
  summary: Generate Ruby models from Avro schemas
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "avro-patches", "0.3.4"
6
- gem "activesupport", "~> 5.2.0"
7
- gem "activemodel", "~> 5.2.0"
8
-
9
- gemspec path: "../"