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 build scripts for rubyc 0.5 + ruby 2.5 #839

Merged
merged 3 commits into from Nov 23, 2018
Merged

Conversation

kke
Copy link
Contributor

@kke kke commented Nov 23, 2018

Includes #837

Fixes #823
Fixes #813

Upgrades bundled ruby to 2.5.1 and changes test matrix to reflect that.

@kke kke added bug Something isn't working chore labels Nov 23, 2018
error_msg = "#{addon.name} => " + e.message
raise Pharos::AddonManager::InvalidConfig, error_msg
end
addon.apply_modify_cluster_config
Copy link
Contributor

Choose a reason for hiding this comment

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

Why this change? Rubocop?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, like mentioned on slack.

On ruby 2.5:

foo do
  ..
rescue => ex
end

is the same as

foo do
  begin
     ..
  rescue => ex
  end
end

@jakolehm jakolehm added this to the 2.1.0 milestone Nov 23, 2018
@jakolehm jakolehm merged commit 2625e2c into master Nov 23, 2018
@jakolehm jakolehm deleted the fix/build_env branch November 23, 2018 14:10
@jakolehm jakolehm mentioned this pull request Nov 27, 2018
@jakolehm jakolehm mentioned this pull request Dec 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working chore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants