cbeta 2.7.15 → 2.8.0

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cbeta.rb +3 -3
  3. data/lib/data/canons.csv +2 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d878f9c89aa7cee9c580f4ef2555bb2760ad9c85238d7f54f2485013e30aa95e
4
- data.tar.gz: 1a4536f01ad36e83791dedfe4be6212e1afb46dc34f440f0ec083e24f2a3d7ce
3
+ metadata.gz: 8e9426da6f59142f948502553702e53d0ec13708b90854574a7e860c9e700b01
4
+ data.tar.gz: 731ad5b8d7b16bc1eca6ef1825315354aa7bad3a9c31de17770985404b612ac6
5
5
  SHA512:
6
- metadata.gz: 71c00a69c80065232c766244eaf4caef4e3356b6551f11e6b84c69c5839d0842e1c03fe8c2abf3b343c45c021a7dbd85b41ab25a2550b49a075d3a28d19aaed2
7
- data.tar.gz: ef3195428f5106d8d1cdbbf574176ff1a7e62227170239518e951dc9cd1f20bbbd582a2c1379790904727cddfd567cd00feab59e0d8b7f26c34041bf27d1d0ac
6
+ metadata.gz: 5322a5ed6a7376fad6b8f8cd9d83b07de5c1e2e29a9957f8f5cae1add2bee31b7309e29e52b4f19497c73718f10310eb9f0c8081d485053082631860e27c5ea2
7
+ data.tar.gz: e6a311c93d57158f32d7f89e768dffceef91ebeb6f24c76f0bde0b5afee7afb164fa6b1de45913590662d232c115911b048523d849d7713965c3021802c612ce
data/lib/cbeta.rb CHANGED
@@ -6,8 +6,8 @@
6
6
  require 'csv'
7
7
 
8
8
  class CBETA
9
- CANON = 'DA|GA|GB|LC|TX|ZS|ZW|[A-Z]'
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 Y LC TX)
9
+ CANON = 'CC|DA|GA|GB|LC|TX|ZS|ZW|[A-Z]'
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 Y LC TX CC)
11
11
  DATA = File.join(File.dirname(__FILE__), 'data')
12
12
  PUNCS = ',.()[] 。‧.,、;?!:︰/()「」『』《》<>〈〉〔〕[]【】〖〗〃…—─ ~│┬▆*+-='
13
13
 
@@ -229,4 +229,4 @@ require 'cbeta/p5a_to_html_for_pdf'
229
229
  require 'cbeta/p5a_to_simple_html'
230
230
  require 'cbeta/p5a_to_text'
231
231
  require 'cbeta/p5a_validator'
232
- require 'cbeta/html_to_text'
232
+ require 'cbeta/html_to_text'
data/lib/data/canons.csv CHANGED
@@ -2,6 +2,7 @@ id,chinese_name,english_name,nickname,abbreviation,editor,publish_place,publish_
2
2
  A,趙城金藏,Jin Edition of the Canon,趙城藏,【金藏】,,北京: 北京圖書館出版社,2008
3
3
  B,大藏經補編,Supplement to the Dazangjing,大藏經補編,【補編】,藍吉富,台北: 華宇出版社,1985
4
4
  C,中華大藏經-中華書局版,Zhonghua Canon - Zhonghua shuju Edition,中華藏,【中華】,中華大藏經編輯局,北京: 中華書局,1984-1997
5
+ CC,CBETA 選集,CBETA Selected Collection,CBETA 選集,【選集】,,,
5
6
  D,國家圖書館善本佛典,Selections from the Taipei National Central Library Buddhist Rare Book Collection,國圖善本,【國圖】,國家圖書館特藏組,台北,
6
7
  F,房山石經,Fangshan shijing,房山石經,【房山】,中國佛教圖書文物館,北京: 華夏出版社,2000
7
8
  G,佛教大藏經,Fojiao Canon,佛教大藏經,【佛教】,佛教書局,台北: 佛教書局,1978
@@ -25,4 +26,4 @@ X,卍新纂大日本續藏經,Manji Shinsan Dainihon Zokuzōkyō,新纂卍續藏
25
26
  Y,印順法師佛學著作集,Corpus of Venerable Yin Shun's Buddhist Studies,印順全集,【印順】,正聞出版社,台北,2003-2016
26
27
  Z,卍大日本續藏經,Manji Dainihon Zokuzōkyō,,,,京都: 藏經書院,1905-1912
27
28
  ZS,正史佛教資料類編,Passages concerning Buddhism from the Official Histories,正史,【正史】,杜斗城,蘭州: 甘肅文化出版社,2006
28
- ZW,藏外佛教文獻,Buddhist Texts not contained in the Tripiṭaka,藏外,【藏外】,方廣錩,北京: 宗教文化出版社,1995-2003
29
+ ZW,藏外佛教文獻,Buddhist Texts not contained in the Tripiṭaka,藏外,【藏外】,方廣錩,北京: 宗教文化出版社,1995-2003
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.7.15
4
+ version: 2.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ray Chou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-30 00:00:00.000000000 Z
11
+ date: 2023-07-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