ruwiki 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Readme.rubygems +3 -3
- data/Readme.tarfile +3 -3
- data/data/Default/ProjectIndex.ruwiki +2 -2
- data/data/Ruwiki/Antispam.ruwiki +3 -3
- data/data/Ruwiki/BugTracking.ruwiki +2 -2
- data/data/Ruwiki/ChangeLog.ruwiki +5 -2
- data/data/Ruwiki/Configuring_Ruwiki.ruwiki +2 -2
- data/data/Ruwiki/Extending_Ruwiki.ruwiki +2 -2
- data/data/Ruwiki/LicenseAndAuthorInfo.ruwiki +1 -1
- data/data/Ruwiki/ProjectIndex.ruwiki +3 -3
- data/data/Ruwiki/Roadmap.ruwiki +2 -2
- data/data/Ruwiki/RuwikiTemplatingLibrary.ruwiki +2 -2
- data/data/Ruwiki/RuwikiUtilities.ruwiki +6 -6
- data/data/Ruwiki/SandBox.ruwiki +1 -1
- data/data/Ruwiki/To_Do.ruwiki +2 -2
- data/data/Ruwiki/TroubleShooting.ruwiki +3 -3
- data/data/Ruwiki/WikiFeatures.ruwiki +1 -1
- data/data/Ruwiki/WikiMarkup.ruwiki +2 -2
- data/data/Tutorial/AddingPages.ruwiki +1 -1
- data/data/Tutorial/AddingProjects.ruwiki +1 -1
- data/data/Tutorial/ProjectIndex.ruwiki +2 -2
- data/data/Tutorial/SandBox.ruwiki +1 -1
- data/lib/ruwiki.rb +3 -3
- data/lib/ruwiki/wiki/tokens.rb +9 -13
- data/ruwiki.pkg +0 -0
- metadata +9 -3
data/Readme.rubygems
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
Ruwiki 0.9.
|
1
|
+
Ruwiki 0.9.2
|
2
2
|
------------
|
3
3
|
Ruwiki is a simple, extensible Wiki-clone written in Ruby. It supports both
|
4
4
|
CGI and WEBrick interfaces, templates, and CSS formatting. This Wiki differs
|
5
5
|
from most other Wikis in that it supports project namespaces, so that two
|
6
6
|
topics may be named the same for differing projects without colliding or
|
7
7
|
having to resort to odd naming conventions. Please see the ::Ruwiki project in
|
8
|
-
the running Wiki for more information. Ruwiki 0.9.
|
8
|
+
the running Wiki for more information. Ruwiki 0.9.2 has German and Spanish
|
9
9
|
translations available.
|
10
10
|
|
11
11
|
Upgrading
|
12
12
|
---------
|
13
|
-
Ruwiki 0.9.
|
13
|
+
Ruwiki 0.9.2 has a flatfile format that is incompatible with older versions of
|
14
14
|
Ruwiki. If you are upgrading from one of these versions, you must use the
|
15
15
|
bin/convert. The simple case will be (assuming that your data files are in
|
16
16
|
./data):
|
data/Readme.tarfile
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
Ruwiki 0.9.
|
1
|
+
Ruwiki 0.9.2
|
2
2
|
------------
|
3
3
|
Ruwiki is a simple, extensible Wiki-clone written in Ruby. It supports both
|
4
4
|
CGI and WEBrick interfaces, templates, and CSS formatting. This Wiki differs
|
5
5
|
from most other Wikis in that it supports project namespaces, so that two
|
6
6
|
topics may be named the same for differing projects without colliding or
|
7
7
|
having to resort to odd naming conventions. Please see the ::Ruwiki project in
|
8
|
-
the running Wiki for more information. Ruwiki 0.9.
|
8
|
+
the running Wiki for more information. Ruwiki 0.9.2 has German and Spanish
|
9
9
|
translations available.
|
10
10
|
|
11
11
|
Upgrading
|
12
12
|
---------
|
13
|
-
Ruwiki 0.9.
|
13
|
+
Ruwiki 0.9.2 has a flatfile format that is incompatible with versions of
|
14
14
|
Ruwiki older than 0.8.0. If you are upgrading from one of these versions, you
|
15
15
|
must use the bin/convert. The simplest case will be (assuming that your data
|
16
16
|
files are in ./data):
|
@@ -10,7 +10,7 @@ page!content: = Ruwiki
|
|
10
10
|
(UTF-8) is required. There are German and Spanish localisations of the
|
11
11
|
messages included with the Ruwiki distribution.
|
12
12
|
|
13
|
-
The current version is 0.9.
|
13
|
+
The current version is 0.9.2. Enhancements and changes include:
|
14
14
|
* a deployment system, whereby Ruwiki deployments can be installed from a package manager like that used for RPA (rpa-base) or \RubyGems (see Ruwiki::RuwikiUtilities);
|
15
15
|
* support for Ruwiki as a Windows service on NT, 2000, XP, and 2003 systems;
|
16
16
|
* demotion of YAML and Marshal storage types to formats of the Flatfiles storage type;
|
@@ -45,5 +45,5 @@ properties!title: ProjectIndex
|
|
45
45
|
properties!topic: ProjectIndex
|
46
46
|
properties!version: 1
|
47
47
|
ruwiki!content-version: 2
|
48
|
-
ruwiki!version: 0.9.
|
48
|
+
ruwiki!version: 0.9.2
|
49
49
|
properties!editable: false
|
data/data/Ruwiki/Antispam.ruwiki
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
page!content: = Ruwiki 0.9.
|
1
|
+
page!content: = Ruwiki 0.9.2 Antispam
|
2
2
|
Wiki-spam, like email spam, is a major problem. Ruwiki is going to have
|
3
3
|
extensive configurable tools for fighting spam. As it is, there are
|
4
4
|
several tools built into Ruwiki to assist in the fight against these
|
@@ -27,7 +27,7 @@ page!content: = Ruwiki 0.9.1 Antispam
|
|
27
27
|
spammers the entire benefit of spamming a wiki implemented with Ruwiki.
|
28
28
|
|
29
29
|
== Reacting to Spammers and Robots
|
30
|
-
Ruwiki 0.9.
|
30
|
+
Ruwiki 0.9.2 includes the ability to present alternative versions of
|
31
31
|
itself to certain user agents and/or IP addresses based on a list. In
|
32
32
|
the future, both the lists and the faces presented will be configurable
|
33
33
|
(highly configurable, at that -- watch this space), but in this version
|
@@ -80,4 +80,4 @@ properties!title: Antispam
|
|
80
80
|
properties!topic: Antispam
|
81
81
|
properties!version: 1
|
82
82
|
ruwiki!content-version: 2
|
83
|
-
ruwiki!version: 0.9.
|
83
|
+
ruwiki!version: 0.9.2
|
@@ -1,4 +1,4 @@
|
|
1
|
-
page!content: = Ruwiki 0.9.
|
1
|
+
page!content: = Ruwiki 0.9.2 Bug Tracking
|
2
2
|
This page is for tracking bugs in Ruwiki. Only bugs from recent
|
3
3
|
distributions are tracked. In addition to this source-based bug
|
4
4
|
tracking, there is the [http://rubyforge.org RubyForge]
|
@@ -29,5 +29,5 @@ properties!title: BugTracking
|
|
29
29
|
properties!topic: BugTracking
|
30
30
|
properties!version: 1
|
31
31
|
ruwiki!content-version: 2
|
32
|
-
ruwiki!version: 0.9.
|
32
|
+
ruwiki!version: 0.9.2
|
33
33
|
properties!editable: false
|
@@ -1,7 +1,10 @@
|
|
1
|
-
page!content: = Ruwiki 0.9.
|
1
|
+
page!content: = Ruwiki 0.9.2 ChangeLog
|
2
2
|
Uncompleted to-do items can be found in To_Do. Bugs in Ruwiki are
|
3
3
|
tracked in BugTracking.
|
4
4
|
|
5
|
+
== 0.9.2
|
6
|
+
* Fixed a problem with token handling where the first token was nil.
|
7
|
+
|
5
8
|
== 0.9.1
|
6
9
|
* Fixed a couple of problems with the Ruwiki deployment system surrounding Win32::Service management.
|
7
10
|
* Added a Google redirect exclusion list to the configuration.
|
@@ -107,5 +110,5 @@ properties!title: ChangeLog
|
|
107
110
|
properties!topic: ChangeLog
|
108
111
|
properties!version: 1
|
109
112
|
ruwiki!content-version: 2
|
110
|
-
ruwiki!version: 0.9.
|
113
|
+
ruwiki!version: 0.9.2
|
111
114
|
properties!editable: false
|
@@ -1,4 +1,4 @@
|
|
1
|
-
page!content: = Configuring Ruwiki 0.9.
|
1
|
+
page!content: = Configuring Ruwiki 0.9.2
|
2
2
|
Ruwiki is configured similarly as both a CGI and a \WEBrick servlet.
|
3
3
|
The biggest distinction is that because the Wiki servlet is created
|
4
4
|
after the \WEBrick server is created (during the dispatch to the
|
@@ -147,5 +147,5 @@ properties!title: Configuring_Ruwiki
|
|
147
147
|
properties!topic: Configuring_Ruwiki
|
148
148
|
properties!version: 1
|
149
149
|
ruwiki!content-version: 2
|
150
|
-
ruwiki!version: 0.9.
|
150
|
+
ruwiki!version: 0.9.2
|
151
151
|
properties!editable: false
|
@@ -1,4 +1,4 @@
|
|
1
|
-
page!content: = Extending Ruwiki 0.9.
|
1
|
+
page!content: = Extending Ruwiki 0.9.2
|
2
2
|
Ruwiki is relatively easily extended to support new features. There are
|
3
3
|
four primary ways in which Ruwiki can be extended or modified by the
|
4
4
|
end user: templates, translating Ruwiki messages and labels, markup
|
@@ -313,5 +313,5 @@ properties!title: Extending_Ruwiki
|
|
313
313
|
properties!topic: Extending_Ruwiki
|
314
314
|
properties!version: 1
|
315
315
|
ruwiki!content-version: 2
|
316
|
-
ruwiki!version: 0.9.
|
316
|
+
ruwiki!version: 0.9.2
|
317
317
|
properties!editable: false
|
@@ -1,4 +1,4 @@
|
|
1
|
-
page!content: = Ruwiki 0.9.
|
1
|
+
page!content: = Ruwiki 0.9.2
|
2
2
|
This is the \ProjectIndex page for Ruwiki. For any given project, the
|
3
3
|
\ProjectIndex topic will be the default topic for plain project links.
|
4
4
|
|
@@ -18,7 +18,7 @@ page!content: = Ruwiki 0.9.1
|
|
18
18
|
The YAML backend requires Ruby 1.8.2 preview 3 or later.
|
19
19
|
|
20
20
|
== Upgrading
|
21
|
-
Ruwiki 0.9.
|
21
|
+
Ruwiki 0.9.2 has a flatfile format that is incompatible with versions
|
22
22
|
of Ruwiki older than Ruwiki 0.8.0. If you are upgrading from one of
|
23
23
|
these versions, you must use the bin/ruwiki_convert. The simple case
|
24
24
|
will be (assuming that your data files are in ./data):
|
@@ -80,5 +80,5 @@ properties!title: ProjectIndex
|
|
80
80
|
properties!topic: ProjectIndex
|
81
81
|
properties!version: 1
|
82
82
|
ruwiki!content-version: 2
|
83
|
-
ruwiki!version: 0.9.
|
83
|
+
ruwiki!version: 0.9.2
|
84
84
|
properties!editable: false
|
data/data/Ruwiki/Roadmap.ruwiki
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
page!content: = Ruwiki 0.9.
|
1
|
+
page!content: = Ruwiki 0.9.2: The Road Ahead
|
2
2
|
This roadmap is accurate as of the release of 0.9.0.
|
3
3
|
|
4
4
|
What lies ahead for Ruwiki? The To_Do list will give a detailed list
|
@@ -221,5 +221,5 @@ properties!title: Roadmap
|
|
221
221
|
properties!topic: Roadmap
|
222
222
|
properties!version: 1
|
223
223
|
ruwiki!content-version: 2
|
224
|
-
ruwiki!version: 0.9.
|
224
|
+
ruwiki!version: 0.9.2
|
225
225
|
properties!editable: false
|
@@ -1,4 +1,4 @@
|
|
1
|
-
page!content: = Ruwiki 0.9.
|
1
|
+
page!content: = Ruwiki 0.9.2 Templating
|
2
2
|
Ruwiki uses a heavily modified version of the \RDoc
|
3
3
|
“cheap-n-cheerful” HTML page template system. This a
|
4
4
|
line-oriented, text-based templating system.
|
@@ -152,5 +152,5 @@ properties!title: RuwikiTemplatingLibrary
|
|
152
152
|
properties!topic: RuwikiTemplatingLibrary
|
153
153
|
properties!version: 1
|
154
154
|
ruwiki!content-version: 2
|
155
|
-
ruwiki!version: 0.9.
|
155
|
+
ruwiki!version: 0.9.2
|
156
156
|
properties!editable: false
|
@@ -1,10 +1,10 @@
|
|
1
|
-
page!content: = Ruwiki 0.9.
|
2
|
-
Ruwiki 0.9.
|
1
|
+
page!content: = Ruwiki 0.9.2 Utilities
|
2
|
+
Ruwiki 0.9.2 provides two utilities and three sample programs for
|
3
3
|
deployment.
|
4
4
|
|
5
5
|
== Managing Ruwiki Deployments
|
6
|
-
A major change to the way that Ruwiki 0.9.
|
7
|
-
versions of Ruwiki 0.8.0 or earlier is that Ruwiki 0.9.
|
6
|
+
A major change to the way that Ruwiki 0.9.2 works as compared to
|
7
|
+
versions of Ruwiki 0.8.0 or earlier is that Ruwiki 0.9.2 supports being
|
8
8
|
installed in a central location by one of the two major packaging
|
9
9
|
systems available for Ruby (\RubyGems and RPA). Managing these
|
10
10
|
deployments is accomplished with the utility appropriately enough named
|
@@ -119,7 +119,7 @@ page!content: = Ruwiki 0.9.1 Utilities
|
|
119
119
|
: This section was formerly a separate entry in the Wiki entitled
|
120
120
|
: “Upgrading and Converting”.
|
121
121
|
|
122
|
-
The flatfile backend format in Ruwiki 0.9.
|
122
|
+
The flatfile backend format in Ruwiki 0.9.2 is not compatible with that
|
123
123
|
of versions of Ruwiki earlier than 0.8.0. There are a number of
|
124
124
|
reasons for this, but because of this and that there are now three
|
125
125
|
different backend formats, Ruwiki now has a converter utility between
|
@@ -153,5 +153,5 @@ properties!title: RuwikiUtilities
|
|
153
153
|
properties!topic: RuwikiUtilities
|
154
154
|
properties!version: 1
|
155
155
|
ruwiki!content-version: 2
|
156
|
-
ruwiki!version: 0.9.
|
156
|
+
ruwiki!version: 0.9.2
|
157
157
|
properties!editable: false
|
data/data/Ruwiki/SandBox.ruwiki
CHANGED
data/data/Ruwiki/To_Do.ruwiki
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
page!content: = Ruwiki 0.9.
|
1
|
+
page!content: = Ruwiki 0.9.2 To Do Tracking
|
2
2
|
Completed to-do items can be found in the ChangeLog. Bugs in Ruwiki
|
3
3
|
are tracked in BugTracking.
|
4
4
|
|
@@ -47,5 +47,5 @@ properties!title: To_Do
|
|
47
47
|
properties!topic: To_Do
|
48
48
|
properties!version: 1
|
49
49
|
ruwiki!content-version: 2
|
50
|
-
ruwiki!version: 0.9.
|
50
|
+
ruwiki!version: 0.9.2
|
51
51
|
properties!editable: false
|
@@ -1,5 +1,5 @@
|
|
1
|
-
page!content: = Ruwiki 0.9.
|
2
|
-
= Ruwiki 0.9.
|
1
|
+
page!content: = Ruwiki 0.9.2
|
2
|
+
= Ruwiki 0.9.2 Troubleshooting Tips
|
3
3
|
Following are some tips contributed by users of Ruwiki. Remember:
|
4
4
|
Ruwiki currently requires Ruby version 1.8; the YAML backend requires
|
5
5
|
Ruby version 1.8.2 or the latest CVS of Ruby 1.9.
|
@@ -29,5 +29,5 @@ properties!title: ProjectIndex
|
|
29
29
|
properties!topic: ProjectIndex
|
30
30
|
properties!version: 1
|
31
31
|
ruwiki!content-version: 2
|
32
|
-
ruwiki!version: 0.9.
|
32
|
+
ruwiki!version: 0.9.2
|
33
33
|
properties!editable: false
|
@@ -3,7 +3,7 @@ page!content: = Ruwiki Markup
|
|
3
3
|
it easy to format text without needing to know HTML. This Wiki obeys
|
4
4
|
the following rules by default. Because Ruwiki is extensible, there may
|
5
5
|
be additional formatting rules. These rules are those rules that apply
|
6
|
-
as of Ruwiki 0.9.
|
6
|
+
as of Ruwiki 0.9.2.
|
7
7
|
|
8
8
|
== \WikiWords, \WikiProjects, Calendars, and External Resources
|
9
9
|
While reading stuff on this Wiki, you will see some words mashed
|
@@ -257,5 +257,5 @@ properties!title: WikiMarkup
|
|
257
257
|
properties!topic: WikiMarkup
|
258
258
|
properties!version: 1
|
259
259
|
ruwiki!content-version: 2
|
260
|
-
ruwiki!version: 0.9.
|
260
|
+
ruwiki!version: 0.9.2
|
261
261
|
properties!editable: false
|
@@ -1,4 +1,4 @@
|
|
1
|
-
page!content: = Ruwiki 0.9.
|
1
|
+
page!content: = Ruwiki 0.9.2 Tutorial
|
2
2
|
This tutorial is incomplate.
|
3
3
|
|
4
4
|
%topics(Tutorial)
|
@@ -7,5 +7,5 @@ properties!title: ProjectIndex
|
|
7
7
|
properties!topic: ProjectIndex
|
8
8
|
properties!version: 1
|
9
9
|
ruwiki!content-version: 2
|
10
|
-
ruwiki!version: 0.9.
|
10
|
+
ruwiki!version: 0.9.2
|
11
11
|
properties!editable: false
|
data/lib/ruwiki.rb
CHANGED
@@ -6,11 +6,11 @@
|
|
6
6
|
#
|
7
7
|
# Licensed under the same terms as Ruby.
|
8
8
|
#
|
9
|
-
# $Id: ruwiki.rb,v 1.
|
9
|
+
# $Id: ruwiki.rb,v 1.47 2004/12/21 19:37:24 austin Exp $
|
10
10
|
#++
|
11
11
|
|
12
12
|
class Ruwiki
|
13
|
-
VERSION = '0.9.
|
13
|
+
VERSION = '0.9.2'
|
14
14
|
CONTENT_VERSION = 2
|
15
15
|
end
|
16
16
|
|
@@ -30,7 +30,7 @@ require 'ruwiki/page'
|
|
30
30
|
# it supports project namespaces, so that two pages can be named the same
|
31
31
|
# for differing projects without colliding or having to resort to odd
|
32
32
|
# naming conventions. Please see the ::Ruwiki project in the running Wiki
|
33
|
-
# for more information. Ruwiki
|
33
|
+
# for more information. Ruwiki has German and Spanish translations
|
34
34
|
# available.
|
35
35
|
#
|
36
36
|
# == Quick Start (CGI)
|
data/lib/ruwiki/wiki/tokens.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
#
|
7
7
|
# Licensed under the same terms as Ruby.
|
8
8
|
#
|
9
|
-
# $Id: tokens.rb,v 1.
|
9
|
+
# $Id: tokens.rb,v 1.10 2004/12/21 19:33:40 austin Exp $
|
10
10
|
#++
|
11
11
|
# The base Token class. All Token classes must inherit from Token and
|
12
12
|
# *must* implement the following methods:
|
@@ -29,8 +29,8 @@
|
|
29
29
|
# the implementation of Ruwiki::Wiki::Lists for more
|
30
30
|
# information.
|
31
31
|
class Ruwiki::Wiki::Token
|
32
|
-
|
33
|
-
|
32
|
+
@tokenlist = []
|
33
|
+
@sorted = false
|
34
34
|
|
35
35
|
class << self
|
36
36
|
# Tokens should define rank if they must be first or last in
|
@@ -43,18 +43,14 @@ class Ruwiki::Wiki::Token
|
|
43
43
|
# tokens that are processed, and the order in which they are
|
44
44
|
# processed. See Token.rank for more information.
|
45
45
|
def tokenlist(sort = true)
|
46
|
-
if sort and not
|
47
|
-
|
48
|
-
|
49
|
-
@@tokenlist.unshift(head)
|
50
|
-
@@sorted = true
|
46
|
+
if sort and not @sorted
|
47
|
+
@tokenlist.sort! { |aa, bb| aa.rank <=> bb.rank }
|
48
|
+
@sorted = true
|
51
49
|
end
|
52
|
-
|
50
|
+
@tokenlist
|
53
51
|
end
|
54
52
|
|
55
53
|
def inherited(child_class) #:nodoc:
|
56
|
-
@@tokenlist << Ruwiki::Wiki::Token if @@tokenlist.empty?
|
57
|
-
|
58
54
|
# Make the child class post_replace a blank function because we
|
59
55
|
# don't want to propogate the currently defined post_replace. The
|
60
56
|
# current post_replace is specific to Token_Base only.
|
@@ -64,8 +60,8 @@ class Ruwiki::Wiki::Token
|
|
64
60
|
end
|
65
61
|
end
|
66
62
|
|
67
|
-
|
68
|
-
|
63
|
+
@tokenlist << child_class
|
64
|
+
@sorted = false
|
69
65
|
end
|
70
66
|
|
71
67
|
# The replacement regular expression.
|
data/ruwiki.pkg
CHANGED
Binary file
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.1
|
|
3
3
|
specification_version: 1
|
4
4
|
name: ruwiki
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.9.
|
7
|
-
date: 2004-12-
|
6
|
+
version: 0.9.2
|
7
|
+
date: 2004-12-21
|
8
8
|
summary: "A simple, extensible, and fast Wiki-clone."
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -12,7 +12,13 @@ author: Austin Ziegler and Alan Chen
|
|
12
12
|
email: ruwiki-discuss@rubyforge.org
|
13
13
|
homepage: http://ruwiki.rubyforge.org/
|
14
14
|
rubyforge_project: ruwiki
|
15
|
-
description: "Ruwiki is a simple, extensible Wiki-clone written in Ruby. It supports both CGI
|
15
|
+
description: "Ruwiki is a simple, extensible Wiki-clone written in Ruby. It supports both CGI
|
16
|
+
and WEBrick interfaces, templates, and CSS formatting. This Wiki differs from
|
17
|
+
most other Wikis in that it supports project namespaces, so that two topics may
|
18
|
+
be named the same for differing projects without colliding or having to resort
|
19
|
+
to odd naming conventions. Please see the ::Ruwiki project in the running Wiki
|
20
|
+
for more information. Ruwiki %RV#% has German and Spanish translations
|
21
|
+
available."
|
16
22
|
autorequire: ruwiki
|
17
23
|
default_executable:
|
18
24
|
bindir: bin
|