josevalim-rails-footnotes 3.6.0 → 3.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README CHANGED
@@ -1,6 +1,6 @@
1
1
  Rails Footnotes
2
2
  License: MIT
3
- Version: 3.6
3
+ Version: 3.6.1
4
4
 
5
5
  You can also read this README in pretty html at the GitHub project Wiki page
6
6
 
@@ -6,7 +6,7 @@ if RAILS_ENV == 'development'
6
6
  # Load all notes
7
7
  #
8
8
  Dir[File.join(dir, 'rails-footnotes', 'notes', '*.rb')].each do |note|
9
- require note
9
+ require note unless note =~ /queries/ && !defined?(ActiveRecord)
10
10
  end
11
11
 
12
12
  # The footnotes are applied by default to all actions. You can change this
@@ -13,10 +13,10 @@ module Footnotes
13
13
  @@notes += [ :assigns, :session, :cookies, :params, :filters, :routes, :env, :queries, :log, :general ]
14
14
 
15
15
  # Change queries for rpm note when available
16
- if defined?(NewRelic)
17
- @@notes.delete(:queries)
18
- @@notes << :rpm
19
- end
16
+ # if defined?(NewRelic)
17
+ # @@notes.delete(:queries)
18
+ # @@notes << :rpm
19
+ # end
20
20
 
21
21
  # :no_style => If you don't want the style to be appended to your pages
22
22
  # :notes => Class variable that holds the notes to be processed
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: josevalim-rails-footnotes
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.0
4
+ version: 3.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Jos\xC3\xA9 Valim"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-12 00:00:00 -07:00
12
+ date: 2009-06-12 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15