juli 2.2.1 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +18 -7
- data/Rakefile +1 -1
- data/juli.gemspec +2 -1
- data/lib/juli/command/tag.rb +2 -2
- data/lib/juli/line_parser.tab.rb +11 -11
- data/lib/juli/parser.tab.rb +26 -26
- data/lib/juli/template/simple.html +7 -9
- data/lib/juli/template/sitemap.html +19 -20
- data/lib/juli/template/sitemap_order_by_mtime_DESC.html +19 -20
- data/lib/juli/util.rb +2 -2
- data/lib/juli/version.rb +1 -1
- metadata +24 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d53b60bb5ef9774cf842e9be7fd48afdb13d9d27f58229db598725f1ffc4c7f
|
4
|
+
data.tar.gz: a1372eec2a37a1806083afb8e1c28b8244c20a38e153951f7092025b0050af92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 866ddcda9824a9a9067a48d222e98deadd319ad8cd18d24ef28296a29b7e0182c1a72e18eaa549694657b298f42abde45de2f81bb6dc323557ebf66d0eaa643a
|
7
|
+
data.tar.gz: f5e4486d6d9c3751e14e6412d2ab8ed6735176c227b8d201720739a68d1fb65096b08711d5e74698687486762a98a25d654b7c18e251b04286e0fc6f6a5c94a3
|
data/README.rdoc
CHANGED
@@ -16,6 +16,13 @@ Or install it yourself as:
|
|
16
16
|
|
17
17
|
$ gem install juli
|
18
18
|
|
19
|
+
NOTE:
|
20
|
+
|
21
|
+
* MX-Linux21 requires the followings before installing:
|
22
|
+
|
23
|
+
$ sudo apt install imagemagick-dev
|
24
|
+
|
25
|
+
|
19
26
|
=== Usage
|
20
27
|
|
21
28
|
$ cd [YOUR-WIKI-ROOT]
|
@@ -41,15 +48,19 @@ Or install it yourself as:
|
|
41
48
|
|
42
49
|
=== Development
|
43
50
|
|
44
|
-
After checking out the repo,
|
45
|
-
|
46
|
-
|
51
|
+
After checking out the repo,
|
52
|
+
|
53
|
+
1. run `bundle install` to install dependencies.
|
54
|
+
2. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
|
47
55
|
|
48
56
|
To install this gem onto your local machine, run `bundle exec rake install`.
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
57
|
+
|
58
|
+
To release a new version of gem,
|
59
|
+
|
60
|
+
1. update the version number in `lib/juli/version.rb`
|
61
|
+
1. run `bundle exec rake release` to create a git tag for the version
|
62
|
+
1. push git commits and tags, and
|
63
|
+
1. push the `.gem` file to [rubygems.org](https://rubygems.org).
|
53
64
|
|
54
65
|
=== Contributing
|
55
66
|
|
data/Rakefile
CHANGED
@@ -15,7 +15,7 @@ juli_line_parser_rb = 'lib/juli/line_parser.tab.rb'
|
|
15
15
|
parsers = [juli_parser_rb, juli_line_parser_rb]
|
16
16
|
test_conf_outout_top = 'test/html'
|
17
17
|
|
18
|
-
task
|
18
|
+
task build: parsers
|
19
19
|
|
20
20
|
file juli_parser_rb => 'lib/juli/parser.y' do |t|
|
21
21
|
sh "racc -v -g #{t.prerequisites[0]}"
|
data/juli.gemspec
CHANGED
@@ -25,12 +25,13 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.add_runtime_dependency 'aws-sdk-s3'
|
26
26
|
spec.add_runtime_dependency 'i18n'
|
27
27
|
spec.add_runtime_dependency 'rmagick'
|
28
|
+
spec.add_runtime_dependency 'sdbm'
|
28
29
|
|
29
30
|
spec.add_development_dependency 'byebug'
|
30
31
|
spec.add_development_dependency 'racc'
|
31
32
|
spec.add_development_dependency 'simplecov'
|
32
33
|
spec.add_development_dependency "bundler", "~> 2.0"
|
33
|
-
spec.add_development_dependency "rake", "
|
34
|
+
spec.add_development_dependency "rake", ">= 12.3.3"
|
34
35
|
spec.add_development_dependency 'rdoc'
|
35
36
|
spec.add_development_dependency 'test-unit'
|
36
37
|
end
|
data/lib/juli/command/tag.rb
CHANGED
@@ -20,7 +20,7 @@ module Juli::Command
|
|
20
20
|
body += gen_tag_list(
|
21
21
|
Juli::Macro::Tag::NO_TAG,
|
22
22
|
I18n.t(Juli::Macro::Tag::NO_TAG))
|
23
|
-
body += "\n\n" + '<br/>'*
|
23
|
+
body += "\n\n" + '<br/>'*100
|
24
24
|
|
25
25
|
# tag detail
|
26
26
|
for tag in @tag_macro.tag_db.keys do
|
@@ -51,7 +51,7 @@ module Juli::Command
|
|
51
51
|
def gen_tag_detail(tag, tag_label=tag)
|
52
52
|
content_tag(:a, '', :name=>tag).force_encoding('UTF-8') +
|
53
53
|
content_tag(:h2, tag_label).force_encoding('UTF-8') +
|
54
|
-
'<table>' +
|
54
|
+
'<table class="sitemap table table-hover">' +
|
55
55
|
begin
|
56
56
|
s = ''
|
57
57
|
for page in @tag_macro.pages(@tag_macro.to_utf8(tag)) do
|
data/lib/juli/line_parser.tab.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# DO NOT MODIFY!!!!
|
3
|
-
# This file is automatically generated by Racc 1.
|
4
|
-
# from Racc
|
3
|
+
# This file is automatically generated by Racc 1.6.0
|
4
|
+
# from Racc grammar file "".
|
5
5
|
#
|
6
6
|
|
7
7
|
require 'racc/parser.rb'
|
@@ -294,49 +294,49 @@ Racc_debug_parser = false
|
|
294
294
|
|
295
295
|
module_eval(<<'.,.,', 'line_parser.y', 6)
|
296
296
|
def _reduce_1(val, _values)
|
297
|
-
@root = val[0]
|
297
|
+
@root = val[0]
|
298
298
|
end
|
299
299
|
.,.,
|
300
300
|
|
301
301
|
module_eval(<<'.,.,', 'line_parser.y', 9)
|
302
302
|
def _reduce_2(val, _values)
|
303
|
-
LineAbsyn::ArrayNode.new
|
303
|
+
LineAbsyn::ArrayNode.new
|
304
304
|
end
|
305
305
|
.,.,
|
306
306
|
|
307
307
|
module_eval(<<'.,.,', 'line_parser.y', 10)
|
308
308
|
def _reduce_3(val, _values)
|
309
|
-
val[0].add(val[1])
|
309
|
+
val[0].add(val[1])
|
310
310
|
end
|
311
311
|
.,.,
|
312
312
|
|
313
313
|
module_eval(<<'.,.,', 'line_parser.y', 13)
|
314
314
|
def _reduce_4(val, _values)
|
315
|
-
LineAbsyn::StringNode.new(val[0])
|
315
|
+
LineAbsyn::StringNode.new(val[0])
|
316
316
|
end
|
317
317
|
.,.,
|
318
318
|
|
319
319
|
module_eval(<<'.,.,', 'line_parser.y', 14)
|
320
320
|
def _reduce_5(val, _values)
|
321
|
-
LineAbsyn::WikiName.new(val[0])
|
321
|
+
LineAbsyn::WikiName.new(val[0])
|
322
322
|
end
|
323
323
|
.,.,
|
324
324
|
|
325
325
|
module_eval(<<'.,.,', 'line_parser.y', 15)
|
326
326
|
def _reduce_6(val, _values)
|
327
|
-
LineAbsyn::StringNode.new(val[0])
|
327
|
+
LineAbsyn::StringNode.new(val[0])
|
328
328
|
end
|
329
329
|
.,.,
|
330
330
|
|
331
331
|
module_eval(<<'.,.,', 'line_parser.y', 16)
|
332
332
|
def _reduce_7(val, _values)
|
333
|
-
LineAbsyn::Url.new(val[0])
|
333
|
+
LineAbsyn::Url.new(val[0])
|
334
334
|
end
|
335
335
|
.,.,
|
336
336
|
|
337
337
|
module_eval(<<'.,.,', 'line_parser.y', 17)
|
338
338
|
def _reduce_8(val, _values)
|
339
|
-
LineAbsyn::Macro.new(val[0][0], val[0][1])
|
339
|
+
LineAbsyn::Macro.new(val[0][0], val[0][1])
|
340
340
|
end
|
341
341
|
.,.,
|
342
342
|
|
@@ -345,6 +345,6 @@ def _reduce_none(val, _values)
|
|
345
345
|
end
|
346
346
|
|
347
347
|
end # class LineParser
|
348
|
-
|
348
|
+
end # module Juli
|
349
349
|
|
350
350
|
|
data/lib/juli/parser.tab.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# DO NOT MODIFY!!!!
|
3
|
-
# This file is automatically generated by Racc 1.
|
4
|
-
# from Racc
|
3
|
+
# This file is automatically generated by Racc 1.6.0
|
4
|
+
# from Racc grammar file "".
|
5
5
|
#
|
6
6
|
|
7
7
|
require 'racc/parser.rb'
|
@@ -457,49 +457,49 @@ Racc_debug_parser = true
|
|
457
457
|
|
458
458
|
module_eval(<<'.,.,', 'parser.y', 7)
|
459
459
|
def _reduce_1(val, _values)
|
460
|
-
@root = val[0]
|
460
|
+
@root = val[0]
|
461
461
|
end
|
462
462
|
.,.,
|
463
463
|
|
464
464
|
module_eval(<<'.,.,', 'parser.y', 10)
|
465
465
|
def _reduce_2(val, _values)
|
466
|
-
Absyn::ArrayNode.new
|
466
|
+
Absyn::ArrayNode.new
|
467
467
|
end
|
468
468
|
.,.,
|
469
469
|
|
470
470
|
module_eval(<<'.,.,', 'parser.y', 11)
|
471
471
|
def _reduce_3(val, _values)
|
472
|
-
val[0].add(val[1]) if val[1]; val[0]
|
472
|
+
val[0].add(val[1]) if val[1]; val[0]
|
473
473
|
end
|
474
474
|
.,.,
|
475
475
|
|
476
476
|
module_eval(<<'.,.,', 'parser.y', 14)
|
477
477
|
def _reduce_4(val, _values)
|
478
|
-
Absyn::StrNode.new(val[0])
|
478
|
+
Absyn::StrNode.new(val[0])
|
479
479
|
end
|
480
480
|
.,.,
|
481
481
|
|
482
482
|
module_eval(<<'.,.,', 'parser.y', 15)
|
483
483
|
def _reduce_5(val, _values)
|
484
|
-
Absyn::Verbatim.new(val[1])
|
484
|
+
Absyn::Verbatim.new(val[1])
|
485
485
|
end
|
486
486
|
.,.,
|
487
487
|
|
488
488
|
module_eval(<<'.,.,', 'parser.y', 16)
|
489
489
|
def _reduce_6(val, _values)
|
490
|
-
val[1]
|
490
|
+
val[1]
|
491
491
|
end
|
492
492
|
.,.,
|
493
493
|
|
494
494
|
module_eval(<<'.,.,', 'parser.y', 17)
|
495
495
|
def _reduce_7(val, _values)
|
496
|
-
val[1]
|
496
|
+
val[1]
|
497
497
|
end
|
498
498
|
.,.,
|
499
499
|
|
500
500
|
module_eval(<<'.,.,', 'parser.y', 18)
|
501
501
|
def _reduce_8(val, _values)
|
502
|
-
val[1]
|
502
|
+
val[1]
|
503
503
|
end
|
504
504
|
.,.,
|
505
505
|
|
@@ -509,7 +509,7 @@ module_eval(<<'.,.,', 'parser.y', 18)
|
|
509
509
|
|
510
510
|
module_eval(<<'.,.,', 'parser.y', 21)
|
511
511
|
def _reduce_11(val, _values)
|
512
|
-
nil
|
512
|
+
nil
|
513
513
|
end
|
514
514
|
.,.,
|
515
515
|
|
@@ -517,61 +517,61 @@ module_eval(<<'.,.,', 'parser.y', 21)
|
|
517
517
|
|
518
518
|
module_eval(<<'.,.,', 'parser.y', 25)
|
519
519
|
def _reduce_13(val, _values)
|
520
|
-
val[0] + val[1]
|
520
|
+
val[0] + val[1]
|
521
521
|
end
|
522
522
|
.,.,
|
523
523
|
|
524
524
|
module_eval(<<'.,.,', 'parser.y', 37)
|
525
525
|
def _reduce_14(val, _values)
|
526
|
-
h = Absyn::ArrayNode.new; h.add(val[0])
|
526
|
+
h = Absyn::ArrayNode.new; h.add(val[0])
|
527
527
|
end
|
528
528
|
.,.,
|
529
529
|
|
530
530
|
module_eval(<<'.,.,', 'parser.y', 38)
|
531
531
|
def _reduce_15(val, _values)
|
532
|
-
val[0].add(val[1])
|
532
|
+
val[0].add(val[1])
|
533
533
|
end
|
534
534
|
.,.,
|
535
535
|
|
536
536
|
module_eval(<<'.,.,', 'parser.y', 40)
|
537
537
|
def _reduce_16(val, _values)
|
538
|
-
Absyn::Chapter.new(val[0], val[1], val[2])
|
538
|
+
Absyn::Chapter.new(val[0], val[1], val[2])
|
539
539
|
end
|
540
540
|
.,.,
|
541
541
|
|
542
542
|
module_eval(<<'.,.,', 'parser.y', 44)
|
543
543
|
def _reduce_17(val, _values)
|
544
|
-
l = Absyn::UnorderedList.new; l.add(val[0])
|
544
|
+
l = Absyn::UnorderedList.new; l.add(val[0])
|
545
545
|
end
|
546
546
|
.,.,
|
547
547
|
|
548
548
|
module_eval(<<'.,.,', 'parser.y', 45)
|
549
549
|
def _reduce_18(val, _values)
|
550
|
-
val[0].add(val[1])
|
550
|
+
val[0].add(val[1])
|
551
551
|
end
|
552
552
|
.,.,
|
553
553
|
|
554
554
|
module_eval(<<'.,.,', 'parser.y', 47)
|
555
555
|
def _reduce_19(val, _values)
|
556
|
-
val[1]
|
556
|
+
val[1]
|
557
557
|
end
|
558
558
|
.,.,
|
559
559
|
|
560
560
|
module_eval(<<'.,.,', 'parser.y', 51)
|
561
561
|
def _reduce_20(val, _values)
|
562
|
-
l = Absyn::OrderedList.new; l.add(val[0])
|
562
|
+
l = Absyn::OrderedList.new; l.add(val[0])
|
563
563
|
end
|
564
564
|
.,.,
|
565
565
|
|
566
566
|
module_eval(<<'.,.,', 'parser.y', 52)
|
567
567
|
def _reduce_21(val, _values)
|
568
|
-
val[0].add(val[1])
|
568
|
+
val[0].add(val[1])
|
569
569
|
end
|
570
570
|
.,.,
|
571
571
|
|
572
572
|
module_eval(<<'.,.,', 'parser.y', 54)
|
573
573
|
def _reduce_22(val, _values)
|
574
|
-
val[1]
|
574
|
+
val[1]
|
575
575
|
end
|
576
576
|
.,.,
|
577
577
|
|
@@ -583,7 +583,7 @@ module_eval(<<'.,.,', 'parser.y', 58)
|
|
583
583
|
|
584
584
|
module_eval(<<'.,.,', 'parser.y', 59)
|
585
585
|
def _reduce_24(val, _values)
|
586
|
-
val[0].add(val[1])
|
586
|
+
val[0].add(val[1])
|
587
587
|
end
|
588
588
|
.,.,
|
589
589
|
|
@@ -595,19 +595,19 @@ module_eval(<<'.,.,', 'parser.y', 61)
|
|
595
595
|
|
596
596
|
module_eval(<<'.,.,', 'parser.y', 65)
|
597
597
|
def _reduce_26(val, _values)
|
598
|
-
l = Absyn::DictionaryList.new; l.add(val[0])
|
598
|
+
l = Absyn::DictionaryList.new; l.add(val[0])
|
599
599
|
end
|
600
600
|
.,.,
|
601
601
|
|
602
602
|
module_eval(<<'.,.,', 'parser.y', 66)
|
603
603
|
def _reduce_27(val, _values)
|
604
|
-
val[0].add(val[1])
|
604
|
+
val[0].add(val[1])
|
605
605
|
end
|
606
606
|
.,.,
|
607
607
|
|
608
608
|
module_eval(<<'.,.,', 'parser.y', 68)
|
609
609
|
def _reduce_28(val, _values)
|
610
|
-
Absyn::DictionaryListItem.new(val[0], val[2])
|
610
|
+
Absyn::DictionaryListItem.new(val[0], val[2])
|
611
611
|
end
|
612
612
|
.,.,
|
613
613
|
|
@@ -616,6 +616,6 @@ def _reduce_none(val, _values)
|
|
616
616
|
end
|
617
617
|
|
618
618
|
end # class Parser
|
619
|
-
|
619
|
+
end # module Juli
|
620
620
|
|
621
621
|
|
@@ -29,17 +29,15 @@ contents:: draw contents of page
|
|
29
29
|
<title><%= title %></title>
|
30
30
|
<script src="<%= prototype %>" type="text/javascript"></script>
|
31
31
|
<script src="<%= javascript %>" type="text/javascript"></script>
|
32
|
+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
|
32
33
|
<link href="<%= stylesheet %>" rel="stylesheet" type="text/css" />
|
33
34
|
</head>
|
34
35
|
<body>
|
35
|
-
<
|
36
|
-
|
37
|
-
|
38
|
-
<br/><br/>
|
39
|
-
|
40
|
-
|
41
|
-
<br/><br/>
|
42
|
-
|
43
|
-
<%= body %>
|
36
|
+
<div class=container>
|
37
|
+
<h1><%= title %></h1>
|
38
|
+
<%= contents %>
|
39
|
+
<br/><br/>
|
40
|
+
<%= body %>
|
41
|
+
</div>
|
44
42
|
</body>
|
45
43
|
</html>
|
@@ -34,6 +34,7 @@ sitemap_order_by_mtime_DESC.html:: sitemap template (mtime decendant order)
|
|
34
34
|
<title><%= title %></title>
|
35
35
|
<script src="<%= prototype %>" type="text/javascript"></script>
|
36
36
|
<script src="<%= javascript %>" type="text/javascript"></script>
|
37
|
+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
|
37
38
|
<link href="<%= stylesheet %>" rel="stylesheet" type="text/css" />
|
38
39
|
<style>
|
39
40
|
table.sitemap {
|
@@ -42,9 +43,9 @@ sitemap_order_by_mtime_DESC.html:: sitemap template (mtime decendant order)
|
|
42
43
|
border: 1px solid #000;
|
43
44
|
}
|
44
45
|
table.sitemap tr th, table.sitemap tr td {
|
45
|
-
margin:
|
46
|
-
border:
|
47
|
-
padding:
|
46
|
+
margin: 1px;
|
47
|
+
border: 1px ridge #888;
|
48
|
+
padding: 2px 5px 2px 5px;
|
48
49
|
}
|
49
50
|
table.sitemap tr th {
|
50
51
|
background-color: #cfc;
|
@@ -55,22 +56,20 @@ sitemap_order_by_mtime_DESC.html:: sitemap template (mtime decendant order)
|
|
55
56
|
</style>
|
56
57
|
</head>
|
57
58
|
<body>
|
58
|
-
<
|
59
|
-
|
60
|
-
|
61
|
-
<
|
62
|
-
|
63
|
-
<
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
<
|
72
|
-
|
73
|
-
><img height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/github.svg"
|
74
|
-
/></a> Generated by <a href='https://github.com/fuminori-ido/juli'>juli <%= Juli::VERSION %></a>
|
59
|
+
<div class=container>
|
60
|
+
<h1><%= title %></h1>
|
61
|
+
<table class='sitemap table table-hover'>
|
62
|
+
<tr>
|
63
|
+
<th class=num><%= I18n.t('num') %></th>
|
64
|
+
<th class=name><%= I18n.t('name') %> ▲</th>
|
65
|
+
<th class=link><a href='sitemap_order_by_mtime_DESC.shtml'><%= I18n.t('last_modified_at') %></a></th>
|
66
|
+
</tr>
|
67
|
+
<%= body %>
|
68
|
+
</table>
|
69
|
+
<hr/>
|
70
|
+
<a href="https://github.com/fuminori-ido/juli"
|
71
|
+
><img height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/github.svg"
|
72
|
+
/></a> Generated by <a href='https://github.com/fuminori-ido/juli'>juli <%= Juli::VERSION %></a>
|
73
|
+
</div>
|
75
74
|
</body>
|
76
75
|
</html>
|
@@ -34,6 +34,7 @@ sitemap.html:: sitemap template (alphabetical order)
|
|
34
34
|
<title><%= title %></title>
|
35
35
|
<script src="<%= prototype %>" type="text/javascript"></script>
|
36
36
|
<script src="<%= javascript %>" type="text/javascript"></script>
|
37
|
+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
|
37
38
|
<link href="<%= stylesheet %>" rel="stylesheet" type="text/css" />
|
38
39
|
<style>
|
39
40
|
table.sitemap {
|
@@ -42,9 +43,9 @@ sitemap.html:: sitemap template (alphabetical order)
|
|
42
43
|
border: 1px solid #000;
|
43
44
|
}
|
44
45
|
table.sitemap tr th, table.sitemap tr td {
|
45
|
-
margin:
|
46
|
-
border:
|
47
|
-
padding:
|
46
|
+
margin: 1px;
|
47
|
+
border: 1px ridge #888;
|
48
|
+
padding: 2px 5px 2px 5px;
|
48
49
|
}
|
49
50
|
table.sitemap tr th {
|
50
51
|
background-color: #cfc;
|
@@ -55,22 +56,20 @@ sitemap.html:: sitemap template (alphabetical order)
|
|
55
56
|
</style>
|
56
57
|
</head>
|
57
58
|
<body>
|
58
|
-
<
|
59
|
-
|
60
|
-
|
61
|
-
<
|
62
|
-
|
63
|
-
<
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
<
|
72
|
-
|
73
|
-
><img height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/github.svg"
|
74
|
-
/></a> Generated by <a href='https://github.com/fuminori-ido/juli'>juli <%= Juli::VERSION %></a>
|
59
|
+
<div class=container>
|
60
|
+
<h1><%= title %></h1>
|
61
|
+
<table class=sitemap>
|
62
|
+
<tr>
|
63
|
+
<th><%= I18n.t('num') %></th>
|
64
|
+
<th><a href='sitemap.shtml'><%= I18n.t('name') %></a></th>
|
65
|
+
<th><%= I18n.t('last_modified_at') %> ▼</a></th>
|
66
|
+
</tr>
|
67
|
+
<%= body %>
|
68
|
+
</table>
|
69
|
+
<hr/>
|
70
|
+
<a href="https://github.com/fuminori-ido/juli"
|
71
|
+
><img height="32" width="32" src="https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/github.svg"
|
72
|
+
/></a> Generated by <a href='https://github.com/fuminori-ido/juli'>juli <%= Juli::VERSION %></a>
|
73
|
+
</div>
|
75
74
|
</body>
|
76
75
|
</html>
|
data/lib/juli/util.rb
CHANGED
@@ -146,8 +146,8 @@ EOM
|
|
146
146
|
YAML::load(ERB.new(File.read(path)).result) :
|
147
147
|
{}
|
148
148
|
|
149
|
-
# YAML::load('') returns false so that set empty hash
|
150
|
-
hash = {} if hash
|
149
|
+
hash = {} if hash == false # YAML::load('') returns false so that set empty hash
|
150
|
+
hash = {} if hash.nil?
|
151
151
|
@conf = DEFAULT.dup.merge(hash)
|
152
152
|
end
|
153
153
|
end
|
data/lib/juli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: juli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ido
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-s3
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: sdbm
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: byebug
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,16 +126,16 @@ dependencies:
|
|
112
126
|
name: rake
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
|
-
- - "
|
129
|
+
- - ">="
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
131
|
+
version: 12.3.3
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
|
-
- - "
|
136
|
+
- - ">="
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
138
|
+
version: 12.3.3
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: rdoc
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -260,7 +274,7 @@ homepage: https://github.com/fuminori-ido/juli
|
|
260
274
|
licenses:
|
261
275
|
- MIT
|
262
276
|
metadata: {}
|
263
|
-
post_install_message:
|
277
|
+
post_install_message:
|
264
278
|
rdoc_options: []
|
265
279
|
require_paths:
|
266
280
|
- lib
|
@@ -275,9 +289,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
275
289
|
- !ruby/object:Gem::Version
|
276
290
|
version: '0'
|
277
291
|
requirements: []
|
278
|
-
|
279
|
-
|
280
|
-
signing_key:
|
292
|
+
rubygems_version: 3.3.3
|
293
|
+
signing_key:
|
281
294
|
specification_version: 4
|
282
295
|
summary: Offline wiki, and outline processor
|
283
296
|
test_files: []
|