zhongwen_tools 0.16.1 → 0.16.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: 4cddd9afca3aed3f2cfaf4aece13e9d23aaf4bbd
4
- data.tar.gz: 98e84c9055305b7dc11d463ba2e1a57a60c6aa79
3
+ metadata.gz: 671b1ec8f32959e98a77ed22cff5466f84af34f5
4
+ data.tar.gz: eab846d3538ccb154a895230c84b5271008fc45e
5
5
  SHA512:
6
- metadata.gz: c88eaef7b73519d5b11e1e94725c22f93486dc8194d65504b2c637ff256646883b160084b5a1a9f3165e83daa283e0c0e83a64d67b7867a15e1284370e32bf2b
7
- data.tar.gz: e2764f4f4fa30afcc4a329e404d139dd9b470c90febb7390868f7d1afe4bc35e053ba2cc1fa154f8f500f811b892ae5d8ead818d3a204f5efabebdbdb7202b3b
6
+ metadata.gz: 3b439c6ec28a74108e367b1284bb0be78772aca3d1b2fd1b883e7116b096ec4b1595667068e31303ca500910a3db4b66e5918d5dce0c7e23223b83ec3be111ab
7
+ data.tar.gz: c7658081fecff250253d23915b1235c3caa6b88a47bdaa3c4a2f0983be819e1cfce0503443898529cd8c6ddc76012f065f1fcf6c08bbbc549268163b51b53216
@@ -39,10 +39,10 @@ module ZhongwenTools
39
39
  # Returns a String for the romanization system or Nil if the string is not
40
40
  # a romanization.
41
41
  def self.romanization?(str)
42
- if ZhongwenTools::Romanization::Pinyin.py?(str)
43
- :py
44
- elsif ZhongwenTools::Romanization::Pinyin.pyn?(str)
42
+ if ZhongwenTools::Romanization::Pinyin.pyn?(str)
45
43
  :pyn
44
+ elsif ZhongwenTools::Romanization::Pinyin.py?(str)
45
+ :py
46
46
  elsif ZhongwenTools::Romanization::ZhuyinFuhao.bpmf?(str)
47
47
  :bpmf
48
48
  elsif ZhongwenTools::Romanization::WadeGiles.wg?(str)
@@ -1,3 +1,3 @@
1
1
  module ZhongwenTools
2
- VERSION = '0.16.1'
2
+ VERSION = '0.16.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zhongwen_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.1
4
+ version: 0.16.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Daniels