From d31b580853b4ca84719a504cdc36c1a17f81040d Mon Sep 17 00:00:00 2001 From: will89 Date: Fri, 9 Sep 2022 09:37:59 -0400 Subject: [PATCH] Require ruby 2.7+ (#8) --- .circleci/config.yml | 13 +++++++------ .github/CODEOWNERS | 2 +- .rubocop.yml | 2 +- CHANGELOG.md | 3 +++ avro_schema_registry-client.gemspec | 6 +++--- lib/avro_schema_registry/version.rb | 2 +- 6 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6e3614e..9486a9d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,14 +2,14 @@ version: 2.1 jobs: lint: docker: - - image: salsify/ruby_ci:2.5.8 + - image: salsify/ruby_ci:2.7.6 working_directory: ~/avro_schema_registry-client steps: - checkout - restore_cache: keys: - - v1-gems-ruby-2.5.8-{{ checksum "avro_schema_registry-client.gemspec" }}-{{ checksum "Gemfile" }} - - v1-gems-ruby-2.5.8- + - v1-gems-ruby-2.7.6-{{ checksum "avro_schema_registry-client.gemspec" }}-{{ checksum "Gemfile" }} + - v1-gems-ruby-2.7.6- - run: name: Install Gems command: | @@ -18,7 +18,7 @@ jobs: bundle clean fi - save_cache: - key: v1-gems-ruby-2.5.8-{{ checksum "avro_schema_registry-client.gemspec" }}-{{ checksum "Gemfile" }} + key: v1-gems-ruby-2.7.6-{{ checksum "avro_schema_registry-client.gemspec" }}-{{ checksum "Gemfile" }} paths: - "vendor/bundle" - "gemfiles/vendor/bundle" @@ -66,5 +66,6 @@ workflows: matrix: parameters: ruby_version: - - "2.5.8" - - "3.0.0" + - "2.7.6" + - "3.0.4" + - "3.1.2" diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8bf261e..e393f35 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @jturkel @kphelps @tjwp +* @jturkel @tjwp @salsify/infrastructure-services diff --git a/.rubocop.yml b/.rubocop.yml index 408a718..239479a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -2,7 +2,7 @@ inherit_gem: salsify_rubocop: conf/rubocop.yml AllCops: - TargetRubyVersion: 2.5 + TargetRubyVersion: 2.7 Naming/FileName: Exclude: diff --git a/CHANGELOG.md b/CHANGELOG.md index 4581dfc..8fbfca3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # avro_schema_registry-client +## v0.5.0 +- Require Ruby 2.7+ + ## v0.4.0 - Require Ruby 2.5+. - Add support for Ruby 3.0. diff --git a/avro_schema_registry-client.gemspec b/avro_schema_registry-client.gemspec index 1963d7b..ab01125 100644 --- a/avro_schema_registry-client.gemspec +++ b/avro_schema_registry-client.gemspec @@ -29,14 +29,14 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.require_paths = ['lib'] - spec.required_ruby_version = '>= 2.5' + spec.required_ruby_version = '>= 2.7' spec.add_development_dependency 'bundler', '~> 2.0' spec.add_development_dependency 'overcommit' - spec.add_development_dependency 'rake', '~> 10.0' + spec.add_development_dependency 'rake', '~> 13.0' spec.add_development_dependency 'rspec', '~> 3.8' spec.add_development_dependency 'rspec_junit_formatter' - spec.add_development_dependency 'salsify_rubocop', '~> 1.0.0' + spec.add_development_dependency 'salsify_rubocop', '~> 1.27.1' spec.add_development_dependency 'simplecov' spec.add_development_dependency 'webmock' # For AvroSchemaRegistry::FakeServer diff --git a/lib/avro_schema_registry/version.rb b/lib/avro_schema_registry/version.rb index 9ab71c7..344f2c5 100644 --- a/lib/avro_schema_registry/version.rb +++ b/lib/avro_schema_registry/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module AvroSchemaRegistry - VERSION = '0.4.0' + VERSION = '0.5.0' end