rails3-footnotes 4.0.0.pre.7 → 4.0.0.pre.8
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/lib/rails-footnotes.rb +4 -2
- data/lib/rails-footnotes/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
data/lib/rails-footnotes.rb
CHANGED
@@ -23,8 +23,10 @@ module Footnotes
|
|
23
23
|
|
24
24
|
# Hook into the logger so we can collect logs
|
25
25
|
initializer "rails3-footnotes.hook_logger" do
|
26
|
-
|
27
|
-
|
26
|
+
if ::Rails.env.development?
|
27
|
+
raise ArgumentError, "The logs footnote requires a logger" unless Rails.logger
|
28
|
+
Rails.logger.extend Footnotes::LoggingExtensions
|
29
|
+
end
|
28
30
|
end
|
29
31
|
end
|
30
32
|
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails3-footnotes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1923831865
|
5
5
|
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 4
|
8
8
|
- 0
|
9
9
|
- 0
|
10
10
|
- pre
|
11
|
-
-
|
12
|
-
version: 4.0.0.pre.
|
11
|
+
- 8
|
12
|
+
version: 4.0.0.pre.8
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- "Andr\xC3\xA9 Arko"
|