hoe-manualgen 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.md +12 -0
- data/lib/hoe/manualgen.rb +20 -3
- data.tar.gz.sig +0 -0
- metadata +30 -16
- metadata.gz.sig +0 -0
data/History.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
## v0.1.1 [2011-06-29] Michael Granger <ged@FaerieMUD.org>
|
2
|
+
|
3
|
+
* Bugfix: add trace function in a mixin for outputting based on rake -t.
|
4
|
+
|
5
|
+
## v0.1.0 [2011-03-16] Michael Granger <ged@FaerieMUD.org>
|
6
|
+
|
7
|
+
* Put page filters under the same namespace as the rest
|
8
|
+
* More work on the meta-manual.
|
9
|
+
* Add page filters to the API docs
|
10
|
+
* Reorganized page filter plugins to be a bit more consistently-
|
11
|
+
named/located
|
12
|
+
|
1
13
|
## 0.0.1 [2011-01-31] Michael Granger <ged@FaerieMUD.org>
|
2
14
|
|
3
15
|
Initial release.
|
data/lib/hoe/manualgen.rb
CHANGED
@@ -31,10 +31,10 @@ module Hoe::ManualGen
|
|
31
31
|
include FileUtils::DryRun if Rake.application.options.dryrun
|
32
32
|
|
33
33
|
# Library version constant
|
34
|
-
VERSION = '0.1.
|
34
|
+
VERSION = '0.1.1'
|
35
35
|
|
36
36
|
# Version-control revision constant
|
37
|
-
REVISION = %q$Revision:
|
37
|
+
REVISION = %q$Revision: 7b431d0b1024 $
|
38
38
|
|
39
39
|
# Configuration defaults
|
40
40
|
DEFAULT_BASE_DIR = Pathname( 'manual' )
|
@@ -60,8 +60,21 @@ module Hoe::ManualGen
|
|
60
60
|
DEFAULT_LIB_DIR,
|
61
61
|
]
|
62
62
|
|
63
|
+
### A collection of output methods for Rake tasks
|
64
|
+
module TraceFunctions
|
65
|
+
|
66
|
+
### Output a message if Rake -t is enabled
|
67
|
+
def trace( *messages )
|
68
|
+
return unless Rake.application.options.trace
|
69
|
+
$stderr.puts( messages )
|
70
|
+
end
|
71
|
+
|
72
|
+
end # module TraceFunctions
|
73
|
+
|
74
|
+
|
63
75
|
### Manual page-generation class
|
64
76
|
class Page
|
77
|
+
include Hoe::ManualGen::TraceFunctions
|
65
78
|
|
66
79
|
### The default page configuration if none is specified.
|
67
80
|
DEFAULT_CONFIG = {
|
@@ -269,6 +282,7 @@ module Hoe::ManualGen
|
|
269
282
|
|
270
283
|
### A catalog of Page objects that can be referenced by filters.
|
271
284
|
class PageCatalog
|
285
|
+
include Hoe::ManualGen::TraceFunctions
|
272
286
|
|
273
287
|
### Create a new PageCatalog that will load Page objects for .page files
|
274
288
|
### in the specified +sourcedir+.
|
@@ -463,7 +477,8 @@ module Hoe::ManualGen
|
|
463
477
|
|
464
478
|
### An abstract filter class for manual content transformation.
|
465
479
|
class PageFilter
|
466
|
-
include Singleton
|
480
|
+
include Singleton,
|
481
|
+
Hoe::ManualGen::TraceFunctions
|
467
482
|
|
468
483
|
# A list of inheriting classes, keyed by normalized name
|
469
484
|
@derivatives = {}
|
@@ -559,6 +574,8 @@ module Hoe::ManualGen
|
|
559
574
|
@manual_metadata = DEFAULT_METADATA
|
560
575
|
@manual_paths = {}
|
561
576
|
|
577
|
+
$trace = Rake.application.options.trace
|
578
|
+
|
562
579
|
self.extra_dev_deps << ['hoe-manualgen', "~> #{VERSION}"] unless
|
563
580
|
self.name == 'hoe-manualgen'
|
564
581
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hoe-manualgen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Granger
|
@@ -35,8 +35,7 @@ cert_chain:
|
|
35
35
|
cmlhXe46pZNJgWKbxZah85jIjx95hR8vOI+NAM5iH9kOqK13DrxacTKPhqj5PjwF
|
36
36
|
-----END CERTIFICATE-----
|
37
37
|
|
38
|
-
date: 2011-
|
39
|
-
default_executable:
|
38
|
+
date: 2011-06-29 00:00:00 Z
|
40
39
|
dependencies:
|
41
40
|
- !ruby/object:Gem::Dependency
|
42
41
|
name: hoe
|
@@ -100,9 +99,25 @@ dependencies:
|
|
100
99
|
type: :development
|
101
100
|
version_requirements: *id004
|
102
101
|
- !ruby/object:Gem::Dependency
|
103
|
-
name:
|
102
|
+
name: hoe-highline
|
104
103
|
prerelease: false
|
105
104
|
requirement: &id005 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
hash: 29
|
110
|
+
segments:
|
111
|
+
- 0
|
112
|
+
- 0
|
113
|
+
- 1
|
114
|
+
version: 0.0.1
|
115
|
+
type: :development
|
116
|
+
version_requirements: *id005
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: tidy-ext
|
119
|
+
prerelease: false
|
120
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
106
121
|
none: false
|
107
122
|
requirements:
|
108
123
|
- - ~>
|
@@ -113,11 +128,11 @@ dependencies:
|
|
113
128
|
- 1
|
114
129
|
version: "0.1"
|
115
130
|
type: :development
|
116
|
-
version_requirements: *
|
131
|
+
version_requirements: *id006
|
117
132
|
- !ruby/object:Gem::Dependency
|
118
133
|
name: rspec
|
119
134
|
prerelease: false
|
120
|
-
requirement: &
|
135
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
121
136
|
none: false
|
122
137
|
requirements:
|
123
138
|
- - ~>
|
@@ -128,23 +143,23 @@ dependencies:
|
|
128
143
|
- 4
|
129
144
|
version: "2.4"
|
130
145
|
type: :development
|
131
|
-
version_requirements: *
|
146
|
+
version_requirements: *id007
|
132
147
|
- !ruby/object:Gem::Dependency
|
133
148
|
name: hoe
|
134
149
|
prerelease: false
|
135
|
-
requirement: &
|
150
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
136
151
|
none: false
|
137
152
|
requirements:
|
138
153
|
- - ">="
|
139
154
|
- !ruby/object:Gem::Version
|
140
|
-
hash:
|
155
|
+
hash: 35
|
141
156
|
segments:
|
142
157
|
- 2
|
143
158
|
- 9
|
144
|
-
-
|
145
|
-
version: 2.9.
|
159
|
+
- 4
|
160
|
+
version: 2.9.4
|
146
161
|
type: :development
|
147
|
-
version_requirements: *
|
162
|
+
version_requirements: *id008
|
148
163
|
description: |-
|
149
164
|
A manual-generation plugin for Hoe.
|
150
165
|
|
@@ -202,7 +217,6 @@ files:
|
|
202
217
|
- data/hoe-manualgen/resources/swf/clipboard.swf
|
203
218
|
- data/hoe-manualgen/src/index.page.erb
|
204
219
|
- lib/hoe/manualgen.rb
|
205
|
-
has_rdoc: true
|
206
220
|
homepage: http://deveiate.org/hoe-manualgen.html
|
207
221
|
licenses:
|
208
222
|
- BSD
|
@@ -235,7 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
235
249
|
requirements: []
|
236
250
|
|
237
251
|
rubyforge_project: hoe-manualgen
|
238
|
-
rubygems_version: 1.
|
252
|
+
rubygems_version: 1.8.4
|
239
253
|
signing_key:
|
240
254
|
specification_version: 3
|
241
255
|
summary: A manual-generation plugin for Hoe
|
metadata.gz.sig
CHANGED
Binary file
|