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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/net/smtp/auth_ntlm.rb +1 -1
  3. metadata +3 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ce696c2d65e7cd0cc4730af1859e57ed0af3c7e6f07e87ad5a68eaf8cae9e3f
4
- data.tar.gz: ae98072350cd697a0f27c04cd901484b68eb1bed71111565d41a73073f06529b
3
+ metadata.gz: dd21c5fd5a75d22e1dda3ae2ce64b7515456e52bd96f6249ec67671af6232e27
4
+ data.tar.gz: 7a4074ddb449f0f40168c63a029ffa30cf8b38728a0aa177a4ac61b7f749275f
5
5
  SHA512:
6
- metadata.gz: a53b162c674d7f560172a52d7180c9ca183e01dae6104c5368af4b1fb005dd78d70dea27d5841a300e79e7744d55b819006dc93777d48aa28cebb04224822a7c
7
- data.tar.gz: fc9ed4c33a6d611d19becb8ba2b5ce32c4414cc88f6364c9d1e8ec2074ccc867d4e5538908647b0cd67352faac401b7e9430e27e89a9a424ad1e8164176d122d
6
+ metadata.gz: 3b169b7a0c8681e5a1a4ad1e98ec119443dbe0f47e25d3573e0362c10cc26bb71b2406051d7aea578ddac78a3f9c967e9d5ec2f27fa5346aa4a23bb9c0006ce1
7
+ data.tar.gz: f3576359420b04452b1558cac4e1c2502ec15105572905fd5136583ef8107f7d5d18770cbc83739d1e0b801ae158443182b4b2993db55267faa86defe87d5ef1
@@ -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?("NTLM")
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: '0.1'
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: 2024-10-25 00:00:00.000000000 Z
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.5.9
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: []