Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start 6.0.0 version #768

Merged
merged 4 commits into from Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
ruby: [ ruby-2.6, ruby-2.7, ruby-3.0, ruby-3.1, ruby-3.2 ]
ruby: [ ruby-3.0, ruby-3.1, ruby-3.2 ]
os: [ ubuntu-latest ]

steps:
Expand All @@ -43,7 +43,7 @@ jobs:

strategy:
matrix:
ruby: [ jruby-9.3 ]
ruby: [ jruby-9.4 ]
os: [ ubuntu-latest ]

steps:
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:

- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
ruby-version: ruby-3.0
bundler-cache: true

- name: bundle exec rubocop
Expand Down
8 changes: 7 additions & 1 deletion .rubocop.yml
@@ -1,3 +1,8 @@
require:
- rubocop-performance
- rubocop-rake
- rubocop-rspec

inherit_from:
- .rubocop_todo.yml
- .rubocop/layout.yml
Expand All @@ -7,5 +12,6 @@ inherit_from:
AllCops:
DefaultFormatter: fuubar
DisplayCopNames: true
DisplayStyleGuide: true
NewCops: enable
TargetRubyVersion: 2.6
TargetRubyVersion: 3.0
24 changes: 23 additions & 1 deletion .rubocop/metrics.yml
@@ -1,4 +1,26 @@
Metrics/BlockLength:
CountAsOne:
- array
- heredoc
- method_call
Exclude:
- 'spec/**/*.rb'
- '*.gemspec'
- '*.gemspec'

Metrics/ClassLength:
CountAsOne:
- array
- heredoc
- method_call

Metrics/MethodLength:
CountAsOne:
- array
- heredoc
- method_call

Metrics/ModuleLength:
CountAsOne:
- array
- heredoc
- method_call
4 changes: 4 additions & 0 deletions .rubocop/style.yml
Expand Up @@ -17,6 +17,10 @@ Style/HashSyntax:
Style/OptionHash:
Enabled: true

# Using explicit `./` makes code more consistent
Style/RedundantCurrentDirectoryInPath:
Enabled: false

Style/RescueStandardError:
Enabled: true
EnforcedStyle: implicit
Expand Down