zutils 0.3.5 → 0.3.6

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: 03053f0f54df36cd364d503549a97fa7f5125a250cf84b5b031a237a098a7b59
4
- data.tar.gz: 3cc44ed720cc7eb10e9e8c6419154d346cd621b81fb4da74976bfbe472038c38
3
+ metadata.gz: c4304e3715cb35242494649757c5edea8d7915944aa10ec531bc63c793c34175
4
+ data.tar.gz: f5dd10ece09f66c4a52395b757c54e98293a629e853dd7b5a3a4a4fbbdf4bbb1
5
5
  SHA512:
6
- metadata.gz: 5b55b90d928c7c7598c06012cd50e00f49d3033cd62c6c2c611e44513696c6e36fedce993b29ab6751d65069b36999736d08ffb0ce0b2a8348b89bcc9fee300b
7
- data.tar.gz: fb328aa9f9e0008a5913321a424cffe0a4b550daaae8b45cad3a9a215130eaeeb152c25b00a20ff84077cef59da14fd56bcd1fa775b662d804a3e617c7f7d7bd
6
+ metadata.gz: f2f6248b443f0e725a7e07d8db6ec7544f206e65bb1898218f4c51482385b134cdbf810dd434fc1f9a4191e2caff44182bfce834b78cf4e74ed6f0470b16b816
7
+ data.tar.gz: b8462025006d183d8d238925589347970bd97eb16963e10d77e22e83c23ff2e16ef61fdcdea41462de726fd1834091f5945560d0526e06227e8ace8110226f11
data/.gitignore CHANGED
File without changes
data/CODE_OF_CONDUCT.md CHANGED
File without changes
data/Gemfile CHANGED
File without changes
data/LICENSE.txt CHANGED
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -65,7 +65,7 @@
65
65
  <% unless hide_links %>
66
66
  <% unless controller_name == 'users' %>
67
67
  <div class="box-footer">
68
- <% if can? :new, controller_name.singularize %>
68
+ <% if can? :new, list.klass %>
69
69
  <% if nested_resource == true %>
70
70
  <% if parent_resource %>
71
71
  <%= 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 %>
File without changes
File without changes
File without changes
data/bin/console CHANGED
File without changes
data/bin/setup CHANGED
File without changes
data/lib/zutils.rb CHANGED
File without changes
data/lib/zutils/engine.rb CHANGED
File without changes
@@ -1,3 +1,3 @@
1
1
  module Zutils
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
data/zutils.gemspec CHANGED
File without changes
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: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Viana
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-23 00:00:00.000000000 Z
11
+ date: 2019-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails