Skip to content

Commit

Permalink
Replace non-ASCII EM DASH (U+2014) with ASCII hyphen (U+002D)
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Jan 4, 2024
1 parent 2b25124 commit 8c5af3f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/net/smtp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ class SMTPUnsupportedCommand < ProtocolError
# Net::SMTP.start('your.smtp.server', 25,
# user: 'Your Account', secret: 'Your Password', authtype: :plain)
#
# Support for other SASL mechanismssuch as +EXTERNAL+, +OAUTHBEARER+,
# +SCRAM-SHA-256+, and +XOAUTH2+will be added in a future release.
# Support for other SASL mechanisms-such as +EXTERNAL+, +OAUTHBEARER+,
# +SCRAM-SHA-256+, and +XOAUTH2+-will be added in a future release.
#
# The +LOGIN+ and +CRAM-MD5+ mechanisms are still available for backwards
# compatibility, but are deprecated and should be avoided.
Expand Down Expand Up @@ -518,7 +518,7 @@ def debug_output=(arg)
#
# +secret+ or +password+ is your password or other authentication token.
#
# These will be sent to #authenticate as positional argumentsthe exact
# These will be sent to #authenticate as positional arguments-the exact
# semantics are dependent on the +authtype+.
#
# See the discussion of Net::SMTP@SMTP+Authentication in the overview notes.
Expand Down Expand Up @@ -575,7 +575,7 @@ def started?
#
# +secret+ or +password+ is your password or other authentication token.
#
# These will be sent to #authenticate as positional argumentsthe exact
# These will be sent to #authenticate as positional arguments-the exact
# semantics are dependent on the +authtype+.
#
# See the discussion of Net::SMTP@SMTP+Authentication in the overview notes.
Expand Down Expand Up @@ -866,7 +866,7 @@ def open_message_stream(from_addr, *to_addrs, &block) # :yield: stream
#
# +authtype+ is the name of a SASL authentication mechanism.
#
# All argumentsother than +authtype+are forwarded to the authenticator.
# All arguments-other than +authtype+-are forwarded to the authenticator.
# Different authenticators may interpret the +user+ and +secret+
# arguments differently.
def authenticate(user, secret, authtype = DEFAULT_AUTH_TYPE)
Expand Down

0 comments on commit 8c5af3f

Please sign in to comment.