Bug #2614
Ruby 1.9 support - remove any deprecated/gone library calls
| Status: | Closed | Start date: | 09/09/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | - | |||
| Target version: | 1.5.9 | |||
| Keywords: | Affected Facter version: | |||
| Branch: | ||||
| Votes: | 0 |
Description
From discussion on list
AFAIK, FileTest.exists? goes away in ruby1.9 and should be
FileTest.exist?
Make sure facter and tests run clean on 1.9.x
History
Updated by Jos Backus almost 2 years ago
Fwiw, file.c in 1.9.2 trunk as of today still has:
define_filetest_function("exist?", rb_file_exist_p, 1);
define_filetest_function("exists?", rb_file_exist_p, 1);
Do we still want to do this? The specs pass on 1.9.
Updated by James Turnbull over 1 year ago
- Status changed from Accepted to Closed
Closed as method seems to exist still.
Updated by James Turnbull 11 months ago
- Target version changed from 1.6.0 to 1.5.9