omah 0.6.11 → 0.6.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/omah.rb +9 -2
- metadata +1 -1
- 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: cfc7ca9b6017315da0b6ec9d5bb90b094ac27e78
|
4
|
+
data.tar.gz: ac390c1eb33bf3baf3b51d961404e1378fddd351
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea5ab8e716e744bb9026d7f600ee098f75681514608e79778f9f6b2d261ddcba95483b6c787c0fa5f09977fced42b01a32779bb9c5c76ef0f4122b96afc4d62f
|
7
|
+
data.tar.gz: 3d20806db1e86d9a955eef8a36acfb1c4b6ff63bd50fc38c6123cf583161dfcb19226a2b3bf3751f3db98285eba6d447936e974a40399d2944311df205094821
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/omah.rb
CHANGED
@@ -107,7 +107,6 @@ class Omah
|
|
107
107
|
|
108
108
|
attachment_path = File.join(path, title + ordinal)
|
109
109
|
FileUtils.mkdir_p attachment_path
|
110
|
-
puts 'mkdir : ' + attachment_path.inspect
|
111
110
|
|
112
111
|
if msg[:attachments].length < 4 then
|
113
112
|
|
@@ -139,6 +138,7 @@ class Omah
|
|
139
138
|
end
|
140
139
|
|
141
140
|
end
|
141
|
+
|
142
142
|
|
143
143
|
end
|
144
144
|
|
@@ -151,6 +151,10 @@ class Omah
|
|
151
151
|
end
|
152
152
|
|
153
153
|
@dd.create h
|
154
|
+
|
155
|
+
@plugins.each do |x|
|
156
|
+
x.on_newmessage(h) if x.respond_to? :on_newmessage
|
157
|
+
end
|
154
158
|
|
155
159
|
end
|
156
160
|
|
@@ -176,7 +180,10 @@ class Omah
|
|
176
180
|
|
177
181
|
end
|
178
182
|
|
179
|
-
@plugins.each
|
183
|
+
@plugins.each do |x|
|
184
|
+
x.on_newmail(messages, doc) if x.respond_to? :on_newmail
|
185
|
+
end
|
186
|
+
|
180
187
|
File.write File.join(@filepath_user, 'dynarexdaily.xml'), \
|
181
188
|
doc.xml(pretty: true)
|
182
189
|
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|