rails-footnotes 4.1.1 → 4.1.2

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: f14620a3b8338a7b6061e69f19b2a69f4cc57bac
4
- data.tar.gz: 04edcd27c2a01f8551d04544aa4e4bdbee29eec9
3
+ metadata.gz: ffb24d7d697c09db406447acfedef8f683044736
4
+ data.tar.gz: f23154a732d475110df4b607d8168e0818f531d7
5
5
  SHA512:
6
- metadata.gz: 407714cdf2285350e8a04463f63656a6acb408d3788b3e1abda070c7370551f53a7a2ebb1d0093635a05b76d02fd35b15308be89fec57a464652a70c1e1d0539
7
- data.tar.gz: 219c33517e5ad008b2c2d70419af091d2bba94d8745668d4045cc017cb8977e6072b73d429361d3a879bd266357a4797e8becdd636a68e0fd5bf3f530d065605
6
+ metadata.gz: 04383c31311d242b02852f00d9640cd31b79baac0696e5dbafdcd6e335069feaeb49b675bbcbfa1535b3a1ddc0cef493dfba91bb1d2d6849192055bd1651b5e6
7
+ data.tar.gz: f4515392b32c4af3995400edaf6802115db1658f06eae7df587a262974c1e6d642d8befe26181481a50083e16a033d16880ef292e3a6c7451159867aa8c52a39
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ == Footnotes v4.1.2 ==
2
+ * Fix errors when some log formatters return nil
1
3
  == Footnotes v4.1.1 ==
2
4
  * Fix uninitialized constant with Log4r and probably other libraries using the Logger module ( Thanks Brian Tatnall )
3
5
  == Footnotes v4.1.0 ==
@@ -1,5 +1,5 @@
1
1
  defined?(Footnotes) && Footnotes.setup do |f|
2
- # Wether or not to enable footnotes
2
+ # Whether or not to enable footnotes
3
3
  f.enabled = Rails.env.development?
4
4
  # You can also use a lambda / proc to conditionally toggle footnotes
5
5
  # Example :
@@ -24,7 +24,7 @@ module Footnotes
24
24
 
25
25
  def content
26
26
  result = '<table>'
27
- log.each do |l|
27
+ log.compact.each do |l|
28
28
  result << "<tr><td>#{l.gsub(/\e\[.+?m/, '')}</td></tr>"
29
29
  end
30
30
  result << '</table>'
@@ -1,3 +1,3 @@
1
1
  module Footnotes
2
- VERSION = "4.1.1"
2
+ VERSION = "4.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-footnotes
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.1
4
+ version: 4.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman V. Babenko
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2014-09-13 00:00:00.000000000 Z
15
+ date: 2014-10-21 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rails