Skip to content

Commit

Permalink
Add ruby 3.2 and rails 7.1 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lovro-bikic committed Oct 13, 2023
1 parent 758a4c1 commit 9ae891b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,21 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['2.6', '2.7', '3.0', '3.1']
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2']
money: ['6.14.0', '6.14.1', '6.16.0']
money_rails: ['1.15.0']
rails: ['5.2.8.1', '6.0.6', '6.1.7', '7.0.4']
rails: ['5.2.8.1', '6.0.6', '6.1.7', '7.0.8', '7.1.1']
exclude:
- ruby: '3.0'
rails: '5.2.8.1'
- ruby: '3.1'
rails: '5.2.8.1'
- ruby: '3.2'
rails: '5.2.8.1'
- ruby: '2.6'
rails: '7.0.8'
- ruby: '2.6'
rails: '7.0.4'
rails: '7.1.1'
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
Expand All @@ -57,7 +61,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['2.6', '2.7', '3.0']
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2']
money: ['6.14.0', '6.14.1', '6.16.0']
steps:
- uses: actions/checkout@v2
Expand All @@ -76,7 +80,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['2.6', '2.7', '3.0', '3.1']
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2']
money_rails: ['1.15.0']
mongodb: ['4.4']
steps:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A Ruby library which extends the popular [money](https://github.com/RubyMoney/money) and [money-rails](https://github.com/RubyMoney/money-rails) gems with support for dated Money objects.

Dated Money objects are useful in situations where you have to exchange money between currencies based on historical exchange rates, and you'd like to keep date information on the Money object itself.
Dated Money objects are useful in situations where you have to exchange money between currencies based on historical exchange rates, and you'd like to keep date information on the Money object itself.

## Installation

Expand Down Expand Up @@ -337,12 +337,12 @@ Money.default_date_column = nil
- money-rails: **1.15.0**

The gem has been tested against all possible combinations of supported Ruby, Rails, money, and money-rails versions:
- Ruby: `2.6`, `2.7`, `3.0`, and `3.1`
- Rails: `5.2.8.1`, `6.0.6`, `6.1.7`, `7.0.4`
- Ruby: `2.6`, `2.7`, `3.0`, `3.1` and `3.2`
- Rails: `5.2.8.1`, `6.0.6`, `6.1.7`, `7.0.8` and `7.1.1`
- money: `6.14.0`, `6.14.1`, and `6.16.0`
- money-rails: `1.15.0`

Note: the gem hasn't been tested on Rails `5.2.8.1` with Rubies `3.0` and `3.1`, and on Rails `7.0.4` with Ruby `2.6` as those combinations of versions aren't compatible.
Note: the gem hasn't been tested on Rails `5.2.8.1` from Ruby `3.0` upward, and from Rails `7.0` upward on Ruby `2.6` as those combinations of versions aren't compatible.

In addition to running its own test suite, the CI for this gem also runs [money's](https://github.com/RubyMoney/money/tree/main/spec) and [money-rails's](https://github.com/RubyMoney/money-rails/tree/main/spec) test suites with this gem loaded, to prevent regressions. This has been achieved by cloning their test suites from GitHub and requiring this gem in their spec files. For technical information, check the CI [workflow](.github/workflows/ci.yml).

Expand Down

0 comments on commit 9ae891b

Please sign in to comment.