Fix for Rails 8.1 [Sequencescape] - #19
Conversation
…test API changes Based on merge pull request #10 from sanger/rails-8.1-fix
cannot load such file -- minitest/mock (LoadError)
|
Awaiting testing in Sequencescape before merging |
|
Hi @dasunpubudumal, any progress here? We need this pull request. |
Hi @elias-sinc, This particular PR is specifically for Sequencescape - and not suitable for a general implementation of JSONAPI. If you are looking for general Rails 8.1 support, please have a look at https://rubygems.org/gems/sanger-jsonapi-resources/versions/0.3.0. This is the latest release of the For planning purposes, this PR itself is likely to be released in a timescale of weeks, since the upgrade work to get Sequencescape to Rails 8.1 needs to happen first. |
|
@StephenHulme: OK, thank you very much! |
| resources @resource_type, options do | ||
| resources @resource_type, **options do | ||
| # :nocov: | ||
| if @scope.respond_to? :[]= |
There was a problem hiding this comment.
Again we can drop the rails 4 if statement
Changes
0.1.4Based on merge pull request #10