diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ebdd181..8108f04 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: - matrix: { ruby: ['3.0', '3.1', '3.2', '3.3'] } + matrix: { ruby: ['3.1', '3.2', '3.3'] } steps: - name: Checkout code @@ -35,7 +35,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Rush needed for easy installation of check-jsonschema - name: Install rush diff --git a/.rubocop.yml b/.rubocop.yml index 656378b..7157543 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -8,7 +8,7 @@ inherit_gem: - rspec.yml AllCops: - TargetRubyVersion: 3.0 + TargetRubyVersion: 3.1 Exclude: - dev/**/* diff --git a/lib/madness/settings.rb b/lib/madness/settings.rb index ece4a86..a33950e 100644 --- a/lib/madness/settings.rb +++ b/lib/madness/settings.rb @@ -15,7 +15,7 @@ def initialize reset end - def method_missing(name, *args, &_blk) + def method_missing(name, *args, &) name_string = name.to_s if name_string.end_with? '=' diff --git a/madness.gemspec b/madness.gemspec index fdf5838..31ddb0d 100644 --- a/madness.gemspec +++ b/madness.gemspec @@ -13,10 +13,10 @@ Gem::Specification.new do |s| s.executables = ['madness'] s.homepage = 'https://github.com/DannyBen/madness' s.license = 'MIT' - s.required_ruby_version = '>= 3.0' + s.required_ruby_version = '>= 3.1' s.add_dependency 'addressable', '~> 2.7' - s.add_dependency 'colsole', '>= 0.8.1', '< 2' + s.add_dependency 'colsole', '~> 1.0' s.add_dependency 'extended_yaml', '~> 0.2' s.add_dependency 'mister_bin', '~> 0.7' s.add_dependency 'naturally', '~> 2.2'