effective_logging 1.2.0 → 1.2.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
  SHA1:
3
- metadata.gz: 8a7df573fcb55c4df035f16cc9e8fc161b6808c5
4
- data.tar.gz: 6a10845e830957dfd497f7e3e62fc83e41d944b6
3
+ metadata.gz: 1a7005ad6fc581711b88058d747b8df413485567
4
+ data.tar.gz: eae5a399887c47359013669ddca62a472a5634d9
5
5
  SHA512:
6
- metadata.gz: 32f58ab96bf00cb023bb8d5a5a355481d2211f84c60e7ce075cb3aa4a79988501b9b970182220b4f3bcb4647471d49ab53308abf0cad5473bf2f13b5f79dc5b3
7
- data.tar.gz: a4bb6f11ed24580110042c351d5d86b45ed0fc957c9de83cacbf8023edcc791611980c21c2193322fa9d20f730fb4c3d1401f148ba0ae066380d45be2291d549
6
+ metadata.gz: b1b76ca03dc7d99ecd1114716a8045fe97fe0605799785bfe14de0cd4c0486a1c12de764037d361bb55d4bef7bc2da27a59e370157325422eb9317f9c48e991a
7
+ data.tar.gz: 2e011f237696e00f116aab02f2ca26d4eb0b923980e95f93bb2b1eec02f3d8b997b344c2885633c6409836861b5f6cce2b572bcd0979620762c344a8da4b41d8
@@ -1,8 +1,5 @@
1
1
  .fluid-container
2
2
  .row
3
3
  .col-sm-12
4
- - unless (@datatable.collection.length rescue 0) > 0
5
- %p
6
- There are no logs
7
- - else
8
- = render_datatable @datatable
4
+ = render_datatable @datatable do
5
+ %p There are no logs
@@ -1,7 +1,4 @@
1
1
  %h2= @page_title
2
2
 
3
- - unless (@datatable.collection.length rescue 0) > 0
4
- %p
5
- There are no logs
6
- - else
7
- = render_datatable @datatable
3
+ = render_datatable @datatable do
4
+ %p There are no logs
@@ -47,8 +47,8 @@
47
47
  %p
48
48
  %strong Additional Entries:
49
49
  = "this log contains #{log.logs_count} additional sub entries"
50
- - if log.datatable.present?
50
+ - if log.datatable.nil? == false
51
51
  %hr
52
52
  .row
53
- .col-lg-12= render_datatable log.datatable
53
+ .col-lg-12= render_datatable(log.datatable)
54
54
 
@@ -1,7 +1,4 @@
1
1
  %h2= @page_title
2
2
 
3
- - unless (@datatable.collection.length rescue 0) > 0
4
- %p
5
- You have no previous recorded activity
6
- - else
7
- = render_datatable @datatable
3
+ = render_datatable @datatable do
4
+ %p You have no previous recorded activity
@@ -1,3 +1,3 @@
1
1
  module EffectiveLogging
2
- VERSION = '1.2.0'.freeze
2
+ VERSION = '1.2.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_logging
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-10 00:00:00.000000000 Z
11
+ date: 2015-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 3.2.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: effective_datatables
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.3.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 1.3.0
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: coffee-rails
29
43
  requirement: !ruby/object:Gem::Requirement