cbeta 2.1.4 → 2.1.5
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/lib/cbeta/p5a_to_simple_html.rb +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 170b443c3e9622fde8843f6dd717b3f89607892b
|
|
4
|
+
data.tar.gz: ac4ee13f72782ecebcfdc2f8ca6f045fa77cfada
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b200b4163c514a638fceed4f90a4026ab15c00a78c0f670eea6c05571270267290148ddaa2bdbf33397d3954ee54e0a5d10d304d1a6adb7672d1cb85ba18948
|
|
7
|
+
data.tar.gz: 87c560dd0128a156c43c8fa3f34a5065e295383e2cfae38a7f99c90ff90761d960b09024d652e8b01bb4b611a6017011ad7d1094c4aa1d6aa122587d682b5789
|
|
@@ -306,7 +306,7 @@ class CBETA::P5aToSimpleHTML
|
|
|
306
306
|
def handle_vol(vol)
|
|
307
307
|
puts "convert volumn: #{vol}"
|
|
308
308
|
|
|
309
|
-
@orig = @cbeta.
|
|
309
|
+
@orig = @cbeta.get_canon_symbol(vol[0])
|
|
310
310
|
abort "未處理底本" if @orig.nil?
|
|
311
311
|
@orig_short = @orig.sub(/^【(.*)】$/, '\1')
|
|
312
312
|
|
|
@@ -384,6 +384,7 @@ class CBETA::P5aToSimpleHTML
|
|
|
384
384
|
end
|
|
385
385
|
fn = "#{fn}.html"
|
|
386
386
|
output_path = File.join(folder, fn)
|
|
387
|
+
puts "write #{output_path}"
|
|
387
388
|
File.write(output_path, text)
|
|
388
389
|
end
|
|
389
390
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cbeta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ray Chou
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-01-
|
|
11
|
+
date: 2016-01-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Ruby gem for use Chinese Buddhist Text resources made by CBETA (http://www.cbeta.org).
|
|
14
14
|
email: zhoubx@gmail.com
|
|
@@ -37,7 +37,7 @@ files:
|
|
|
37
37
|
- lib/data/unicode-1.1.json
|
|
38
38
|
homepage: https://github.com/RayCHOU/ruby-cbeta
|
|
39
39
|
licenses:
|
|
40
|
-
-
|
|
40
|
+
- MIT
|
|
41
41
|
metadata: {}
|
|
42
42
|
post_install_message:
|
|
43
43
|
rdoc_options: []
|