Skip to content

Commit

Permalink
Update minimum Ruby version to 2.7 & test on 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl committed Jul 15, 2024
1 parent 923ad45 commit c82e107
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.5', '2.6', '2.7', '3.0', 'head']
continue-on-error: ${{ matrix.ruby-version == '3.0' || matrix.ruby-version == 'head' }}
ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3', 'head']
continue-on-error: ${{ matrix.ruby-version == 'head' }}

steps:
- uses: actions/checkout@v4
Expand Down
9 changes: 1 addition & 8 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2024-06-24 14:45:35 UTC using RuboCop version 1.64.1.
# on 2024-07-15 15:09:37 UTC using RuboCop version 1.64.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 1
# Configuration parameters: Severity, Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
Exclude:
- 'fog-libvirt.gemspec'

# Offense count: 30
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, IndentationWidth.
Expand Down
2 changes: 1 addition & 1 deletion fog-libvirt.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Gem::Specification.new do |s|
s.rdoc_options = ["--charset=UTF-8"]
s.extra_rdoc_files = %w[README.md]

s.required_ruby_version = '>= 2.5.0'
s.required_ruby_version = '>= 2.7'

s.add_dependency("fog-core", ">= 1.27.4")
s.add_dependency("fog-json")
Expand Down

0 comments on commit c82e107

Please sign in to comment.