mail_xoauth2 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mail_xoauth2/smtp_xoauth2_authenticator.rb +1 -2
- data/lib/mail_xoauth2/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f42a27a625f1980fc3f7a0079018de3c6e31cf46da5da61765249796723682a6
|
4
|
+
data.tar.gz: 06be3830daa83d830697839f85bb9808c88c5f7a56eaefa5000ae4f147d9887c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 495da3a0b2e944816c4639cf3573098c7b465f0a38e7692c7f3c895aa4a3fe7f8646e1535af162a7147a234dd57176c356b50ec1f8c45ce4f6ba5c83346a32b5
|
7
|
+
data.tar.gz: 3fb01ddeff4de3b82ca2ba3a1f01e35ccd75b54f1505f79e77da8a8a24ac482864184fbabd3ffa34d7594582422e5fec058eace95ac8904f4fd7b758aef6d6c6
|
@@ -23,8 +23,7 @@ module MailXoauth2
|
|
23
23
|
check_auth_args user, oauth2_token
|
24
24
|
|
25
25
|
auth_string = build_oauth2_string(user, oauth2_token)
|
26
|
-
|
27
|
-
res = send_xoauth2(b64_auth_string)
|
26
|
+
res = send_xoauth2(base64_encode(auth_string))
|
28
27
|
|
29
28
|
# See note about SMTP protocol exchange in https://developers.google.com/gmail/xoauth2_protocol
|
30
29
|
res = get_final_status if res.continue?
|
data/lib/mail_xoauth2/version.rb
CHANGED