Skip to content

Commit

Permalink
[WALR-8621]: Bump iron bank to ruby 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
antonpokhodun committed Feb 29, 2024
1 parent cc325c3 commit 3b40a1a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
strategy:
matrix:
ruby-version:
- '2.7'
- '3.0'
# - '2.7'
# - '3.0'
- '3.1'
- '3.2'
- '3.3'
Expand Down Expand Up @@ -53,6 +53,6 @@ jobs:
- name: Set up Ruby
uses: zendesk/setup-ruby@v1
with:
ruby-version: "3.0"
ruby-version: "3.1"
bundler-cache: true
- run: bundle exec rake rubocop
14 changes: 13 additions & 1 deletion .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.1

Layout/DotPosition:
EnforcedStyle: trailing
Expand Down Expand Up @@ -68,3 +68,15 @@ Style/RegexpLiteral:
Style/RescueStandardError:
Exclude:
- lib/iron_bank/csv.rb

Style/HashSyntax:
Exclude:
- spec/shared_examples/**
- spec/iron_bank/**/*.rb
- lib/iron_bank/*.
- lib/iron_bank/**/*.rb

Style/RedundantFreeze:
Exclude:
- lib/iron_bank/*.rb

2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.7
3.1.4
2 changes: 1 addition & 1 deletion iron_bank.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
"[email protected]"
]

spec.required_ruby_version = ">= 2.7"
spec.required_ruby_version = ">= 3.1"

spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
Expand Down

0 comments on commit 3b40a1a

Please sign in to comment.