Skip to content

Commit

Permalink
Merge pull request #78 from kateinoigakukun/katei/remove-non-ascii
Browse files Browse the repository at this point in the history
Replace non-ASCII EM DASH (U+2014) with ASCII hyphen (U+002D)
  • Loading branch information
hsbt authored Jan 4, 2024
2 parents 809a87d + 8c5af3f commit 5eb6ec2
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 5eb6ec2

Please sign in to comment.