stas / jsonapi.rb

Lightweight, simple and maintained JSON:API support for your next Ruby HTTP API.
MIT License
262 stars 58 forks source link

`Ransack::Visitor#visit_Ransack_Nodes_Sort` method visibility change #66

Open Gee-Bee opened 3 years ago

Gee-Bee commented 3 years ago

Visibility of the method Ransack::Visitor#visit_Ransack_Nodes_Sort is changed in lib/jsonapi/patches.rb from public to private.

This lead to errors in other gems using Ransack:

Is it possible to do not alter method visibility in the patch?

stas commented 2 years ago

@Gee-Bee sorry for delay with this one, I just released v2 which makes ransack a soft dependency. Do you guys still have issues with this?