will_paginate-foundation 6.2.0 → 6.2.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3f6b890c0c82faaf9c9a94f02cc66b09bde7a46
|
4
|
+
data.tar.gz: ab84f7043db9940c6f32c56fd6010249e3145202
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f756186ce1444f837e55c9bdf349d303344258a609f739928e8a733df5f25ec1bf01adfaf924aeaf7a4bc3fda028cfdf392eb33e3213593ed9795c812496c3b2
|
7
|
+
data.tar.gz: 6f07a9704085bf0031b090a3fa4e50224a542769b0db7754f0117f26febafee8cd3160bfb0832a5874e27c79244e143a1d8b7dedd8f7ee794b5b3b018be73951
|
@@ -6,12 +6,7 @@ module FoundationPagination
|
|
6
6
|
|
7
7
|
def to_html
|
8
8
|
list_items = pagination.map do |item|
|
9
|
-
|
10
|
-
when Fixnum
|
11
|
-
page_number(item)
|
12
|
-
else
|
13
|
-
send(item)
|
14
|
-
end
|
9
|
+
item.is_a?(Integer) ? page_number(item) : send(item)
|
15
10
|
end.join(@options[:link_separator])
|
16
11
|
|
17
12
|
tag("ul", list_items, :class => "pagination #{@options[:class]}")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: will_paginate-foundation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.2.
|
4
|
+
version: 6.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Rangel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: will_paginate
|
@@ -66,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
66
66
|
version: '0'
|
67
67
|
requirements: []
|
68
68
|
rubyforge_project: will_paginate-foundation
|
69
|
-
rubygems_version: 2.5.
|
69
|
+
rubygems_version: 2.5.2
|
70
70
|
signing_key:
|
71
71
|
specification_version: 4
|
72
72
|
summary: Integrates the Foundation pagination component with will_paginate
|