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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c06aef5934c9e95c726d91bff646fa7716b27b4f
4
- data.tar.gz: 4478e65a67161fed6c6289c27071f3aa19ab2430
3
+ metadata.gz: 170b443c3e9622fde8843f6dd717b3f89607892b
4
+ data.tar.gz: ac4ee13f72782ecebcfdc2f8ca6f045fa77cfada
5
5
  SHA512:
6
- metadata.gz: 7754738c2f6f798cf2048952a3bc51d0caa5852f6f078584d098b36c61b1abf0bf9efa7d3c435487ac0b1049a6e4779c0b992772f0a3aa033b1cdda2548d4e0c
7
- data.tar.gz: 4fd93f3203d0b49bc7f18efbb48227bc724b8e3f0c670ee804eb4caf6e3192b0edb6061ebe444f2a56f8dd2da06f51afa35cc1bff72285bfbce1f5cea3c8c1b6
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.get_canon_abbr(vol[0])
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
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-14 00:00:00.000000000 Z
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
- - Apache-2.0
40
+ - MIT
41
41
  metadata: {}
42
42
  post_install_message:
43
43
  rdoc_options: []