1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

Extract kaminari-grape gem, and warn users to use the gemified adapter

The built-in Grape support will be removed from this gem in the 1.0 release
This commit is contained in:
Akira Matsuda 2016-06-13 09:56:16 +09:00
parent 954e4ded7a
commit f3bf4382cc

View file

@ -1,4 +1,6 @@
require 'grape'
require 'kaminari'
ActiveSupport::Deprecation.warn 'Kaminari Grape support has been extracted to a separate gem, and will be removed in the next 1.0 release. Please bundle kaminari-grape gem.'
Kaminari::Hooks.init