Skip to content

Commit

Permalink
Merge pull request #170 from DannyBen/revert/ruby30-support-drop
Browse files Browse the repository at this point in the history
Revert dropping of support for Ruby 3.0
  • Loading branch information
DannyBen authored Mar 26, 2024
2 parents 6fa2afb + ae3850e commit af70215
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

strategy:
matrix: { ruby: ['3.1', '3.2', '3.3'] }
matrix: { ruby: ['3.0', '3.1', '3.2', '3.3'] }

steps:
- name: Checkout code
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
ruby-version: '3.2'
bundler-cache: true

- name: Test schema
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ inherit_gem:
- rspec.yml

AllCops:
TargetRubyVersion: 3.1
TargetRubyVersion: 3.0
Exclude:
- dev/**/*

Expand Down
2 changes: 1 addition & 1 deletion lib/madness/settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def initialize
reset
end

def method_missing(name, *args, &)
def method_missing(name, *args, &_block)
name_string = name.to_s

if name_string.end_with? '='
Expand Down
2 changes: 1 addition & 1 deletion madness.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Gem::Specification.new do |s|
s.executables = ['madness']
s.homepage = 'https://github.com/DannyBen/madness'
s.license = 'MIT'
s.required_ruby_version = '>= 3.1'
s.required_ruby_version = '>= 3.0'

s.add_dependency 'addressable', '~> 2.7'
s.add_dependency 'colsole', '~> 1.0'
Expand Down

0 comments on commit af70215

Please sign in to comment.