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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f1211f5de7810d50677db70818fd068f7566038fcc457baaef79c072b7baad8
4
- data.tar.gz: 45ce5f184da4bd4c37b9b4daaa9fa99f665521ea180ad569479dce1951efade1
3
+ metadata.gz: f42a27a625f1980fc3f7a0079018de3c6e31cf46da5da61765249796723682a6
4
+ data.tar.gz: 06be3830daa83d830697839f85bb9808c88c5f7a56eaefa5000ae4f147d9887c
5
5
  SHA512:
6
- metadata.gz: 33e5af056400a8b5f7a593ce3a3443765b98f27f88c5b43e144500e3f2860887f892b3ea215e9d74b3b0675745f1531369aa0eee830696e095eeaec2f15ceaac
7
- data.tar.gz: da4fdbb67654d225af19909c38811b40b37cc4b9846f3b6585af477ddf5e5c50844c4b1745026bdd474091e258cf5e19e291694e64810015fae399454b9e44f6
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
- b64_auth_string = Base64.strict_encode64(auth_string)
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?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MailXoauth2
4
- VERSION = '1.0.1'
4
+ VERSION = '1.0.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mail_xoauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabian Jäger