rails-footnotes 4.1.0 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +2 -0
- data/lib/rails-footnotes/notes/log_note.rb +1 -1
- data/lib/rails-footnotes/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f14620a3b8338a7b6061e69f19b2a69f4cc57bac
|
4
|
+
data.tar.gz: 04edcd27c2a01f8551d04544aa4e4bdbee29eec9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 407714cdf2285350e8a04463f63656a6acb408d3788b3e1abda070c7370551f53a7a2ebb1d0093635a05b76d02fd35b15308be89fec57a464652a70c1e1d0539
|
7
|
+
data.tar.gz: 219c33517e5ad008b2c2d70419af091d2bba94d8745668d4045cc017cb8977e6072b73d429361d3a879bd266357a4797e8becdd636a68e0fd5bf3f530d065605
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
== Footnotes v4.1.1 ==
|
2
|
+
* Fix uninitialized constant with Log4r and probably other libraries using the Logger module ( Thanks Brian Tatnall )
|
1
3
|
== Footnotes v4.1.0 ==
|
2
4
|
* Allow footnotes url prefix to be a lambda ( Thanks Jamie Lawrence )
|
3
5
|
* Sexier assigns note ( Thanks Joshua Paling )
|
@@ -12,7 +12,7 @@ module Footnotes
|
|
12
12
|
self.original_logger = Rails.logger
|
13
13
|
note_logger = NoteLogger.new(self.logs)
|
14
14
|
note_logger.level = self.original_logger.level
|
15
|
-
note_logger.formatter = self.original_logger.kind_of?(Logger) ? self.original_logger.formatter : Logger::SimpleFormatter.new
|
15
|
+
note_logger.formatter = self.original_logger.kind_of?(Logger) ? self.original_logger.formatter : ActiveSupport::Logger::SimpleFormatter.new
|
16
16
|
# Rails 3 don't have ActiveSupport::Logger#broadcast so we backported it
|
17
17
|
extend_module = defined?(ActiveSupport::Logger) ? ActiveSupport::Logger.broadcast(note_logger) : NoteLogger.broadcast(note_logger)
|
18
18
|
Rails.logger = self.original_logger.dup.extend(extend_module)
|
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.
|
4
|
+
version: 4.1.1
|
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-
|
15
|
+
date: 2014-09-13 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rails
|