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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 1fc2f7c172c6b77208c309d457c015abd1e2318c
4
- data.tar.gz: 6f30b8ff43381020369ef2fa70baad1c2927d2c9
2
+ SHA256:
3
+ metadata.gz: b575bca021b1310988735b0fb0d6c312722c20dc07e24e01e3a6e1dbea79c61e
4
+ data.tar.gz: c98aa7a3ac17ea1feee3c35f1f248c7de3155ac83337a0ef79be66f1518c362b
5
5
  SHA512:
6
- metadata.gz: 141ac4414fddb7839f77c0795d3290b4f1a5700feae0e698306306954f4d16fbac247907a0766e3e7b4ae7cb7db2e7b158990175c3618b7aa7d2dc17ff92135b
7
- data.tar.gz: 9d77c17117137770e17bb3df380fd2b7f9c2c5335d0ad95900f334f8c00d7a2b3d6067b8fde7711546800cb41eac655157a2b15438ebdd065eb0c599c8ebf331
6
+ metadata.gz: 67329f27ca99fb540c267b25bcee7d75a91a0fe1840e9916d0dad1b3878208292aafac7ec07e4dbf4f7638c459f5a91020cbb21cb2c256ba2816f40bb4fce0ac
7
+ data.tar.gz: 78c818ceb8b5d57f6b0a04dee659f9baa69b72f1ecbf4376983c68b0001eaac404b1b878ba31e9daf47f9ee2b6897c0c596bf15d5e1ed1ef50cb5940d78acc81
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
- # Chaltron [![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) [![Dependency Status](https://gemnasium.com/vicvega/chaltron.svg)](https://gemnasium.com/vicvega/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
- <%= 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 %>
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>
@@ -1,3 +1,3 @@
1
1
  module Chaltron
2
- VERSION = '1.0.4'.freeze
2
+ VERSION = '1.0.5'.freeze
3
3
  end
@@ -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
- <% if attribute.field_type == :check_box -%>
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
- <% else -%>
8
+ <% else -%>
9
9
  <%%= f.<%= attribute.field_type %> :<%= attribute.name %> %>
10
- <% end -%>
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
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-03-23 00:00:00.000000000 Z
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.13
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