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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d3fc12377115556fdb3a9be86df4e5eb2cfe21d4
4
- data.tar.gz: ef305e1e5fa6a9cc15ec4074da033a1c73b639f1
3
+ metadata.gz: 64a3e1e47191908126d9708f076f2eeeb87eb465
4
+ data.tar.gz: d84510bbe13cb90a3c0aa2ebb16e646e4aa020ed
5
5
  SHA512:
6
- metadata.gz: c134944e8e1fc0e9743594fcb52107875338cea30c30c96c32bcd8d43a386eb5fbc251bf227be74cce3afb0ab0b8884cf7a13ab0963bfbb6408f361f39404522
7
- data.tar.gz: c02a23e1132f4ca094a54bbad24f60b9b824fb9398f725ce68b4a95e8a8f4189c9231bd9b37ba73050a91957f16111a2f8c587341f2fb53f43c4875ae845ea89
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
- [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/acrogenesis/will_paginate-foundation/trend.png)](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://cdn.jsdelivr.net/foundation/4.3.2/css/foundation.min.css" rel="stylesheet">
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 Twitter Bootstrap.
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
@@ -43,7 +43,7 @@ module FoundationPagination
43
43
  end
44
44
 
45
45
  def gap
46
- tag :li, link('&hellip;', ''), :class => 'unavailable'
46
+ tag :li, tag('span','&hellip;'), :class => 'unavailable'
47
47
  end
48
48
 
49
49
  def previous_page
@@ -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 Twitter Bootstrap.
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
@@ -1,3 +1,3 @@
1
1
  module FoundationPagination
2
- VERSION = "5.3.3"
2
+ VERSION = "5.3.4"
3
3
  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.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: 2013-11-22 00:00:00.000000000 Z
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.1.10
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