will_paginate_bootstrp 0.3.4 → 0.3.6
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: f8bb60515f2deb8f2a37560aa3c1181e66a23800b3954c78a4e9e6ccf09df90e
|
4
|
+
data.tar.gz: f55d350cdd3febe49402be846ed5a14fb791de31dfdafc5702f888469017c95f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d84564c8c7118a701a8b90cf83efd49ed1284aaf16b4bc2b871930b3b1f7ce2362c1c8acf8c8cd1c2a903e77aa677d888f5bcd2634de61c21de190c62f8f446e
|
7
|
+
data.tar.gz: 484b31f2d7fa5544448fb6df48e9732336e568aede492afebd5270b18c9f0823bb09dab8e2af3a4f4647e8413636ac9e513b8424805a3689bc2f975b3430602e
|
@@ -11,7 +11,7 @@ module WillPaginate
|
|
11
11
|
|
12
12
|
options = options.symbolize_keys
|
13
13
|
options[:renderer] ||= WillPaginateBootstrp::Renderer
|
14
|
-
options[:list_classes] ||= [
|
14
|
+
options[:list_classes] ||= [WillPaginateBootstrp::Renderer::CLASS_NAME]
|
15
15
|
options[:previous_label] ||= WillPaginateBootstrp::Renderer::PREVIOUS_LABEL
|
16
16
|
options[:next_label] ||= WillPaginateBootstrp::Renderer::NEXT_LABEL
|
17
17
|
|
@@ -7,6 +7,7 @@ module WillPaginateBootstrp
|
|
7
7
|
ELLIPSIS = "…" # hellip means horizontal ellipsis and is used to denote … (i.e. three dots)
|
8
8
|
NEXT_LABEL = "→" # →
|
9
9
|
PREVIOUS_LABEL = "←" # ←
|
10
|
+
CLASS_NAME = "pagination" # used as a default className
|
10
11
|
|
11
12
|
def to_html
|
12
13
|
html = pagination.map do |item|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: will_paginate_bootstrp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergii Demianchuk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: will_paginate
|