Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace non-ASCII EM DASH (U+2014) with ASCII hyphen (U+002D) #78

Merged
merged 1 commit into from
Jan 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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