bitclust-core 0.5.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/ChangeLog +2907 -0
- data/Gemfile +7 -0
- data/README +21 -0
- data/Rakefile +20 -0
- data/bin/bitclust +14 -0
- data/bin/refe +36 -0
- data/bitclust-dev.gemspec +33 -0
- data/bitclust.gemspec +30 -0
- data/config.in +23 -0
- data/config.ru +48 -0
- data/config.ru.sample +31 -0
- data/data/bitclust/catalog/ja_JP.EUC-JP +78 -0
- data/data/bitclust/catalog/ja_JP.UTF-8 +78 -0
- data/data/bitclust/template.lillia/class +98 -0
- data/data/bitclust/template.lillia/class-index +28 -0
- data/data/bitclust/template.lillia/doc +48 -0
- data/data/bitclust/template.lillia/layout +19 -0
- data/data/bitclust/template.lillia/library +129 -0
- data/data/bitclust/template.lillia/library-index +32 -0
- data/data/bitclust/template.lillia/method +20 -0
- data/data/bitclust/template.lillia/rd_file +6 -0
- data/data/bitclust/template.offline/class +67 -0
- data/data/bitclust/template.offline/class-index +28 -0
- data/data/bitclust/template.offline/doc +13 -0
- data/data/bitclust/template.offline/function +22 -0
- data/data/bitclust/template.offline/function-index +24 -0
- data/data/bitclust/template.offline/layout +18 -0
- data/data/bitclust/template.offline/library +87 -0
- data/data/bitclust/template.offline/library-index +32 -0
- data/data/bitclust/template.offline/method +21 -0
- data/data/bitclust/template.offline/rd_file +6 -0
- data/data/bitclust/template/class +133 -0
- data/data/bitclust/template/class-index +30 -0
- data/data/bitclust/template/doc +14 -0
- data/data/bitclust/template/function +21 -0
- data/data/bitclust/template/function-index +25 -0
- data/data/bitclust/template/layout +19 -0
- data/data/bitclust/template/library +89 -0
- data/data/bitclust/template/library-index +35 -0
- data/data/bitclust/template/method +24 -0
- data/data/bitclust/template/opensearchdescription +10 -0
- data/data/bitclust/template/search +57 -0
- data/lib/bitclust.rb +9 -0
- data/lib/bitclust/app.rb +129 -0
- data/lib/bitclust/classentry.rb +425 -0
- data/lib/bitclust/compat.rb +39 -0
- data/lib/bitclust/completion.rb +531 -0
- data/lib/bitclust/crossrubyutils.rb +91 -0
- data/lib/bitclust/database.rb +181 -0
- data/lib/bitclust/docentry.rb +83 -0
- data/lib/bitclust/entry.rb +223 -0
- data/lib/bitclust/exception.rb +38 -0
- data/lib/bitclust/functiondatabase.rb +115 -0
- data/lib/bitclust/functionentry.rb +81 -0
- data/lib/bitclust/functionreferenceparser.rb +76 -0
- data/lib/bitclust/htmlutils.rb +80 -0
- data/lib/bitclust/interface.rb +87 -0
- data/lib/bitclust/libraryentry.rb +211 -0
- data/lib/bitclust/lineinput.rb +165 -0
- data/lib/bitclust/messagecatalog.rb +95 -0
- data/lib/bitclust/methoddatabase.rb +401 -0
- data/lib/bitclust/methodentry.rb +202 -0
- data/lib/bitclust/methodid.rb +209 -0
- data/lib/bitclust/methodsignature.rb +82 -0
- data/lib/bitclust/nameutils.rb +236 -0
- data/lib/bitclust/parseutils.rb +60 -0
- data/lib/bitclust/preprocessor.rb +273 -0
- data/lib/bitclust/rdcompiler.rb +507 -0
- data/lib/bitclust/refsdatabase.rb +66 -0
- data/lib/bitclust/requesthandler.rb +330 -0
- data/lib/bitclust/ridatabase.rb +349 -0
- data/lib/bitclust/rrdparser.rb +522 -0
- data/lib/bitclust/runner.rb +143 -0
- data/lib/bitclust/screen.rb +554 -0
- data/lib/bitclust/searcher.rb +518 -0
- data/lib/bitclust/server.rb +59 -0
- data/lib/bitclust/simplesearcher.rb +84 -0
- data/lib/bitclust/subcommand.rb +746 -0
- data/lib/bitclust/textutils.rb +51 -0
- data/lib/bitclust/version.rb +3 -0
- data/packer.rb +224 -0
- data/refe2.gemspec +29 -0
- data/server.exe +0 -0
- data/server.exy +159 -0
- data/server.rb +10 -0
- data/setup.rb +1596 -0
- data/standalone.rb +193 -0
- data/test/run_test.rb +15 -0
- data/test/test_bitclust.rb +81 -0
- data/test/test_entry.rb +39 -0
- data/test/test_functiondatabase.rb +55 -0
- data/test/test_libraryentry.rb +31 -0
- data/test/test_methoddatabase.rb +81 -0
- data/test/test_methodsignature.rb +14 -0
- data/test/test_nameutils.rb +324 -0
- data/test/test_preprocessor.rb +84 -0
- data/test/test_rdcompiler.rb +534 -0
- data/test/test_refsdatabase.rb +76 -0
- data/test/test_rrdparser.rb +26 -0
- data/test/test_runner.rb +102 -0
- data/test/test_simplesearcher.rb +48 -0
- data/theme/default/images/external.png +0 -0
- data/theme/default/rurema.png +0 -0
- data/theme/default/style.css +288 -0
- data/theme/default/test.css +254 -0
- data/theme/lillia/rurema.png +0 -0
- data/theme/lillia/style.css +331 -0
- data/theme/lillia/test.css +254 -0
- data/tools/bc-ancestors.rb +153 -0
- data/tools/bc-checkparams.rb +246 -0
- data/tools/bc-classes.rb +80 -0
- data/tools/bc-convert.rb +165 -0
- data/tools/bc-list.rb +63 -0
- data/tools/bc-methods.rb +171 -0
- data/tools/bc-preproc.rb +42 -0
- data/tools/bc-rdoc.rb +343 -0
- data/tools/bc-tochm.rb +301 -0
- data/tools/bc-tohtml.rb +125 -0
- data/tools/bc-tohtmlpackage.rb +241 -0
- data/tools/check-signature.rb +19 -0
- data/tools/forall-ruby.rb +20 -0
- data/tools/gencatalog.rb +69 -0
- data/tools/statrefm.rb +98 -0
- data/tools/stattodo.rb +150 -0
- data/tools/update-database.rb +146 -0
- data/view.cgi +6 -0
- metadata +222 -0
data/tools/statrefm.rb
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
class Error < StandardError; end
|
|
4
|
+
|
|
5
|
+
def main
|
|
6
|
+
entries = parse(find_basedir(ARGV[0]))
|
|
7
|
+
puts '--- Status'
|
|
8
|
+
done = entries.select {|ent| ent.done? }.size
|
|
9
|
+
puts "#{done}/#{entries.size} files done (#{percent_str(done, entries.size)})"
|
|
10
|
+
puts
|
|
11
|
+
puts '--- Ranking by number of files'
|
|
12
|
+
ranking_table(entries) {|ent| 1 }.each_with_index do |(owner, n), idx|
|
|
13
|
+
printf "%2d %4d %-s\n", idx + 1, n, (owner || '(not yet)')
|
|
14
|
+
end
|
|
15
|
+
puts
|
|
16
|
+
puts '--- Ranking by Kbytes'
|
|
17
|
+
ranking_table(entries) {|ent| ent.size }.each_with_index do |(owner,n), idx|
|
|
18
|
+
printf "%2d %4d %-s\n", idx + 1, kb(n), (owner || '(not yet)')
|
|
19
|
+
end
|
|
20
|
+
rescue Error => err
|
|
21
|
+
$stderr.puts err.message
|
|
22
|
+
exit 1
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
def find_basedir(dir)
|
|
26
|
+
[ dir, "#{dir}/api", "#{dir}/refm/api", "#{dir}/.." ].each do |basedir|
|
|
27
|
+
if File.file?("#{basedir}/ASSIGN")
|
|
28
|
+
return basedir
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
raise Error, "error: wrong directory: #{dir}"
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
def percent_str(n, base)
|
|
35
|
+
sprintf('%0.2f%%', percent(n, base))
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
def percent(n, base)
|
|
39
|
+
n * 100 / base.to_f
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
def kb(bytes)
|
|
43
|
+
if bytes % 1024 == 0
|
|
44
|
+
bytes / 1024
|
|
45
|
+
else
|
|
46
|
+
(bytes / 1024) + 1
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
def ranking_table(entries)
|
|
51
|
+
h = Hash.new(0)
|
|
52
|
+
entries.each do |ent|
|
|
53
|
+
h[ent.done? ? ent.owner : nil] += yield(ent)
|
|
54
|
+
end
|
|
55
|
+
h.to_a.sort_by {|owner, n| -n }
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
def parse(basedir)
|
|
59
|
+
File.open("#{basedir}/ASSIGN") {|f|
|
|
60
|
+
f.map {|line|
|
|
61
|
+
next if line.strip.empty?
|
|
62
|
+
next if /\A\#/ =~ line
|
|
63
|
+
Entry.new(basedir, *line.split)
|
|
64
|
+
}.compact
|
|
65
|
+
}
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
class Entry
|
|
69
|
+
def initialize(basedir, name, owner = nil, status = nil)
|
|
70
|
+
@basedir = basedir
|
|
71
|
+
@name = name
|
|
72
|
+
@owner = owner
|
|
73
|
+
@status = status
|
|
74
|
+
@path = nil
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
attr_reader :name
|
|
78
|
+
attr_reader :owner
|
|
79
|
+
attr_reader :status
|
|
80
|
+
|
|
81
|
+
def done?
|
|
82
|
+
@status == 'done'
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
def size
|
|
86
|
+
File.size(path())
|
|
87
|
+
rescue Error
|
|
88
|
+
0
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
def path
|
|
92
|
+
@path ||= ["#{@basedir}/src/#{@name}.rd",
|
|
93
|
+
"#{@basedir}/src/#{@name}"].detect {|path| File.file?(path) } or
|
|
94
|
+
raise Error, "file not found: library #{@name}"
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
main
|
data/tools/stattodo.rb
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require 'pathname'
|
|
4
|
+
|
|
5
|
+
bindir = Pathname.new(__FILE__).realpath.dirname
|
|
6
|
+
$LOAD_PATH.unshift((bindir + '../lib').realpath)
|
|
7
|
+
|
|
8
|
+
require 'bitclust/preprocessor'
|
|
9
|
+
require 'find'
|
|
10
|
+
|
|
11
|
+
#ALL = 14349
|
|
12
|
+
|
|
13
|
+
def main
|
|
14
|
+
cmd, hist, prefix = ARGV[0], ARGV[1], ARGV[2]
|
|
15
|
+
case cmd
|
|
16
|
+
when 'count'
|
|
17
|
+
count hist, prefix
|
|
18
|
+
when 'update'
|
|
19
|
+
update hist, prefix
|
|
20
|
+
else
|
|
21
|
+
$stderr.puts "unknown command: #{cmd}"
|
|
22
|
+
exit 1
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def count(hist, prefix)
|
|
27
|
+
total = 0
|
|
28
|
+
curr = 0
|
|
29
|
+
Table.parse_file(hist).each do |ent|
|
|
30
|
+
n = count_todo_in_file(File.join(prefix, ent.name))
|
|
31
|
+
curr += n
|
|
32
|
+
total += ent.total
|
|
33
|
+
report_count ent.name, n, ent.total
|
|
34
|
+
end
|
|
35
|
+
report_count 'TOTAL', curr, total
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
def report_count(label, curr, all)
|
|
39
|
+
done = all - curr
|
|
40
|
+
printf "%-24s %5d/%5d (%6.2f%%)\n", label, done, all, percent(done, all)
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
def percent(done, all)
|
|
44
|
+
return 0 if all == 0
|
|
45
|
+
done * 100 / all.to_f
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
def update(hist, prefix)
|
|
49
|
+
table = Table.parse_file(hist)
|
|
50
|
+
table.each do |ent|
|
|
51
|
+
ent.push count_todo(File.join(prefix, ent.name))
|
|
52
|
+
end
|
|
53
|
+
File.open("#{hist}.tmp", 'w') {|f|
|
|
54
|
+
f.puts table.header
|
|
55
|
+
table.each do |ent|
|
|
56
|
+
f.puts ent.serialize
|
|
57
|
+
end
|
|
58
|
+
}
|
|
59
|
+
File.rename "#{hist}.tmp", hist
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
def count_todo(path)
|
|
63
|
+
if File.directory?(path)
|
|
64
|
+
count_todo_in_dir(path)
|
|
65
|
+
else
|
|
66
|
+
count_todo_in_file(path)
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
def count_todo_in_dir(dir)
|
|
71
|
+
n = 0
|
|
72
|
+
Dir.entries(dir).each do |ent|
|
|
73
|
+
next if /\A\./ =~ ent
|
|
74
|
+
path = File.join(dir, ent)
|
|
75
|
+
if File.extname(ent) == '.rd' and File.file?(path)
|
|
76
|
+
n += count_todo_in_file(path)
|
|
77
|
+
elsif File.directory?(path)
|
|
78
|
+
n += count_todo_in_dir(path)
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
n
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
def count_todo_in_file(path)
|
|
85
|
+
n = 0
|
|
86
|
+
File.open(path) {|f|
|
|
87
|
+
pp = BitClust::LineCollector.wrap(f)
|
|
88
|
+
pp.grep(/\A\#@todo/) { n += 1 }
|
|
89
|
+
}
|
|
90
|
+
n
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
class Table
|
|
94
|
+
def Table.parse_file(path)
|
|
95
|
+
File.open(path) {|f|
|
|
96
|
+
_, *dates = f.gets.split
|
|
97
|
+
ents = f.map {|line|
|
|
98
|
+
name, *ns = line.split
|
|
99
|
+
Entry.new(name, ns.map {|n| n.to_i })
|
|
100
|
+
}
|
|
101
|
+
return new(dates, ents)
|
|
102
|
+
}
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
include Enumerable
|
|
106
|
+
|
|
107
|
+
def initialize(dates, ents)
|
|
108
|
+
@dates = dates
|
|
109
|
+
@entries = ents
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
attr_reader :dates
|
|
113
|
+
attr_reader :entries
|
|
114
|
+
|
|
115
|
+
def header
|
|
116
|
+
(["-"] + @dates).join(' ')
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
def each(&block)
|
|
120
|
+
@entries.each(&block)
|
|
121
|
+
end
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
class Entry
|
|
125
|
+
def initialize(name, ns)
|
|
126
|
+
@name = name
|
|
127
|
+
@counts = ns
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
attr_reader :name
|
|
131
|
+
attr_reader :counts
|
|
132
|
+
|
|
133
|
+
def total
|
|
134
|
+
@counts.first
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
def count
|
|
138
|
+
@counts.last
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
def push(n)
|
|
142
|
+
@counts.push n
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
def serialize
|
|
146
|
+
@name + "\t" + @counts.join("\t")
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
main
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require 'pathname'
|
|
4
|
+
|
|
5
|
+
def srcdir_root
|
|
6
|
+
(Pathname.new(__FILE__).realpath.dirname + '..').cleanpath
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
$LOAD_PATH.unshift srcdir_root() + 'lib'
|
|
10
|
+
|
|
11
|
+
require 'bitclust'
|
|
12
|
+
require 'fileutils'
|
|
13
|
+
require 'net/smtp'
|
|
14
|
+
require 'socket'
|
|
15
|
+
require 'time'
|
|
16
|
+
require 'optparse'
|
|
17
|
+
|
|
18
|
+
include FileUtils
|
|
19
|
+
|
|
20
|
+
def main
|
|
21
|
+
version = '1.9.0'
|
|
22
|
+
host = nil
|
|
23
|
+
port = Net::SMTP.default_port
|
|
24
|
+
from = nil
|
|
25
|
+
to = nil
|
|
26
|
+
|
|
27
|
+
parser = OptionParser.new
|
|
28
|
+
parser.banner = "Usage: #{File.basename($0, '.*')} --from=ADDR --to=ADDR --smtp-host=NAME [--smtp-port-NUM] <refm-api-dir>"
|
|
29
|
+
parser.on('--from=ADDR', 'From: address of error report.') {|addr|
|
|
30
|
+
from = addr
|
|
31
|
+
}
|
|
32
|
+
parser.on('--to=ADDR', 'To: address of error report.') {|addr|
|
|
33
|
+
to = addr
|
|
34
|
+
}
|
|
35
|
+
parser.on('--smtp-host=NAME', 'SMTP host to send mail.') {|name|
|
|
36
|
+
host = name
|
|
37
|
+
}
|
|
38
|
+
parser.on('--smtp-port=NUM', 'SMTP port to send mail.') {|num|
|
|
39
|
+
port = num.to_i
|
|
40
|
+
}
|
|
41
|
+
parser.on('--help', 'Prints this message and quit.') {
|
|
42
|
+
puts parser.help
|
|
43
|
+
exit 0
|
|
44
|
+
}
|
|
45
|
+
begin
|
|
46
|
+
parser.parse!
|
|
47
|
+
rescue OptionParser::ParseError => err
|
|
48
|
+
$stderr.puts err.message
|
|
49
|
+
$stderr.puts parser.help
|
|
50
|
+
exit 1
|
|
51
|
+
end
|
|
52
|
+
unless ARGV.size == 1
|
|
53
|
+
$stderr.puts "wrong number of argument (expected 1)"
|
|
54
|
+
exit 1
|
|
55
|
+
end
|
|
56
|
+
reporter = SMTPReporter.new(:host => host, :port => port,
|
|
57
|
+
:from => from, :to => to)
|
|
58
|
+
cwd = ARGV[0]
|
|
59
|
+
Dir.chdir cwd
|
|
60
|
+
begin
|
|
61
|
+
update_database "#{cwd}/var/#{version}", "#{cwd}/src", version
|
|
62
|
+
clear_error
|
|
63
|
+
rescue BitClust::Error, Errno::ENOENT => err
|
|
64
|
+
reporter.report_error err if new_error?(err)
|
|
65
|
+
save_error err
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
def update_database(dbdir, doctree, version)
|
|
70
|
+
tmpdir = 'db.tmp'
|
|
71
|
+
build_database tmpdir, doctree, version
|
|
72
|
+
begin
|
|
73
|
+
File.rename dbdir, 'db.old'
|
|
74
|
+
rescue Errno::ENOENT
|
|
75
|
+
end
|
|
76
|
+
mkdir_p File.dirname(dbdir)
|
|
77
|
+
File.rename tmpdir, dbdir
|
|
78
|
+
ensure
|
|
79
|
+
rm_rf 'db.old'
|
|
80
|
+
rm_rf tmpdir
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
def build_database(prefix, doctree, version)
|
|
84
|
+
db = BitClust::MethodDatabase.new(prefix)
|
|
85
|
+
db.init
|
|
86
|
+
db.transaction {
|
|
87
|
+
db.propset 'version', version
|
|
88
|
+
db.propset 'encoding', 'utf-8'
|
|
89
|
+
}
|
|
90
|
+
db.transaction {
|
|
91
|
+
db.update_by_stdlibtree doctree
|
|
92
|
+
}
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
LASTLOG_FILE = 'lasterror.log'
|
|
96
|
+
|
|
97
|
+
def new_error?(err)
|
|
98
|
+
return true unless File.exist?(LASTLOG_FILE)
|
|
99
|
+
serialize_error(err) != File.read(LASTLOG_FILE)
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
def save_error(err)
|
|
103
|
+
File.open(LASTLOG_FILE, 'w') {|f|
|
|
104
|
+
f.write serialize_error(err)
|
|
105
|
+
}
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
def clear_error
|
|
109
|
+
rm_f LASTLOG_FILE
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
def serialize_error(err)
|
|
113
|
+
msgline = "#{err.message} (#{err.class})"
|
|
114
|
+
backtraces = err.backtrace.map {|s| "\t#{s}" }
|
|
115
|
+
([msgline] + backtraces).join("\n")
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
class SMTPReporter
|
|
119
|
+
def initialize(h)
|
|
120
|
+
@host = h[:host]
|
|
121
|
+
@port = h[:port]
|
|
122
|
+
@from = h[:from]
|
|
123
|
+
@to = h[:to]
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
def report_error(err)
|
|
127
|
+
send_message "[build error] #{err.message}", serialize_error(err)
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
private
|
|
131
|
+
|
|
132
|
+
def send_message(subject, body)
|
|
133
|
+
Net::SMTP.start(@host, @port, Socket.gethostname) {|smtp|
|
|
134
|
+
smtp.send_mail(<<-End, @from, @to)
|
|
135
|
+
Date: #{Time.now.rfc2822}
|
|
136
|
+
From: #{@from}
|
|
137
|
+
To: #{@to}
|
|
138
|
+
Subject: #{subject}
|
|
139
|
+
|
|
140
|
+
#{body}
|
|
141
|
+
End
|
|
142
|
+
}
|
|
143
|
+
end
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
main
|
data/view.cgi
ADDED
metadata
ADDED
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: bitclust-core
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.5.0
|
|
5
|
+
prerelease:
|
|
6
|
+
platform: ruby
|
|
7
|
+
authors:
|
|
8
|
+
- http://bugs.ruby-lang.org/projects/rurema
|
|
9
|
+
autorequire:
|
|
10
|
+
bindir: bin
|
|
11
|
+
cert_chain: []
|
|
12
|
+
date: 2012-06-23 00:00:00.000000000 Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
15
|
+
name: test-unit
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
17
|
+
none: false
|
|
18
|
+
requirements:
|
|
19
|
+
- - ! '>='
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: 2.3.0
|
|
22
|
+
type: :development
|
|
23
|
+
prerelease: false
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
26
|
+
requirements:
|
|
27
|
+
- - ! '>='
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: 2.3.0
|
|
30
|
+
- !ruby/object:Gem::Dependency
|
|
31
|
+
name: rack
|
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
|
33
|
+
none: false
|
|
34
|
+
requirements:
|
|
35
|
+
- - ! '>='
|
|
36
|
+
- !ruby/object:Gem::Version
|
|
37
|
+
version: '0'
|
|
38
|
+
type: :runtime
|
|
39
|
+
prerelease: false
|
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
+
none: false
|
|
42
|
+
requirements:
|
|
43
|
+
- - ! '>='
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: '0'
|
|
46
|
+
description: ! 'Rurema is a Japanese ruby documentation project, and
|
|
47
|
+
|
|
48
|
+
bitclust is a rurema document processor.
|
|
49
|
+
|
|
50
|
+
'
|
|
51
|
+
email:
|
|
52
|
+
- ''
|
|
53
|
+
executables:
|
|
54
|
+
- bitclust
|
|
55
|
+
extensions: []
|
|
56
|
+
extra_rdoc_files: []
|
|
57
|
+
files:
|
|
58
|
+
- ChangeLog
|
|
59
|
+
- bin/bitclust
|
|
60
|
+
- bin/refe
|
|
61
|
+
- Gemfile
|
|
62
|
+
- lib/bitclust/app.rb
|
|
63
|
+
- lib/bitclust/crossrubyutils.rb
|
|
64
|
+
- lib/bitclust/docentry.rb
|
|
65
|
+
- lib/bitclust/searcher.rb
|
|
66
|
+
- lib/bitclust/preprocessor.rb
|
|
67
|
+
- lib/bitclust/functiondatabase.rb
|
|
68
|
+
- lib/bitclust/version.rb
|
|
69
|
+
- lib/bitclust/libraryentry.rb
|
|
70
|
+
- lib/bitclust/textutils.rb
|
|
71
|
+
- lib/bitclust/runner.rb
|
|
72
|
+
- lib/bitclust/database.rb
|
|
73
|
+
- lib/bitclust/requesthandler.rb
|
|
74
|
+
- lib/bitclust/refsdatabase.rb
|
|
75
|
+
- lib/bitclust/classentry.rb
|
|
76
|
+
- lib/bitclust/interface.rb
|
|
77
|
+
- lib/bitclust/entry.rb
|
|
78
|
+
- lib/bitclust/completion.rb
|
|
79
|
+
- lib/bitclust/functionentry.rb
|
|
80
|
+
- lib/bitclust/parseutils.rb
|
|
81
|
+
- lib/bitclust/compat.rb
|
|
82
|
+
- lib/bitclust/simplesearcher.rb
|
|
83
|
+
- lib/bitclust/server.rb
|
|
84
|
+
- lib/bitclust/htmlutils.rb
|
|
85
|
+
- lib/bitclust/messagecatalog.rb
|
|
86
|
+
- lib/bitclust/exception.rb
|
|
87
|
+
- lib/bitclust/rrdparser.rb
|
|
88
|
+
- lib/bitclust/lineinput.rb
|
|
89
|
+
- lib/bitclust/screen.rb
|
|
90
|
+
- lib/bitclust/rdcompiler.rb
|
|
91
|
+
- lib/bitclust/functionreferenceparser.rb
|
|
92
|
+
- lib/bitclust/nameutils.rb
|
|
93
|
+
- lib/bitclust/methodentry.rb
|
|
94
|
+
- lib/bitclust/methodid.rb
|
|
95
|
+
- lib/bitclust/ridatabase.rb
|
|
96
|
+
- lib/bitclust/subcommand.rb
|
|
97
|
+
- lib/bitclust/methodsignature.rb
|
|
98
|
+
- lib/bitclust/methoddatabase.rb
|
|
99
|
+
- lib/bitclust.rb
|
|
100
|
+
- packer.rb
|
|
101
|
+
- README
|
|
102
|
+
- bitclust.gemspec
|
|
103
|
+
- theme/lillia/rurema.png
|
|
104
|
+
- theme/lillia/style.css
|
|
105
|
+
- theme/lillia/test.css
|
|
106
|
+
- theme/default/rurema.png
|
|
107
|
+
- theme/default/style.css
|
|
108
|
+
- theme/default/test.css
|
|
109
|
+
- theme/default/images/external.png
|
|
110
|
+
- standalone.rb
|
|
111
|
+
- bitclust-dev.gemspec
|
|
112
|
+
- view.cgi
|
|
113
|
+
- test/test_bitclust.rb
|
|
114
|
+
- test/test_functiondatabase.rb
|
|
115
|
+
- test/test_preprocessor.rb
|
|
116
|
+
- test/test_methoddatabase.rb
|
|
117
|
+
- test/test_simplesearcher.rb
|
|
118
|
+
- test/test_rdcompiler.rb
|
|
119
|
+
- test/test_nameutils.rb
|
|
120
|
+
- test/test_libraryentry.rb
|
|
121
|
+
- test/test_methodsignature.rb
|
|
122
|
+
- test/test_runner.rb
|
|
123
|
+
- test/test_rrdparser.rb
|
|
124
|
+
- test/test_refsdatabase.rb
|
|
125
|
+
- test/run_test.rb
|
|
126
|
+
- test/test_entry.rb
|
|
127
|
+
- server.exe
|
|
128
|
+
- Rakefile
|
|
129
|
+
- server.exy
|
|
130
|
+
- server.rb
|
|
131
|
+
- setup.rb
|
|
132
|
+
- config.ru
|
|
133
|
+
- data/bitclust/template/layout
|
|
134
|
+
- data/bitclust/template/method
|
|
135
|
+
- data/bitclust/template/class-index
|
|
136
|
+
- data/bitclust/template/class
|
|
137
|
+
- data/bitclust/template/library
|
|
138
|
+
- data/bitclust/template/function-index
|
|
139
|
+
- data/bitclust/template/library-index
|
|
140
|
+
- data/bitclust/template/opensearchdescription
|
|
141
|
+
- data/bitclust/template/function
|
|
142
|
+
- data/bitclust/template/search
|
|
143
|
+
- data/bitclust/template/doc
|
|
144
|
+
- data/bitclust/template.lillia/layout
|
|
145
|
+
- data/bitclust/template.lillia/method
|
|
146
|
+
- data/bitclust/template.lillia/class-index
|
|
147
|
+
- data/bitclust/template.lillia/class
|
|
148
|
+
- data/bitclust/template.lillia/library
|
|
149
|
+
- data/bitclust/template.lillia/library-index
|
|
150
|
+
- data/bitclust/template.lillia/rd_file
|
|
151
|
+
- data/bitclust/template.lillia/doc
|
|
152
|
+
- data/bitclust/template.offline/layout
|
|
153
|
+
- data/bitclust/template.offline/method
|
|
154
|
+
- data/bitclust/template.offline/class-index
|
|
155
|
+
- data/bitclust/template.offline/class
|
|
156
|
+
- data/bitclust/template.offline/library
|
|
157
|
+
- data/bitclust/template.offline/function-index
|
|
158
|
+
- data/bitclust/template.offline/library-index
|
|
159
|
+
- data/bitclust/template.offline/function
|
|
160
|
+
- data/bitclust/template.offline/rd_file
|
|
161
|
+
- data/bitclust/template.offline/doc
|
|
162
|
+
- data/bitclust/catalog/ja_JP.UTF-8
|
|
163
|
+
- data/bitclust/catalog/ja_JP.EUC-JP
|
|
164
|
+
- config.in
|
|
165
|
+
- tools/bc-tochm.rb
|
|
166
|
+
- tools/bc-methods.rb
|
|
167
|
+
- tools/bc-checkparams.rb
|
|
168
|
+
- tools/bc-ancestors.rb
|
|
169
|
+
- tools/bc-list.rb
|
|
170
|
+
- tools/stattodo.rb
|
|
171
|
+
- tools/statrefm.rb
|
|
172
|
+
- tools/bc-classes.rb
|
|
173
|
+
- tools/bc-tohtml.rb
|
|
174
|
+
- tools/forall-ruby.rb
|
|
175
|
+
- tools/gencatalog.rb
|
|
176
|
+
- tools/bc-convert.rb
|
|
177
|
+
- tools/bc-rdoc.rb
|
|
178
|
+
- tools/bc-preproc.rb
|
|
179
|
+
- tools/update-database.rb
|
|
180
|
+
- tools/bc-tohtmlpackage.rb
|
|
181
|
+
- tools/check-signature.rb
|
|
182
|
+
- refe2.gemspec
|
|
183
|
+
- config.ru.sample
|
|
184
|
+
homepage: http://doc.ruby-lang.org/ja/
|
|
185
|
+
licenses: []
|
|
186
|
+
post_install_message:
|
|
187
|
+
rdoc_options: []
|
|
188
|
+
require_paths:
|
|
189
|
+
- lib
|
|
190
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
191
|
+
none: false
|
|
192
|
+
requirements:
|
|
193
|
+
- - ! '>='
|
|
194
|
+
- !ruby/object:Gem::Version
|
|
195
|
+
version: '0'
|
|
196
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
|
+
none: false
|
|
198
|
+
requirements:
|
|
199
|
+
- - ! '>='
|
|
200
|
+
- !ruby/object:Gem::Version
|
|
201
|
+
version: '0'
|
|
202
|
+
requirements: []
|
|
203
|
+
rubyforge_project: ''
|
|
204
|
+
rubygems_version: 1.8.23
|
|
205
|
+
signing_key:
|
|
206
|
+
specification_version: 3
|
|
207
|
+
summary: BitClust is a rurema document processor.
|
|
208
|
+
test_files:
|
|
209
|
+
- test/test_bitclust.rb
|
|
210
|
+
- test/test_functiondatabase.rb
|
|
211
|
+
- test/test_preprocessor.rb
|
|
212
|
+
- test/test_methoddatabase.rb
|
|
213
|
+
- test/test_simplesearcher.rb
|
|
214
|
+
- test/test_rdcompiler.rb
|
|
215
|
+
- test/test_nameutils.rb
|
|
216
|
+
- test/test_libraryentry.rb
|
|
217
|
+
- test/test_methodsignature.rb
|
|
218
|
+
- test/test_runner.rb
|
|
219
|
+
- test/test_rrdparser.rb
|
|
220
|
+
- test/test_refsdatabase.rb
|
|
221
|
+
- test/run_test.rb
|
|
222
|
+
- test/test_entry.rb
|