katalyst-tables 3.11.1 → 3.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9729837e84361c855acdd0d23b3c516cea8f23e0d35efdd6508c9a18b9b63119
|
|
4
|
+
data.tar.gz: a0a53bc4ae518f42c208489ddfdc0afb8ef7449db1723fcac9a40ccf2efadaae
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bd459c5d5fa680739a8076f4fb9a7ac23fa99a7ccf3acb4a0be27a4510daa08008707f24034b18ca31aaf7883ee5439be0d690ab920bc517e1400193f8855d50
|
|
7
|
+
data.tar.gz: 06344beea9462b8eb4772baf662755f718d0a66c55407c8e52e3b70a6fe1f2a2a12f900a9fe3cc870a262aa9fc86ca5ddc9d15640f43826dc1ea3d08dc583b9a
|
|
@@ -48,8 +48,8 @@ module Katalyst
|
|
|
48
48
|
# Expect to see NoMethodError failures if pagy is not available
|
|
49
49
|
if (pagy_method = "Pagy::Method".safe_constantize)
|
|
50
50
|
include(pagy_method)
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
elsif (pagy_backend = "Pagy::Backend".safe_constantize)
|
|
52
|
+
include(pagy_backend)
|
|
53
53
|
end
|
|
54
54
|
|
|
55
55
|
def initialize(app)
|
|
@@ -66,7 +66,7 @@ module Katalyst
|
|
|
66
66
|
|
|
67
67
|
# pagy shim
|
|
68
68
|
def params
|
|
69
|
-
@collection.to_params
|
|
69
|
+
@collection.to_params.with_indifferent_access
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
# Pagy 43 expects a request object; provide the minimal hash interface it supports.
|