aozora2html 0.6.0 → 0.6.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +8 -1
- data/bin/aozora2html +1 -1
- data/lib/aozora2html/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bfb62ea54699175cfd3c28221df421d4eb74f5cd
|
|
4
|
+
data.tar.gz: 2832eaea05cba1157cc74ac0dc195317230d58da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e52e8b81a6acc325dc0a518e37a29631de53f4984482192ba274fe81432322068bb323191ebd2b28349f810bc1496eb067d2dafe93a3d90ed47ec04ec08f3870
|
|
7
|
+
data.tar.gz: 5c5efd22f9a8e10d0aeedc7564f668679fd17acf2552b1557c8278babd25677c92116142d0063ab8fea8b7bd3c8c0bfa7197e8e920a70cebbbe3d434097a9d15
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -51,9 +51,16 @@ $ aozora2html http://example.jp/foo/bar.zip foo.html
|
|
|
51
51
|
$ aozora2html foo.txt
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
コマンドラインオプションとして`--gaiji-dir`と`--use-jisx0213`があります。
|
|
54
|
+
コマンドラインオプションとして`--gaiji-dir`と`--use-jisx0213`、`--use-unicode`があります。
|
|
55
55
|
`--gaiji-dir`は外字画像のパスを指定します。
|
|
56
56
|
`--use-jisx0213`はJIS X 0213の外字画像を使わず、数値実体参照として表示します。
|
|
57
|
+
`--use-unicode`はUnicodeのコードポイントが指定されている外字を数値実体参照として表示します。
|
|
58
|
+
|
|
59
|
+
可能な限り数値実体参照を使って表示するには、以下のようにオプションを指定します。
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
$ aozora2html --use-jisx0213 --use-unicode foo.txt
|
|
63
|
+
```
|
|
57
64
|
|
|
58
65
|
## テスト
|
|
59
66
|
|
data/bin/aozora2html
CHANGED
data/lib/aozora2html/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aozora2html
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- aozorahack team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-11-
|
|
11
|
+
date: 2015-11-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubyzip
|