josevalim-rails-footnotes 3.4 → 3.4.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.4
3
+ Version: 3.4.1
4
4
 
5
5
  You can also read this README in pretty html at the GitHub project Wiki page
6
6
 
@@ -21,7 +21,7 @@ module Footnotes
21
21
 
22
22
  protected
23
23
  def filename
24
- @controller.active_layout.filename
24
+ File.join(File.expand_path(RAILS_ROOT), 'app', 'layouts', "#{@controller.active_layout.to_s.underscore}.html.erb").sub('/layouts/layouts/', '/views/layouts/')
25
25
  end
26
26
  end
27
27
  end
@@ -140,7 +140,7 @@ if Footnotes::Notes::QueriesNote.included?
140
140
  ActiveRecord::ConnectionAdapters::AbstractAdapter.send :include, Footnotes::Extensions::AbstractAdapter
141
141
  ActiveRecord::ConnectionAdapters.local_constants.each do |adapter|
142
142
  next unless adapter =~ /.*[^Abstract]Adapter$/
143
- next if adapter =~ /SQLite.Adapter$/
143
+ next if adapter =~ /SQLiteAdapter$/
144
144
  eval("ActiveRecord::ConnectionAdapters::#{adapter}").send :include, Footnotes::Extensions::QueryAnalyzer
145
145
  end
146
146
  end
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.4"
4
+ version: 3.4.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-02-04 00:00:00 -08:00
12
+ date: 2009-02-22 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15