Skip to content

Commit a574978

Browse files
committed
Added Ruby 3.1 to build matrix and updated README
1 parent f917ecc commit a574978

File tree

4 files changed

+21
-16
lines changed

4 files changed

+21
-16
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,17 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
ruby-version: ['2.5', '2.6', '2.7', '3.0']
22+
ruby-version: ['2.5', '2.6', '2.7', '3.0', '3.1']
2323
gemfile: [ar_52, ar_60, ar_61, ar_70]
2424
exclude:
2525
- ruby-version: '3.0'
2626
gemfile: ar_52
27+
- ruby-version: '3.1'
28+
gemfile: ar_52
29+
- ruby-version: '3.1'
30+
gemfile: ar_60
31+
- ruby-version: '3.1'
32+
gemfile: ar_61
2733
- ruby-version: '2.5'
2834
gemfile: ar_70
2935
- ruby-version: '2.6'

Appraisals

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ appraise 'ar-61' do
1616
end
1717

1818
appraise 'ar-70' do
19-
gem 'activerecord', '~> 7.0.0'
20-
gem 'activesupport', '~> 7.0.0'
19+
gem 'activerecord', '~> 7.0.1'
20+
gem 'activesupport', '~> 7.0.1'
2121
end

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ ActsAsRecursiveTree currently supports following ActiveRecord versions and is te
1919
* ActiveRecord 6.1.x
2020
* ActiveRecord 7.0.x
2121

22+
## Supported Rubies
23+
ActsAsRecursiveTree is tested with following rubies:
24+
* MRuby 2.5
25+
* MRuby 2.6
26+
* MRuby 2.7
27+
* MRuby 3.0
28+
* MRuby 3.1
29+
30+
Other Ruby implementations are not tested, but should also work.
31+
2232
## Installation
2333

2434
Add this line to your application's Gemfile:
@@ -201,17 +211,6 @@ sub_node_instance.descendants # => returns Node and SubNode instances
201211
```
202212

203213

204-
## Known Issues
205-
206-
When using PostgreSQL as underlying database system chances are good that you encounter following error message:
207-
208-
`
209-
ActiveRecord::StatementInvalid: PG::ProtocolViolation: ERROR: bind message supplies 1 parameters, but prepared statement "" requires 2
210-
`
211-
212-
This is a known ActiveRecord issue which should be fixed in Rails 5.2. Alternative
213-
214-
215214
## Contributing
216215

217216
1. Fork it ( https://github.com/1and1/acts_as_recursive_tree/fork )

gemfiles/ar_70.gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
source "https://rubygems.org"
44

5-
gem "activerecord", "~> 7.0.0"
6-
gem "activesupport", "~> 7.0.0"
5+
gem "activerecord", "~> 7.0.1"
6+
gem "activesupport", "~> 7.0.1"
77

88
gemspec path: "../"

0 commit comments

Comments
 (0)