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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce41d16aad5011120f9ab1a28189e6cf49760254
4
- data.tar.gz: f2ae9d836161afe82f11fc93461593b7411a0cc8
3
+ metadata.gz: cfc7ca9b6017315da0b6ec9d5bb90b094ac27e78
4
+ data.tar.gz: ac390c1eb33bf3baf3b51d961404e1378fddd351
5
5
  SHA512:
6
- metadata.gz: 3e5749ccad3c60f3dc5409af4dc7b69d1a51ad5a784fb2080002ac63386aa7524b6c323cad4a752b85967f20c110b81cd068e1033736e7862948923d5e0a61bb
7
- data.tar.gz: 69db31e38d741e41bccbf9fed3370743b0c022a4754c3437ad9c5f2d168959504002b054cc1aed5601175e16a115e996617835448a864e880bc55e61b40aa05a
6
+ metadata.gz: ea5ab8e716e744bb9026d7f600ee098f75681514608e79778f9f6b2d261ddcba95483b6c787c0fa5f09977fced42b01a32779bb9c5c76ef0f4122b96afc4d62f
7
+ data.tar.gz: 3d20806db1e86d9a955eef8a36acfb1c4b6ff63bd50fc38c6123cf583161dfcb19226a2b3bf3751f3db98285eba6d447936e974a40399d2944311df205094821
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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{|x| x.on_newmail(messages, doc) }
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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omah
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.11
4
+ version: 0.6.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file