zutils 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -0
- data/CODE_OF_CONDUCT.md +0 -0
- data/Gemfile +0 -0
- data/LICENSE.txt +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/app/views/shared/_action_links.html.erb +0 -0
- data/app/views/shared/_form.html.erb +2 -1
- data/app/views/shared/_index.html.erb +2 -1
- data/app/views/shared/_list.html.erb +0 -0
- data/app/views/shared/_show.html.erb +2 -1
- data/bin/console +0 -0
- data/bin/setup +0 -0
- data/lib/zutils/engine.rb +0 -0
- data/lib/zutils/version.rb +1 -1
- data/lib/zutils.rb +0 -0
- data/zutils.gemspec +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a84d686582748295669bb5830b58cc288c8f2d49f60766411631418762096215
|
4
|
+
data.tar.gz: 0c30009b666d29da85c8b6bf112113328f100d67434d03f8ded1978654708208
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd3b6d08c8c0d3530b1bd676b1f4005e01c66f02a0fa92bc90378883d54ee521a600e04743ad445b10f38607e18ba7832c149e7a42895d308770bd9951c637da
|
7
|
+
data.tar.gz: d16d39ffaaa633989aea79dbb7820619e8f535c93bfb6886ef82920749842a9f16b7d457121e92d787b4582974b1801262962de1c7c6d0f8ac0bed015c005ef7
|
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
|
@@ -3,12 +3,13 @@
|
|
3
3
|
<% nested_resource ||= false %>
|
4
4
|
<% parent_resource ||= false %>
|
5
5
|
<% back_link ||= false %>
|
6
|
+
<% box_class ||= 'primary' %>
|
6
7
|
|
7
8
|
<% form_size_fields ||= (object.class.respond_to?('form_size_fields') ? object.class.form_size_fields : {}) %>
|
8
9
|
<% form_ordered_fields ||= (object.class.respond_to?('form_ordered_fields') ? object.class.form_ordered_fields : object.class.column_names) %>
|
9
10
|
|
10
11
|
<%= simple_form_for(nested_resource ? [parent_resource, object] : object) do |f| %>
|
11
|
-
<div class="box box
|
12
|
+
<div class="box box-<%= box_class %>">
|
12
13
|
<div class="box-header with-border">
|
13
14
|
<h3 class="box-title">
|
14
15
|
Dados do <%=t object.class.model_name.human %>
|
@@ -3,8 +3,9 @@
|
|
3
3
|
<% sort_fields ||= [] %>
|
4
4
|
<% nested_resource ||= false %>
|
5
5
|
<% excluded_columns ||= [] %>
|
6
|
+
<% box_class ||= 'primary' %>
|
6
7
|
|
7
|
-
<div class='box box
|
8
|
+
<div class='box box-<%= box_class %>'>
|
8
9
|
<div class="box-header with-border">
|
9
10
|
<h3 class="box-title">
|
10
11
|
<%=t Kernel.const_get(controller_name.singularize.camelize).model_name.human.pluralize %>
|
File without changes
|
@@ -1,8 +1,9 @@
|
|
1
1
|
<% excluded_columns ||= [] %>
|
2
2
|
<% nested_resource ||= false %>
|
3
3
|
<% relationships ||= {} %>
|
4
|
+
<% box_class ||= 'primary' %>
|
4
5
|
|
5
|
-
<div class="box box
|
6
|
+
<div class="box box-<%= box_class %>">
|
6
7
|
<div class="box-header with-border">
|
7
8
|
<h3 class="box-title"><%=t object.class.model_name.human %></h3>
|
8
9
|
<% if can? :edit, object %> <!--verificando se o usuario esta logado-->
|
data/bin/console
CHANGED
File without changes
|
data/bin/setup
CHANGED
File without changes
|
data/lib/zutils/engine.rb
CHANGED
File without changes
|
data/lib/zutils/version.rb
CHANGED
data/lib/zutils.rb
CHANGED
File without changes
|
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.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ricardo Viana
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|