cbeta 2.2.1 → 2.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0a987ed6695917c4c1e0f9cbc4828b4f91cf3d71
4
- data.tar.gz: 1baf61c0590a184ba725f739dee075b6cf9fc57f
3
+ metadata.gz: 0677e03066092153cf4724f4b971e20a6930585a
4
+ data.tar.gz: 55cdc9d4d88886063546ecda26388588b150901e
5
5
  SHA512:
6
- metadata.gz: 596eb2b3782ec4c9219596f4fc1cc8f52c13fdd6d1671a0b961ac12e2f14b6efba060ed815ec2901eb0dd3aed0f2d1dd83bc15ac0f98116d74053b61778c25dd
7
- data.tar.gz: 9df1a481e8f140072a1021941e800fac0922644ea011dab5304a4b6fd912acda42270973607c9848f056bddb540ee93133270e8a81a51a703071810ef1d9fed5
6
+ metadata.gz: 7007aa16cae36c94982f456fcea2e90492ae0f57c67231941b412fb2bbb4560230766ad2ba9c5f779573b7c589dc880922b4252cad30adf9023c5462647d593e
7
+ data.tar.gz: 07749cfab8ae09c6821eb59872ba58870e81a4b256e0217e14e87fdad2e8eb02046c6679fcf7a4c18876821f1a5931db68fd16f78163f7492d8963f5dc21d852
@@ -43,7 +43,7 @@ class CBETA::P5aToHTMLForEveryEdition
43
43
  return convert_all if target.nil?
44
44
 
45
45
  arg = target.upcase
46
- if arg.size == 1
46
+ if arg.size.between?(1,2)
47
47
  convert_canon(arg)
48
48
  else
49
49
  puts "因為某些典籍單卷跨冊,轉檔必須以某部藏經為單位,例如參數 T 表示轉換整個大正藏。"
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.2.1
4
+ version: 2.2.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: 2016-06-14 00:00:00.000000000 Z
11
+ date: 2016-07-27 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