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

Upgrade Ruby to 2.5.8 #3978

Merged
merged 2 commits into from
Jul 8, 2020
Merged

Upgrade Ruby to 2.5.8 #3978

merged 2 commits into from
Jul 8, 2020

Conversation

javierm
Copy link
Member

@javierm javierm commented Apr 18, 2020

References

Objectives

  • Upgrade Ruby in order to use a supported version
  • Remove a warning given by the Ruby intrepreter

I'm not sure why the code didn't work without this line, but it doesn't
seem to be necessary anymore (maybe after upgrading Ruby or Rails?).

I'm removing it now because... why not now? :) The Ruby interpreter is
raising a warning due to this line, and in Ruby 2.5 constant lookup has
changed slightly (although I don't think this line is affected by that
change).

Note about the change in the Setting model: Ruby actually ignores return
values in setter methods, so the line isn't necessary.
Consul Democracy automation moved this from Reviewing to Testing Jul 8, 2020
@javierm javierm merged commit 8059c55 into master Jul 8, 2020
Consul Democracy automation moved this from Testing to Release 1.2.0 Jul 8, 2020
@javierm javierm deleted the ruby2.5 branch July 8, 2020 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants