The additional features where inspired from Unix command line tools.
What is new in this release:
- The File.binary method now always returns false for images. It is meant to detect executables, shared objects, etc. Use File.image? to detect images.
- Encoding fixes for the File.image? method.
What is new in version 1.3.1:
- The File.binary method now always returns false for images. It is meant to detect executables, shared objects, etc. Use File.image? to detect images.
- Encoding fixes for the File.image? method.
What is new in version 1.1.8:
- Fixed some bad variable names that crept into the File.nl_convert method.
- Added the File.null_device alias for File.null.
- Added cygwin and mingw to Windows detection code.
- One of the nlconvert tests is now skipped on Windows.
- Two text files that were previously bundled as part of this library for testing purposes have been removed. Those are now dynamically generated within the tests themselves.
- Gemspec updates.
- Documentation updates.
- Added the :gem rake task.
Requirements:
- Ruby 1.8.0 or higher
Limitations:
- There is a bug in 1.6.x that can cause $ characters to accumulate when converting to DOS or MAC format if nl_convert is run multiple times on the same file.
評論沒有發現