avromatic 0.21.1 → 0.22.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
  SHA1:
3
- metadata.gz: 0abfee6a816f939b561c744c5ac49c5a6b2d484e
4
- data.tar.gz: 1d43dfd2df53bf40b0f571cdce873bc5055c3837
3
+ metadata.gz: 00b29e492064bce7661c64f961e168ebeeee1f4d
4
+ data.tar.gz: 1fed6c7b78a6000d67b85c279c0a2522af3fc0a2
5
5
  SHA512:
6
- metadata.gz: 802e7634ae80d35338e596db5bba3155d1378a533921716b9e14f0685ae8f94cc7d7f578820c55f16d1c1cfeb5a8c7f1bb0f2e875001732856fbc97ef3d7a92f
7
- data.tar.gz: 2fa0d4b40bbafa7f15627f877536d72d9413dee8c5009f0d46ac00dd78d8efc7ed9be234d00fc069e70ed3b4baf0d5a1087234405d1717371820c2db15aef55f
6
+ metadata.gz: 86395a7cd21081d58234433a33c91f8f9291e49a672d625a1a45f19c0b9ca096e5afdc0c72a23357c5eefa790cf1b378b54adde8e5c95c1109e78e650ef3e898
7
+ data.tar.gz: 0af78d4a8423308c37faedd6d7baec82950eb19202944adc1beed97300bd838e42233df7d21e87864f6febd6ead44f751b236be686f0fb053e9bf3bbcdc0c9ee
data/.travis.yml CHANGED
@@ -1,15 +1,14 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.4.0
4
- - 2.3.3
5
- - 2.2.6
6
- before_install:
7
- # Workaround for https://github.com/sickill/rainbow/issues/48
8
- - gem update --system
3
+ - 2.4.1
4
+ - 2.3.4
5
+ - 2.2.7
9
6
  before_script:
10
7
  - bundle exec appraisal install --jobs=3
11
8
  script:
12
9
  - bundle exec rubocop
13
10
  - bundle exec appraisal rails4_1 rake spec
14
11
  - bundle exec appraisal rails4_2 rake spec
15
- - bundle exec appraisal avro-salsify-fork rake spec
12
+ - bundle exec appraisal rails5_0 rake spec
13
+ - bundle exec appraisal avro-patches-4_1 rake spec
14
+ - bundle exec appraisal avro-patches-5_0 rake spec
data/Appraisals CHANGED
@@ -1,17 +1,29 @@
1
1
  appraise 'rails4_1' do
2
- gem 'avro', '1.8.1'
2
+ gem 'avro', '1.8.2'
3
3
  gem 'activesupport', '~> 4.1.16'
4
4
  gem 'activemodel', '~> 4.1.16'
5
5
  end
6
6
 
7
7
  appraise 'rails4_2' do
8
- gem 'avro', '1.8.1'
8
+ gem 'avro', '1.8.2'
9
9
  gem 'activesupport', '~> 4.2.7.1'
10
10
  gem 'activemodel', '~> 4.2.7.1'
11
11
  end
12
12
 
13
- appraise 'avro-salsify-fork' do
14
- gem 'avro-salsify-fork', '1.9.0.5', require: 'avro'
15
- gem 'activesupport', '~> 4.2.7.1'
16
- gem 'activemodel', '~> 4.2.7.1'
13
+ appraise 'rails5_0' do
14
+ gem 'avro', '1.8.2'
15
+ gem 'activesupport', '~> 5.0.3'
16
+ gem 'activemodel', '~> 5.0.3'
17
+ end
18
+
19
+ appraise 'avro-patches-4_1' do
20
+ gem 'avro-patches'
21
+ gem 'activesupport', '~> 4.1.16'
22
+ gem 'activemodel', '~> 4.1.16'
23
+ end
24
+
25
+ appraise 'avro-patches-5_0' do
26
+ gem 'avro-patches'
27
+ gem 'activesupport', '~> 5.0.3'
28
+ gem 'activemodel', '~> 5.0.3'
17
29
  end
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # avromatic changelog
2
2
 
3
+ ## v0.22.0
4
+ - Require `avro_schema_registry_client` v0.3.0 or later to avoid
5
+ using `avro-salsify-fork`.
6
+
3
7
  ## v0.21.1
4
8
  - Fix a bug in the optimization of optional union decoding.
5
9
 
data/README.md CHANGED
@@ -368,13 +368,13 @@ That feature is in progress and will hopefully be merged soon.
368
368
  Avromatic supports logical types as implemented in the [pull request](https://github.com/apache/avro/pull/116) referenced in AVRO-1695.
369
369
 
370
370
  Until that change is included in the official library, you can
371
- use [avro-salsify-fork gem](https://github.com/salsify/avro) which includes
371
+ use the [avro-patches gem](https://github.com/salsify/avro-patches) which includes
372
372
  the changes from the above pull request.
373
373
 
374
- To use this gem, reference it in your Gemfile:
374
+ To use this gem, reference it in your Gemfile instead of `avro`:
375
375
 
376
376
  ```ruby
377
- gem 'avro-salsify-fork', require: 'avro'
377
+ gem 'avro-patches'
378
378
  ````
379
379
 
380
380
  ### Unsupported/Future
data/avromatic.gemspec CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_runtime_dependency 'activesupport', '>= 4.1', '< 5.1'
26
26
  spec.add_runtime_dependency 'activemodel', '>= 4.1', '< 5.1'
27
27
  spec.add_runtime_dependency 'avro_turf'
28
- spec.add_runtime_dependency 'avro_schema_registry-client'
28
+ spec.add_runtime_dependency 'avro_schema_registry-client', '>= 0.3.0'
29
29
 
30
30
  spec.add_development_dependency 'bundler', '~> 1.11'
31
31
  spec.add_development_dependency 'rake', '~> 10.0'
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "avro-patches"
6
+ gem "activesupport", "~> 4.1.16"
7
+ gem "activemodel", "~> 4.1.16"
8
+
9
+ gemspec :path => "../"
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "avro-patches"
6
+ gem "activesupport", "~> 5.0.3"
7
+ gem "activemodel", "~> 5.0.3"
8
+
9
+ gemspec :path => "../"
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "avro", "1.8.1"
5
+ gem "avro", "1.8.2"
6
6
  gem "activesupport", "~> 4.1.16"
7
7
  gem "activemodel", "~> 4.1.16"
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "avro", "1.8.1"
5
+ gem "avro", "1.8.2"
6
6
  gem "activesupport", "~> 4.2.7.1"
7
7
  gem "activemodel", "~> 4.2.7.1"
8
8
 
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "avro", "1.8.2"
6
+ gem "activesupport", "~> 5.0.3"
7
+ gem "activemodel", "~> 5.0.3"
8
+
9
+ gemspec :path => "../"
@@ -56,7 +56,7 @@ module Avromatic
56
56
  end
57
57
 
58
58
  # Allow this code to be used with an official Avro release or the
59
- # avro-salsify-fork that includes logical_type support.
59
+ # avro-patches gem that includes logical_type support.
60
60
  if readers_schema.respond_to?(:logical_type)
61
61
  readers_schema.type_adapter.decode(datum)
62
62
  else
@@ -1,3 +1,3 @@
1
1
  module Avromatic
2
- VERSION = '0.21.1'.freeze
2
+ VERSION = '0.22.0'.freeze
3
3
  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: 0.21.1
4
+ version: 0.22.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: 2017-04-12 00:00:00.000000000 Z
11
+ date: 2017-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avro
@@ -98,14 +98,14 @@ dependencies:
98
98
  requirements:
99
99
  - - ">="
100
100
  - !ruby/object:Gem::Version
101
- version: '0'
101
+ version: 0.3.0
102
102
  type: :runtime
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  requirements:
106
106
  - - ">="
107
107
  - !ruby/object:Gem::Version
108
- version: '0'
108
+ version: 0.3.0
109
109
  - !ruby/object:Gem::Dependency
110
110
  name: bundler
111
111
  requirement: !ruby/object:Gem::Requirement
@@ -267,9 +267,11 @@ files:
267
267
  - avromatic.gemspec
268
268
  - bin/console
269
269
  - bin/setup
270
- - gemfiles/avro_salsify_fork.gemfile
270
+ - gemfiles/avro_patches_4_1.gemfile
271
+ - gemfiles/avro_patches_5_0.gemfile
271
272
  - gemfiles/rails4_1.gemfile
272
273
  - gemfiles/rails4_2.gemfile
274
+ - gemfiles/rails5_0.gemfile
273
275
  - lib/avromatic.rb
274
276
  - lib/avromatic/io/datum_reader.rb
275
277
  - lib/avromatic/messaging.rb
@@ -320,7 +322,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
320
322
  version: '0'
321
323
  requirements: []
322
324
  rubyforge_project:
323
- rubygems_version: 2.6.11
325
+ rubygems_version: 2.6.12
324
326
  signing_key:
325
327
  specification_version: 4
326
328
  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-salsify-fork", "1.9.0.5", :require => "avro"
6
- gem "activesupport", "~> 4.2.7.1"
7
- gem "activemodel", "~> 4.2.7.1"
8
-
9
- gemspec :path => "../"