avrolution 0.5.0.rc0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 12a1d489d386d4adec3d8622eaa84eda3e0f3cfd
4
- data.tar.gz: 5488bd6d2ff993fa5a3016c68a1595e8447566ea
2
+ SHA256:
3
+ metadata.gz: 8a487413bb55d7c38f33c2b8c2774193b64b600292181224ae19b674d677d5a1
4
+ data.tar.gz: 6ef79cdd9d91cd562d0c6bc017a08a9eae1497a0f35f16b2b865c27980939b83
5
5
  SHA512:
6
- metadata.gz: 6ceb8f501ee0685d70210cb267be84eda487e248fad4e6e66c0c404a43c1553ee4bd7c5a6132187cfa01d5e2b0b5da6759f795f3f503286cf0979763f36a4103
7
- data.tar.gz: 5a9517a3613cce1d19c7e6590d1bec70945b7d80ea4ad9768dc36986aa6858ee09414408827ef536ec30cc27b56a31fe692b59f7a7d2fbfc02efe45b5719845e
6
+ metadata.gz: f525bf53815eba944c6ab7e907f716a0d15f45e9d277cbbbbb60b431789ba5abe8247eca5bd9f845754afca7bdd33b3cdff185a6599b81110d9bd0fbcffe85cd
7
+ data.tar.gz: d049b770986b7288129ca14daa69c42c58eddbd665f592229440ec6dc0df41b744d7c1cbd36c24247ced977c6badc7948808f931880a5e524da731701a782435
@@ -0,0 +1,71 @@
1
+ version: 2.1
2
+ jobs:
3
+ lint:
4
+ docker:
5
+ - image: salsify/ruby_ci:2.6.6
6
+ working_directory: ~/avromatic
7
+ steps:
8
+ - checkout
9
+ - restore_cache:
10
+ keys:
11
+ - v2-gems-ruby-2.6.6-{{ checksum "avromatic.gemspec" }}-{{ checksum "Gemfile" }}
12
+ - v2-gems-ruby-2.6.6-
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.6-{{ checksum "avromatic.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
+ ruby-version:
31
+ type: string
32
+ docker:
33
+ - image: salsify/ruby_ci:<< parameters.ruby-version >>
34
+ environment:
35
+ CIRCLE_TEST_REPORTS: "test-results"
36
+ working_directory: ~/avromatic
37
+ steps:
38
+ - checkout
39
+ - restore_cache:
40
+ keys:
41
+ - v2-gems-ruby-<< parameters.ruby-version >>-{{ checksum "avromatic.gemspec" }}-{{ checksum "Gemfile" }}
42
+ - v2-gems-ruby-<< parameters.ruby-version >>-
43
+ - run:
44
+ name: Install Gems
45
+ command: |
46
+ if ! bundle check --path=vendor/bundle; then
47
+ bundle install --path=vendor/bundle --jobs=4 --retry=3
48
+ bundle clean
49
+ fi
50
+ - save_cache:
51
+ key: v2-gems-ruby-<< parameters.ruby-version >>-{{ checksum "avromatic.gemspec" }}-{{ checksum "Gemfile" }}
52
+ paths:
53
+ - "vendor/bundle"
54
+ - "gemfiles/vendor/bundle"
55
+ - run:
56
+ name: Run Tests
57
+ command: |
58
+ bundle exec rspec --format RspecJunitFormatter --out $CIRCLE_TEST_REPORTS/rspec/junit.xml --format progress spec
59
+ - store_test_results:
60
+ path: "test-results"
61
+ workflows:
62
+ build:
63
+ jobs:
64
+ - lint
65
+ - test:
66
+ matrix:
67
+ parameters:
68
+ ruby-version:
69
+ - "2.6.6"
70
+ - "2.7.2"
71
+ - "3.0.0"
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ .ruby-version
data/.rubocop.yml CHANGED
@@ -1,2 +1,8 @@
1
1
  inherit_gem:
2
2
  salsify_rubocop: conf/rubocop.yml
3
+
4
+ AllCops:
5
+ TargetRubyVersion: 2.6
6
+ Exclude:
7
+ - 'vendor/**/*'
8
+ - 'gemfiles/vendor/**/*'
data/CHANGELOG.md CHANGED
@@ -1,7 +1,22 @@
1
1
  # avrolution
2
2
 
3
+ ## v0.7.1
4
+ - Adjust Rake task definitions to work with Ruby 3.0.
5
+
6
+ ## v0.7.0
7
+ - Add support for Ruby 3.0.
8
+ - Drop support for Ruby < 2.6.
9
+ - Use frozen string literals.
10
+
11
+ ## v0.6.1
12
+ - Add missing require to `Avrolution::Rake::BaseTask`.
13
+
14
+ ## v0.6.0
15
+ - Do not check compatibility for previously registered schemas.
16
+
3
17
  ## v0.5.0
4
- - Require 'avro-patches' instead of `avro-salsify-fork`.
18
+ - Require `avro-resolution_canonical_form` v0.2.0 or later to use
19
+ `avro-patches` instead of `avro-salsify-fork`.
5
20
 
6
21
  ## v0.4.4
7
22
  - Report current compatibility BOTH as FULL since BOTH is deprecated.
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  # override the :github shortcut to be secure by using HTTPS
data/README.md CHANGED
@@ -58,7 +58,7 @@ For Rails applications, the `avro:check_compatibility` task is automatically
58
58
  defined via a Railtie.
59
59
 
60
60
  This task does not require any arguments. It checks the
61
- compatibility of all Avro JSON schemas found recursively under `Avrolution.root`
61
+ compatibility of all unregistered Avro JSON schemas found recursively under `Avrolution.root`
62
62
  against the schema registry `ENV['COMPATIBILITY_SCHEMA_REGISTRY_URL']` or
63
63
  `Avroluion.compatibility_schema_registry_url`.
64
64
 
@@ -149,7 +149,9 @@ push git commits and tags, and push the `.gem` file to
149
149
  ## Contributing
150
150
 
151
151
  Bug reports and pull requests are welcome on GitHub at
152
- https://github.com/salsify/avrolution.## License
152
+ https://github.com/salsify/avrolution.
153
+
154
+ ## License
153
155
 
154
156
  The gem is available as open source under the terms of the
155
157
  [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'bundler/gem_tasks'
2
4
 
3
5
  require 'rspec/core/rake_task'
data/avrolution.gemspec CHANGED
@@ -1,5 +1,6 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
5
  require 'avrolution/version'
5
6
 
@@ -27,21 +28,23 @@ Gem::Specification.new do |spec|
27
28
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
28
29
  spec.require_paths = ['lib']
29
30
 
30
- spec.add_development_dependency 'bundler', '~> 1.12'
31
- spec.add_development_dependency 'rake', '~> 10.0'
32
- spec.add_development_dependency 'rspec', '~> 3.5'
33
- spec.add_development_dependency 'rspec-its'
34
- spec.add_development_dependency 'salsify_rubocop', '~> 0.47.2'
35
- spec.add_development_dependency 'overcommit'
31
+ spec.required_ruby_version = '>= 2.6'
32
+
33
+ spec.add_development_dependency 'bundler', '~> 2.0'
36
34
  spec.add_development_dependency 'fakefs'
35
+ spec.add_development_dependency 'overcommit'
36
+ spec.add_development_dependency 'rake', '~> 13.0'
37
+ spec.add_development_dependency 'rspec', '~> 3.8'
38
+ spec.add_development_dependency 'rspec-its'
39
+ spec.add_development_dependency 'rspec_junit_formatter'
40
+ spec.add_development_dependency 'salsify_rubocop', '~> 1.0.1'
37
41
  spec.add_development_dependency 'simplecov'
38
42
 
39
- spec.add_runtime_dependency 'avro-patches'
40
- spec.add_runtime_dependency 'avro-resolution_canonical_form', '0.2.0.rc0' # TODO
43
+ spec.add_runtime_dependency 'activemodel'
44
+ spec.add_runtime_dependency 'activesupport'
45
+ spec.add_runtime_dependency 'avro-resolution_canonical_form', '>= 0.2.0'
41
46
  spec.add_runtime_dependency 'avro_schema_registry-client', '>= 0.2.0'
42
47
  spec.add_runtime_dependency 'diffy'
43
48
  spec.add_runtime_dependency 'private_attr'
44
- spec.add_runtime_dependency 'activesupport'
45
- spec.add_runtime_dependency 'activemodel'
46
49
  spec.add_runtime_dependency 'procto'
47
50
  end
data/bin/console CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  require 'bundler/setup'
4
5
  require 'avrolution'
data/lib/avrolution.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'avrolution/version'
2
4
  require 'logger'
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'active_model'
2
4
 
3
5
  module Avrolution
@@ -6,9 +8,16 @@ module Avrolution
6
8
 
7
9
  ValidationError = Class.new(StandardError)
8
10
 
9
- VALID_COMPATIBILITY_VALUES = %w(BACKWARD BACKWARD_TRANSITIVE FORWARD
10
- FORWARD_TRANSITIVE FULL FULL_TRANSITIVE NONE).map(&:freeze).freeze
11
- NONE = 'NONE'.freeze
11
+ VALID_COMPATIBILITY_VALUES = [
12
+ 'BACKWARD',
13
+ 'BACKWARD_TRANSITIVE',
14
+ 'FORWARD',
15
+ 'FORWARD_TRANSITIVE',
16
+ 'FULL',
17
+ 'FULL_TRANSITIVE',
18
+ 'NONE'
19
+ ].freeze
20
+ NONE = 'NONE'
12
21
 
13
22
  attr_reader :name, :fingerprint, :with_compatibility, :after_compatibility
14
23
 
@@ -1,7 +1,9 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Avrolution
2
4
  module CompatibilityBreaksFile
3
5
 
4
- NONE = 'NONE'.freeze
6
+ NONE = 'NONE'
5
7
 
6
8
  class DuplicateEntryError < StandardError
7
9
  def initialize(key)
@@ -19,7 +21,9 @@ module Avrolution
19
21
  after_compatibility: nil,
20
22
  logger: Avrolution.logger)
21
23
 
22
- compatibility_break = Avrolution::CompatibilityBreak.new(name, fingerprint, with_compatibility, after_compatibility)
24
+ compatibility_break = Avrolution::CompatibilityBreak.new(
25
+ name, fingerprint, with_compatibility, after_compatibility
26
+ )
23
27
  compatibility_break.validate!
24
28
 
25
29
  compatibility_breaks = load
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'avro-resolution_canonical_form'
2
4
  require 'private_attr'
3
5
  require 'diffy'
@@ -9,11 +11,11 @@ module Avrolution
9
11
 
10
12
  attr_reader :incompatible_schemas
11
13
 
12
- NONE = 'NONE'.freeze
13
- FULL = 'FULL'.freeze
14
- BOTH = 'BOTH'.freeze
15
- BACKWARD = 'BACKWARD'.freeze
16
- FORWARD = 'FORWARD'.freeze
14
+ NONE = 'NONE'
15
+ FULL = 'FULL'
16
+ BOTH = 'BOTH'
17
+ BACKWARD = 'BACKWARD'
18
+ FORWARD = 'FORWARD'
17
19
 
18
20
  private_attr_reader :schema_registry, :compatibility_breaks,
19
21
  :logger
@@ -54,6 +56,8 @@ module Avrolution
54
56
  fingerprint = schema.sha256_resolution_fingerprint.to_s(16)
55
57
 
56
58
  logger.info("Checking compatibility: #{fullname}")
59
+ return if schema_registered?(fullname, schema)
60
+
57
61
  compatible = schema_registry.compatible?(fullname, schema, 'latest')
58
62
 
59
63
  if compatible.nil?
@@ -65,6 +69,12 @@ module Avrolution
65
69
  end
66
70
  end
67
71
 
72
+ def schema_registered?(fullname, schema)
73
+ schema_registry.lookup_subject_schema(fullname, schema)
74
+ rescue Excon::Errors::NotFound
75
+ nil
76
+ end
77
+
68
78
  # For a schema that is incompatible with the latest registered schema,
69
79
  # check if there is a compatibility break defined and check compatibility
70
80
  # using the level defined by the break.
@@ -73,7 +83,9 @@ module Avrolution
73
83
 
74
84
  if compatibility_break
75
85
  logger.info("... Checking compatibility with level set to #{compatibility_break.with_compatibility}")
76
- schema_registry.compatible?(fullname, schema, 'latest', with_compatibility: compatibility_break.with_compatibility)
86
+ schema_registry.compatible?(
87
+ fullname, schema, 'latest', with_compatibility: compatibility_break.with_compatibility
88
+ )
77
89
  else
78
90
  false
79
91
  end
@@ -97,12 +109,14 @@ module Avrolution
97
109
  logger.info("... Compatibility with last version: #{compatibility_with_last}")
98
110
  logger.info(Diffy::Diff.new(last_json, json, context: 3).to_s) unless compatibility_with_last == FULL
99
111
 
100
- compatibility = schema_registry.subject_config(fullname)['compatibility'] || schema_registry.global_config['compatibility']
112
+ compatibility = schema_registry.subject_config(fullname)['compatibility'] ||
113
+ schema_registry.global_config['compatibility']
101
114
  compatibility = FULL if compatibility == BOTH
102
115
  logger.info("... Current compatibility level: #{compatibility}")
103
116
  logger.info(
104
117
  "\n To allow a compatibility break, run:\n" \
105
- " rake avro:add_compatibility_break name=#{fullname} fingerprint=#{fingerprint} with_compatibility=#{compatibility_with_last} [after_compatibility=<LEVEL>]\n"
118
+ " rake avro:add_compatibility_break name=#{fullname} fingerprint=#{fingerprint} " \
119
+ "with_compatibility=#{compatibility_with_last} [after_compatibility=<LEVEL>]\n"
106
120
  )
107
121
  end
108
122
 
@@ -1,7 +1,9 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Avrolution
2
4
 
3
- COMPATIBILITY = 'compatibility'.freeze
4
- DEPLOYMENT = 'deployment'.freeze
5
+ COMPATIBILITY = 'compatibility'
6
+ DEPLOYMENT = 'deployment'
5
7
 
6
8
  class << self
7
9
  # Root directory to search for schemas, and default location for
@@ -35,6 +37,7 @@ module Avrolution
35
37
  end
36
38
 
37
39
  raise "#{env_name.downcase} must be set" if result.blank?
40
+
38
41
  result
39
42
  end
40
43
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Avrolution
2
4
  class Railtie < Rails::Railtie
3
5
 
@@ -8,7 +10,7 @@ module Avrolution
8
10
  end
9
11
 
10
12
  rake_tasks do
11
- load File.expand_path('../rake/rails_avrolution.rake', __FILE__)
13
+ load File.expand_path('rake/rails_avrolution.rake', __dir__)
12
14
  end
13
15
  end
14
16
  end
@@ -1,27 +1,33 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'avrolution/rake/base_task'
2
4
 
3
5
  module Avrolution
4
6
  module Rake
5
7
  class AddCompatibilityBreakTask < BaseTask
6
8
 
7
- def initialize(*)
9
+ def initialize(**)
8
10
  super
9
11
  @name ||= :add_compatibility_break
10
- @task_desc ||= 'Add an Avro schema compatibility break. Parameters: name, fingerprint, with_compatibility, after_compatibility'
12
+ @task_desc ||= 'Add an Avro schema compatibility break. Parameters: name, fingerprint, ' \
13
+ 'with_compatibility, after_compatibility'
11
14
  end
12
15
 
13
16
  private
14
17
 
15
18
  def perform
16
- compatibility_break_args = ENV.to_h.slice('name', 'fingerprint', 'with_compatibility', 'after_compatibility').symbolize_keys
19
+ compatibility_break_args = ENV.to_h.slice(
20
+ 'name', 'fingerprint', 'with_compatibility', 'after_compatibility'
21
+ ).symbolize_keys
17
22
 
18
- missing_args = %i(name fingerprint).select do |arg|
23
+ missing_args = [:name, :fingerprint].select do |arg|
19
24
  compatibility_break_args[arg].blank?
20
25
  end
21
26
 
22
27
  if missing_args.any?
23
28
  puts missing_args.map { |arg| "#{arg} can't be blank" }.join(', ')
24
- puts 'Usage: rake avro:add_compatibility_break name=<name> fingerprint=<fingerprint> [with_compatibility=<default:NONE>] [after_compatibility=<compatibility>]'
29
+ puts 'Usage: rake avro:add_compatibility_break name=<name> fingerprint=<fingerprint> ' \
30
+ '[with_compatibility=<default:NONE>] [after_compatibility=<compatibility>]'
25
31
  exit(1)
26
32
  end
27
33
 
@@ -1,3 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'rake/tasklib'
4
+
1
5
  module Avrolution
2
6
  module Rake
3
7
  class BaseTask < ::Rake::TaskLib
@@ -9,6 +13,7 @@ module Avrolution
9
13
  end
10
14
 
11
15
  def initialize(name: nil, dependencies: [])
16
+ super()
12
17
  @name = name
13
18
  @task_namespace = :avro
14
19
  @dependencies = dependencies
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'avrolution/rake/base_task'
2
4
 
3
5
  module Avrolution
4
6
  module Rake
5
7
  class CheckCompatibilityTask < BaseTask
6
8
 
7
- def initialize(*)
9
+ def initialize(**)
8
10
  super
9
11
  @name ||= :check_compatibility
10
12
  @task_desc ||= 'Check that all Avro schemas are compatible with latest registered in production'
@@ -1,7 +1,9 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'avrolution/rake/check_compatibility_task'
2
4
  require 'avrolution/rake/add_compatibility_break_task'
3
5
  require 'avrolution/rake/register_schemas_task'
4
6
 
5
- Avrolution::Rake::AddCompatibilityBreakTask.define(dependencies: %i(environment))
6
- Avrolution::Rake::CheckCompatibilityTask.define(dependencies: %i(environment))
7
- Avrolution::Rake::RegisterSchemasTask.define(dependencies: %i(environment))
7
+ Avrolution::Rake::AddCompatibilityBreakTask.define(dependencies: [:environment])
8
+ Avrolution::Rake::CheckCompatibilityTask.define(dependencies: [:environment])
9
+ Avrolution::Rake::RegisterSchemasTask.define(dependencies: [:environment])
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'avrolution/rake/base_task'
2
4
 
3
5
  module Avrolution
4
6
  module Rake
5
7
  class RegisterSchemasTask < BaseTask
6
8
 
7
- def initialize(*)
9
+ def initialize(**)
8
10
  super
9
11
  @name ||= :register_schemas
10
12
  @task_desc ||= 'Register the specified Avro JSON schemas'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'avro_schema_registry-client'
2
4
  require 'private_attr'
3
5
  require 'procto'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Avrolution
2
- VERSION = '0.5.0.rc0'.freeze
4
+ VERSION = '0.7.1'
3
5
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rails/generators/base'
2
4
 
3
5
  module Avrolution
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avrolution
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0.rc0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Salsify, Inc
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-31 00:00:00.000000000 Z
11
+ date: 2021-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,72 +16,72 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.12'
19
+ version: '2.0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.12'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rake
28
+ name: fakefs
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rspec
42
+ name: overcommit
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '3.5'
47
+ version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '3.5'
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: rspec-its
56
+ name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '13.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '13.0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: salsify_rubocop
70
+ name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.47.2
75
+ version: '3.8'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.47.2
82
+ version: '3.8'
83
83
  - !ruby/object:Gem::Dependency
84
- name: overcommit
84
+ name: rspec-its
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: fakefs
98
+ name: rspec_junit_formatter
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
@@ -109,27 +109,27 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: simplecov
112
+ name: salsify_rubocop
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ">="
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '0'
117
+ version: 1.0.1
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ">="
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '0'
124
+ version: 1.0.1
125
125
  - !ruby/object:Gem::Dependency
126
- name: avro-patches
126
+ name: simplecov
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - ">="
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
- type: :runtime
132
+ type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
@@ -137,63 +137,63 @@ dependencies:
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
- name: avro-resolution_canonical_form
140
+ name: activemodel
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - '='
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
- version: 0.2.0.rc0
145
+ version: '0'
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - '='
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
- version: 0.2.0.rc0
152
+ version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
- name: avro_schema_registry-client
154
+ name: activesupport
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - ">="
158
158
  - !ruby/object:Gem::Version
159
- version: 0.2.0
159
+ version: '0'
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
- version: 0.2.0
166
+ version: '0'
167
167
  - !ruby/object:Gem::Dependency
168
- name: diffy
168
+ name: avro-resolution_canonical_form
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - ">="
172
172
  - !ruby/object:Gem::Version
173
- version: '0'
173
+ version: 0.2.0
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - ">="
179
179
  - !ruby/object:Gem::Version
180
- version: '0'
180
+ version: 0.2.0
181
181
  - !ruby/object:Gem::Dependency
182
- name: private_attr
182
+ name: avro_schema_registry-client
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - ">="
186
186
  - !ruby/object:Gem::Version
187
- version: '0'
187
+ version: 0.2.0
188
188
  type: :runtime
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - ">="
193
193
  - !ruby/object:Gem::Version
194
- version: '0'
194
+ version: 0.2.0
195
195
  - !ruby/object:Gem::Dependency
196
- name: activesupport
196
+ name: diffy
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - ">="
@@ -207,7 +207,7 @@ dependencies:
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
209
  - !ruby/object:Gem::Dependency
210
- name: activemodel
210
+ name: private_attr
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - ">="
@@ -243,11 +243,11 @@ executables:
243
243
  extensions: []
244
244
  extra_rdoc_files: []
245
245
  files:
246
+ - ".circleci/config.yml"
246
247
  - ".gitignore"
247
248
  - ".overcommit.yml"
248
249
  - ".rspec"
249
250
  - ".rubocop.yml"
250
- - ".travis.yml"
251
251
  - CHANGELOG.md
252
252
  - Gemfile
253
253
  - LICENSE.txt
@@ -276,7 +276,7 @@ licenses:
276
276
  - MIT
277
277
  metadata:
278
278
  allowed_push_host: https://rubygems.org
279
- post_install_message:
279
+ post_install_message:
280
280
  rdoc_options: []
281
281
  require_paths:
282
282
  - lib
@@ -284,16 +284,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
284
284
  requirements:
285
285
  - - ">="
286
286
  - !ruby/object:Gem::Version
287
- version: '0'
287
+ version: '2.6'
288
288
  required_rubygems_version: !ruby/object:Gem::Requirement
289
289
  requirements:
290
- - - ">"
290
+ - - ">="
291
291
  - !ruby/object:Gem::Version
292
- version: 1.3.1
292
+ version: '0'
293
293
  requirements: []
294
- rubyforge_project:
295
- rubygems_version: 2.6.12
296
- signing_key:
294
+ rubygems_version: 3.1.4
295
+ signing_key:
297
296
  specification_version: 4
298
297
  summary: Support for the evolution of Avro schemas stored in a schema registry.
299
298
  test_files: []
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.3.4
4
- before_install: gem install bundler -v 1.14.6
5
- script:
6
- - bundle exec rubocop
7
- - bundle exec rspec