zadok 0.5.2.1 → 0.5.3

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: a82383df93cb0b2c87173842943c4683850d9119e0d3450700fadd9b5095e87b
4
- data.tar.gz: 9b24bb50a2cc4277ae213f5535ec079b6a067bcf7af643e04eeb5fc7de154c1f
3
+ metadata.gz: c5f6d560553906c1a79cf1749436fafd52dbe4ce7120ba1daa837faba16d3d24
4
+ data.tar.gz: 0febbe69444198066dd2ba8a3aac99e36dad3a2f46507ddf476f4f16d8002769
5
5
  SHA512:
6
- metadata.gz: 9af8ff1d2aac745959341f4befcd29d5f77756da0c7cfca571db409064572e24fa1f19cd2b837497b6f28a7a6d9dbf9283be897f877590f76ea4ea2a5736534b
7
- data.tar.gz: d84f23016143fdae565d18e6753228c4c486b5fd3d79484394e432e355933bbf0d9d357d67f748c015a118b32bb83d982b5f820262c529773e1ca2fe90fd28e4
6
+ metadata.gz: fa8e0cb92ead64d4429446da2cdadfdc47628cb0614ed88b94c22e1e52561a2f608c063b359d9c491588eca55d14060a87505f87c64dd63399037713081dd88a
7
+ data.tar.gz: ab55c24da51d82bd61a3d50911ceb9b7cd1df0a118e1521d9a57f7273c355fea117db9ee28b9327238354d24a3afb9f38c7ffa553ff353499a155e2a1c9dd3a7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zadok (0.5.2.1)
4
+ zadok (0.5.3)
5
5
  bootstrap (~> 4.0)
6
6
  bundler-audit (~> 0.6)
7
7
  cancancan (~> 2.1)
@@ -20,9 +20,15 @@
20
20
  td.text-right[colspan=index_attributes.count]
21
21
  = page_entries_info(resources)
22
22
  tbody
23
- = render(partial: "#{controller_name}/index_row",
24
- collection: resources,
25
- as: :resource)
23
+ - if template_exists?("#{controller_name}/index_row")
24
+ = render(partial: "#{controller_name}/index_row",
25
+ collection: resources,
26
+ as: :resource)
27
+ - else
28
+ tr
29
+ - resources.each do |resource|
30
+ - index_attributes.each do |attr|
31
+ td= resource.send(attr)
26
32
 
27
33
  = will_paginate(resources,
28
34
  inner_window: 1,
data/lib/zadok/version.rb CHANGED
@@ -3,8 +3,8 @@
3
3
  module Zadok
4
4
  VERSION_MAJOR = 0
5
5
  VERSION_MINOR = 5
6
- VERSION_TINY = 2
7
- VERSION_PRE = 1
6
+ VERSION_TINY = 3
7
+ VERSION_PRE = nil
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.2.1
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leon Hooijer