inochi 5.0.2 → 5.1.0
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/CREDITS +1 -1
- data/lib/inochi/inochi.rb +2 -2
- data/lib/inochi/tasks/2-man.css +58 -48
- data/lib/inochi/tasks/2-man.rake +10 -1
- data/lib/inochi/tasks/3-ann.rake +3 -3
- data/lib/inochi/tasks/5-pub.rake +5 -1
- data/man/man1/inochi.1 +116 -5
- metadata +4 -4
data/CREDITS
CHANGED
data/lib/inochi/inochi.rb
CHANGED
@@ -18,12 +18,12 @@ module Inochi
|
|
18
18
|
##
|
19
19
|
# Number of this release of this project.
|
20
20
|
#
|
21
|
-
VERSION = '5.0
|
21
|
+
VERSION = '5.1.0'
|
22
22
|
|
23
23
|
##
|
24
24
|
# Date of this release of this project.
|
25
25
|
#
|
26
|
-
RELDATE = '2010-08-
|
26
|
+
RELDATE = '2010-08-14'
|
27
27
|
|
28
28
|
##
|
29
29
|
# Description of this release of this project.
|
data/lib/inochi/tasks/2-man.css
CHANGED
@@ -1,49 +1,59 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
#
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
1
|
+
@media all {
|
2
|
+
div.sectionbody, body {
|
3
|
+
font-family: sans-serif;
|
4
|
+
}
|
5
|
+
|
6
|
+
div.sectionbody {
|
7
|
+
line-height: 1.5em;
|
8
|
+
}
|
9
|
+
|
10
|
+
a:visited {
|
11
|
+
color: #800080;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
@media screen {
|
16
|
+
a {
|
17
|
+
text-decoration: none;
|
18
|
+
}
|
19
|
+
|
20
|
+
a:hover {
|
21
|
+
text-decoration: underline;
|
22
|
+
}
|
23
|
+
|
24
|
+
body {
|
25
|
+
max-width: 50em; /* approximately 80 characters wide */
|
26
|
+
margin-left: 15em;
|
27
|
+
}
|
28
|
+
|
29
|
+
#toc {
|
30
|
+
position: fixed;
|
31
|
+
top: 0;
|
32
|
+
left: 0;
|
33
|
+
bottom: 0;
|
34
|
+
width: 13em;
|
35
|
+
padding: 0.5em;
|
36
|
+
padding-bottom: 1.5em;
|
37
|
+
margin: 0 !important;
|
38
|
+
overflow: auto;
|
39
|
+
}
|
40
|
+
|
41
|
+
#toc a {
|
42
|
+
color: #083194 !important;
|
43
|
+
}
|
44
|
+
|
45
|
+
#toc .toclevel1 {
|
46
|
+
margin-top: 1.25em;
|
47
|
+
}
|
48
|
+
|
49
|
+
#toc .toclevel2 {
|
50
|
+
margin-top: 0.25em;
|
51
|
+
display: list-item;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
@media print {
|
56
|
+
#toc {
|
57
|
+
display: none;
|
58
|
+
}
|
49
59
|
}
|
data/lib/inochi/tasks/2-man.rake
CHANGED
@@ -14,11 +14,18 @@ task :man => [@man_html_dst, @man_roff_dst]
|
|
14
14
|
file @man_asciidoc_dst => @man_asciidoc_src do
|
15
15
|
|
16
16
|
input = [
|
17
|
+
# use the default icons that were installed along with AsciiDoc
|
18
|
+
# see http://groups.google.com/group/asciidoc/msg/adb7cf741147ce38
|
19
|
+
':iconsdir: {asciidoc-dir}/{iconsdir}',
|
20
|
+
|
17
21
|
":revdate: #{@project_module::RELDATE}",
|
18
22
|
":revnumber: #{@project_module::VERSION}",
|
23
|
+
|
19
24
|
"= #{@project_package_name}(1)",
|
25
|
+
|
20
26
|
'== NAME',
|
21
27
|
"#{@project_package_name} - #{@project_module::TAGLINE}",
|
28
|
+
|
22
29
|
"%+ #{@man_asciidoc_src.first.inspect}",
|
23
30
|
].join("\n\n")
|
24
31
|
|
@@ -50,7 +57,9 @@ end
|
|
50
57
|
|
51
58
|
file @man_html_dst => @man_asciidoc_dst do
|
52
59
|
args = build_asciidoc_args.call(
|
53
|
-
'
|
60
|
+
'pygments', # for better syntax coloring than GNU Source Highlight
|
61
|
+
'data-uri', 'icons', # NOTE: iconsdir is defined above in eRuby template
|
62
|
+
'toc', 'stylesheet=' + __FILE__.ext('css')
|
54
63
|
)
|
55
64
|
sh 'asciidoc', '-o', @man_html_dst, *args
|
56
65
|
end
|
data/lib/inochi/tasks/3-ann.rake
CHANGED
@@ -17,7 +17,7 @@ task :@ann_nfo_html_nodes do
|
|
17
17
|
unless @ann_nfo_html_nodes
|
18
18
|
begin
|
19
19
|
head, body = fetch_nodes_between(
|
20
|
-
'h2#_description + div
|
20
|
+
'h2#_description + div *', 'h1,h2,h3,h4,h5,h6,.sect1,.sect2'
|
21
21
|
)
|
22
22
|
body.unshift head
|
23
23
|
rescue => error
|
@@ -42,7 +42,7 @@ task :@ann_rel_html_body_nodes do
|
|
42
42
|
unless @ann_rel_html_body_nodes
|
43
43
|
begin
|
44
44
|
head, body = fetch_nodes_between(
|
45
|
-
'h2#_history + div
|
45
|
+
'h2#_history + div h3', 'h1,h2,h3,.sect1,.sect2'
|
46
46
|
)
|
47
47
|
rescue => error
|
48
48
|
error.message.insert 0,
|
@@ -60,7 +60,7 @@ task :@project_authors_html_nodes do
|
|
60
60
|
unless @project_authors_html_nodes
|
61
61
|
begin
|
62
62
|
head, body = fetch_nodes_between(
|
63
|
-
'h2#_authors + div
|
63
|
+
'h2#_authors + div *', 'h1,h2,h3,h4,h5,h6,.sect1,.sect2'
|
64
64
|
)
|
65
65
|
body.unshift head
|
66
66
|
rescue => error
|
data/lib/inochi/tasks/5-pub.rake
CHANGED
@@ -16,12 +16,16 @@ end
|
|
16
16
|
#-----------------------------------------------------------------------------
|
17
17
|
|
18
18
|
desc 'Publish help manual, API docs, and RSS feed to project website.'
|
19
|
-
task 'pub:web'
|
19
|
+
task 'pub:web' do
|
20
20
|
if target = @project_config[:pub_web_target]
|
21
21
|
options = @project_config[:pub_web_options]
|
22
|
+
|
22
23
|
sources = [@man_html_dst, @api_dir, @ann_feed_dst,
|
23
24
|
@project_config[:pub_web_extras]].compact
|
24
25
|
|
26
|
+
# build the sources if necessary
|
27
|
+
sources.each {|s| Rake::Task[s].invoke }
|
28
|
+
|
25
29
|
sh ['rsync', options, sources, target].join(' ')
|
26
30
|
end
|
27
31
|
end
|
data/man/man1/inochi.1
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
.\" Title: inochi
|
3
3
|
.\" Author: [see the "AUTHORS" section]
|
4
4
|
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
5
|
-
.\" Date: 08
|
5
|
+
.\" Date: 2010-08-14
|
6
6
|
.\" Manual: \ \&
|
7
|
-
.\" Source: \ \& 5.0
|
7
|
+
.\" Source: \ \& 5.1.0
|
8
8
|
.\" Language: English
|
9
9
|
.\"
|
10
|
-
.TH "INOCHI" "1" "08
|
10
|
+
.TH "INOCHI" "1" "2010\-08\-14" "\ \& 5\&.1\&.0" "\ \&"
|
11
11
|
.\" -----------------------------------------------------------------
|
12
12
|
.\" * set default formatting
|
13
13
|
.\" -----------------------------------------------------------------
|
@@ -60,7 +60,7 @@ inochi init project="Foo Bar Baz 123" package="fbb123"
|
|
60
60
|
.fi
|
61
61
|
.SH "DESCRIPTION"
|
62
62
|
.sp
|
63
|
-
Inochi is
|
63
|
+
Inochi is an infrastructure that helps you create, test, document, package, publish, and announce your [Ruby] projects\&.
|
64
64
|
.SS "Features"
|
65
65
|
.sp
|
66
66
|
.RS 4
|
@@ -183,6 +183,19 @@ Issue tracker (report bugs, request features, get help)
|
|
183
183
|
.IP \(bu 2.3
|
184
184
|
.\}
|
185
185
|
|
186
|
+
[Pygments]
|
187
|
+
1\&.3\&.1 or newer\&.
|
188
|
+
.RE
|
189
|
+
.sp
|
190
|
+
.RS 4
|
191
|
+
.ie n \{\
|
192
|
+
\h'-04'\(bu\h'+03'\c
|
193
|
+
.\}
|
194
|
+
.el \{\
|
195
|
+
.sp -1
|
196
|
+
.IP \(bu 2.3
|
197
|
+
.\}
|
198
|
+
|
186
199
|
[Lynx]
|
187
200
|
2\&.8\&.6 or newer\&.
|
188
201
|
.RE
|
@@ -1101,6 +1114,96 @@ Its exit status will indicate whether all tests have passed\&. It may also print
|
|
1101
1114
|
.sp
|
1102
1115
|
\m[blue]\fBFork this project on GitHub\fR\m[] and send a pull request\&.
|
1103
1116
|
.SH "HISTORY"
|
1117
|
+
.SS "Version 5\&.1\&.0 (2010\-08\-14)"
|
1118
|
+
.sp
|
1119
|
+
This release uses [Pygments] for syntax highlighting, adds icons to admonitions, speeds up the \fBpub:web\fR task, and further refines the HTML version of your project\(cqs help manual\&.
|
1120
|
+
.PP
|
1121
|
+
\fBNew features\fR
|
1122
|
+
.sp
|
1123
|
+
.RS 4
|
1124
|
+
.ie n \{\
|
1125
|
+
\h'-04'\(bu\h'+03'\c
|
1126
|
+
.\}
|
1127
|
+
.el \{\
|
1128
|
+
.sp -1
|
1129
|
+
.IP \(bu 2.3
|
1130
|
+
.\}
|
1131
|
+
Use admonition icons that are installed with AsciiDoc\&.
|
1132
|
+
.RE
|
1133
|
+
.sp
|
1134
|
+
.RS 4
|
1135
|
+
.ie n \{\
|
1136
|
+
\h'-04'\(bu\h'+03'\c
|
1137
|
+
.\}
|
1138
|
+
.el \{\
|
1139
|
+
.sp -1
|
1140
|
+
.IP \(bu 2.3
|
1141
|
+
.\}
|
1142
|
+
Use Pygments for syntax coloring in AsciiDoc 8\&.5\&.4\&.
|
1143
|
+
.RE
|
1144
|
+
.PP
|
1145
|
+
\fBBug fixes\fR
|
1146
|
+
.sp
|
1147
|
+
.RS 4
|
1148
|
+
.ie n \{\
|
1149
|
+
\h'-04'\(bu\h'+03'\c
|
1150
|
+
.\}
|
1151
|
+
.el \{\
|
1152
|
+
.sp -1
|
1153
|
+
.IP \(bu 2.3
|
1154
|
+
.\}
|
1155
|
+
Only build what will be uploaded in
|
1156
|
+
\fBpub:web\fR
|
1157
|
+
task\&.
|
1158
|
+
.RE
|
1159
|
+
.sp
|
1160
|
+
.RS 4
|
1161
|
+
.ie n \{\
|
1162
|
+
\h'-04'\(bu\h'+03'\c
|
1163
|
+
.\}
|
1164
|
+
.el \{\
|
1165
|
+
.sp -1
|
1166
|
+
.IP \(bu 2.3
|
1167
|
+
.\}
|
1168
|
+
Do not display table of contents in print preview mode\&.
|
1169
|
+
.RE
|
1170
|
+
.sp
|
1171
|
+
.RS 4
|
1172
|
+
.ie n \{\
|
1173
|
+
\h'-04'\(bu\h'+03'\c
|
1174
|
+
.\}
|
1175
|
+
.el \{\
|
1176
|
+
.sp -1
|
1177
|
+
.IP \(bu 2.3
|
1178
|
+
.\}
|
1179
|
+
Increase body max\-width to 50em to show 80 characters\&.
|
1180
|
+
.RE
|
1181
|
+
.sp
|
1182
|
+
.RS 4
|
1183
|
+
.ie n \{\
|
1184
|
+
\h'-04'\(bu\h'+03'\c
|
1185
|
+
.\}
|
1186
|
+
.el \{\
|
1187
|
+
.sp -1
|
1188
|
+
.IP \(bu 2.3
|
1189
|
+
.\}
|
1190
|
+
Update DOM selectors for AsciiDoc 8\&.5\&.4 in
|
1191
|
+
\fBann\fR
|
1192
|
+
tasks\&.
|
1193
|
+
.RE
|
1194
|
+
.PP
|
1195
|
+
\fBHousekeeping\fR
|
1196
|
+
.sp
|
1197
|
+
.RS 4
|
1198
|
+
.ie n \{\
|
1199
|
+
\h'-04'\(bu\h'+03'\c
|
1200
|
+
.\}
|
1201
|
+
.el \{\
|
1202
|
+
.sp -1
|
1203
|
+
.IP \(bu 2.3
|
1204
|
+
.\}
|
1205
|
+
Get straight to the point when stating project purpose\&.
|
1206
|
+
.RE
|
1104
1207
|
.SS "Version 5\&.0\&.2 (2010\-08\-10)"
|
1105
1208
|
.sp
|
1106
1209
|
This release emits hyperlink URLs in the generated UNIX manpage, beautifies the plain\-text release announcement, and fixes incorrect AsciiDoc usage\&.
|
@@ -2763,7 +2866,7 @@ This is the first release of Inochi\&. Enjoy!
|
|
2763
2866
|
Suraj N\&. Kurapati
|
2764
2867
|
.SS "Credits"
|
2765
2868
|
.sp
|
2766
|
-
Florian Gilcher, Peileppe Production Rainer Müller
|
2869
|
+
Florian Gilcher, Peileppe Production, Rainer Müller
|
2767
2870
|
.sp
|
2768
2871
|
The "inochi\&.png" image and its "inochi\&.svg" source utilize the "3 flowers" graphic[1], which was created and released into the public domain by Peileppe Production[2] on June 25, 2008\&.
|
2769
2872
|
.sp
|
@@ -2821,6 +2924,7 @@ lt lt
|
|
2821
2924
|
lt lt
|
2822
2925
|
lt lt
|
2823
2926
|
lt lt
|
2927
|
+
lt lt
|
2824
2928
|
lt lt.
|
2825
2929
|
T{
|
2826
2930
|
.sp
|
@@ -2887,6 +2991,13 @@ T}:T{
|
|
2887
2991
|
T}
|
2888
2992
|
T{
|
2889
2993
|
.sp
|
2994
|
+
[Pygments]
|
2995
|
+
T}:T{
|
2996
|
+
.sp
|
2997
|
+
\m[blue]\fBhttp://pygments\&.org\fR\m[]
|
2998
|
+
T}
|
2999
|
+
T{
|
3000
|
+
.sp
|
2890
3001
|
[RAA]
|
2891
3002
|
T}:T{
|
2892
3003
|
.sp
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 5
|
7
|
+
- 1
|
7
8
|
- 0
|
8
|
-
|
9
|
-
version: 5.0.2
|
9
|
+
version: 5.1.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Suraj N. Kurapati
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-08-
|
17
|
+
date: 2010-08-14 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -153,7 +153,7 @@ dependencies:
|
|
153
153
|
version: "1"
|
154
154
|
type: :runtime
|
155
155
|
version_requirements: *id007
|
156
|
-
description: Inochi is a software project infrastructure for the Ruby programming language. It helps you test, document, package, publish, and announce your
|
157
156
|
projects while encouraging excellent documentation and reducing administrivia.
|
157
|
+
description: Inochi is an infrastructure that helps you create, test, document, package,
|
158
158
|
publish, and announce your [Ruby] projects.
|
159
159
|
email:
|
160
160
|
executables:
|
161
161
|
- inochi
|