Skip to content

Commit

Permalink
test with ruby 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyBen committed Jan 28, 2024
1 parent 8cbb7e8 commit e749d2d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install OS dependencies
run: sudo apt-get -y install libyaml-dev
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source 'https://rubygems.org'

git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }

gem 'byebug'
gem 'debug'
gem 'lp'
gem 'rspec'
gem 'rspec_approvals'
Expand Down
2 changes: 1 addition & 1 deletion Runfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require "byebug"
require "debug"

title "Victor Developer Toolbelt"
import_gem 'runfile-tasks/gem'
Expand Down
5 changes: 0 additions & 5 deletions lib/victor/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,3 @@
require_relative 'cli/css_data'
require_relative 'cli/command_line'
require_relative 'cli/svg_node'

if ENV['BYEBUG']
require 'byebug'
require 'lp'
end
2 changes: 1 addition & 1 deletion lib/victor/cli/commands/render.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def generate
def watch
say "Watching #{ruby_file} for changes"
file_watcher.watch do |changes|
changes.each do |_path, event|
changes.each_value do |event|
yield unless event == :deleted
end
end
Expand Down

0 comments on commit e749d2d

Please sign in to comment.