junebug-wiki 0.0.24 → 0.0.25
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -1
- data/lib/junebug/version.rb +1 -1
- data/lib/junebug/views.rb +4 -2
- metadata +2 -2
data/History.txt
CHANGED
@@ -1,9 +1,13 @@
|
|
1
|
+
= 0.0.25 2006-12-01
|
2
|
+
|
3
|
+
* Feed page url wrong. Fixes #6983. Thanks Robert Gogolok
|
4
|
+
* Don't show diff link for version < 1 in feed. Fixes ##6984. Thanks Robert Gogolok
|
5
|
+
|
1
6
|
= 0.0.24 2006-11-29
|
2
7
|
|
3
8
|
* Accesskey attributes added for edit(e) and save(s). Thanks willcodeforfoo!
|
4
9
|
* Edit form tweaks
|
5
10
|
|
6
|
-
|
7
11
|
= 0.0.23 2006-11-28
|
8
12
|
|
9
13
|
* *EXISTING USERS PLEASE READ THE RELEASE NOTES*
|
data/lib/junebug/version.rb
CHANGED
data/lib/junebug/views.rb
CHANGED
@@ -296,7 +296,7 @@ module Junebug::Views
|
|
296
296
|
xml.updated pages.first.updated_at.xmlschema
|
297
297
|
|
298
298
|
pages.each do |page|
|
299
|
-
url = Junebug.config['feedurl'] + '/' + page.
|
299
|
+
url = Junebug.config['feedurl'] + '/' + page.title_url
|
300
300
|
xml.entry do
|
301
301
|
xml.id url
|
302
302
|
xml.title page.title
|
@@ -306,7 +306,9 @@ module Junebug::Views
|
|
306
306
|
xml.link "rel" => "alternate", "href" => url
|
307
307
|
xml.summary :type=>'html' do
|
308
308
|
#xml.text! CGI::escapeHTML( %|<a href="#{url}">#{page.title}</a> updated by #{page.user.username} (<a href="#{url}/#{page.version-1}/#{page.version}/diff">diff</a>)| )+"\n"
|
309
|
-
xml.text! %|<a href="#{url}">#{page.title}</a> updated by #{page.user.username}
|
309
|
+
xml.text! %|<a href="#{url}">#{page.title}</a> updated by #{page.user.username}|
|
310
|
+
xml.text! %| (<a href="#{url}/#{page.version-1}/#{page.version}/diff">diff</a>)| if page.version > 1
|
311
|
+
xml.text! "\n"
|
310
312
|
end
|
311
313
|
# xml.content do
|
312
314
|
# xml.text! CGI::escapeHTML(page.body)+"\n"
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: junebug-wiki
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0.
|
7
|
-
date: 2006-
|
6
|
+
version: 0.0.25
|
7
|
+
date: 2006-12-01 00:00:00 -08:00
|
8
8
|
summary: Junebug is a minimalist ruby wiki running on Camping.
|
9
9
|
require_paths:
|
10
10
|
- lib
|