Skip to content

Commit

Permalink
chore: Drop support for Ruby 3.0 (#158)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Haines <[email protected]>
  • Loading branch information
haines authored Jun 7, 2024
1 parent 23e976d commit 0615db1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require:
- rubocop-rspec

inherit_gem:
standard: config/ruby-3.0.yml
standard: config/ruby-3.1.yml

AllCops:
Exclude:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
This makes the API consistent with policy expressions.
`attributes` is still supported for backwards compatibility, but is now deprecated.

### Removed

- Support for Ruby 3.0 ([#158](https://github.com/cerbos/cerbos-sdk-ruby/pull/158))

## [0.8.0] - 2024-01-12

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The Cerbos Ruby SDK makes it easy to interact with the Cerbos PDP from your Ruby
## Prerequisites

- Cerbos 0.16+
- Ruby 3.0+
- Ruby 3.1+

## Installation

Expand Down
2 changes: 1 addition & 1 deletion bin/test-matrix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ require "json"
require "net/http"

# We support non-end-of-life Ruby versions: https://www.ruby-lang.org/en/downloads/branches/
ruby_versions = ["3.0", "3.1", "3.2", "3.3"]
ruby_versions = ["3.1", "3.2", "3.3"]

latest_ruby_version = ruby_versions.last

Expand Down
2 changes: 1 addition & 1 deletion cerbos.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ Gem::Specification.new do |spec|
"yard_extensions.rb"
]

spec.required_ruby_version = ">= 3.0.0"
spec.required_ruby_version = ">= 3.1.0"
spec.add_dependency "grpc", "~> 1.46"
end

0 comments on commit 0615db1

Please sign in to comment.