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 +4 -4
- data/.circleci/config.yml +14 -11
- data/.github/CODEOWNERS +1 -1
- data/.ruby-version +1 -1
- data/Appraisals +4 -0
- data/CHANGELOG.md +7 -0
- data/README.md +1 -3
- data/avro-builder.gemspec +2 -2
- data/gemfiles/avro_1.12.gemfile +7 -0
- data/lib/avro/builder/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f59fdd8a081eaaffd44838edb7a38ccdb9910c608376c736f24c65877c86afb5
|
4
|
+
data.tar.gz: 5747a1fc177ee16557a4b8d4cf82b3e3c98be8dd5840c3c8be4bac0cf20d5940
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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:
|
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.
|
12
|
-
- v2-gems-ruby-2.
|
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.
|
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:
|
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
|
-
-
|
73
|
-
-
|
74
|
-
-
|
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
|
-
|
77
|
-
|
78
|
-
|
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
|
-
* @
|
1
|
+
* @salsify/pim-core-backend
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.7.7
|
data/Appraisals
CHANGED
data/CHANGELOG.md
CHANGED
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
|
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.
|
30
|
+
spec.required_ruby_version = '>= 2.7'
|
31
31
|
|
32
|
-
spec.add_runtime_dependency 'avro', '>= 1.9.0', '< 1.
|
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'
|
data/lib/avro/builder/version.rb
CHANGED
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:
|
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:
|
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.
|
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.
|
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.
|
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.
|
256
|
+
rubygems_version: 3.3.26
|
256
257
|
signing_key:
|
257
258
|
specification_version: 4
|
258
259
|
summary: Ruby DSL to create Avro schemas
|