zutils 2.0.0 → 2.0.1

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
  SHA256:
3
- metadata.gz: 3630171997e63501bdef72428599e01e8433f2561e1d11a9a2f2a758bfd3447a
4
- data.tar.gz: '08c18d2315835db0721b546e96254d7b51f2c2a081ab8350b4dd921898267b68'
3
+ metadata.gz: 4f4676ffa4289aaa630608de27b2156473f7337c0c850598e3f7bb79fb7397ba
4
+ data.tar.gz: 7c0294692a429bc75b007bbc845b1deaf88164b1384adcc9667ea33baaf266f2
5
5
  SHA512:
6
- metadata.gz: fb84011a96b37188a7c913fad32ed75d882f3bb405e455180f94bc8eb4e058973c6dbd0a2dceca08fb13a0fd1d737016bf25212948a24763f23171d3ec45b077
7
- data.tar.gz: 71515648e16702b2b737a4c43787637d21c1d79e411284280f9caac1fde5c2540bbcf9e43d7858d02425d247f0ccf7da9c83d70b5e1831db26c4ca99cecbbb74
6
+ metadata.gz: 1c28a400899038fa78a122d3b14e4d029b2ee139cd603d8448d59c9cd1597abe3d1f1a6b64f7ecdf25f480a9d0acb71f02fb7f2d8508164c8600fcc53918cd2b
7
+ data.tar.gz: 3f3c5ab944e70a2fa4d287c7e6ab3fe7e75b4789a712956cf994efdfa6076d5e5901a4efbc14f71608c750b1440778c2b9b995f7dd4471dfdfbed408f25b774e
@@ -69,7 +69,7 @@
69
69
  <% unless hide_links %>
70
70
  <% unless controller_name == 'users' %>
71
71
  <div class="box-footer card-footer">
72
- <% if !hide_new_action && can? :new, list.klass %>
72
+ <% if !hide_new_action && can?(:new, list.klass) %>
73
73
  <% if nested_resource == true %>
74
74
  <% if parent_resource %>
75
75
  <%= link_to eval("new_#{parent_resource.class.model_name.singular}_#{list.klass.model_name.singular}_path(#{parent_resource.id})"), class: "btn btn-#{box_class}" do %>
@@ -1,3 +1,3 @@
1
1
  module Zutils
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zutils
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Viana
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-18 00:00:00.000000000 Z
11
+ date: 2022-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails