Skip to content

Commit

Permalink
Drop Ruby 3.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed Aug 26, 2024
1 parent 6403e05 commit 26687a1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
ruby-version: 3.1
bundler-cache: true
- run: bundle exec rake rbs:validate

Expand All @@ -46,7 +46,7 @@ jobs:

strategy:
matrix:
ruby-version: ['3.0', '3.1', '3.2', '3.3', '3.4.0-preview1']
ruby-version: ['3.1', '3.2', '3.3', '3.4.0-preview1']
cassandra-version: ['3', '4', '5']

name: Linux, Cassandra ${{ matrix.cassandra-version }}, Ruby ${{ matrix.ruby-version }}
Expand All @@ -71,7 +71,7 @@ jobs:

strategy:
matrix:
ruby-version: ['3.0', '3.1', '3.2', '3.3', '3.4.0-preview1']
ruby-version: ['3.1', '3.2', '3.3', '3.4.0-preview1']

name: macOS, Ruby ${{ matrix.ruby-version }}
steps:
Expand Down
5 changes: 4 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require:

AllCops:
EnabledByDefault: true
TargetRubyVersion: 3.0
TargetRubyVersion: 3.1

Bundler/GemComment:
Enabled: false
Expand Down Expand Up @@ -91,6 +91,9 @@ Style/GlobalVars:
- 'ext/ilios/extconf.rb'
- 'test/helper.rb'

Style/HashSyntax:
EnforcedShorthandSyntax: either

Style/IpAddresses:
Enabled: false

Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ gem 'rake', '~> 13.0'
gem 'rake-compiler', '~> 1.2'
gem 'rbs', '~> 3.4'
gem 'rubocop', '~> 1.57'
gem 'rubocop-minitest', '~> 0.33.0'
gem 'rubocop-minitest', '~> 0.33'
gem 'rubocop-performance', '~> 1.19'
gem 'rubocop-rake', '~> 0.6'

gem 'rubocop-on-rbs', '~> 0.2' if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.1')
gem 'rubocop-on-rbs', '~> 0.2'
2 changes: 1 addition & 1 deletion ilios.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
spec.description = 'Cassandra driver written by C language'
spec.homepage = 'https://github.com/Watson1978/ilios'
spec.license = 'MIT'
spec.required_ruby_version = '>= 3.0.0'
spec.required_ruby_version = '>= 3.1.0'

spec.requirements << 'cmake'

Expand Down

0 comments on commit 26687a1

Please sign in to comment.