avro-builder 0.16.2 → 1.1.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: 200291b14e045c942db013af4e3288ff6f6fd58bd72dec71d07dcd5b3dd8feaa
4
- data.tar.gz: 41ec29b767c1133feb64c91766681b58dd98696e27ee4be504a27a6201ee4950
3
+ metadata.gz: 9c3bfd2cd887dec4479df3b57f6749de1699c375a464fd8bcc0a53d70593db0b
4
+ data.tar.gz: cf9775f4d8cf8548b50bf860ceb8fbf896228cf7c5246f6668d8ea8f4a2c1ea8
5
5
  SHA512:
6
- metadata.gz: affd413784160d10c371d1d70547d58332d388726d31a727b242c85823a068e5d9e97d12a999ee96bcdd6db2796cbd6ea2f70566ccdd707bd3e21995373aac3c
7
- data.tar.gz: d94ffa43cd149edf03046b17368d56d2b3229cc46ad92e3f1dd7588f056078ec4e6679f3157968989e319db7d25f10d461f25cca3e651d8fcb07b66d0531a004
6
+ metadata.gz: 1d8ef969008d124f6f7445d53397ec5e7c2fa8de4a8e9bbb9f6a9496640be6279439042abc01c210f2f4367e3dd35202b6aaa61453727ae4ad7a99d337e85720
7
+ data.tar.gz: 3d253d37019c40e9d4f9737748b312c58986e34cdc04f6e8a1fedd79a5ab091d418df1e85e2308192b2bd329ad2b0daac6e157372053a944489eea9f12fd2777
@@ -0,0 +1,78 @@
1
+ version: 2.1
2
+ jobs:
3
+ lint:
4
+ docker:
5
+ - image: salsify/ruby_ci:2.6.8
6
+ working_directory: ~/avro-builder
7
+ steps:
8
+ - checkout
9
+ - restore_cache:
10
+ keys:
11
+ - v2-gems-ruby-2.6.8-{{ checksum "avro-builder.gemspec" }}-{{ checksum "Gemfile" }}
12
+ - v2-gems-ruby-2.6.8-
13
+ - run:
14
+ name: Install Gems
15
+ command: |
16
+ if ! bundle check --path=vendor/bundle; then
17
+ bundle install --path=vendor/bundle --jobs=4 --retry=3
18
+ bundle clean
19
+ fi
20
+ - save_cache:
21
+ key: v2-gems-ruby-2.6.8-{{ checksum "avro-builder.gemspec" }}-{{ checksum "Gemfile" }}
22
+ paths:
23
+ - "vendor/bundle"
24
+ - "gemfiles/vendor/bundle"
25
+ - run:
26
+ name: Run Rubocop
27
+ command: bundle exec rubocop
28
+ test:
29
+ parameters:
30
+ gemfile:
31
+ type: string
32
+ ruby-version:
33
+ type: string
34
+ docker:
35
+ - image: salsify/ruby_ci:<< parameters.ruby-version >>
36
+ environment:
37
+ CIRCLE_TEST_REPORTS: "test-results"
38
+ BUNDLE_GEMFILE: << parameters.gemfile >>
39
+ working_directory: ~/avro-builder
40
+ steps:
41
+ - checkout
42
+ - restore_cache:
43
+ keys:
44
+ - v2-gems-ruby-<< parameters.ruby-version >>-{{ checksum "avro-builder.gemspec" }}-{{ checksum "<< parameters.gemfile >>" }}
45
+ - v2-gems-ruby-<< parameters.ruby-version >>-
46
+ - run:
47
+ name: Install Gems
48
+ command: |
49
+ if ! bundle check --path=vendor/bundle; then
50
+ bundle install --path=vendor/bundle --jobs=4 --retry=3
51
+ bundle clean
52
+ fi
53
+ - save_cache:
54
+ key: v2-gems-ruby-<< parameters.ruby-version >>-{{ checksum "avro-builder.gemspec" }}-{{ checksum "<< parameters.gemfile >>" }}
55
+ paths:
56
+ - "vendor/bundle"
57
+ - "gemfiles/vendor/bundle"
58
+ - run:
59
+ name: Run Tests
60
+ command: |
61
+ bundle exec rspec --format RspecJunitFormatter --out $CIRCLE_TEST_REPORTS/rspec/junit.xml --format progress spec
62
+ - store_test_results:
63
+ path: "test-results"
64
+ workflows:
65
+ build:
66
+ jobs:
67
+ - lint
68
+ - test:
69
+ matrix:
70
+ parameters:
71
+ gemfile:
72
+ - "gemfiles/avro_1.9.gemfile"
73
+ - "gemfiles/avro_1.10.gemfile"
74
+ - "gemfiles/avro_1.11.gemfile"
75
+ ruby-version:
76
+ - "2.6.8"
77
+ - "2.7.4"
78
+ - "3.0.2"
@@ -0,0 +1 @@
1
+ * @jturkel @kphelps @tjwp
data/.rubocop.yml CHANGED
@@ -7,7 +7,7 @@ AllCops:
7
7
  - Exclude
8
8
  NewCops: disable
9
9
  Exclude:
10
- - "gemfiles/*"
10
+ - "gemfiles/**/*"
11
11
 
12
12
  Style/RaiseArgs:
13
13
  EnforcedStyle: compact
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.5.8
1
+ 2.6.6
data/Appraisals CHANGED
@@ -1,26 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- appraise 'avro-1.8.2' do
4
- gem 'avro', '1.8.2'
3
+ appraise 'avro-1.9' do
4
+ gem 'avro', '1.9.2'
5
5
  end
6
6
 
7
- appraise 'avro-1.9.0' do
8
- gem 'avro', '1.9.0'
7
+ appraise 'avro-1.10' do
8
+ gem 'avro', '1.10.2'
9
9
  end
10
10
 
11
- appraise 'avro-1.9.1' do
12
- gem 'avro', '1.9.1'
13
- end
14
-
15
- appraise 'avro-1.10.0' do
16
- gem 'avro', '1.10.0'
17
- end
18
-
19
- appraise 'avro-patches-0.x' do
20
- gem 'avro', '1.8.2'
21
- gem 'avro-patches', '< 1.0.0'
22
- end
23
-
24
- appraise 'avro-patches-1.x' do
25
- gem 'avro-patches', '>= 1.0.0'
11
+ appraise 'avro-1.11' do
12
+ gem 'avro', '~> 1.11.0'
26
13
  end
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # avro-builder changelog
2
2
 
3
+ ## v1.1.0
4
+ - Add support for Avro 1.11
5
+ - Add support for decimal logical types.
6
+
7
+ ## v1.0.1
8
+ - Bug fix: Fix pretty formatting of schemas for Rails applications that don't
9
+ use oj or yajl by removing the dependency on multi_json.
10
+
11
+ ## v1.0.0
12
+ - Drop support for Avro < 1.9.
13
+ - Drop support for Ruby < 2.6.
14
+ - Add Ruby 3.0 support.
15
+ - Bug fix: Use multi_json to encode schemas and ensure that a JSON encoder
16
+ is always present.
17
+
18
+ ## v0.17.0
19
+ - Add support for enum defaults introduced in Avro v1.10.0.
20
+
3
21
  ## v0.16.2
4
22
  - Allow avro version up to v1.10.x. Support will be added for new
5
23
  functionality in Avro v1.10 in a later release.
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # Avro::Builder
2
2
 
3
- [![Build Status](https://travis-ci.org/salsify/avro-builder.svg?branch=master)][travis]
3
+ [![Build Status](https://circleci.com/gh/salsify/avro-builder.svg?style=svg)][circleci]
4
4
  [![Gem Version](https://badge.fury.io/rb/avro-builder.svg)](https://badge.fury.io/rb/avro-builder)
5
5
 
6
- [travis]: http://travis-ci.org/salsify/avro-builder
6
+ [circleci]: https://circleci.com/gh/salsify/avro-builder
7
7
 
8
8
  `Avro::Builder` provides a Ruby DSL to create [Apache Avro](https://avro.apache.org/docs/current/) Schemas.
9
9
 
@@ -165,6 +165,9 @@ fixed :g, size: 8
165
165
  enum :e, :X, :Y, :Z
166
166
  enum :d, symbols: [:A, :B]
167
167
 
168
+ # defaults can be set for enums with Ruby Avro v1.10.0
169
+ enum :c, symbols: [:A, :B], default: :A
170
+
168
171
  record :my_record_with_named do
169
172
  required :f_ref, :f
170
173
  required :fixed_inline, :fixed, size: 9
@@ -276,21 +279,10 @@ end
276
279
 
277
280
  ### Logical Types
278
281
 
279
- The DSL supports setting a logical type on any type except a union. The logical
280
- types defined in the Avro [spec](https://avro.apache.org/docs/1.8.1/spec.html#Logical+Types)
281
- are more limited.
282
-
283
- The official Ruby `avro` gem does not yet support logical types:
284
- [AVRO-1695](https://issues.apache.org/jira/browse/AVRO-1695).
285
-
286
- There is a [avro-patches](https://github.com/salsify/avro-patches) gem that patches
287
- the official Avro Ruby gem to support
288
- encoding and decoding logical types. To use this gem, reference it in your Gemfile
289
- instead of the official Avro gem:
290
-
291
- ```ruby
292
- gem 'avro-patches'
293
- ```
282
+ The DSL supports setting a logical type on any type except a union. The Avro
283
+ [spec](https://avro.apache.org/docs/current/spec.html#Logical+Types) lists the logical types
284
+ that are currently defined. Note: `avro-builder` is more permissive and any logical type can
285
+ be specified on a type.
294
286
 
295
287
  A logical type can be specified for a field using the `logical_type` attribute:
296
288
 
@@ -317,6 +309,13 @@ record :with_date_array
317
309
  end
318
310
  ```
319
311
 
312
+ #### Decimal Logical Types
313
+
314
+ The decimal logical type, for bytes and fixed types, is currently the only logical type that requires additional
315
+ attributes. For decimals, precision must be specified and scale may optionally be specified. `avro-builder`
316
+ supports both of these attributes for bytes and fixed decimals. See the Avro
317
+ [spec](https://avro.apache.org/docs/current/spec.html#Decimal) for more details.
318
+
320
319
  ### Abstract Types
321
320
 
322
321
  Types can be declared as abstract in the DSL. Declaring a type as abstract
data/avro-builder.gemspec CHANGED
@@ -15,12 +15,21 @@ Gem::Specification.new do |spec|
15
15
  spec.homepage = 'https://github.com/salsify/avro-builder.git'
16
16
  spec.license = 'MIT'
17
17
 
18
+ if spec.respond_to?(:metadata)
19
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
20
+ spec.metadata['rubygems_mfa_required'] = 'true'
21
+ else
22
+ raise 'RubyGems 2.0 or newer is required to set allowed_push_host.'
23
+ end
24
+
18
25
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
19
26
  spec.bindir = 'exe'
20
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
28
  spec.require_paths = ['lib']
22
29
 
23
- spec.add_runtime_dependency 'avro', '>= 1.7.0', '< 1.11'
30
+ spec.required_ruby_version = '>= 2.6'
31
+
32
+ spec.add_runtime_dependency 'avro', '>= 1.9.0', '< 1.12'
24
33
 
25
34
  spec.add_development_dependency 'appraisal'
26
35
  spec.add_development_dependency 'bundler', '~> 2.0'
@@ -29,6 +38,7 @@ Gem::Specification.new do |spec|
29
38
  spec.add_development_dependency 'rake', '~> 10.0'
30
39
  spec.add_development_dependency 'rspec', '~> 3.0'
31
40
  spec.add_development_dependency 'rspec-its'
32
- spec.add_development_dependency 'salsify_rubocop', '~> 0.85.0'
41
+ spec.add_development_dependency 'rspec_junit_formatter'
42
+ spec.add_development_dependency 'salsify_rubocop', '~> 1.0.1'
33
43
  spec.add_development_dependency 'simplecov'
34
44
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "avro", "1.10.0"
5
+ gem "avro", "1.10.2"
6
6
 
7
7
  gemspec path: "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "avro", "1.8.2"
5
+ gem "avro", "~> 1.11.0"
6
6
 
7
7
  gemspec path: "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "avro", "1.9.1"
5
+ gem "avro", "1.9.2"
6
6
 
7
7
  gemspec path: "../"
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'avro'
4
+ require 'json'
4
5
  require 'avro/builder/errors'
5
6
  require 'avro/builder/dsl_options'
6
7
  require 'avro/builder/dsl_attributes'
@@ -12,6 +12,7 @@ module Avro
12
12
  :load_paths, :dependencies, :filetype
13
13
 
14
14
  def initialize(name: :generate, dependencies: [])
15
+ super()
15
16
  @name = name
16
17
  @task_namespace = :avro
17
18
  @task_desc = 'Generate Avro schema files from Avro::Builder DSL'
@@ -30,7 +30,9 @@ module Avro
30
30
  # Return a new Type instance
31
31
  def create_builtin_type(avro_type_name, field:, cache:)
32
32
  name = avro_type_name.to_s.downcase
33
- if Avro::Schema::PRIMITIVE_TYPES.include?(name)
33
+ if name == 'bytes'
34
+ Avro::Builder::Types::BytesType.new(field: field, cache: cache)
35
+ elsif Avro::Schema::PRIMITIVE_TYPES.include?(name)
34
36
  Avro::Builder::Types::Type.new(name, field: field, cache: cache)
35
37
  elsif field.nil? && NAMED_TYPES.include?(name)
36
38
  Avro::Builder.const_get(name.capitalize).new(cache: cache)
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Avro
4
+ module Builder
5
+ module Types
6
+ # Subclass for the primitive Bytes type because it supports the decimal logical type.
7
+ class BytesType < Type
8
+ dsl_attributes :precision, :scale
9
+
10
+ def initialize(cache:, field: nil)
11
+ super('bytes', field: field, cache: cache)
12
+ end
13
+
14
+ def serialize(reference_state)
15
+ super(reference_state, overrides: serialized_attributes)
16
+ end
17
+
18
+ def to_h(reference_state)
19
+ super(reference_state, overrides: serialized_attributes)
20
+ end
21
+
22
+ private
23
+
24
+ def serialized_attributes
25
+ { precision: precision, scale: scale }
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end
@@ -5,7 +5,7 @@ module Avro
5
5
  module Types
6
6
  class EnumType < NamedType
7
7
 
8
- dsl_attribute :doc
8
+ dsl_attributes :doc, :default
9
9
 
10
10
  dsl_attribute :symbols do |*values|
11
11
  # Define symbols explicitly to support values as a splat or single array
@@ -27,12 +27,19 @@ module Avro
27
27
  def validate!
28
28
  super
29
29
  validate_required_attribute!(:symbols)
30
+ validate_enum_default!
30
31
  end
31
32
 
32
33
  private
33
34
 
35
+ def validate_enum_default!
36
+ if !default.nil? && !symbols.map(&:to_sym).include?(default.to_sym)
37
+ raise AttributeError.new("enum default '#{default}' must be one of the enum symbols: #{symbols}")
38
+ end
39
+ end
40
+
34
41
  def serialized_attributes
35
- { symbols: symbols, doc: doc }
42
+ { symbols: symbols, doc: doc, default: default }
36
43
  end
37
44
  end
38
45
  end
@@ -5,7 +5,7 @@ module Avro
5
5
  module Types
6
6
  class FixedType < NamedType
7
7
 
8
- dsl_attribute :size
8
+ dsl_attributes :size, :precision, :scale
9
9
 
10
10
  def serialize(reference_state)
11
11
  super(reference_state, overrides: serialized_attributes)
@@ -23,7 +23,7 @@ module Avro
23
23
  private
24
24
 
25
25
  def serialized_attributes
26
- { size: size }
26
+ { size: size, precision: precision, scale: scale }
27
27
  end
28
28
  end
29
29
  end
@@ -13,7 +13,8 @@ module Avro
13
13
  dsl_attribute :doc
14
14
  dsl_attribute_alias :type_doc, :doc
15
15
 
16
- def initialize(name = nil, options: {}, cache:, field: nil, &block)
16
+ def initialize(name = nil, cache:, options: {}, field: nil, &block) # rubocop:disable Lint/MissingSuper
17
+ # TODO: Fix missing call to super
17
18
  @avro_type_name = :record
18
19
  @name = name
19
20
  @cache = cache
@@ -24,17 +24,16 @@ module Avro
24
24
  !!abstract
25
25
  end
26
26
 
27
- def serialize(_reference_state)
27
+ def serialize(_reference_state, overrides: {})
28
28
  if logical_type
29
- { type: avro_type_name, logicalType: logical_type }
29
+ serialized_attributes_hash(overrides)
30
30
  else
31
31
  avro_type_name
32
32
  end
33
33
  end
34
34
 
35
- def to_h(_reference_state)
36
- { type: avro_type_name, logicalType: logical_type }
37
- .reject { |_, v| v.nil? }
35
+ def to_h(_reference_state, overrides: {})
36
+ serialized_attributes_hash(overrides)
38
37
  end
39
38
 
40
39
  def namespace
@@ -75,6 +74,12 @@ module Avro
75
74
 
76
75
  private
77
76
 
77
+ def serialized_attributes_hash(overrides)
78
+ { type: avro_type_name, logicalType: logical_type }
79
+ .merge(overrides)
80
+ .reject { |_, v| v.nil? }
81
+ end
82
+
78
83
  def required_attribute_error!(attribute_name)
79
84
  raise RequiredAttributeError.new(type: avro_type_name,
80
85
  attribute: attribute_name,
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'avro/builder/types/type'
4
+ require 'avro/builder/types/bytes_type'
4
5
  require 'avro/builder/types/complex_type'
5
6
  require 'avro/builder/types/type_referencer'
6
7
  require 'avro/builder/types/named_type'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avro
4
4
  module Builder
5
- VERSION = '0.16.2'
5
+ VERSION = '1.1.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avro-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.2
4
+ version: 1.1.0
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: 2020-06-29 00:00:00.000000000 Z
11
+ date: 2021-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avro
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.7.0
19
+ version: 1.9.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '1.11'
22
+ version: '1.12'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 1.7.0
29
+ version: 1.9.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '1.11'
32
+ version: '1.12'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: appraisal
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -128,20 +128,34 @@ dependencies:
128
128
  - - ">="
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0'
131
+ - !ruby/object:Gem::Dependency
132
+ name: rspec_junit_formatter
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ type: :development
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
131
145
  - !ruby/object:Gem::Dependency
132
146
  name: salsify_rubocop
133
147
  requirement: !ruby/object:Gem::Requirement
134
148
  requirements:
135
149
  - - "~>"
136
150
  - !ruby/object:Gem::Version
137
- version: 0.85.0
151
+ version: 1.0.1
138
152
  type: :development
139
153
  prerelease: false
140
154
  version_requirements: !ruby/object:Gem::Requirement
141
155
  requirements:
142
156
  - - "~>"
143
157
  - !ruby/object:Gem::Version
144
- version: 0.85.0
158
+ version: 1.0.1
145
159
  - !ruby/object:Gem::Dependency
146
160
  name: simplecov
147
161
  requirement: !ruby/object:Gem::Requirement
@@ -163,12 +177,13 @@ executables: []
163
177
  extensions: []
164
178
  extra_rdoc_files: []
165
179
  files:
180
+ - ".circleci/config.yml"
181
+ - ".github/CODEOWNERS"
166
182
  - ".gitignore"
167
183
  - ".overcommit.yml"
168
184
  - ".rspec"
169
185
  - ".rubocop.yml"
170
186
  - ".ruby-version"
171
- - ".travis.yml"
172
187
  - Appraisals
173
188
  - CHANGELOG.md
174
189
  - Gemfile
@@ -178,12 +193,9 @@ files:
178
193
  - avro-builder.gemspec
179
194
  - bin/console
180
195
  - bin/setup
181
- - gemfiles/avro_1.10.0.gemfile
182
- - gemfiles/avro_1.8.2.gemfile
183
- - gemfiles/avro_1.9.0.gemfile
184
- - gemfiles/avro_1.9.1.gemfile
185
- - gemfiles/avro_patches_0.x.gemfile
186
- - gemfiles/avro_patches_1.x.gemfile
196
+ - gemfiles/avro_1.10.gemfile
197
+ - gemfiles/avro_1.11.gemfile
198
+ - gemfiles/avro_1.9.gemfile
187
199
  - lib/avro/builder.rb
188
200
  - lib/avro/builder/aliasable.rb
189
201
  - lib/avro/builder/anonymous_types.rb
@@ -206,6 +218,7 @@ files:
206
218
  - lib/avro/builder/type_factory.rb
207
219
  - lib/avro/builder/types.rb
208
220
  - lib/avro/builder/types/array_type.rb
221
+ - lib/avro/builder/types/bytes_type.rb
209
222
  - lib/avro/builder/types/complex_type.rb
210
223
  - lib/avro/builder/types/enum_type.rb
211
224
  - lib/avro/builder/types/fixed_type.rb
@@ -221,8 +234,10 @@ files:
221
234
  homepage: https://github.com/salsify/avro-builder.git
222
235
  licenses:
223
236
  - MIT
224
- metadata: {}
225
- post_install_message:
237
+ metadata:
238
+ allowed_push_host: https://rubygems.org
239
+ rubygems_mfa_required: 'true'
240
+ post_install_message:
226
241
  rdoc_options: []
227
242
  require_paths:
228
243
  - lib
@@ -230,16 +245,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
230
245
  requirements:
231
246
  - - ">="
232
247
  - !ruby/object:Gem::Version
233
- version: '0'
248
+ version: '2.6'
234
249
  required_rubygems_version: !ruby/object:Gem::Requirement
235
250
  requirements:
236
251
  - - ">="
237
252
  - !ruby/object:Gem::Version
238
253
  version: '0'
239
254
  requirements: []
240
- rubyforge_project:
241
- rubygems_version: 2.7.6.2
242
- signing_key:
255
+ rubygems_version: 3.2.22
256
+ signing_key:
243
257
  specification_version: 4
244
258
  summary: Ruby DSL to create Avro schemas
245
259
  test_files: []
data/.travis.yml DELETED
@@ -1,16 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.5.8
4
- - 2.6.6
5
- - 2.7.1
6
- before_install: gem install bundler -v 2.0.1 --no-document
7
- before_script:
8
- - bundle exec appraisal install --jobs=3
9
- script:
10
- - bundle exec rubocop
11
- - bundle exec appraisal avro-1.8.2 rspec
12
- - bundle exec appraisal avro-1.9.0 rspec
13
- - bundle exec appraisal avro-1.9.1 rspec
14
- - bundle exec appraisal avro-1.10.0 rspec
15
- - bundle exec appraisal avro-patches-0.x rspec
16
- - bundle exec appraisal avro-patches-1.x rspec
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "avro", "1.9.0"
6
-
7
- gemspec path: "../"
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "avro", "1.8.2"
6
- gem "avro-patches", "< 1.0.0"
7
-
8
- gemspec path: "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "avro-patches", ">= 1.0.0"
6
-
7
- gemspec path: "../"