rails6-footnotes 5.0.1 → 5.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.rdoc +4 -44
- data/lib/rails-footnotes/notes/view_note.rb +2 -1
- data/lib/rails-footnotes/version.rb +1 -1
- data/spec/notes/view_note_spec.rb +7 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 603a02bd2fe09a3477ceeaef7c37e9cfdf6243781924b246c44de11460c3f8c0
|
4
|
+
data.tar.gz: 2569c59867361706353e9e3bb2b4fe68e8a317c26cdd783518f6fdaa849b91db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 191418da6a761691a6ca0c3102788f9b8b88346d54d9420957a1873bb5ad42ba9025542a0bc525439235d5a973821fbe07c4ff36e9debf0d28e8aeff16853f20
|
7
|
+
data.tar.gz: 84ca7a1fba7cddafd553448b1f11c6a84b52893b06cb0fffd01566b5aaf88e1e6d7e95988bd96a2d0768c77369345ae801a49489a99b78459acf6e9386bede5b
|
data/Gemfile.lock
CHANGED
data/README.rdoc
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
= Rails Footnotes
|
2
|
-
|
3
|
-
{<img src="https://travis-ci.org/Intrepidd/rails-footnotes.svg?branch=master" />}[https://travis-ci.org/Intrepidd/rails-footnotes]
|
1
|
+
= Rails 6 Footnotes
|
4
2
|
|
5
3
|
Rails footnotes displays footnotes in your application for easy debugging, such as sessions,
|
6
4
|
request parameters, cookies, filter chain, routes, queries, etc.
|
@@ -10,17 +8,11 @@ your backtrace lines.
|
|
10
8
|
|
11
9
|
== Installation
|
12
10
|
|
13
|
-
|
14
|
-
|
15
|
-
https://github.com/josevalim/rails-footnotes/tree/rails2
|
16
|
-
|
17
|
-
Installing Rails Footnotes is very easy.
|
18
|
-
|
19
|
-
=== Rails 3.2.x/4.x
|
11
|
+
Add to your `Gemfile`:
|
20
12
|
|
21
|
-
gem
|
13
|
+
gem "rails6-footnotes", "~> 5.0"
|
22
14
|
|
23
|
-
|
15
|
+
Run `bundle install`, then the generator:
|
24
16
|
|
25
17
|
rails generate rails_footnotes:install
|
26
18
|
|
@@ -150,39 +142,7 @@ If you'd like the footnote, to be at a different place (perhaps for aesthetical
|
|
150
142
|
<div id="footnotes_holder"></div>
|
151
143
|
at an appropriate place, your notes will now appear inside div#footnotes_holder
|
152
144
|
|
153
|
-
== Collaborators
|
154
|
-
|
155
|
-
* Leon Li - http://github.com/scorpio
|
156
|
-
* Keenan Brock - http://github.com/kbrock
|
157
|
-
* Ivan Storck - http://github.com/ivanoats
|
158
|
-
* Kris Chamber - http://github.com/kristopher
|
159
|
-
* Roman V. Babenko - http://github.com/romanvbabenko
|
160
|
-
* Adrien Siami - http://github.com/intrepidd
|
161
|
-
|
162
145
|
== Bugs and Feedback
|
163
146
|
|
164
147
|
If you discover any bugs, please open an issue.
|
165
148
|
If you just want to give some positive feedback or drop a line, that's fine too!
|
166
|
-
|
167
|
-
=== Version 4.x
|
168
|
-
|
169
|
-
Starting from version 4.0, Adren Siami is the maintainer of this plugin.
|
170
|
-
|
171
|
-
=== Version 3.x
|
172
|
-
|
173
|
-
This plugin was maintained until version 4.0 by Roman V. Babenko
|
174
|
-
|
175
|
-
Copyright (c) 2010-2014 Roman V. Babenko (romanvbabenko@gmail.com)
|
176
|
-
http://romanvbabenko.com
|
177
|
-
|
178
|
-
This plugin was maintained until version 3.6 by José Valim
|
179
|
-
|
180
|
-
Copyright (c) 2009 José Valim (jose@plataformatec.com.br)
|
181
|
-
http://blog.plataformatec.com.br
|
182
|
-
|
183
|
-
=== Version 2.0
|
184
|
-
|
185
|
-
This plugin was created and maintained until version 2.0 by Duane Johnson:
|
186
|
-
|
187
|
-
Copyright (c) 2006 InquiryLabs, Inc.
|
188
|
-
http://blog.inquirylabs.com
|
@@ -2,11 +2,17 @@ require "spec_helper"
|
|
2
2
|
require "rails-footnotes/notes/view_note"
|
3
3
|
|
4
4
|
describe Footnotes::Notes::ViewNote do
|
5
|
-
|
6
5
|
it "should not be valid if view file not exist" do
|
7
6
|
note = Footnotes::Notes::ViewNote.new(double)
|
8
7
|
allow(note).to receive(:filename).and_return(nil)
|
9
8
|
|
10
9
|
expect(note).not_to be_valid
|
11
10
|
end
|
11
|
+
|
12
|
+
it "should not explode if template is nil" do
|
13
|
+
Footnotes::Notes::ViewNote.template = nil
|
14
|
+
|
15
|
+
note = Footnotes::Notes::ViewNote.new(double)
|
16
|
+
expect(note).to_not be_valid
|
17
|
+
end
|
12
18
|
end
|