Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

17 changes: 8 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,20 @@ jobs:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
ruby:
- '2.7.0'
- '3.0'
- '3.1'
- '3.2'
- '3.3'
- '3.4'
- truffleruby-head
exclude:
- os: windows-latest
ruby: truffleruby-head
name: CI
runs-on: ubuntu-latest
env:
CI: true
# TESTOPTS: --verbose
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@master
- uses: ruby/setup-ruby@v1
Expand All @@ -34,8 +35,6 @@ jobs:
check:
name: Check
runs-on: ubuntu-latest
env:
CI: true
steps:
- uses: actions/checkout@master
- uses: ruby/setup-ruby@v1
Expand Down
16 changes: 14 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ AllCops:
DisplayStyleGuide: true
NewCops: enable
SuggestExtensions: false
TargetRubyVersion: 2.7
TargetRubyVersion: 3.2
Exclude:
- '{.git,.github,.ruby-lsp,bin,coverage,doc,pkg,sorbet,spec,test/fixtures,vendor,tmp}/**/*'
- test.rb
Expand All @@ -14,7 +14,7 @@ Gemspec/DevelopmentDependencies:
Enabled: false

Layout/LineLength:
Max: 80
Max: 100

Lint/AmbiguousBlockAssociation:
Enabled: false
Expand Down Expand Up @@ -70,6 +70,9 @@ Naming/MethodName:
Naming/MethodParameterName:
Enabled: false

Naming/PredicateMethod:
Enabled: false

Naming/RescuedExceptionsVariableName:
PreferredName: error

Expand All @@ -79,12 +82,18 @@ Naming/VariableNumber:
Security/Eval:
Enabled: false

Style/AccessModifierDeclarations:
Enabled: false

Style/AccessorGrouping:
Enabled: false

Style/Alias:
Enabled: false

Style/BlockDelimiters:
Enabled: false

Style/CaseEquality:
Enabled: false

Expand Down Expand Up @@ -151,6 +160,9 @@ Style/Next:
Style/NumericPredicate:
Enabled: false

Style/OptionalBooleanParameter:
Enabled: false

Style/ParallelAssignment:
Enabled: false

Expand Down
6 changes: 5 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ source "https://rubygems.org"

gemspec

gem "fiddle"
gem "bundler"
gem "minitest"
gem "rake"
gem "rubocop"
gem "simplecov"
19 changes: 7 additions & 12 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,21 @@ PATH
remote: .
specs:
syntax_tree (6.3.0)
prettier_print (>= 1.2.0)
prism

GEM
remote: https://rubygems.org/
specs:
ast (2.4.3)
docile (1.4.1)
fiddle (1.1.8)
json (2.15.1)
json (2.15.2)
language_server-protocol (3.17.0.5)
lint_roller (1.1.0)
minitest (5.26.0)
parallel (1.27.0)
parser (3.3.9.0)
parser (3.3.10.0)
ast (~> 2.4.1)
racc
prettier_print (1.2.1)
prism (1.6.0)
racc (1.8.1)
rainbow (3.1.1)
Expand All @@ -43,27 +41,24 @@ GEM
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.13.1)
simplecov-html (0.13.2)
simplecov_json_formatter (0.1.4)
unicode-display_width (3.2.0)
unicode-emoji (~> 4.1)
unicode-emoji (4.1.0)

PLATFORMS
arm64-darwin-21
ruby
x86_64-darwin-19
x86_64-darwin-21
arm64-darwin-23
x64-mingw-ucrt
x86_64-linux

DEPENDENCIES
bundler
fiddle
minitest
rake
rubocop
simplecov
syntax_tree!

BUNDLED WITH
2.3.6
2.4.19
Loading