rails-footnotes 4.0.1 → 4.0.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2cef699250d373d045cef743a70b3f49c46fc82c
4
- data.tar.gz: e6143856c34a3ae3201a9f0e2ba503b8caecade8
3
+ metadata.gz: 17a75b7b28fb30e688b8b5466cdcfcad2caff8ae
4
+ data.tar.gz: 81da40faf684a045622be143b6cf5f473e9c85d1
5
5
  SHA512:
6
- metadata.gz: afb6c7f76465de26af156ee3bce87b54942fd499b3c8c5615b9029406cc517e27385e428bda91784e75eac6fb35029fa4bd9ea3c3ad9be5d15252eda82df5249
7
- data.tar.gz: ee1985e69b29e36833dce2dfa455334ff8a981ea9f171a54c2ff5f81de52a8f07616a9fa59c38919ba7e6d23b2a10129ce23c2bffa1cdb90668f3e4fdda3d79c
6
+ metadata.gz: d688deb98a29198e04918043a9b22a6b19d00baba867fd8801b861be5cb57bc9ff6236f626ffcdea55217f0218dc394639d3a80f7b72e530d6ea21250d00e46a
7
+ data.tar.gz: 2fbca717ff0cf9f56386400743ddbfe2660048e9822e56bda337d06f710ad0b2969208fcc5d0571411bdb96dc0af905637990183717d57fca4a2a161c36f180f
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ == Footnotes v4.0.2
2
+ * Fix bad display of footnotes table
3
+ * Fix error with the queries note under Rails 4.1.2 (thanks Panayotis Matsinopoulos)
1
4
  == Footnotes v4.0.1
2
5
  * Fix bad count for log note
3
6
  * More robust initializer (thanks kayhide)
@@ -149,7 +149,7 @@ at an appropriate place, your notes will now appear inside div#footnotes_holder
149
149
  * Keenan Brock - http://github.com/kbrock
150
150
  * Ivan Storck - http://github.com/ivanoats
151
151
  * Kris Chamber - http://github.com/kristopher
152
- * Roman Babenko - http://github.com/romanvbabenko
152
+ * Roman V. Babenko - http://github.com/romanvbabenko
153
153
  * Adrien Siami - http://github.com/intrepidd
154
154
 
155
155
  == Bugs and Feedback
@@ -163,13 +163,16 @@ Starting from version 4.0, Adren Siami is the maintainer of this plugin.
163
163
 
164
164
  === Version 3.x
165
165
 
166
+ This plugin was maintained until version 4.0 by Roman V. Babenko
167
+
168
+ Copyright (c) 2010-2014 Roman V. Babenko (romanvbabenko@gmail.com)
169
+ http://romanvbabenko.com
170
+
166
171
  This plugin was maintained until version 3.6 by José Valim
167
172
 
168
173
  Copyright (c) 2009 José Valim (jose@plataformatec.com.br)
169
174
  http://blog.plataformatec.com.br
170
175
 
171
- Until version 4.0, Roman Babenko maintained this plugin.
172
-
173
176
  === Version 2.0
174
177
 
175
178
  This plugin was created and maintained until version 2.0 by Duane Johnson:
@@ -14,6 +14,7 @@ module Footnotes
14
14
  begin
15
15
  yield item
16
16
  rescue Exception => e
17
+ raise e if Rails.env.test?
17
18
  # Discard item if it has a problem
18
19
  log_error("Footnotes #{item.to_s.camelize} Exception", e)
19
20
  delete_me << item
@@ -159,7 +159,7 @@ module Footnotes
159
159
  #footnotes_debug {font-size: #{@@font_size}; font-family: Consolas, monaco, monospace; font-weight: normal; margin: 2em 0 1em 0; text-align: center; color: #444; line-height: 16px; background: #fff;}
160
160
  #footnotes_debug th, #footnotes_debug td {color: #444; line-height: 18px;}
161
161
  #footnotes_debug a {color: #9b1b1b; font-weight: inherit; text-decoration: none; line-height: 18px;}
162
- #footnotes_debug table {text-align: left; width: 100%;table-layout: fixed;}
162
+ #footnotes_debug table {text-align: left; width: 100%;}
163
163
  #footnotes_debug table td {padding: 5px; border-bottom: 1px solid #ccc;}
164
164
  #footnotes_debug table th {padding: 5px; border-bottom: 1px solid #ccc;}
165
165
  #footnotes_debug table tr:nth-child(2n) td {background: #eee;}
@@ -103,6 +103,7 @@ module Footnotes
103
103
  attr_accessor :events, :ignore_regexps
104
104
 
105
105
  def initialize(orm)
106
+ super()
106
107
  @events = []
107
108
  orm.each {|adapter| ActiveSupport::LogSubscriber.attach_to adapter, self}
108
109
  end
@@ -1,3 +1,3 @@
1
1
  module Footnotes
2
- VERSION = "4.0.1"
2
+ VERSION = "4.0.2"
3
3
  end
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
 
17
17
  s.add_dependency "rails", ">= 3.2"
18
18
 
19
- s.add_development_dependency "rspec-rails"
19
+ s.add_development_dependency "rspec-rails", '~> 2.14.0'
20
20
  s.add_development_dependency "capybara"
21
21
 
22
22
  s.files = `git ls-files`.split("\n")
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.0.1
4
+ version: 4.0.2
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-05-13 00:00:00.000000000 Z
15
+ date: 2014-07-02 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rails
@@ -32,16 +32,16 @@ dependencies:
32
32
  name: rspec-rails
33
33
  requirement: !ruby/object:Gem::Requirement
34
34
  requirements:
35
- - - '>='
35
+ - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: '0'
37
+ version: 2.14.0
38
38
  type: :development
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  requirements:
42
- - - '>='
42
+ - - ~>
43
43
  - !ruby/object:Gem::Version
44
- version: '0'
44
+ version: 2.14.0
45
45
  - !ruby/object:Gem::Dependency
46
46
  name: capybara
47
47
  requirement: !ruby/object:Gem::Requirement
@@ -69,7 +69,6 @@ files:
69
69
  - .travis.yml
70
70
  - CHANGELOG
71
71
  - Gemfile
72
- - Gemfile.lock
73
72
  - MIT-LICENSE
74
73
  - README.rdoc
75
74
  - Rakefile