kaminari-cells 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +4 -0
- data/lib/kaminari/cells/version.rb +1 -1
- data/lib/kaminari-cells.rb +12 -13
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94b745a2f933722c94b8d38ef313dc81a4eedaf15bef55035eab29008e97abf4
|
4
|
+
data.tar.gz: 00b6afe4442c151775526c439ac04998a136dfa1839bb6668db8d71472436855
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb83f1dd97228c2e959a72b9b89d38e78ee5aa6f803a5dbafbc20fee979ca953cebfc51652654e94de35afbf6a0ba54ab6a23ad7161eb9785e8a29fe007fa845
|
7
|
+
data.tar.gz: c29108e2ef483e1894bb9d9c6f76ed2a55afc8ed2ed4a61e4fdd3b4227ce0574a1b5abafa6818331d18f6977110d05186ee513c5de09ba06e88978874197b2fe
|
data/CHANGES.md
CHANGED
data/lib/kaminari-cells.rb
CHANGED
@@ -3,21 +3,20 @@ require "kaminari/helpers/helper_methods"
|
|
3
3
|
require "kaminari/cells/version"
|
4
4
|
require "cell/partial"
|
5
5
|
|
6
|
-
|
7
|
-
module
|
8
|
-
module
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
include Cell::ViewModel::Partial
|
6
|
+
module Kaminari
|
7
|
+
module Helpers
|
8
|
+
module CellsHelper
|
9
|
+
include Kaminari::Helpers::HelperMethods
|
10
|
+
include ActionView::Helpers::OutputSafetyHelper
|
11
|
+
include ActionView::Helpers::TranslationHelper
|
12
|
+
include Cell::ViewModel::Partial
|
14
13
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
end
|
14
|
+
def paginate(scope, **options, &block)
|
15
|
+
options = options.reverse_merge(:views_prefix => "../views/")
|
16
|
+
super
|
19
17
|
end
|
20
18
|
end
|
21
19
|
end
|
22
|
-
require 'kaminari/cells'
|
23
20
|
end
|
21
|
+
|
22
|
+
require 'kaminari/cells'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kaminari-cells
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sutterer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kaminari
|
@@ -184,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
184
|
- !ruby/object:Gem::Version
|
185
185
|
version: '0'
|
186
186
|
requirements: []
|
187
|
-
rubygems_version: 3.1
|
187
|
+
rubygems_version: 3.0.3.1
|
188
188
|
signing_key:
|
189
189
|
specification_version: 4
|
190
190
|
summary: Kaminari pagination in Cells.
|