will_paginate-foundation 5.3.3 → 5.3.4
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 +4 -4
- data/README.markdown +0 -4
- data/example/app.rb +2 -1
- data/lib/foundation_pagination/action_view.rb +1 -1
- data/lib/foundation_pagination/foundation_renderer.rb +1 -1
- data/lib/foundation_pagination/sinatra.rb +1 -1
- data/lib/foundation_pagination/version.rb +1 -1
- data/pagination.png +0 -0
- metadata +8 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 64a3e1e47191908126d9708f076f2eeeb87eb465
|
|
4
|
+
data.tar.gz: d84510bbe13cb90a3c0aa2ebb16e646e4aa020ed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 32dd84a4ce32191297033cd4fa7484a8efaff5759d98c558618eb53922d1403ad37c28835baae8e8098be01175734a9e1d2ae4e65ff8a9567f2c100449125a26
|
|
7
|
+
data.tar.gz: 05a16c991f2a81495681af716e10814c4b8c746c54e4e349656cfb93ffc14fede3564fc9c86b37a28c83cea1dbf44b8203b5c8c459d5bb22c6fda0defea9ca82
|
data/README.markdown
CHANGED
|
@@ -52,7 +52,3 @@ This gem code was based on https://github.com/nickpad/will_paginate-bootstrap
|
|
|
52
52
|
License
|
|
53
53
|
------------
|
|
54
54
|
The MIT License (MIT)
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
[](https://bitdeli.com/free "Bitdeli Badge")
|
|
58
|
-
|
data/example/app.rb
CHANGED
|
@@ -6,9 +6,10 @@ $template = <<EOHTML
|
|
|
6
6
|
<html>
|
|
7
7
|
<head>
|
|
8
8
|
<title>will_paginate-foundation Example App</title>
|
|
9
|
-
<link href="http://
|
|
9
|
+
<link href="http://cdnjs.cloudflare.com/ajax/libs/foundation/5.0.3/css/foundation.min.css" rel="stylesheet">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
12
|
+
</br>
|
|
12
13
|
<%= will_paginate @collection, renderer: FoundationPagination::Sinatra %>
|
|
13
14
|
</body>
|
|
14
15
|
</html>
|
|
@@ -2,7 +2,7 @@ require "will_paginate/view_helpers/action_view"
|
|
|
2
2
|
require "foundation_pagination/foundation_renderer"
|
|
3
3
|
|
|
4
4
|
module FoundationPagination
|
|
5
|
-
# A custom renderer class for WillPaginate that produces markup suitable for use with
|
|
5
|
+
# A custom renderer class for WillPaginate that produces markup suitable for use with Zurb Foundation.
|
|
6
6
|
class Rails < WillPaginate::ActionView::LinkRenderer
|
|
7
7
|
include FoundationRenderer
|
|
8
8
|
end
|
|
@@ -2,7 +2,7 @@ require "will_paginate/view_helpers/sinatra"
|
|
|
2
2
|
require "foundation_pagination/foundation_renderer"
|
|
3
3
|
|
|
4
4
|
module FoundationPagination
|
|
5
|
-
# A custom renderer class for WillPaginate that produces markup suitable for use with
|
|
5
|
+
# A custom renderer class for WillPaginate that produces markup suitable for use with Zurb Foundation.
|
|
6
6
|
class Sinatra < WillPaginate::Sinatra::LinkRenderer
|
|
7
7
|
include FoundationRenderer
|
|
8
8
|
end
|
data/pagination.png
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: will_paginate-foundation
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.3.
|
|
4
|
+
version: 5.3.4
|
|
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: 2014-07-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: will_paginate
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: 3.0.3
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: 3.0.3
|
|
27
27
|
description: This gem integrates the Foundation pagination component with the will_paginate
|
|
@@ -32,7 +32,7 @@ executables: []
|
|
|
32
32
|
extensions: []
|
|
33
33
|
extra_rdoc_files: []
|
|
34
34
|
files:
|
|
35
|
-
- .gitignore
|
|
35
|
+
- ".gitignore"
|
|
36
36
|
- Gemfile
|
|
37
37
|
- MIT-LICENSE
|
|
38
38
|
- README.markdown
|
|
@@ -56,17 +56,17 @@ require_paths:
|
|
|
56
56
|
- lib
|
|
57
57
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- -
|
|
59
|
+
- - ">="
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '0'
|
|
62
62
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
63
63
|
requirements:
|
|
64
|
-
- -
|
|
64
|
+
- - ">="
|
|
65
65
|
- !ruby/object:Gem::Version
|
|
66
66
|
version: '0'
|
|
67
67
|
requirements: []
|
|
68
68
|
rubyforge_project: will_paginate-foundation
|
|
69
|
-
rubygems_version: 2.
|
|
69
|
+
rubygems_version: 2.2.2
|
|
70
70
|
signing_key:
|
|
71
71
|
specification_version: 4
|
|
72
72
|
summary: Integrates the Foundation pagination component with will_paginate
|