dvl-kaminari-views 0.0.1 → 0.0.2

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: 16badc3c2411222d76446ebf4c24d7ea301588eb
4
- data.tar.gz: 8bebaca6216b46cdcda9e6a8eb820c0e88619c96
3
+ metadata.gz: e8add2ce97cc2bfe5535882823adad5e485fc094
4
+ data.tar.gz: 35990471c0fd087f94c107fbd2d2a6270341e83f
5
5
  SHA512:
6
- metadata.gz: 9863c5798afc97fc09887f382c1c0257be6c01586f63d3759520ccc62e004d12413aa7e754918786fa30619974fca9d79f00d092cffacc17c25411efdb5decf0
7
- data.tar.gz: eb21193ef3c1bbbc31db8c1161dcf68653d60e9764c00af9bd3ca0c7e5e7d7ef9b5ba9c6d6fc1e27795d21fdbbab600660fdc226ef3cc04c9dc436b46460b9b8
6
+ metadata.gz: f0e0e50c31bead380540dc3e5698236cf09d7eed22f15ecf3408667e3fe54a4ad75745bbc5d8ac57ebc7d8193efd8adddb7c6d5fd3190bcdc83ad21648e05ee3
7
+ data.tar.gz: dddc77a4eb5b4cca153b63fdad53b4f8080d1f2a2a8d410516c83cef730bb6fdc88e8a0230789c861e8af9c2cf5a59d580cbd8f6c9ee8de5dabc4f146b273133
@@ -1,3 +1,9 @@
1
- <li class="<%= 'active' if page.current? %>">
2
- <%= link_to page, url, opts = {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil} %>
3
- </li>
1
+ <% if page.current? %>
2
+ <li class='active'>
3
+ <span><%= page %></span>
4
+ </li>
5
+ <% else %>
6
+ <li>
7
+ <%= link_to page, url, opts = {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil} %>
8
+ </li>
9
+ <% end %>
@@ -1,3 +1,3 @@
1
1
  module DvlKaminariViews
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dvl-kaminari-views
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Becker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-03 00:00:00.000000000 Z
11
+ date: 2015-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kaminari