net-smtp-auth_ntlm 0.1 → 0.1.1
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
- data/lib/net/smtp/auth_ntlm.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd21c5fd5a75d22e1dda3ae2ce64b7515456e52bd96f6249ec67671af6232e27
|
4
|
+
data.tar.gz: 7a4074ddb449f0f40168c63a029ffa30cf8b38728a0aa177a4ac61b7f749275f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b169b7a0c8681e5a1a4ad1e98ec119443dbe0f47e25d3573e0362c10cc26bb71b2406051d7aea578ddac78a3f9c967e9d5ec2f27fa5346aa4a23bb9c0006ce1
|
7
|
+
data.tar.gz: f3576359420b04452b1558cac4e1c2502ec15105572905fd5136583ef8107f7d5d18770cbc83739d1e0b801ae158443182b4b2993db55267faa86defe87d5ef1
|
data/lib/net/smtp/auth_ntlm.rb
CHANGED
@@ -11,7 +11,7 @@ class Net::SMTP
|
|
11
11
|
auth_type :ntlm
|
12
12
|
|
13
13
|
def auth(user, secret)
|
14
|
-
raise Net::SMTPAuthenticationError, "NTLM not supported" unless smtp.auth_capable
|
14
|
+
raise Net::SMTPAuthenticationError, "NTLM not supported" unless smtp.send(:auth_capable?, "NTLM")
|
15
15
|
|
16
16
|
domain, user = if user.index("\\")
|
17
17
|
user.split("\\", 2)
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net-smtp-auth_ntlm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anton Baklanov
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: net-smtp
|
@@ -60,7 +59,6 @@ metadata:
|
|
60
59
|
source_code_uri: https://github.com/bak1an/net-smtp-auth_ntlm
|
61
60
|
changelog_uri: https://github.com/bak1an/net-smtp-auth_ntlm/blob/main/CHANGELOG.md
|
62
61
|
rubygems_mfa_required: 'true'
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.7.1
|
80
77
|
specification_version: 4
|
81
78
|
summary: NTLM auth for Net::SMTP
|
82
79
|
test_files: []
|