Skip to content

Commit

Permalink
Add Ruby 3.2 and drop Ruby 2.6. (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
jturkel authored Jan 9, 2023
1 parent aa8c02e commit 99b41d9
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
15 changes: 8 additions & 7 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.6.8
- image: salsify/ruby_ci:2.7.7
working_directory: ~/avro-builder
steps:
- checkout
- restore_cache:
keys:
- v2-gems-ruby-2.6.8-{{ checksum "avro-builder.gemspec" }}-{{ checksum "Gemfile" }}
- v2-gems-ruby-2.6.8-
- v2-gems-ruby-2.7.7-{{ checksum "avro-builder.gemspec" }}-{{ checksum "Gemfile" }}
- v2-gems-ruby-2.7.7-
- run:
name: Install Gems
command: |
Expand All @@ -18,7 +18,7 @@ jobs:
bundle clean
fi
- save_cache:
key: v2-gems-ruby-2.6.8-{{ checksum "avro-builder.gemspec" }}-{{ checksum "Gemfile" }}
key: v2-gems-ruby-2.7.7-{{ checksum "avro-builder.gemspec" }}-{{ checksum "Gemfile" }}
paths:
- "vendor/bundle"
- "gemfiles/vendor/bundle"
Expand Down Expand Up @@ -73,6 +73,7 @@ workflows:
- "gemfiles/avro_1.10.gemfile"
- "gemfiles/avro_1.11.gemfile"
ruby-version:
- "2.6.8"
- "2.7.4"
- "3.0.2"
- "2.7.7"
- "3.0.5"
- "3.1.3"
- "3.2.0"
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.6
2.7.7
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# avro-builder changelog

## v2.0.0
- Add support for Ruby 3.2.
- Drop support for Ruby 2.6.

## v1.1.0
- Add support for Avro 1.11
- Add support for decimal logical types.
Expand Down
2 changes: 1 addition & 1 deletion avro-builder.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.required_ruby_version = '>= 2.6'
spec.required_ruby_version = '>= 2.7'

spec.add_runtime_dependency 'avro', '>= 1.9.0', '< 1.12'

Expand Down
2 changes: 1 addition & 1 deletion lib/avro/builder/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Avro
module Builder
VERSION = '1.1.0'
VERSION = '2.0.0'
end
end

0 comments on commit 99b41d9

Please sign in to comment.