bitclust-core 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +16 -0
- data/Gemfile +1 -7
- data/data/bitclust/template/class +14 -0
- data/data/bitclust/template/doc +1 -1
- data/data/bitclust/template/layout +1 -1
- data/data/bitclust/template.epub/class +101 -0
- data/data/bitclust/template.epub/class-index +28 -0
- data/data/bitclust/template.epub/container.xml +6 -0
- data/data/bitclust/template.epub/contents +23 -0
- data/data/bitclust/template.epub/doc +13 -0
- data/data/bitclust/template.epub/function +22 -0
- data/data/bitclust/template.epub/function-index +24 -0
- data/data/bitclust/template.epub/layout +19 -0
- data/data/bitclust/template.epub/library +75 -0
- data/data/bitclust/template.epub/library-index +47 -0
- data/data/bitclust/template.epub/method +21 -0
- data/data/bitclust/template.epub/mimetype +1 -0
- data/data/bitclust/template.epub/nav.xhtml +6 -0
- data/data/bitclust/template.epub/rd_file +6 -0
- data/data/bitclust/template.lillia/class +17 -0
- data/data/bitclust/template.lillia/doc +1 -1
- data/data/bitclust/template.lillia/layout +1 -1
- data/data/bitclust/template.offline/class +14 -0
- data/data/bitclust/template.offline/doc +1 -1
- data/data/bitclust/template.offline/layout +1 -1
- data/lib/bitclust/classentry.rb +31 -11
- data/lib/bitclust/docentry.rb +2 -2
- data/lib/bitclust/entry.rb +1 -0
- data/lib/bitclust/exception.rb +1 -0
- data/lib/bitclust/functionreferenceparser.rb +4 -3
- data/lib/bitclust/generators/epub.rb +118 -0
- data/lib/bitclust/libraryentry.rb +4 -6
- data/lib/bitclust/methodsignature.rb +1 -1
- data/lib/bitclust/nameutils.rb +12 -1
- data/lib/bitclust/rdcompiler.rb +101 -57
- data/lib/bitclust/rrdparser.rb +20 -6
- data/lib/bitclust/runner.rb +2 -0
- data/lib/bitclust/screen.rb +10 -2
- data/lib/bitclust/searcher.rb +4 -0
- data/lib/bitclust/subcommands/epub_command.rb +68 -0
- data/lib/bitclust/subcommands/methods_command.rb +13 -0
- data/lib/bitclust/subcommands/setup_command.rb +2 -2
- data/lib/bitclust/subcommands/statichtml_command.rb +54 -32
- data/lib/bitclust/version.rb +1 -1
- data/test/run_test.rb +0 -0
- data/test/test_functiondatabase.rb +3 -3
- data/test/test_functionreferenceparser.rb +51 -0
- data/test/test_methoddatabase.rb +33 -0
- data/test/test_nameutils.rb +13 -0
- data/test/test_rdcompiler.rb +176 -13
- data/test/test_refsdatabase.rb +8 -0
- metadata +41 -23
data/test/test_rdcompiler.rb
CHANGED
@@ -10,7 +10,8 @@ class TestRDCompiler < Test::Unit::TestCase
|
|
10
10
|
def setup
|
11
11
|
@dummy = 'dummy'
|
12
12
|
@u = BitClust::URLMapper.new(Hash.new{@dummy})
|
13
|
-
@
|
13
|
+
@db = BitClust::MethodDatabase.dummy("version" => "2.0.0")
|
14
|
+
@c = BitClust::RDCompiler.new(@u, 1, {:database => @db})
|
14
15
|
end
|
15
16
|
|
16
17
|
def assert_compiled_source(expected, src)
|
@@ -186,7 +187,7 @@ bar
|
|
186
187
|
text
|
187
188
|
HERE
|
188
189
|
expected = <<'HERE'
|
189
|
-
<dt class="method-heading" id="dummy"><code>hoge</code><span class="permalink">[<a href="dummy/method/String/i/index">permalink</a>]</span></dt>
|
190
|
+
<dt class="method-heading" id="dummy"><code>hoge</code><span class="permalink">[<a href="dummy/method/String/i/index">permalink</a>][<a href="http://docs.ruby-lang.org/en/2.0.0/String.html#method-i-index">rdoc</a>]</span></dt>
|
190
191
|
<dd class="method-description">
|
191
192
|
<p>
|
192
193
|
foo
|
@@ -210,7 +211,7 @@ text
|
|
210
211
|
//}
|
211
212
|
HERE
|
212
213
|
expected = <<'HERE'
|
213
|
-
<dt class="method-heading" id="dummy"><code>self <=> </code><span class="permalink">[<a href="dummy/method/String/i/index">permalink</a>]</span></dt>
|
214
|
+
<dt class="method-heading" id="dummy"><code>self <=> </code><span class="permalink">[<a href="dummy/method/String/i/index">permalink</a>][<a href="http://docs.ruby-lang.org/en/2.0.0/String.html#method-i-index">rdoc</a>]</span></dt>
|
214
215
|
<dd class="method-description">
|
215
216
|
<p>
|
216
217
|
abs
|
@@ -231,7 +232,7 @@ HERE
|
|
231
232
|
dsc
|
232
233
|
HERE
|
233
234
|
expected = <<'HERE'
|
234
|
-
<dt class="method-heading" id="dummy"><code>method</code><span class="permalink">[<a href="dummy/method/String/i/index">permalink</a>]</span></dt>
|
235
|
+
<dt class="method-heading" id="dummy"><code>method</code><span class="permalink">[<a href="dummy/method/String/i/index">permalink</a>][<a href="http://docs.ruby-lang.org/en/2.0.0/String.html#method-i-index">rdoc</a>]</span></dt>
|
235
236
|
<dd class="method-description">
|
236
237
|
<dl>
|
237
238
|
<dt>word1</dt>
|
@@ -258,7 +259,7 @@ dsc
|
|
258
259
|
@see hoge
|
259
260
|
HERE
|
260
261
|
expected = <<'HERE'
|
261
|
-
<dt class="method-heading" id="dummy"><code>method</code><span class="permalink">[<a href="dummy/method/String/i/index">permalink</a>]</span></dt>
|
262
|
+
<dt class="method-heading" id="dummy"><code>method</code><span class="permalink">[<a href="dummy/method/String/i/index">permalink</a>][<a href="http://docs.ruby-lang.org/en/2.0.0/String.html#method-i-index">rdoc</a>]</span></dt>
|
262
263
|
<dd class="method-description">
|
263
264
|
<p>
|
264
265
|
dsc
|
@@ -295,7 +296,7 @@ HERE
|
|
295
296
|
dsc3
|
296
297
|
HERE
|
297
298
|
expected = <<'HERE'
|
298
|
-
<dt class="method-heading" id="dummy"><code>method</code><span class="permalink">[<a href="dummy/method/String/i/index">permalink</a>]</span></dt>
|
299
|
+
<dt class="method-heading" id="dummy"><code>method</code><span class="permalink">[<a href="dummy/method/String/i/index">permalink</a>][<a href="http://docs.ruby-lang.org/en/2.0.0/String.html#method-i-index">rdoc</a>]</span></dt>
|
299
300
|
<dd class="method-description">
|
300
301
|
<dl>
|
301
302
|
<dt class='method-param'>[PARAM] arg:</dt>
|
@@ -323,7 +324,7 @@ dsc3
|
|
323
324
|
//}
|
324
325
|
HERE
|
325
326
|
expected = <<'HERE'
|
326
|
-
<dt class="method-heading" id="dummy"><code>method</code><span class="permalink">[<a href="dummy/method/String/i/index">permalink</a>]</span></dt>
|
327
|
+
<dt class="method-heading" id="dummy"><code>method</code><span class="permalink">[<a href="dummy/method/String/i/index">permalink</a>][<a href="http://docs.ruby-lang.org/en/2.0.0/String.html#method-i-index">rdoc</a>]</span></dt>
|
327
328
|
<dd class="method-description">
|
328
329
|
<dl>
|
329
330
|
<dt class='method-param'>[PARAM] arg:</dt>
|
@@ -341,7 +342,7 @@ HERE
|
|
341
342
|
end
|
342
343
|
|
343
344
|
def test_method2
|
344
|
-
@c = BitClust::RDCompiler.new(@u, 1, {:force => true})
|
345
|
+
@c = BitClust::RDCompiler.new(@u, 1, {:database => @db, :force => true})
|
345
346
|
src = <<'HERE'
|
346
347
|
--- hoge1
|
347
348
|
--- hoge2
|
@@ -349,7 +350,7 @@ bar
|
|
349
350
|
HERE
|
350
351
|
expected = <<'HERE'
|
351
352
|
<dl>
|
352
|
-
<dt class="method-heading" id="dummy"><code>hoge1</code><span class="permalink">[<a href="dummy/method/String/i/index">permalink</a>]</span></dt>
|
353
|
+
<dt class="method-heading" id="dummy"><code>hoge1</code><span class="permalink">[<a href="dummy/method/String/i/index">permalink</a>][<a href="http://docs.ruby-lang.org/en/2.0.0/String.html#method-i-index">rdoc</a>]</span></dt>
|
353
354
|
<dt class="method-heading"><code>hoge2</code></dt>
|
354
355
|
<dd class="method-description">
|
355
356
|
<p>
|
@@ -361,7 +362,7 @@ HERE
|
|
361
362
|
assert_compiled_method_source(expected, src)
|
362
363
|
end
|
363
364
|
|
364
|
-
def
|
365
|
+
def test_ulist_simple
|
365
366
|
src = <<'HERE'
|
366
367
|
* hoge1
|
367
368
|
* hoge2
|
@@ -373,7 +374,9 @@ HERE
|
|
373
374
|
</ul>
|
374
375
|
HERE
|
375
376
|
assert_compiled_source(expected, src)
|
377
|
+
end
|
376
378
|
|
379
|
+
def test_ulist_multiple_list
|
377
380
|
src = <<'HERE'
|
378
381
|
* hoge1
|
379
382
|
|
@@ -388,7 +391,9 @@ HERE
|
|
388
391
|
</ul>
|
389
392
|
HERE
|
390
393
|
assert_compiled_source(expected, src)
|
394
|
+
end
|
391
395
|
|
396
|
+
def test_ulist_continuous_line
|
392
397
|
src = <<'HERE'
|
393
398
|
* hoge1
|
394
399
|
bar
|
@@ -405,6 +410,29 @@ HERE
|
|
405
410
|
|
406
411
|
end
|
407
412
|
|
413
|
+
def test_ulist_nested
|
414
|
+
src = <<HERE
|
415
|
+
* hoge1
|
416
|
+
* fuga1
|
417
|
+
* hoge2
|
418
|
+
* fuga2
|
419
|
+
HERE
|
420
|
+
expected = <<HERE
|
421
|
+
<ul>
|
422
|
+
<li>hoge1<ul>
|
423
|
+
<li>fuga1</li>
|
424
|
+
</ul>
|
425
|
+
</li>
|
426
|
+
<li>hoge2<ul>
|
427
|
+
<li>fuga2</li>
|
428
|
+
</ul>
|
429
|
+
</li>
|
430
|
+
</ul>
|
431
|
+
|
432
|
+
HERE
|
433
|
+
assert_compiled_source(expected, src)
|
434
|
+
end
|
435
|
+
|
408
436
|
def test_olist
|
409
437
|
src = <<'HERE'
|
410
438
|
(1) hoge1
|
@@ -421,6 +449,86 @@ HERE
|
|
421
449
|
assert_compiled_source(expected, src)
|
422
450
|
end
|
423
451
|
|
452
|
+
def test_olist_nested
|
453
|
+
src = <<HERE
|
454
|
+
(1) hoge1
|
455
|
+
(11) fuga1
|
456
|
+
(2) hoge2
|
457
|
+
(12) fuga2
|
458
|
+
HERE
|
459
|
+
expected = <<HERE
|
460
|
+
<ol>
|
461
|
+
<li>hoge1<ol>
|
462
|
+
<li>fuga1</li>
|
463
|
+
</ol>
|
464
|
+
</li>
|
465
|
+
<li>hoge2<ol>
|
466
|
+
<li>fuga2</li>
|
467
|
+
</ol>
|
468
|
+
</li>
|
469
|
+
</ol>
|
470
|
+
|
471
|
+
HERE
|
472
|
+
assert_compiled_source(expected, src)
|
473
|
+
end
|
474
|
+
|
475
|
+
def test_ulist_olist_nested
|
476
|
+
src = <<HERE
|
477
|
+
* hoge1
|
478
|
+
(1) fuga1
|
479
|
+
(2) fuga2
|
480
|
+
* hoge2
|
481
|
+
(1) boo1
|
482
|
+
(2) boo2
|
483
|
+
HERE
|
484
|
+
expected = <<HERE
|
485
|
+
<ul>
|
486
|
+
<li>hoge1<ol>
|
487
|
+
<li>fuga1</li>
|
488
|
+
<li>fuga2</li>
|
489
|
+
</ol>
|
490
|
+
</li>
|
491
|
+
<li>hoge2<ol>
|
492
|
+
<li>boo1</li>
|
493
|
+
<li>boo2</li>
|
494
|
+
</ol>
|
495
|
+
</li>
|
496
|
+
</ul>
|
497
|
+
|
498
|
+
HERE
|
499
|
+
assert_compiled_source(expected, src)
|
500
|
+
end
|
501
|
+
|
502
|
+
def test_olist_nested_3level
|
503
|
+
src = <<HERE
|
504
|
+
(1) hoge1
|
505
|
+
(11) fuga1
|
506
|
+
(111) boo1
|
507
|
+
(2) hoge2
|
508
|
+
(22) fuga2
|
509
|
+
(222) boo2
|
510
|
+
HERE
|
511
|
+
expected = <<HERE
|
512
|
+
<ol>
|
513
|
+
<li>hoge1<ol>
|
514
|
+
<li>fuga1<ol>
|
515
|
+
<li>boo1</li>
|
516
|
+
</ol>
|
517
|
+
</li>
|
518
|
+
<li>hoge2<ol>
|
519
|
+
<li>fuga2<ol>
|
520
|
+
<li>boo2</li>
|
521
|
+
</ol>
|
522
|
+
</li>
|
523
|
+
</ol>
|
524
|
+
</li>
|
525
|
+
</ol>
|
526
|
+
</li>
|
527
|
+
</ol>
|
528
|
+
|
529
|
+
HERE
|
530
|
+
assert_compiled_source(expected, src)
|
531
|
+
end
|
424
532
|
|
425
533
|
def test_invalid_case
|
426
534
|
src = <<HERE
|
@@ -481,7 +589,7 @@ HERE
|
|
481
589
|
@see [[m:Array#*]], [[m:$,]]
|
482
590
|
HERE
|
483
591
|
expected = <<'HERE'
|
484
|
-
<dt class="method-heading" id="dummy"><code>join(sep = $,) -> String</code><span class="permalink">[<a href="dummy/method/String/i/index">permalink</a>]</span></dt>
|
592
|
+
<dt class="method-heading" id="dummy"><code>join(sep = $,) -> String</code><span class="permalink">[<a href="dummy/method/String/i/index">permalink</a>][<a href="http://docs.ruby-lang.org/en/2.0.0/String.html#method-i-index">rdoc</a>]</span></dt>
|
485
593
|
<dd class="method-description">
|
486
594
|
<p>
|
487
595
|
[SEE_ALSO] <a href="dummy/method/Array/i/=2a">Array#*</a>, <a href="dummy/method/Kernel/v/=2c">$,</a>
|
@@ -499,7 +607,7 @@ HERE
|
|
499
607
|
description
|
500
608
|
HERE
|
501
609
|
expected = <<'HERE'
|
502
|
-
<dt class="method-heading" id="dummy"><code>puts(str) -> String</code><span class="permalink">[<a href="dummy/method/String/i/index">permalink</a>]</span></dt>
|
610
|
+
<dt class="method-heading" id="dummy"><code>puts(str) -> String</code><span class="permalink">[<a href="dummy/method/String/i/index">permalink</a>][<a href="http://docs.ruby-lang.org/en/2.0.0/String.html#method-i-index">rdoc</a>]</span></dt>
|
503
611
|
<dd class="method-description">
|
504
612
|
<p class="todo">
|
505
613
|
[TODO]
|
@@ -520,7 +628,7 @@ HERE
|
|
520
628
|
description
|
521
629
|
HERE
|
522
630
|
expected = <<'HERE'
|
523
|
-
<dt class="method-heading" id="dummy"><code>puts(str) -> String</code><span class="permalink">[<a href="dummy/method/String/i/index">permalink</a>]</span></dt>
|
631
|
+
<dt class="method-heading" id="dummy"><code>puts(str) -> String</code><span class="permalink">[<a href="dummy/method/String/i/index">permalink</a>][<a href="http://docs.ruby-lang.org/en/2.0.0/String.html#method-i-index">rdoc</a>]</span></dt>
|
524
632
|
<dd class="method-description">
|
525
633
|
<p class="todo">
|
526
634
|
[TODO] 1.9.2
|
@@ -563,4 +671,59 @@ HERE
|
|
563
671
|
def test_man_url(data)
|
564
672
|
assert_equal(data[:expected], @c.man_url(*data[:params]))
|
565
673
|
end
|
674
|
+
|
675
|
+
class BitClust::RDCompiler; public :rdoc_url; end
|
676
|
+
data("String#index" => {
|
677
|
+
:method_id => "String/i.index._builtin",
|
678
|
+
:version => "2.0.0",
|
679
|
+
:expected => "http://docs.ruby-lang.org/en/2.0.0/String.html#method-i-index"
|
680
|
+
},
|
681
|
+
"String.new" => {
|
682
|
+
:method_id => "String/s.new._builtin",
|
683
|
+
:version => "2.0.0",
|
684
|
+
:expected => "http://docs.ruby-lang.org/en/2.0.0/String.html#method-c-new"
|
685
|
+
},
|
686
|
+
"String#<=>" => {
|
687
|
+
:method_id => "String/i.=3c=3d=3e._builtin",
|
688
|
+
:version => "2.0.0",
|
689
|
+
:expected => "http://docs.ruby-lang.org/en/2.0.0/String.html#method-i-3C-3D-3E"
|
690
|
+
},
|
691
|
+
"String#empty?" => {
|
692
|
+
:method_id => "String/i.empty=3f._builtin",
|
693
|
+
:version => "2.0.0",
|
694
|
+
:expected => "http://docs.ruby-lang.org/en/2.0.0/String.html#method-i-empty-3F"
|
695
|
+
},
|
696
|
+
"String#index v1.9.3" => {
|
697
|
+
:method_id => "String/i.index._builtin",
|
698
|
+
:version => "1.9.3",
|
699
|
+
:expected => "http://docs.ruby-lang.org/en/1.9.3/String.html#method-i-index"
|
700
|
+
},
|
701
|
+
"String#index v1.8.7" => {
|
702
|
+
:method_id => "String/i.index._builtin",
|
703
|
+
:version => "1.8.7",
|
704
|
+
:expected => "http://docs.ruby-lang.org/en/1.8.7/String.html#method-i-index"
|
705
|
+
},
|
706
|
+
"File::Stat#file?" => {
|
707
|
+
:method_id => "File=Stat/i.file=3f._builtin",
|
708
|
+
:version => "2.0.0",
|
709
|
+
:expected => "http://docs.ruby-lang.org/en/2.0.0/File/Stat.html#method-i-file-3F"
|
710
|
+
},
|
711
|
+
"Net::HTTP#get" => {
|
712
|
+
:method_id => "Net=HTTP/i.get.net.http",
|
713
|
+
:version => "2.0.0",
|
714
|
+
:expected => "http://docs.ruby-lang.org/en/2.0.0/Net/HTTP.html#method-i-get"
|
715
|
+
})
|
716
|
+
def test_rdoc_url(data)
|
717
|
+
assert_equal(data[:expected], @c.rdoc_url(data[:method_id], data[:version]))
|
718
|
+
end
|
719
|
+
|
720
|
+
class BitClust::RDCompiler; public :rdoc_link; end
|
721
|
+
data("String#index" => {
|
722
|
+
:method_id => "String/i.index._builtin",
|
723
|
+
:version => "2.0.0",
|
724
|
+
:expected => %Q(<a href="http://docs.ruby-lang.org/en/2.0.0/String.html#method-i-index">rdoc</a>)
|
725
|
+
})
|
726
|
+
def test_rdoc_link(data)
|
727
|
+
assert_equal(data[:expected], @c.rdoc_link(data[:method_id], data[:version]))
|
728
|
+
end
|
566
729
|
end
|
data/test/test_refsdatabase.rb
CHANGED
@@ -37,6 +37,11 @@ a a a a
|
|
37
37
|
====[a:e4] E4
|
38
38
|
=====[a:e5] E5
|
39
39
|
======[a:e6] E6
|
40
|
+
= object ARGF
|
41
|
+
===[a:f3] F3
|
42
|
+
====[a:f4] F4
|
43
|
+
=====[a:f5] F5
|
44
|
+
======[a:f6] F6
|
40
45
|
HERE
|
41
46
|
|
42
47
|
S2 = <<HERE
|
@@ -72,5 +77,8 @@ HERE
|
|
72
77
|
['e3', 'e4', 'e5', 'e6'].each do |s|
|
73
78
|
assert_equal(s.upcase, db.refs['method', 'Kernel$spespe', s])
|
74
79
|
end
|
80
|
+
['f3', 'f4', 'f5', 'f6'].each do |s|
|
81
|
+
assert_equal(s.upcase, db.refs['class', 'ARGF', s])
|
82
|
+
end
|
75
83
|
end
|
76
84
|
end
|
metadata
CHANGED
@@ -1,83 +1,83 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bitclust-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- http://bugs.ruby-lang.org/projects/rurema
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-unit
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 2.3.0
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 2.3.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: test-unit-notify
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: test-unit-rr
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rack
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: progressbar
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
description: |
|
@@ -94,8 +94,23 @@ files:
|
|
94
94
|
- Gemfile
|
95
95
|
- README
|
96
96
|
- Rakefile
|
97
|
+
- bin/bitclust
|
97
98
|
- bitclust.gemspec
|
98
99
|
- data/bitclust/catalog/ja_JP.UTF-8
|
100
|
+
- data/bitclust/template.epub/class
|
101
|
+
- data/bitclust/template.epub/class-index
|
102
|
+
- data/bitclust/template.epub/container.xml
|
103
|
+
- data/bitclust/template.epub/contents
|
104
|
+
- data/bitclust/template.epub/doc
|
105
|
+
- data/bitclust/template.epub/function
|
106
|
+
- data/bitclust/template.epub/function-index
|
107
|
+
- data/bitclust/template.epub/layout
|
108
|
+
- data/bitclust/template.epub/library
|
109
|
+
- data/bitclust/template.epub/library-index
|
110
|
+
- data/bitclust/template.epub/method
|
111
|
+
- data/bitclust/template.epub/mimetype
|
112
|
+
- data/bitclust/template.epub/nav.xhtml
|
113
|
+
- data/bitclust/template.epub/rd_file
|
99
114
|
- data/bitclust/template.lillia/class
|
100
115
|
- data/bitclust/template.lillia/class-index
|
101
116
|
- data/bitclust/template.lillia/doc
|
@@ -138,6 +153,7 @@ files:
|
|
138
153
|
- lib/bitclust/functiondatabase.rb
|
139
154
|
- lib/bitclust/functionentry.rb
|
140
155
|
- lib/bitclust/functionreferenceparser.rb
|
156
|
+
- lib/bitclust/generators/epub.rb
|
141
157
|
- lib/bitclust/htmlutils.rb
|
142
158
|
- lib/bitclust/interface.rb
|
143
159
|
- lib/bitclust/libraryentry.rb
|
@@ -166,6 +182,7 @@ files:
|
|
166
182
|
- lib/bitclust/subcommands/ancestors_command.rb
|
167
183
|
- lib/bitclust/subcommands/chm_command.rb
|
168
184
|
- lib/bitclust/subcommands/classes_command.rb
|
185
|
+
- lib/bitclust/subcommands/epub_command.rb
|
169
186
|
- lib/bitclust/subcommands/extract_command.rb
|
170
187
|
- lib/bitclust/subcommands/htmlfile_command.rb
|
171
188
|
- lib/bitclust/subcommands/init_command.rb
|
@@ -181,17 +198,11 @@ files:
|
|
181
198
|
- lib/bitclust/subcommands/update_command.rb
|
182
199
|
- lib/bitclust/textutils.rb
|
183
200
|
- lib/bitclust/version.rb
|
184
|
-
- theme/default/images/external.png
|
185
|
-
- theme/default/rurema.png
|
186
|
-
- theme/default/style.css
|
187
|
-
- theme/default/test.css
|
188
|
-
- theme/lillia/rurema.png
|
189
|
-
- theme/lillia/style.css
|
190
|
-
- theme/lillia/test.css
|
191
201
|
- test/run_test.rb
|
192
202
|
- test/test_bitclust.rb
|
193
203
|
- test/test_entry.rb
|
194
204
|
- test/test_functiondatabase.rb
|
205
|
+
- test/test_functionreferenceparser.rb
|
195
206
|
- test/test_libraryentry.rb
|
196
207
|
- test/test_methoddatabase.rb
|
197
208
|
- test/test_methodsignature.rb
|
@@ -202,7 +213,13 @@ files:
|
|
202
213
|
- test/test_rrdparser.rb
|
203
214
|
- test/test_runner.rb
|
204
215
|
- test/test_simplesearcher.rb
|
205
|
-
-
|
216
|
+
- theme/default/images/external.png
|
217
|
+
- theme/default/rurema.png
|
218
|
+
- theme/default/style.css
|
219
|
+
- theme/default/test.css
|
220
|
+
- theme/lillia/rurema.png
|
221
|
+
- theme/lillia/style.css
|
222
|
+
- theme/lillia/test.css
|
206
223
|
homepage: http://doc.ruby-lang.org/ja/
|
207
224
|
licenses: []
|
208
225
|
metadata: {}
|
@@ -212,17 +229,17 @@ require_paths:
|
|
212
229
|
- lib
|
213
230
|
required_ruby_version: !ruby/object:Gem::Requirement
|
214
231
|
requirements:
|
215
|
-
- -
|
232
|
+
- - ">="
|
216
233
|
- !ruby/object:Gem::Version
|
217
234
|
version: '0'
|
218
235
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
219
236
|
requirements:
|
220
|
-
- -
|
237
|
+
- - ">="
|
221
238
|
- !ruby/object:Gem::Version
|
222
239
|
version: '0'
|
223
240
|
requirements: []
|
224
241
|
rubyforge_project: ''
|
225
|
-
rubygems_version: 2.
|
242
|
+
rubygems_version: 2.4.5
|
226
243
|
signing_key:
|
227
244
|
specification_version: 4
|
228
245
|
summary: BitClust is a rurema document processor.
|
@@ -231,6 +248,7 @@ test_files:
|
|
231
248
|
- test/test_bitclust.rb
|
232
249
|
- test/test_entry.rb
|
233
250
|
- test/test_functiondatabase.rb
|
251
|
+
- test/test_functionreferenceparser.rb
|
234
252
|
- test/test_libraryentry.rb
|
235
253
|
- test/test_methoddatabase.rb
|
236
254
|
- test/test_methodsignature.rb
|