tkh_illustrations 0.9.2 → 0.9.3

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: e44b135b46bfa957a2c279fd003d28def513d222
4
- data.tar.gz: da85adf7580ad137502910c322cc3bbf9595801a
3
+ metadata.gz: 23ad9a15fc2dd3c607295a2973845c533960a532
4
+ data.tar.gz: 924f5d4dc52a2bd0ecaefb432a4832d9f08c1951
5
5
  SHA512:
6
- metadata.gz: d9187ec7a812f0c1db4767e33783139e199e4e536f8ca270ef256783d2e7c8d44ef5afac99d257a66d8f4469c8b3501f24646ba10e4b89c97a19ce773f491ffb
7
- data.tar.gz: e1dc09d43b828e3ee9981118a756e6117ecdf190ce4b6160bfb907c7cbbfc261ce66009b21db826c7a32f0ddf6aa1492efb595593b0144c636750d053d409ce4
6
+ metadata.gz: f3092f303488f82cb3af338cb104d4462eb60a5fc9a57fcbb46fcac8e43c03867bea41bfc4c49b6fe42cb6f9ca07bd7d256ce5066fcbf0a81ed51f3d8bb59aa9
7
+ data.tar.gz: e2ebc05c51c57eb10e6c28a3b75fc8aa94ff2fe48c138efd0eed499e0516ede74e79ee04c541aae387065a219873b1285b7cf97d81390e063202c3416ee30311
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
 
4
4
 
5
+ ## 0.9.3
6
+
7
+ * Fixed up and improved paginators
8
+
5
9
 
6
10
  ## 0.9.2
7
11
 
@@ -2,15 +2,17 @@
2
2
 
3
3
  <%= render 'tab_admin_menu' %>
4
4
 
5
+ <%= will_paginate @headers, inner_window: 2 %>
6
+
5
7
  <table class='table table-striped'>
6
8
  <thead>
7
- <tr>
9
+ <tr>
8
10
  <th><%= t('activerecord.attributes.header.photo') %></th>
9
11
  <th><%= t('name_and_paths') %></th>
10
12
  <th><%= t('actions') %></th>
11
13
  </tr>
12
14
  </thead>
13
-
15
+
14
16
  <tbody>
15
17
  <% @headers.each do |header| %>
16
18
  <tr>
@@ -27,8 +29,8 @@
27
29
  </tbody>
28
30
  </table>
29
31
 
30
- <%= will_paginate @headers %>
32
+ <%= will_paginate @headers, inner_window: 2 %>
31
33
 
32
34
  <%= link_to t('headers.create.new'), new_header_path, class: 'btn btn-primary' %>
33
35
 
34
- <%= render 'shared/admin_sidebar' %>
36
+ <%= render 'shared/admin_sidebar' %>
@@ -1,5 +1,7 @@
1
1
  <%= render 'section_header' %>
2
2
 
3
+ <%= will_paginate @illustrations, inner_window: 2 %>
4
+
3
5
  <table class='table table-striped'>
4
6
  <thead>
5
7
  <tr>
@@ -28,7 +30,7 @@
28
30
  </tbody>
29
31
  </table>
30
32
 
31
- <%= will_paginate @illustrations %>
33
+ <%= will_paginate @illustrations, inner_window: 2 %>
32
34
 
33
35
  <%= link_to t('illustrations.create.new'), new_illustration_path, class: 'btn btn-primary' %>
34
36
 
@@ -1,3 +1,3 @@
1
1
  module TkhIllustrations
2
- VERSION = "0.9.2"
2
+ VERSION = "0.9.3"
3
3
  end
@@ -4,7 +4,6 @@ require 'carrierwave'
4
4
  require 'stringex'
5
5
  require 'globalize'
6
6
  require 'will_paginate'
7
- require 'bootstrap-will_paginate'
8
7
 
9
8
  module TkhIllustrations
10
9
  class Engine < ::Rails::Engine
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tkh_illustrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swami Atma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-05 00:00:00.000000000 Z
11
+ date: 2014-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -94,20 +94,6 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: bootstrap-will_paginate
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :runtime
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: sqlite3
113
99
  requirement: !ruby/object:Gem::Requirement