Project

General

Profile

Refactor #33784

Drop Ruby pre-2.5 compatibility in Host#parse_ip_address

Added by Ewoud Kohl van Wijngaarden over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Performance
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

The method has fallback code for Ruby 2.4 and older but Foreman requires Ruby 2.5 or newer so it can be dropped.

I'm unsure about the category, but technically it'll give a (small) performance benefit.

Associated revisions

Revision 6ec75b34 (diff)
Added by Ewoud Kohl van Wijngaarden over 1 year ago

Fixes #33784 - Remove Ruby < 2.5 compatibility code

Foreman requires Ruby 2.5 or newer so it can be dropped.

History

#1 Updated by The Foreman Bot over 1 year ago

  • Assignee set to Ewoud Kohl van Wijngaarden
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8875 added

#2 Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases 3.1.0 added

#3 Updated by Ewoud Kohl van Wijngaarden over 1 year ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF