chaltron 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +3 -2
- data/app/views/chaltron/logs/index.html.erb +23 -22
- data/lib/chaltron/version.rb +1 -1
- data/lib/templates/erb/scaffold/_form.html.erb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b575bca021b1310988735b0fb0d6c312722c20dc07e24e01e3a6e1dbea79c61e
|
4
|
+
data.tar.gz: c98aa7a3ac17ea1feee3c35f1f248c7de3155ac83337a0ef79be66f1518c362b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67329f27ca99fb540c267b25bcee7d75a91a0fe1840e9916d0dad1b3878208292aafac7ec07e4dbf4f7638c459f5a91020cbb21cb2c256ba2816f40bb4fce0ac
|
7
|
+
data.tar.gz: 78c818ceb8b5d57f6b0a04dee659f9baa69b72f1ecbf4376983c68b0001eaac404b1b878ba31e9daf47f9ee2b6897c0c596bf15d5e1ed1ef50cb5940d78acc81
|
data/README.md
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
-
# Chaltron
|
1
|
+
# Chaltron
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/chaltron.svg)](http://badge.fury.io/rb/chaltron) [![Build Status](https://travis-ci.org/vicvega/chaltron.svg?branch=master)](http://travis-ci.org/vicvega/chaltron)
|
4
|
+
[![pipeline status](https://gitlab.com/vicvega/chaltron/badges/master/pipeline.svg)](https://gitlab.com/vicvega/chaltron/commits/master)
|
3
5
|
[![Coverage Status](https://coveralls.io/repos/vicvega/chaltron/badge.svg?branch=master&service=github)](https://coveralls.io/github/vicvega/chaltron?branch=master)
|
4
6
|
[![Code Climate](https://codeclimate.com/github/vicvega/chaltron/badges/gpa.svg)](https://codeclimate.com/github/vicvega/chaltron)
|
5
|
-
[![PullReview stats](https://www.pullreview.com/github/vicvega/chaltron/badges/master.svg?)](https://www.pullreview.com/github/vicvega/chaltron/reviews/master)
|
6
7
|
[![security](https://hakiri.io/github/vicvega/chaltron/master.svg)](https://hakiri.io/github/vicvega/chaltron/master)
|
7
8
|
|
8
9
|
## Important note
|
@@ -1,28 +1,29 @@
|
|
1
1
|
<div class='container-fluid'>
|
2
2
|
<h3 class='pt-4'><%= t '.title' %></h3>
|
3
|
-
|
4
3
|
<div class='row'>
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
<
|
9
|
-
<
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
4
|
+
<div class='col-md-12'>
|
5
|
+
<%= content_tag 'table', id: 'logs', class: 'table table-striped',
|
6
|
+
data: {source: logs_path(format: :json)} do %>
|
7
|
+
<thead>
|
8
|
+
<tr>
|
9
|
+
<th class='severity'>
|
10
|
+
<%= Log.human_attribute_name(:severity) %>
|
11
|
+
</th>
|
12
|
+
<th class='timestamp'>
|
13
|
+
<%= Log.human_attribute_name(:created_at) %>
|
14
|
+
</th>
|
15
|
+
<th class='message'>
|
16
|
+
<%= Log.human_attribute_name(:message) %>
|
17
|
+
</th>
|
18
|
+
<th class='category'>
|
19
|
+
<%= Log.human_attribute_name(:category) %>
|
20
|
+
</th>
|
21
|
+
</tr>
|
22
|
+
</thead>
|
23
|
+
<tbody>
|
24
|
+
</tbody>
|
25
|
+
<% end %>
|
26
|
+
</div>
|
26
27
|
</div>
|
27
28
|
|
28
29
|
</div>
|
data/lib/chaltron/version.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
<%%= bootstrap_form_for(@<%= singular_table_name %>, layout: :horizontal, label_col: 'col-sm-2 col-form-label', control_col: 'col-sm-10') do |f| %>
|
2
2
|
|
3
3
|
<% attributes.each do |attribute| -%>
|
4
|
-
|
4
|
+
<% if attribute.field_type == :check_box -%>
|
5
5
|
<%%= f.form_group :<%= attribute.name %>, label: { text: '<%= attribute.name %>' } do %>
|
6
6
|
<%%= f.<%= attribute.field_type %> :<%= attribute.name %>, label: '' %>
|
7
7
|
<%% end -%>
|
8
|
-
|
8
|
+
<% else -%>
|
9
9
|
<%%= f.<%= attribute.field_type %> :<%= attribute.name %> %>
|
10
|
-
|
10
|
+
<% end -%>
|
11
11
|
<% end -%>
|
12
12
|
|
13
13
|
<div class='form-group row'>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chaltron
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vicvega
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -503,7 +503,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
503
503
|
version: '0'
|
504
504
|
requirements: []
|
505
505
|
rubyforge_project:
|
506
|
-
rubygems_version: 2.6
|
506
|
+
rubygems_version: 2.7.6
|
507
507
|
signing_key:
|
508
508
|
specification_version: 4
|
509
509
|
summary: Move faster and break things - revisited for rails 4
|