resh 0.0.2 → 0.0.3
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/ChangeLog
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
2007-10-11 SATOH Hiroh <cho45@lowreal.net>
|
|
2
|
+
|
|
3
|
+
* release 0.0.3:
|
|
4
|
+
* Fixed information block margin.
|
|
5
|
+
* Fixed typo on index.rhtml.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
2007-10-09 SATOH Hiroh <cho45@lowreal.net>
|
|
9
|
+
|
|
10
|
+
* release 0.0.2:
|
|
11
|
+
Comment outed unused method.
|
|
12
|
+
|
|
1
13
|
2007-10-08 SATOH Hiroh <cho45@lowreal.net>
|
|
2
14
|
|
|
3
15
|
* init
|
data/Rakefile
CHANGED
|
@@ -18,7 +18,7 @@ DESCRIPTION = "A RDoc template."
|
|
|
18
18
|
RUBYFORGE_PROJECT = "lowreal"
|
|
19
19
|
HOMEPATH = "http://coderepos.org/share/wiki/Resh"
|
|
20
20
|
BIN_FILES = %w( )
|
|
21
|
-
VERS = "0.0.
|
|
21
|
+
VERS = "0.0.3"
|
|
22
22
|
|
|
23
23
|
REV = File.read(".svn/entries")[/committed-rev="(d+)"/, 1] rescue nil
|
|
24
24
|
CLEAN.include ['**/.*.sw?', '*.gem', '.config']
|
|
@@ -110,7 +110,7 @@ task :rubyforge => [:rdoc, :package] do
|
|
|
110
110
|
@local_dir = "html"
|
|
111
111
|
@host = "cho45@rubyforge.org"
|
|
112
112
|
@remote_dir = "/var/www/gforge-projects/#{RUBYFORGE_PROJECT}/#{NAME}"
|
|
113
|
-
sh %{
|
|
113
|
+
sh %{rsync -r --delete --verbose #{@local_dir}/ #{@host}:#{@remote_dir}}
|
|
114
114
|
end
|
|
115
115
|
|
|
116
116
|
desc 'Package and upload the release to rubyforge.'
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
%>
|
|
25
25
|
<div class="readme">
|
|
26
26
|
<div class="readme-information">
|
|
27
|
-
<p class="
|
|
27
|
+
<p class="short-name">
|
|
28
28
|
<%=r["short_name"]%>
|
|
29
29
|
</p>
|
|
30
30
|
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
<% end %>
|
|
41
41
|
<div class="index-classes">
|
|
42
42
|
<h2>Classes/Modules</h2>
|
|
43
|
-
<% @classes.sort.each do |c|
|
|
43
|
+
<% @classes.sort.each do |c|
|
|
44
44
|
next unless c.document_self
|
|
45
45
|
next if c.name.empty?
|
|
46
46
|
cv = c.value_hash
|
|
@@ -85,7 +85,7 @@ class ::Generators::HTMLGenerator
|
|
|
85
85
|
|
|
86
86
|
# Not used
|
|
87
87
|
def gen_an_index(collection, title, template, filename)
|
|
88
|
-
return
|
|
88
|
+
return unless RDoc::Page.constants.include? title.upcase
|
|
89
89
|
res = []
|
|
90
90
|
collection.sort.each do |f|
|
|
91
91
|
if f.document_self
|
|
@@ -100,12 +100,9 @@ class ::Generators::HTMLGenerator
|
|
|
100
100
|
'charset' => @options.charset,
|
|
101
101
|
'style_url' => style_url('', @options.css),
|
|
102
102
|
}
|
|
103
|
-
|
|
104
|
-
File.
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
rescue NameError
|
|
108
|
-
end
|
|
103
|
+
File.open(filename, "w") {|f|
|
|
104
|
+
f << ERB.new(File.read($tmpl+RDoc::Page.const_get(title.upcase))).result(binding)
|
|
105
|
+
}
|
|
109
106
|
end
|
|
110
107
|
|
|
111
108
|
def gen_main_index
|
metadata
CHANGED