avro-builder 1.1.0 → 2.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: 9c3bfd2cd887dec4479df3b57f6749de1699c375a464fd8bcc0a53d70593db0b
4
- data.tar.gz: cf9775f4d8cf8548b50bf860ceb8fbf896228cf7c5246f6668d8ea8f4a2c1ea8
3
+ metadata.gz: f59fdd8a081eaaffd44838edb7a38ccdb9910c608376c736f24c65877c86afb5
4
+ data.tar.gz: 5747a1fc177ee16557a4b8d4cf82b3e3c98be8dd5840c3c8be4bac0cf20d5940
5
5
  SHA512:
6
- metadata.gz: 1d8ef969008d124f6f7445d53397ec5e7c2fa8de4a8e9bbb9f6a9496640be6279439042abc01c210f2f4367e3dd35202b6aaa61453727ae4ad7a99d337e85720
7
- data.tar.gz: 3d253d37019c40e9d4f9737748b312c58986e34cdc04f6e8a1fedd79a5ab091d418df1e85e2308192b2bd329ad2b0daac6e157372053a944489eea9f12fd2777
6
+ metadata.gz: e27dd35585d480e3ab97164d0d133f0a84ac617539cb9f8a56aa51c82cd0c56041e0d384f8337f870a40339dd3fecb5b4451132dac0859605c8b7b02fd417cc4
7
+ data.tar.gz: a42ae650e5fad0647da8e7d3174af55ee88fe73bafd98bf68ecc121301fcca9965ef686f893e7632c88b8087b07a1426ed58e83853a07c2c21664830dc9d6a7f
data/.circleci/config.yml CHANGED
@@ -2,14 +2,14 @@ version: 2.1
2
2
  jobs:
3
3
  lint:
4
4
  docker:
5
- - image: salsify/ruby_ci:2.6.8
5
+ - image: cimg/ruby:2.7.7
6
6
  working_directory: ~/avro-builder
7
7
  steps:
8
8
  - checkout
9
9
  - restore_cache:
10
10
  keys:
11
- - v2-gems-ruby-2.6.8-{{ checksum "avro-builder.gemspec" }}-{{ checksum "Gemfile" }}
12
- - v2-gems-ruby-2.6.8-
11
+ - v2-gems-ruby-2.7.7-{{ checksum "avro-builder.gemspec" }}-{{ checksum "Gemfile" }}
12
+ - v2-gems-ruby-2.7.7-
13
13
  - run:
14
14
  name: Install Gems
15
15
  command: |
@@ -18,7 +18,7 @@ jobs:
18
18
  bundle clean
19
19
  fi
20
20
  - save_cache:
21
- key: v2-gems-ruby-2.6.8-{{ checksum "avro-builder.gemspec" }}-{{ checksum "Gemfile" }}
21
+ key: v2-gems-ruby-2.7.7-{{ checksum "avro-builder.gemspec" }}-{{ checksum "Gemfile" }}
22
22
  paths:
23
23
  - "vendor/bundle"
24
24
  - "gemfiles/vendor/bundle"
@@ -32,7 +32,7 @@ jobs:
32
32
  ruby-version:
33
33
  type: string
34
34
  docker:
35
- - image: salsify/ruby_ci:<< parameters.ruby-version >>
35
+ - image: cimg/ruby:<< parameters.ruby-version >>
36
36
  environment:
37
37
  CIRCLE_TEST_REPORTS: "test-results"
38
38
  BUNDLE_GEMFILE: << parameters.gemfile >>
@@ -69,10 +69,13 @@ workflows:
69
69
  matrix:
70
70
  parameters:
71
71
  gemfile:
72
- - "gemfiles/avro_1.9.gemfile"
73
- - "gemfiles/avro_1.10.gemfile"
74
- - "gemfiles/avro_1.11.gemfile"
72
+ - gemfiles/avro_1.9.gemfile
73
+ - gemfiles/avro_1.10.gemfile
74
+ - gemfiles/avro_1.11.gemfile
75
+ - gemfiles/avro_1.12.gemfile
75
76
  ruby-version:
76
- - "2.6.8"
77
- - "2.7.4"
78
- - "3.0.2"
77
+ - 2.7.7
78
+ - 3.0.5
79
+ - 3.1.3
80
+ - 3.2.0
81
+ - 3.3.0
data/.github/CODEOWNERS CHANGED
@@ -1 +1 @@
1
- * @jturkel @kphelps @tjwp
1
+ * @salsify/pim-core-backend
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6.6
1
+ 2.7.7
data/Appraisals CHANGED
@@ -11,3 +11,7 @@ end
11
11
  appraise 'avro-1.11' do
12
12
  gem 'avro', '~> 1.11.0'
13
13
  end
14
+
15
+ appraise 'avro-1.12' do
16
+ gem 'avro', '~> 1.12.0'
17
+ end
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # avro-builder changelog
2
2
 
3
+ ## v2.1.0
4
+ - Add support for Avro 1.12.
5
+
6
+ ## v2.0.0
7
+ - Add support for Ruby 3.2.
8
+ - Drop support for Ruby 2.6.
9
+
3
10
  ## v1.1.0
4
11
  - Add support for Avro 1.11
5
12
  - Add support for decimal logical types.
data/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  `Avro::Builder` provides a Ruby DSL to create [Apache Avro](https://avro.apache.org/docs/current/) Schemas.
9
9
 
10
10
  This DSL was created because:
11
- * The [Avro IDL](https://avro.apache.org/docs/current/idl.html) is not supported in Ruby.
11
+ * The [Avro IDL](https://avro.apache.org/docs/current/idl-language/) is not supported in Ruby.
12
12
  * The Avro IDL can only be used to define Protocols.
13
13
  * Schemas can be extracted as JSON from an IDL Protocol but support
14
14
  for imports is still limited.
@@ -30,8 +30,6 @@ Additional background on why we developed `avro-builder` is provided
30
30
  * Only Avro Schemas, not Protocols are supported.
31
31
  * See [Issues](https://github.com/salsify/avro-builder/issues) for functionality
32
32
  that has yet to be implemented.
33
- * This is beta quality code. There may be breaking changes until version 1.0 is
34
- released.
35
33
 
36
34
  ## Installation
37
35
 
data/avro-builder.gemspec CHANGED
@@ -27,9 +27,9 @@ Gem::Specification.new do |spec|
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ['lib']
29
29
 
30
- spec.required_ruby_version = '>= 2.6'
30
+ spec.required_ruby_version = '>= 2.7'
31
31
 
32
- spec.add_runtime_dependency 'avro', '>= 1.9.0', '< 1.12'
32
+ spec.add_runtime_dependency 'avro', '>= 1.9.0', '< 1.13'
33
33
 
34
34
  spec.add_development_dependency 'appraisal'
35
35
  spec.add_development_dependency 'bundler', '~> 2.0'
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "avro", "~> 1.12.0"
6
+
7
+ gemspec path: "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avro
4
4
  module Builder
5
- VERSION = '1.1.0'
5
+ VERSION = '2.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: 1.1.0
4
+ version: 2.1.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: 2021-11-29 00:00:00.000000000 Z
11
+ date: 2024-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avro
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 1.9.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '1.12'
22
+ version: '1.13'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: 1.9.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '1.12'
32
+ version: '1.13'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: appraisal
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -195,6 +195,7 @@ files:
195
195
  - bin/setup
196
196
  - gemfiles/avro_1.10.gemfile
197
197
  - gemfiles/avro_1.11.gemfile
198
+ - gemfiles/avro_1.12.gemfile
198
199
  - gemfiles/avro_1.9.gemfile
199
200
  - lib/avro/builder.rb
200
201
  - lib/avro/builder/aliasable.rb
@@ -245,14 +246,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
245
246
  requirements:
246
247
  - - ">="
247
248
  - !ruby/object:Gem::Version
248
- version: '2.6'
249
+ version: '2.7'
249
250
  required_rubygems_version: !ruby/object:Gem::Requirement
250
251
  requirements:
251
252
  - - ">="
252
253
  - !ruby/object:Gem::Version
253
254
  version: '0'
254
255
  requirements: []
255
- rubygems_version: 3.2.22
256
+ rubygems_version: 3.3.26
256
257
  signing_key:
257
258
  specification_version: 4
258
259
  summary: Ruby DSL to create Avro schemas