lexrupy-rails-footnotes 3.4 → 3.4.1

Sign up to get free protection for your applications and to get access to all the features.
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
 
@@ -51,14 +51,9 @@ Instalation for Linux
51
51
 
52
52
  If you are running Linux and using gedit as default editor you can use rails-footnotes
53
53
 
54
- The first time you need to configure the footnotes, note that you only need to do this once, in other projects you can just require the tem or use it as a plugin.
54
+ The first time you need to configure the footnotes, note that you only need to do this once, in other projects you can just require the gem.
55
55
 
56
- If you installed as a plugin:
57
-
58
- cd vendor/plugins/footnotes/
59
- sh linux_install.sh
60
-
61
- If you installed and configured as a gem just run with your user (without sudo):
56
+ After normal gem installation described above, in a terminal run (without sudo):
62
57
 
63
58
  rails-footnotes-linux-configure
64
59
 
@@ -66,8 +61,6 @@ After theese steps you should be able to click on links created by footnotes plu
66
61
 
67
62
 
68
63
  * If for some reason urls not work just after instalation, try to refresh your gnome session (logout and login again).
69
- * If you use firefox 2 or older, see Usage section to get more information about registering a url handler.
70
-
71
64
 
72
65
  Configuration
73
66
  -------------
@@ -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: lexrupy-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"
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-02-04 00:00:00 -08:00
13
+ date: 2009-02-22 00:00:00 -08:00
14
14
  default_executable:
15
15
  dependencies: []
16
16