omah 0.7.8 → 0.7.9
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 +4 -4
- checksums.yaml.gz.sig +3 -2
- data.tar.gz.sig +0 -0
- data/lib/omah.rb +5 -7
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b16f3cbef783ab260fd381b5496cf3ced3af3ffc
|
|
4
|
+
data.tar.gz: 10806b6ef5970aad2f5ca3aa929995a25ce8b1bc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8b0f9a6be9766a1963ac3cc5b204e2b5820e9db8795bb65187da95ce5ab888ca6aca3f2d0c3b6625dd4c7e69857cba08d974fa9e07448446ec6f459af9a81482
|
|
7
|
+
data.tar.gz: 5c1d0b66629c6f0f548d4685b9a5d9b82ee7f4563d0f4517e0e86ca447486b48a9f8a4640acae03dd08833059de551b4d241d9f952432237aff37657fd2ef6ea
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
����Yp���R��7U��騞I�@�+
|
|
2
|
+
B�4�9:����ч��|61
|
|
3
|
+
Y��p�ƽ_�:��B���x�c���X$(���w�{���%���s���cAed��3}C��Ԟ��{l����v|oP���$�ս�
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/omah.rb
CHANGED
|
@@ -97,7 +97,7 @@ class Omah
|
|
|
97
97
|
|
|
98
98
|
messages.each.with_index do |msg,i|
|
|
99
99
|
|
|
100
|
-
subject = msg[:subject]
|
|
100
|
+
subject = msg[:subject] || ''
|
|
101
101
|
|
|
102
102
|
title = subject.gsub(/\W+/,'-')[0,30].sub(/-$/,'')
|
|
103
103
|
|
|
@@ -182,12 +182,10 @@ class Omah
|
|
|
182
182
|
parts_path.each.with_index do |path, i|
|
|
183
183
|
h.merge!("attachment#{i+1}" => @webpath_user + '/' + path)
|
|
184
184
|
end
|
|
185
|
-
|
|
185
|
+
|
|
186
186
|
h[:link] = File.join(@url_base, @webpath_user, html_filepath)
|
|
187
|
-
|
|
188
|
-
@plugins.each
|
|
189
|
-
x.on_newmessage(h) if x.respond_to? :on_newmessage
|
|
190
|
-
end
|
|
187
|
+
|
|
188
|
+
@plugins.each {|x| x.on_newmessage(h) if x.respond_to? :on_newmessage }
|
|
191
189
|
|
|
192
190
|
@dd.create h
|
|
193
191
|
|
|
@@ -214,7 +212,7 @@ class Omah
|
|
|
214
212
|
classify message.element('to')
|
|
215
213
|
|
|
216
214
|
end
|
|
217
|
-
|
|
215
|
+
|
|
218
216
|
@plugins.each do |x|
|
|
219
217
|
x.on_newmail(messages, doc) if x.respond_to? :on_newmail
|
|
220
218
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omah
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
N1BI64rCS5pjMp5bkuPQ9SW7LhtXi9JEvA5ZQ5Jc6WAXHnLkaZWdZIaKGPWTlKJz
|
|
32
32
|
eKzlH2B0/wHCRg==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2017-05-
|
|
34
|
+
date: 2017-05-15 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: dynarex-daily
|
metadata.gz.sig
CHANGED
|
Binary file
|