iciba 0.0.9 → 0.0.10

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.
@@ -16,8 +16,8 @@ module Iciba
16
16
  puts '------------------------------------------------------------------------------------' if bin
17
17
  download_and_parse(words, dir, extended)
18
18
  puts wrap_text(self.result) if bin
19
- puts if self.result.contains_cjk? && bin
20
- puts wrap_text(self.result.strip.gsub("\r\n", '|newline|').to_pinyin.gsub('|newline|', "\r\n\r\n"), 40) if self.result.contains_cjk? && bin
19
+ puts if self.result.contains_cjk? && bin && pinyin
20
+ puts wrap_text(self.result.strip.gsub("\r\n", '|newline|').to_pinyin.gsub('|newline|', "\r\n\r\n"), 40) if self.result.contains_cjk? && pinyin && bin
21
21
  puts '------------------------------------------------------------------------------------' if bin
22
22
  return self.result
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module Iciba
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iciba
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: