owlscribble 0.9.0 → 0.9.1
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.
- data/HISTORY +4 -0
- data/README.txt +4 -5
- data/Rakefile +1 -0
- data/lib/owlscribble.rb +1 -7
- metadata +10 -1
data/HISTORY
CHANGED
data/README.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Author:: Gavin Kistner (mailto:phrogz@mac.com)
|
3
3
|
Copyright:: Copyright (c)2005-2007 Gavin Kistner
|
4
4
|
License:: MIT License
|
5
|
-
Version:: 0.9.
|
5
|
+
Version:: 0.9.1 (2007-November-25)
|
6
6
|
|
7
7
|
== Overview
|
8
8
|
|
@@ -77,9 +77,8 @@ processing instructions used in the markup.
|
|
77
77
|
== Markup
|
78
78
|
|
79
79
|
See the link:../examples/markup.html file for documentation on the markup itself.
|
80
|
-
|
81
|
-
|
82
|
-
source.
|
80
|
+
That page was itself created using OWL markup;
|
81
|
+
see link:../examples/markup.owl to see the source.
|
83
82
|
|
84
83
|
== Customizing the Document
|
85
84
|
=== Wiki Links
|
@@ -87,7 +86,7 @@ OWLScribble supports three ways to specify a link to a specific 'page', indicate
|
|
87
86
|
* <b><tt>WikiWords</tt></b> <i>(aka CamelCase)</i> are assumed to be page links.
|
88
87
|
* <b><tt>[WikiWord some other text]</tt></b> creates a link to a page with alternate text.
|
89
88
|
* <b><tt>[[Some Page! Name]]</tt></b> allows link creation to pages whose names are not WikiWords.
|
90
|
-
<i>(For more information on creating links, see the link:../
|
89
|
+
<i>(For more information on creating links, see the link:../examples/markup.html documentation.)</i>
|
91
90
|
|
92
91
|
Because OWLScribble cannot know how to create URLs for such items, you must either supply an
|
93
92
|
_each_wiki_link_ block _before intitialization_ (see example above) to transform tags on the fly,
|
data/Rakefile
CHANGED
@@ -12,6 +12,7 @@ Hoe.new('owlscribble', OWLScribble::VERSION) do |p|
|
|
12
12
|
p.description = IO.read( 'README.txt' )[ /= Overview\n(.+?)^=/m, 1 ].rstrip
|
13
13
|
p.changes = IO.read( 'HISTORY' )[ /^=[^\n]+\n+(.+?)(?:^=|\Z)/m, 1 ].rstrip
|
14
14
|
p.remote_rdoc_dir = ''
|
15
|
+
p.extra_deps << [ 'tagtreescanner', '>= 0.8.0' ]
|
15
16
|
end
|
16
17
|
|
17
18
|
# vim: syntax=Ruby
|
data/lib/owlscribble.rb
CHANGED
@@ -1,9 +1,3 @@
|
|
1
|
-
#--
|
2
|
-
# *** This code is copyright 2005 by Gavin Kistner
|
3
|
-
# *** It is covered under the license viewable at http://phrogz.net/JS/_ReuseLicense.txt
|
4
|
-
# *** Reuse or modification is free provided you abide by the terms of that license.
|
5
|
-
# *** (Including the first two lines above in your source code usually satisfies the conditions.)
|
6
|
-
#++
|
7
1
|
# This file covers the OWLScribble class, and extensions to the String class needed by it.
|
8
2
|
# Please see the documentation on those classes for more information.
|
9
3
|
#
|
@@ -21,7 +15,7 @@ require 'tagtreescanner'
|
|
21
15
|
#
|
22
16
|
# For details on the markup used by OWLScribble, please see the link:../examples/markup.html file.
|
23
17
|
class OWLScribble < TagTreeScanner
|
24
|
-
VERSION = "0.9.
|
18
|
+
VERSION = "0.9.1"
|
25
19
|
|
26
20
|
attr_reader :list_items #:nodoc:
|
27
21
|
attr_reader :headers #:nodoc:
|
metadata
CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: owlscribble
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.9.
|
6
|
+
version: 0.9.1
|
7
7
|
date: 2007-11-25 00:00:00 -07:00
|
8
8
|
summary: Converts a specific syntax of text markup into HTML. (The syntax is similar to OpenWiki's.)
|
9
9
|
require_paths:
|
@@ -59,6 +59,15 @@ extensions: []
|
|
59
59
|
requirements: []
|
60
60
|
|
61
61
|
dependencies:
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: tagtreescanner
|
64
|
+
version_requirement:
|
65
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 0.8.0
|
70
|
+
version:
|
62
71
|
- !ruby/object:Gem::Dependency
|
63
72
|
name: hoe
|
64
73
|
version_requirement:
|