iquest-simple_table 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/iquest/simple_table/table_builder.rb +4 -2
- data/lib/iquest/simple_table/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3079fa83cb9d2462dfd417a670adde2bcf437f02
|
4
|
+
data.tar.gz: 7c7c28a54921c514cb48930e850cf27c12b9f9d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a7b97763cb2929c98b2a9f008c54752440e71235112f31ed9bf017c87e9a6d927567e64c21e9fd4d3b38db1f6c006e2215bc82e91ce561f2cf8108696420ce6
|
7
|
+
data.tar.gz: 6d24acc2b1d5fde34b54c3ff2efadb862e7ac829c0fdf133f81cde564f05f3c5e9aeee56bdb8e77f582b6108a06d6dfc8b3193a1bcf96fb4b92427d6003c91a3
|
@@ -4,7 +4,7 @@ module Iquest
|
|
4
4
|
module SimpleTable
|
5
5
|
class TableBuilder
|
6
6
|
attr_reader :parent, :table_id, :columns, :collection, :search_form, :actions, :new_link
|
7
|
-
delegate :capture, :content_tag, :link_to, :paginate, :params, to: :parent
|
7
|
+
delegate :capture, :content_tag, :link_to, :paginate, :page_entries_info, :params, to: :parent
|
8
8
|
delegate :sort_link, :search_form_for, to: :parent
|
9
9
|
delegate :polymorphic_path, :polymorphic_url, :new_polymorphic_path, :new_polymorphic_url, to: :parent
|
10
10
|
delegate :l, :t, to: :parent
|
@@ -268,7 +268,9 @@ module Iquest
|
|
268
268
|
end
|
269
269
|
|
270
270
|
def render_footer_actions
|
271
|
-
content_tag
|
271
|
+
content_tag :td, '', class: '' do
|
272
|
+
page_entries_info @collection, entry_name: @klass.model_name.human if @collection.respond_to?(:current_page)
|
273
|
+
end
|
272
274
|
end
|
273
275
|
|
274
276
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iquest-simple_table
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Dusanek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ransack_simple_form
|