From f9d4f05b1620c51fa6ff175c4ca653d74a168a63 Mon Sep 17 00:00:00 2001 From: Danny Ben Shitrit Date: Tue, 30 Jul 2024 09:27:58 +0000 Subject: [PATCH] - Drop support for Ruby 3.0 --- .github/workflows/test.yml | 4 ++-- .rubocop.yml | 4 +++- Gemfile | 4 ---- icodi.gemspec | 5 +++-- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8426a5a..dfbdd1a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-latest strategy: - matrix: { ruby: ['3.0', '3.1', '3.2', head] } + matrix: { ruby: ['3.1', '3.2', '3.3'] } steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install OS dependencies run: sudo apt-get -y install libyaml-dev diff --git a/.rubocop.yml b/.rubocop.yml index 4891e4b..98c961a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -8,4 +8,6 @@ inherit_gem: - rspec.yml AllCops: - TargetRubyVersion: 3.0 + TargetRubyVersion: 3.1 + SuggestExtensions: false + diff --git a/Gemfile b/Gemfile index 71baa08..be4c5f7 100644 --- a/Gemfile +++ b/Gemfile @@ -2,12 +2,8 @@ source 'https://rubygems.org' gem 'byebug' gem 'puma' -gem 'rentacop' gem 'rspec' gem 'rspec_approvals' -gem 'rubocop' -gem 'rubocop-performance' -gem 'rubocop-rspec' gem 'runfile' gem 'runfile-tasks' gem 'simplecov' diff --git a/icodi.gemspec b/icodi.gemspec index 3f4245f..01e4bf2 100644 --- a/icodi.gemspec +++ b/icodi.gemspec @@ -11,13 +11,14 @@ Gem::Specification.new do |s| s.files = Dir['README.md', 'lib/**/*.*'] s.homepage = 'https://github.com/dannyben/icodi' s.license = 'MIT' - s.required_ruby_version = '>= 3.0' + s.required_ruby_version = '>= 3.1' - s.add_runtime_dependency 'victor', '~> 0.2' + s.add_dependency 'victor', '~> 0.2' s.metadata = { 'bug_tracker_uri' => 'https://github.com/DannyBen/icodi/issues', 'source_code_uri' => 'https://github.com/DannyBen/icodi', + 'changelog_uri' => 'https://github.com/DannyBen/icodi/blob/master/CHANGELOG.md', 'rubygems_mfa_required' => 'true', } end