Skip to content
This repository has been archived by the owner on Nov 28, 2021. It is now read-only.

Set tls:true if secure_connection #39

Merged
merged 1 commit into from
Aug 10, 2017
Merged

Set tls:true if secure_connection #39

merged 1 commit into from
Aug 10, 2017

Conversation

tonymadbrain
Copy link

Fix for #35

settings.merge({
enable_starttls_auto: true,
tls: true
})

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indent the right brace the same as the first position after the preceding left parenthesis.

settings.merge enable_starttls_auto: secure_connection?
if secure_connection?
settings.merge({
enable_starttls_auto: true,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use 2 spaces for indentation in a hash, relative to the first position after the preceding left parenthesis.

@@ -19,7 +19,12 @@ def mail_server_settings
basic_settings
end

settings.merge enable_starttls_auto: secure_connection?
if secure_connection?
settings.merge({

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant curly braces around a hash parameter.

@damianlegawiec damianlegawiec merged commit 9aa7468 into spree-contrib:master Aug 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants