ish_models 0.0.33.301 → 0.0.33.302

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/office/email_message.rb +1 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4efc52be97806ddfc99cbb6fa6cc0c183e51a0f32384d789906a98793906616d
4
- data.tar.gz: '084169118e8a9e6c4ef65f07ab3c5cfbc79c77136f6d3974adc1f29b1a0157f0'
3
+ metadata.gz: 2466c302497d9d68bbea639194f985dd4b34d8bbd8ef5aaecebbef7f1e3650ed
4
+ data.tar.gz: '087e0d9cd4469555e510cb4b1da335b77a8f44a1dd59be0fbf9edf2cfcb790be'
5
5
  SHA512:
6
- metadata.gz: 0bd8bf92613eb20ab1518dc9fabe62dba096000845dc691b39946cff8a4b4578905e0ee5f57121394fede7539326d0c1df56ff783356614dbdde250f0ab07c84
7
- data.tar.gz: a3aa5e12b8ada259599b578f67dabfab9c0e2e283fa00d03f03e5cefc9e3f2e7fcfae14a912cfabdcba0cd7f786b1442a9b7851fe4400f52ce9015dff2b33934
6
+ metadata.gz: 65078192596ea0469d46fa671c0e373c6c7628f01a6ed9da023a0c82dfce4c417f387bcdc1768b148093dbb231b806acf4220db497263db7b64cd1f6b18ebc6b
7
+ data.tar.gz: bc05a572fb9b7da56d41a1103b67b51af8bcf9cff27b0c82d0324081efc65c1c85fc7b0478635d3314d1097dbdc9bb0c0cd0ca117622a8d19cba8a40ec4cee2e
@@ -100,6 +100,7 @@ class Office::EmailMessage
100
100
 
101
101
  ## From: https://stackoverflow.com/questions/24672834/how-do-i-remove-emoji-from-string/24673322
102
102
  def self.strip_emoji(text)
103
+ text = '' if text.blank?
103
104
  text = text.force_encoding('utf-8').encode
104
105
  clean = ""
105
106
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.33.301
4
+ version: 0.0.33.302
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox