ruwiki 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,16 +1,16 @@
1
- Ruwiki 0.9.1
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.1 has German and Spanish
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.1 has a flatfile format that is incompatible with older versions of
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):
@@ -1,16 +1,16 @@
1
- Ruwiki 0.9.1
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.1 has German and Spanish
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.1 has a flatfile format that is incompatible with versions of
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.1. Enhancements and changes include:
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.1
48
+ ruwiki!version: 0.9.2
49
49
  properties!editable: false
@@ -1,4 +1,4 @@
1
- page!content: = Ruwiki 0.9.1 Antispam
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.1 includes the ability to present alternative versions of
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.1
83
+ ruwiki!version: 0.9.2
@@ -1,4 +1,4 @@
1
- page!content: = Ruwiki 0.9.1 Bug Tracking
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.1
32
+ ruwiki!version: 0.9.2
33
33
  properties!editable: false
@@ -1,7 +1,10 @@
1
- page!content: = Ruwiki 0.9.1 ChangeLog
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.1
113
+ ruwiki!version: 0.9.2
111
114
  properties!editable: false
@@ -1,4 +1,4 @@
1
- page!content: = Configuring Ruwiki 0.9.1
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.1
150
+ ruwiki!version: 0.9.2
151
151
  properties!editable: false
@@ -1,4 +1,4 @@
1
- page!content: = Extending Ruwiki 0.9.1
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.1
316
+ ruwiki!version: 0.9.2
317
317
  properties!editable: false
@@ -26,5 +26,5 @@ properties!title: LicenseAndAuthorInfo
26
26
  properties!topic: LicenseAndAuthorInfo
27
27
  properties!version: 1
28
28
  ruwiki!content-version: 2
29
- ruwiki!version: 0.9.1
29
+ ruwiki!version: 0.9.2
30
30
  properties!editable: false
@@ -1,4 +1,4 @@
1
- page!content: = Ruwiki 0.9.1
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.1 has a flatfile format that is incompatible with versions
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.1
83
+ ruwiki!version: 0.9.2
84
84
  properties!editable: false
@@ -1,4 +1,4 @@
1
- page!content: = Ruwiki 0.9.1: The Road Ahead
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.1
224
+ ruwiki!version: 0.9.2
225
225
  properties!editable: false
@@ -1,4 +1,4 @@
1
- page!content: = Ruwiki 0.9.1 Templating
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.1
155
+ ruwiki!version: 0.9.2
156
156
  properties!editable: false
@@ -1,10 +1,10 @@
1
- page!content: = Ruwiki 0.9.1 Utilities
2
- Ruwiki 0.9.1 provides two utilities and three sample programs for
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.1 works as compared to
7
- versions of Ruwiki 0.8.0 or earlier is that Ruwiki 0.9.1 supports being
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.1 is not compatible with that
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.1
156
+ ruwiki!version: 0.9.2
157
157
  properties!editable: false
@@ -5,5 +5,5 @@ properties!title: SandBox
5
5
  properties!topic: SandBox
6
6
  properties!version: 1
7
7
  ruwiki!content-version: 2
8
- ruwiki!version: 0.9.1
8
+ ruwiki!version: 0.9.2
9
9
  properties!editable: false
@@ -1,4 +1,4 @@
1
- page!content: = Ruwiki 0.9.1 To Do Tracking
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.1
50
+ ruwiki!version: 0.9.2
51
51
  properties!editable: false
@@ -1,5 +1,5 @@
1
- page!content: = Ruwiki 0.9.1
2
- = Ruwiki 0.9.1 Troubleshooting Tips
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.1
32
+ ruwiki!version: 0.9.2
33
33
  properties!editable: false
@@ -13,5 +13,5 @@ properties!title: WikiFeatures
13
13
  properties!topic: WikiFeatures
14
14
  properties!version: 1
15
15
  ruwiki!content-version: 2
16
- ruwiki!version: 0.9.1
16
+ ruwiki!version: 0.9.2
17
17
  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.1.
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.1
260
+ ruwiki!version: 0.9.2
261
261
  properties!editable: false
@@ -12,5 +12,5 @@ properties!title: AddingPages
12
12
  properties!topic: AddingPages
13
13
  properties!version: 1
14
14
  ruwiki!content-version: 2
15
- ruwiki!version: 0.9.1
15
+ ruwiki!version: 0.9.2
16
16
  properties!editable: false
@@ -12,5 +12,5 @@ properties!title: AddingProjects
12
12
  properties!topic: AddingProjects
13
13
  properties!version: 1
14
14
  ruwiki!content-version: 2
15
- ruwiki!version: 0.9.1
15
+ ruwiki!version: 0.9.2
16
16
  properties!editable: false
@@ -1,4 +1,4 @@
1
- page!content: = Ruwiki 0.9.1 Tutorial
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.1
10
+ ruwiki!version: 0.9.2
11
11
  properties!editable: false
@@ -5,5 +5,5 @@ properties!title: SandBox
5
5
  properties!topic: SandBox
6
6
  properties!version: 1
7
7
  ruwiki!content-version: 2
8
- ruwiki!version: 0.9.1
8
+ ruwiki!version: 0.9.2
9
9
  properties!editable: false
@@ -6,11 +6,11 @@
6
6
  #
7
7
  # Licensed under the same terms as Ruby.
8
8
  #
9
- # $Id: ruwiki.rb,v 1.46 2004/12/21 01:37:59 austin Exp $
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.1'
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 0.9.1 has German and Spanish translations
33
+ # for more information. Ruwiki has German and Spanish translations
34
34
  # available.
35
35
  #
36
36
  # == Quick Start (CGI)
@@ -6,7 +6,7 @@
6
6
  #
7
7
  # Licensed under the same terms as Ruby.
8
8
  #
9
- # $Id: tokens.rb,v 1.9 2004/12/21 01:37:59 austin Exp $
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
- @@tokenlist = []
33
- @@sorted = false
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 @@sorted
47
- head = @@tokenlist.shift
48
- @@tokenlist.sort! { |aa, bb| aa.rank <=> bb.rank }
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
- @@tokenlist
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
- @@tokenlist << child_class
68
- @@sorted = false
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.1
7
- date: 2004-12-20
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 and WEBrick interfaces, templates, and CSS formatting. This Wiki differs from most other Wikis in that it supports project namespaces, so that two topics may be named the same for differing projects without colliding or having to resort to odd naming conventions. Please see the ::Ruwiki project in the running Wiki for more information. Ruwiki %RV#% has German and Spanish translations available."
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