zadok 0.5.3 → 0.5.3.1

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
  SHA256:
3
- metadata.gz: c5f6d560553906c1a79cf1749436fafd52dbe4ce7120ba1daa837faba16d3d24
4
- data.tar.gz: 0febbe69444198066dd2ba8a3aac99e36dad3a2f46507ddf476f4f16d8002769
3
+ metadata.gz: 41f91ec152b30b1b3d139e2e212dcb7f5c551b714a02260b8830dcc4a039fef8
4
+ data.tar.gz: 8feb41d4f4fecdf6f00dc41b184570065eb35aa2afb8d4aa08b18f0dc8a477c0
5
5
  SHA512:
6
- metadata.gz: fa8e0cb92ead64d4429446da2cdadfdc47628cb0614ed88b94c22e1e52561a2f608c063b359d9c491588eca55d14060a87505f87c64dd63399037713081dd88a
7
- data.tar.gz: ab55c24da51d82bd61a3d50911ceb9b7cd1df0a118e1521d9a57f7273c355fea117db9ee28b9327238354d24a3afb9f38c7ffa553ff353499a155e2a1c9dd3a7
6
+ metadata.gz: a5d31935a60ffc6645b7ab67a327940e7cc5e31d9674ac01724ba9a42dd0c042a0a9902f8652b159e0bcfc40968de9de81c6dff8a4f1f92e7469c5399a627a45
7
+ data.tar.gz: 92cad26eab119243db88c08059e26d5fdb1446384ae2cdea18b76ac6a395edcae5b27a66f1d274871b94a57610ebd955c3c37a7aa93c04299cd75d19ef8e0cd1
@@ -10,6 +10,7 @@ class ZadokController < ApplicationController
10
10
  helper_method :resource_name
11
11
  helper_method :resources
12
12
  helper_method :show_attributes
13
+ helper_method :template_exists?
13
14
 
14
15
  def index
15
16
  respond_to do |format|
@@ -20,7 +20,7 @@
20
20
  td.text-right[colspan=index_attributes.count]
21
21
  = page_entries_info(resources)
22
22
  tbody
23
- - if template_exists?("#{controller_name}/index_row")
23
+ - if template_exists?("#{controller_name}/index_row", [], true)
24
24
  = render(partial: "#{controller_name}/index_row",
25
25
  collection: resources,
26
26
  as: :resource)
data/lib/zadok/version.rb CHANGED
@@ -4,7 +4,7 @@ module Zadok
4
4
  VERSION_MAJOR = 0
5
5
  VERSION_MINOR = 5
6
6
  VERSION_TINY = 3
7
- VERSION_PRE = nil
7
+ VERSION_PRE = 1
8
8
 
9
9
  VERSION = [
10
10
  VERSION_MAJOR,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zadok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leon Hooijer