Project

General

Profile

Actions

Refactor #8461

closed

Replace UUIDTools with SecureRandom.uuid

Added by Dominic Cleal about 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Packaging
Target version:
Difficulty:
trivial
Triaged:
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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Dominic Cleal about 10 years ago

Actions #2

Updated by Dominic Cleal about 10 years ago

  • Tracker changed from Bug to Refactor
Actions #3

Updated by Shlomi Zadok about 10 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.

Actions #4

Updated by Dominic Cleal about 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
  • Translation missing: en.field_release set to 28
Actions

Also available in: Atom PDF