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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c61d1012a1a550bca3eedf9abf4fe4b6a23b3c01
4
- data.tar.gz: 2235e0403ee8ea795a32fd37951ec5200c381f4c
3
+ metadata.gz: f14620a3b8338a7b6061e69f19b2a69f4cc57bac
4
+ data.tar.gz: 04edcd27c2a01f8551d04544aa4e4bdbee29eec9
5
5
  SHA512:
6
- metadata.gz: 6732c4cb0de50eb31926df957fb298580021f0c41d814f5e6a77fcba6e7fe1e8be3569c25af77ca4490b67656eb98799d8a391e79dbddfb75fcc2e9b7d6d7c46
7
- data.tar.gz: fb79deb960ae52b71542003c1e33bc03357fe494fff99eda615cb3c136276c1e667d771af749fb4d44a62c5d2b226b3352262e8259ac8696ce06057fe5f9c458
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)
@@ -1,3 +1,3 @@
1
1
  module Footnotes
2
- VERSION = "4.1.0"
2
+ VERSION = "4.1.1"
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.0
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-08-29 00:00:00.000000000 Z
15
+ date: 2014-09-13 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rails