cbeta 2.4.1 → 2.4.2

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: 5bd36f7172ccdb4fcdacabbcab1ecae93f06a4cf
4
- data.tar.gz: 0a0fc112539ed157233f63bb5c42a440b6418799
3
+ metadata.gz: 4e196f66aa8c4945f0a64dd38e6b512e5af8c944
4
+ data.tar.gz: 289535824677b3eeda453e719c226f3827b9eea9
5
5
  SHA512:
6
- metadata.gz: 5b4a50b1e4896fbe40e1f5843976d70d35074f039c5fa9fc10b12d2cce0e3cd7bff9ae0424bbad05c7fd1abec82b3027903c187212e101e4545e867e2a20e7e5
7
- data.tar.gz: 51d665bea641af27deae32ed448919e0840b8379b003ce254b9ba95ed77297e537ae9072dbd987092ff974c0a805da494b6fa0c71d0b38df3d8a4c66e64d089a
6
+ metadata.gz: b2d3ea5083076d7bcab68db96bd3f0708df90b2bd04436b617750c7c72ce4304a95c7777d69b48d05acd24d6777f998c3e30abbf1ca8926ab6b1ba9680171348
7
+ data.tar.gz: c0178c7078e3042ee4dcd0b4a85b5e3c753e99df13ea3288a96351d438072f975da502f3b5072f562bafedf1c7bb25b9361e869b6449f959419919836a1d2ba4
data/lib/cbeta.rb CHANGED
@@ -9,7 +9,7 @@ class CBETA
9
9
  CANON = 'DA|GA|GB|ZS|ZW|[A-Z]'
10
10
  SORT_ORDER = %w(T X A K S F C D U P J L G M N ZS I ZW B GA GB)
11
11
  DATA = File.join(File.dirname(__FILE__), 'data')
12
- PUNCS = '.[]。,、;?:「」『』《》<>〈〉〔〕[]【】〖〗'
12
+ PUNCS = '.()[]。,、;?:「」『』《》<>〈〉〔〕[]【】〖〗'
13
13
 
14
14
  # 由 行首資訊 取得 藏經 ID
15
15
  # @param linehead[String] 行首資訊, 例如 "T01n0001_p0001a01" 或 "GA009n0008_p0003a01"
@@ -22,7 +22,6 @@ class CBETA::P5aToText
22
22
 
23
23
  # @param xml_root [String] 來源 CBETA XML P5a 路徑
24
24
  # @param output_root [String] 輸出 Text 路徑
25
- # @param format [String] 輸出格式,例:'app'
26
25
  # @option opts [String] :format 輸出格式,例:'app',預設是 normal
27
26
  # @option opts [String] :encoding 輸出編碼,預設 'UTF-8'
28
27
  # @option opts [String] :gaiji 缺字處理方式,預設 'default'
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.4.1
4
+ version: 2.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ray Chou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-21 00:00:00.000000000 Z
11
+ date: 2017-07-13 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