table_sortable 0.1.2 → 0.1.3

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
  SHA1:
3
- metadata.gz: cb60529c650bb2d1133bff4c21717398bdb06611
4
- data.tar.gz: e581193a02859623f97d413cd02c5f14dfcaa4ee
3
+ metadata.gz: d90b90b79ac6f96428261dce9aa2e82903d11be0
4
+ data.tar.gz: 24b08af07c78d9eada68f6353a4cb51a82438ae9
5
5
  SHA512:
6
- metadata.gz: 7c74a522c736940dd0422fe599118a875987b5b24d0adf4dc60358e49bf0a569f9bc9c2a10d28499e6c747277f19eb7e63867828c24f79d0d9f5e99d15e7dd6d
7
- data.tar.gz: 4a11c00ee087b9a54ad60e045993a9d61c2c8ce83f94d88650e07e8ba9044c2227628ac4ccc8d0eb96569f5def285b5f8345d09b0913d69da68057dcb3bbaaf1
6
+ metadata.gz: 139bd175a23db09d3145ab896a43cb538996da1f94b3bee1962c86d0928a1301b4bde8327c32f2fc8290fe98ab31776f91d8cb4e139adcb2d9ab75b927ba2f55
7
+ data.tar.gz: 4f6578b3649c3cf18eb132bf173110b248074e298080002501f8cdba0c9eaacf6ba453e0b2a1408933df39d0140623170c340b291dcd56d584be1c5b260ad38e
@@ -59,7 +59,7 @@ module TableSortable
59
59
  end
60
60
  scope = filters.last.call(scope)
61
61
  if page
62
- scope = Kaminari.paginate_array(scope)
62
+ scope = ::Kaminari::PaginatableArray.paginate_array(scope)
63
63
  scope = scope.page(page.to_i + 1).per(page_size)
64
64
  end
65
65
  scope
@@ -1,3 +1,3 @@
1
1
  module TableSortable
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: table_sortable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oded Davidov