omah 0.6.9 → 0.6.10
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 +7 -2
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +1 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9c5849b650edd375314db3a8926e89ca1a75f5c6
|
|
4
|
+
data.tar.gz: 2b686620264a26b8f65628d44f2e27748e1ed182
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f46843d615d7a4089cb3813f9b93b4e778eb84d2aa706e83cf4083f45d5776bf9ec1d7b3a1c768add0f49ba758a1f5a9f4a3202de3e642d4931c6e8b517e3b7c
|
|
7
|
+
data.tar.gz: 576eb28e984b5cfca584038877441d91ed6fc50fc64308a5b2c45ca2bf9378fcdfcb23a890bdaceb3b9a1f6df84f038cff34823c1b16e01be7273002b0065236
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/omah.rb
CHANGED
|
@@ -106,14 +106,19 @@ class Omah
|
|
|
106
106
|
|
|
107
107
|
attachment_path = File.join(path, title + ordinal)
|
|
108
108
|
FileUtils.mkdir_p attachment_path
|
|
109
|
+
puts 'mkdir : ' + attachment_path.inspect
|
|
109
110
|
|
|
110
111
|
if msg[:attachments].length < 4 then
|
|
111
112
|
|
|
112
113
|
msg[:attachments].each.with_index do |x, i|
|
|
113
114
|
|
|
114
115
|
name, buffer = x
|
|
115
|
-
parts_path[i] = File.join(attachment_path, name)
|
|
116
|
-
|
|
116
|
+
parts_path[i] = File.join(attachment_path, name.gsub('/',''))
|
|
117
|
+
begin
|
|
118
|
+
File.write File.join(@filepath_user, parts_path[i]), buffer
|
|
119
|
+
rescue
|
|
120
|
+
puts ($!)
|
|
121
|
+
end
|
|
117
122
|
|
|
118
123
|
end
|
|
119
124
|
|
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.10
|
|
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-
|
|
34
|
+
date: 2015-11-15 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: dynarex-daily
|
metadata.gz.sig
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
�!���2��1�˸�
|
|
1
|
+
\����v=`��v�Zу�x�"�4G��P������v �y�5�` �)�}#U��b�q���HTF�A�d����i$8M!�k<��C��cË��l��f뱕sO��.�NJs��-������<z9݊�TG�5�&6�wEUj�G��/���p?�1r���I�{�8�M�u�f��BX�T%����XB$/]�Gl��.�Xk��@ ݯ���j���,ɨ1[�e��N�pQ�#�W9�|�#w�������`Z9QsW
|