Skip to content

Commit

Permalink
[WALR-8621]: Bump iron bank to ruby 3.1 (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonpokhodun authored Mar 20, 2024
1 parent cc325c3 commit 013bda6
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ jobs:
strategy:
matrix:
ruby-version:
- '2.7'
- '3.0'
- '3.1'
- '3.2'
- '3.3'
Expand Down Expand Up @@ -53,6 +51,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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This gem provides opinionated resources to interact with the Zuora API through
their REST interface. It defines **associations** between them, as well as a
simple **declaration API** (`with_one`, `with_many`) to extend them.

This gem is tested against Ruby `>= 2.6`.
This gem is tested against Ruby `>= 3.1`.

Please use [GitHub Issues][issues] to report bugs.

Expand Down
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 013bda6

Please sign in to comment.