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

Update to be able to run on 3.4 with frozen strings #1080

Merged
merged 7 commits into from
Oct 10, 2024

Conversation

npezza93
Copy link
Contributor

@npezza93 npezza93 commented Oct 8, 2024

No description provided.

@npezza93 npezza93 changed the title This allows kamal to run on 3.4 with frozen strings Update to be able to run on 3.4 with frozen strings Oct 8, 2024
lib/kamal/commands/base.rb Outdated Show resolved Hide resolved
lib/kamal/commands/base.rb Outdated Show resolved Hide resolved
@npezza93 npezza93 requested a review from jeremy October 9, 2024 13:44
lib/kamal/commands/base.rb Outdated Show resolved Hide resolved
Co-authored-by: Sijawusz Pur Rahnama <[email protected]>
Copy link
Member

@jeremy jeremy left a comment

Choose a reason for hiding this comment

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

Tweak spacing for clean output (and so tests pass)

lib/kamal/commands/base.rb Outdated Show resolved Hide resolved
lib/kamal/commands/base.rb Outdated Show resolved Hide resolved
lib/kamal/commands/base.rb Outdated Show resolved Hide resolved
@@ -11,7 +11,7 @@ def initialize(config)
end

def run_over_ssh(*command, host:)
"ssh #{ssh_proxy_args} -t #{config.ssh.user}@#{host} -p #{config.ssh.port} '#{command.join(" ").gsub("'", "'\\\\''")}'".squish
"ssh#{ssh_proxy_args} -t #{config.ssh.user}@#{host} -p #{config.ssh.port} '#{command.join(" ").gsub("'", "'\\\\''")}'".squish
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm i thought i had tests passing with this. But i think with this new approach you can remove squish at the end

.github/workflows/ci.yml Outdated Show resolved Hide resolved
lib/kamal/commands/base.rb Outdated Show resolved Hide resolved
lib/kamal/commands/base.rb Show resolved Hide resolved
lib/kamal/commands/base.rb Outdated Show resolved Hide resolved
Co-authored-by: Sijawusz Pur Rahnama <[email protected]>
@jeremy jeremy merged commit a1e40f9 into basecamp:main Oct 10, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants