markdown_gmail_sender 0.1.3 → 0.1.4
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/markdown_gmail_sender.rb +4 -1
- 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: 82dc323182e5b8cf7df9d9ffa2effc7d28ecbc30
|
4
|
+
data.tar.gz: ed2c25fe6f4f8ebd4006a4a2d8c08bdd42f5f3c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 778dad467fa98f2b09e980c6795298d6b6752179becc50570d37ca98ff2e60f9a62638840547beadf0e3c9da487137a1aa987f71918fc1a2957ccf0516b5e9d6
|
7
|
+
data.tar.gz: 5d9759c543f6275d8d2503d32ff8c9473c0c777b0382b5e3ea05fbe9164c2dbd54b8751bc4ba085d952a7ff7c4227df62a9217aef1e01aa41750ce1b872dee78
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
@@ -53,7 +53,10 @@ class MarkdownGmailSender
|
|
53
53
|
|
54
54
|
@messages.each.with_index do |x, i|
|
55
55
|
|
56
|
-
|
56
|
+
from = x[:from][/(?:.*<)?(\w+(?:\.\w+)?@\S+)>/,1]
|
57
|
+
username, password = from, @accounts[from]
|
58
|
+
|
59
|
+
gmail = Gmail.new(username, password)
|
57
60
|
|
58
61
|
if not gmail.signed_in? then
|
59
62
|
raise "markdown_gmail_sender: Gmail user #{username} not signed in"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: markdown_gmail_sender
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
OLGmpGkaE9Sobz20K+IVp5+s3z06CrVYK7TN2gXYiGZRGAxmnd3sd0F8Aewu4uWI
|
32
32
|
HiWyElQDGz9Bjw==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2016-
|
34
|
+
date: 2016-07-14 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: gmail
|
metadata.gz.sig
CHANGED
Binary file
|