From 5c5c21a8c85e4d79d67dfb4d041ddf48ea2a76b3 Mon Sep 17 00:00:00 2001 From: Danny Ben Shitrit Date: Mon, 29 Jan 2024 07:45:31 +0000 Subject: [PATCH] test with ruby 3.3 --- .github/workflows/test.yml | 4 ++-- Gemfile | 2 +- lib/minichart.rb | 2 -- minichart.gemspec | 3 ++- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8426a5a..4310b46 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.0', '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/Gemfile b/Gemfile index b08fbf9..4dcfa7b 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source 'https://rubygems.org' -gem 'byebug' +gem 'debug' gem 'filewatcher' gem 'rspec' gem 'rspec_approvals' diff --git a/lib/minichart.rb b/lib/minichart.rb index c643559..d76e183 100644 --- a/lib/minichart.rb +++ b/lib/minichart.rb @@ -11,5 +11,3 @@ require 'minichart/leds/leds' require 'minichart/leds/horizontal_status_leds' require 'minichart/leds/vertical_status_leds' - -require 'byebug' if ENV['BYEBUG'] diff --git a/minichart.gemspec b/minichart.gemspec index f882cfd..7a245c6 100644 --- a/minichart.gemspec +++ b/minichart.gemspec @@ -14,6 +14,7 @@ Gem::Specification.new do |s| s.license = 'MIT' s.required_ruby_version = '>= 3.0' - s.add_runtime_dependency 'victor', '~> 0.3' + s.add_dependency 'victor', '~> 0.3' + s.metadata['rubygems_mfa_required'] = 'true' end