ishapi 0.1.8.308 → 0.1.8.309

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
  SHA256:
3
- metadata.gz: d2c02f71e6adddb15a1722d560e9a8b9f56a5a10daa82471cb60bc9b9399000f
4
- data.tar.gz: a3d36b4b360ddf7285ce4950e9d5adb9a784beff39117c4b37a23914234d490c
3
+ metadata.gz: bb2c27b0e76f833a8c226f0d3b8e2ddde4e79de43410a27d54b17fd7428bb2ea
4
+ data.tar.gz: bdfca7a6011021de3e65cbef27bfd89bd0149d249e0f500c8b8f03234126769b
5
5
  SHA512:
6
- metadata.gz: 24949079b8dae5559f5046e42e693610ae5943f9a81fd4e461ee7fa1310998dff2120d60ceaf26b64356bd2d46a98168c0dc9c03e1958f1d4355f9d5a0fd5898
7
- data.tar.gz: fc860e2a11a220c176cd5c67f0d0ce7766f6198dbac1fd50be0cdb4b7fdec44c315587f134e355273413b507c723e70515520772db9101be01233461bfba15bb
6
+ metadata.gz: 9f5c7c049720e975ab0dd41b8704058065b97e1e0e0cdac3d251f92776d771404f4ff3f6897008f09c0b597348e3af0d715028ef98bc0f829074b6a7284bd082
7
+ data.tar.gz: 05b52de931750893643cd4a14ebcb6894111602e1f1eadbaa255a34cfbb8b003429837e6f91cf6340995cd815c6b83110c90bbd74b2a3bc92447ce9791fe6a9e
@@ -11,7 +11,7 @@ class Ishapi::EmailMessageIntakeJob < Ishapi::ApplicationJob
11
11
 
12
12
  =begin
13
13
 
14
- object_key = 'fom5a97nif6j9urfp46sbchi33sks90e9kkrn181'
14
+ object_key = 'b7t9ns5iqood9edbng1qqh89f2cishcviv1l2ro1'
15
15
  MsgStub.where({ object_key: object_key }).delete
16
16
 
17
17
  stub = MsgStub.create!({ object_key: object_key })
@@ -96,6 +96,7 @@ class Ishapi::EmailMessageIntakeJob < Ishapi::ApplicationJob
96
96
  the_mail.parts.each do |part|
97
97
  @message.churn_subpart( part )
98
98
  end
99
+ @message.save
99
100
 
100
101
  if the_mail.parts.length == 0
101
102
  body = the_mail.body.decoded.encode('UTF-8', invalid: :replace, undef: :replace, replace: '?')
@@ -108,6 +109,7 @@ class Ishapi::EmailMessageIntakeJob < Ishapi::ApplicationJob
108
109
  else
109
110
  @message.logs.push "mail body of unknown type: #{the_mail.content_type}"
110
111
  end
112
+ @message.save
111
113
  end
112
114
 
113
115
  ## Attachments
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ishapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.308
4
+ version: 0.1.8.309
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox