ish_models 0.0.33.300 → 0.0.33.301

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 +3 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4cbacd235fd37e42e37b5c5f8abd84a51658aa5a5263454a798122af614cdbf1
4
- data.tar.gz: 4bc1d8a4b4e69b50cde0f842e395823c686fee275803f961e7fda433045353bf
3
+ metadata.gz: 4efc52be97806ddfc99cbb6fa6cc0c183e51a0f32384d789906a98793906616d
4
+ data.tar.gz: '084169118e8a9e6c4ef65f07ab3c5cfbc79c77136f6d3974adc1f29b1a0157f0'
5
5
  SHA512:
6
- metadata.gz: 29a7decf23ce8c07ebbd3a2ac67c969a097bd09ff5782bed675cbc577cff390ba7e36bcc7d58d352b4878601f85d468b5bcb8398f2415c1ce9c6271c7ab126b4
7
- data.tar.gz: e129b750d37d0774a0cae9500fbbda062e82ef12d35019434f28268688da689b8037dad2155dd33ff3afc661278d061894372059b17e9bab0c14e8e9a424d496
6
+ metadata.gz: 0bd8bf92613eb20ab1518dc9fabe62dba096000845dc691b39946cff8a4b4578905e0ee5f57121394fede7539326d0c1df56ff783356614dbdde250f0ab07c84
7
+ data.tar.gz: a3aa5e12b8ada259599b578f67dabfab9c0e2e283fa00d03f03e5cefc9e3f2e7fcfae14a912cfabdcba0cd7f786b1442a9b7851fe4400f52ce9015dff2b33934
@@ -152,10 +152,10 @@ class Office::EmailMessage
152
152
  # attachment.save
153
153
 
154
154
  if part.content_type.include?('text/html')
155
- part_html = part.decoded
155
+ self.part_html = part.decoded
156
156
 
157
157
  elsif part.content_type.include?("text/plain")
158
- part_txt = part.decoded
158
+ self.part_txt = part.decoded
159
159
 
160
160
  elsif part.content_type.include?("text/calendar")
161
161
  ;
@@ -167,7 +167,7 @@ class Office::EmailMessage
167
167
  ;
168
168
 
169
169
  else
170
- puts! part.content_type, '444 No action for a part with this content_type'
170
+ self.logs.push "444 No action for a part with content_type #{part.content_type}"
171
171
 
172
172
  end
173
173
  end
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.300
4
+ version: 0.0.33.301
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox