omah 0.6.8 → 0.6.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 +0 -0
- data/lib/omah.rb +9 -8
- data.tar.gz.sig +0 -0
- 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: e0b93e268df1ca2a513f0464929acca2e730156e
|
|
4
|
+
data.tar.gz: deeeac3737a61b1deb7233829e718d1589db1e3a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9cc173b6af14ee6645cc65a1a45579edbf3873c3206795cf61ebb21d51438558a4ed1d80c110a6b09b471a6d800d20ce641d9667e997e136e6d37af98950d5a2
|
|
7
|
+
data.tar.gz: 29efd5939895ae905f1a0ddc2b52573ab0cf9d00e4e586e46db6516d8fbe4647d6408722394045cb299ebd3286ce07cd08fff7a656d9dab6a4cbce3d200b8e6c
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/omah.rb
CHANGED
|
@@ -65,10 +65,9 @@ class Omah
|
|
|
65
65
|
|
|
66
66
|
end
|
|
67
67
|
|
|
68
|
-
def store
|
|
68
|
+
def store(messages)
|
|
69
69
|
|
|
70
70
|
messages.each.with_index do |msg,i|
|
|
71
|
-
|
|
72
71
|
|
|
73
72
|
subject = msg[:subject]
|
|
74
73
|
|
|
@@ -139,12 +138,14 @@ class Omah
|
|
|
139
138
|
|
|
140
139
|
msg.delete :attachments
|
|
141
140
|
|
|
142
|
-
|
|
143
|
-
html_filepath: html_filepath
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
141
|
+
h = msg.merge(txt_filepath: txt_filepath, \
|
|
142
|
+
html_filepath: html_filepath)
|
|
143
|
+
parts_path.each.with_index do |path, i|
|
|
144
|
+
h.merge!("attachment#{i+1}" => @webpath_user + '/' + path)
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
@dd.create h
|
|
148
|
+
|
|
148
149
|
end
|
|
149
150
|
|
|
150
151
|
if @xslt then
|
data.tar.gz.sig
CHANGED
|
Binary file
|
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.
|
|
4
|
+
version: 0.6.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
3LosTxP//qasvjSWNDjmKeTI4/c/fvSDtS5mLXCsxnJ/1Jp4zlO0rZWz0/BgcPFj
|
|
32
32
|
GUN8SqUlRq5unw==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2015-09-
|
|
34
|
+
date: 2015-09-19 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
|