Skip to content

Commit

Permalink
Require ruby 2.7+ (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
will89 authored Sep 9, 2022
1 parent ebd64ad commit d31b580
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 12 deletions.
13 changes: 7 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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"
Expand Down Expand Up @@ -66,5 +66,6 @@ workflows:
matrix:
parameters:
ruby_version:
- "2.5.8"
- "3.0.0"
- "2.7.6"
- "3.0.4"
- "3.1.2"
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @jturkel @kphelps @tjwp
* @jturkel @tjwp @salsify/infrastructure-services
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ inherit_gem:
salsify_rubocop: conf/rubocop.yml

AllCops:
TargetRubyVersion: 2.5
TargetRubyVersion: 2.7

Naming/FileName:
Exclude:
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
6 changes: 3 additions & 3 deletions avro_schema_registry-client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/avro_schema_registry/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module AvroSchemaRegistry
VERSION = '0.4.0'
VERSION = '0.5.0'
end

0 comments on commit d31b580

Please sign in to comment.