Skip to content

Commit 58d261d

Browse files
committed
drop support for Ruby < 3.1 and add jruby ruby-versions for tests
1 parent b794b7b commit 58d261d

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/ruby.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,26 @@ on:
1313
pull_request:
1414
branches: [ main ]
1515

16+
permissions:
17+
contents: read
18+
1619
jobs:
1720
test:
1821

1922
runs-on: ubuntu-latest
2023
strategy:
2124
matrix:
22-
ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4']
25+
ruby-version: ['3.1', '3.2', '3.3', '3.4', 'jruby-9.4', 'jruby-10.0']
2326

2427
steps:
25-
- uses: actions/checkout@v4
28+
- name: Set up Java for JRuby 10.0
29+
if: matrix.ruby-version == 'jruby-10.0'
30+
uses: actions/setup-java@v5
31+
with:
32+
distribution: 'temurin'
33+
java-version: '21'
34+
- uses: actions/checkout@v6
2635
- name: Set up Ruby
27-
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
28-
# change this to (see https://github.com/ruby/setup-ruby#versioning):
2936
uses: ruby/setup-ruby@v1
3037
with:
3138
ruby-version: ${{ matrix.ruby-version }}

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
## 2.0.0
66
- **Breaking change**: Update Money gem dependency to ~> 7.0. See the [Money 7.0 upgrading guide](https://github.com/RubyMoney/money/blob/main/UPGRADING-7.0.md)
7+
- **Breaking change**: Drop support for Ruby < 3.1
78
- Fix parsing multiple delimeters in the amount, after BigDecimal updates
89
- Fix unused variable `possible_major` Ruby warning.
910

0 commit comments

Comments
 (0)