Project

General

Profile

Refactor #8461

Replace UUIDTools with SecureRandom.uuid

Added by Dominic Cleal almost 5 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Packaging
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Since Ruby 1.9.3, SecureRandom has a uuid method: http://www.ruby-doc.org/stdlib-1.9.3/libdoc/securerandom/rdoc/SecureRandom.html#method-c-uuid, which can replace the uuidtools gem we depend on today. The only place we appear to use it is in lib/foreman.rb.


Related issues

Blocked by Foreman - Tracker #4656: Drop Ruby 1.8 supportClosed

History

#1 Updated by Dominic Cleal almost 5 years ago

#2 Updated by Dominic Cleal almost 5 years ago

  • Tracker changed from Bug to Refactor

#3 Updated by Shlomi Zadok almost 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Shlomi Zadok
  • Pull request https://github.com/theforeman/foreman/pull/1784 added
  • Pull request deleted ()

Part of dropping support in 1.8.7, removed UUIDTools.

#4 Updated by Dominic Cleal over 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
  • Legacy Backlogs Release (now unused) set to 28

Also available in: Atom PDF