- Fixed a bug in the Windows version where it would sometimes fail.
- Dropped JRuby from the test matrix for now because of a bug. See jruby/jruby#7847 for more details.
- Updated file option kwarg handling so that it's compatible with Ruby 3.x.
- Switched from rdoc to markdown format since github isn't rendering rdoc properly.
- Fixed up one of the specs.
- Replaced test-unit with rspec, and updated the tests.
- Updated ffi dependency to 1.1.x.
- Removed some archiving options from the Rakefile that I wasn't using.
- Added an +options+ argument that is passed along as options to the the underlying File.new constructor.
- Switched to keyword arguments.
- Added the ability to specify a tmp directory.
- Updates to the JRuby version, removed some code that no longer worked, and added support for specifying your own directory.
- Added a LICENSE file to the distro as part of the Apache-2.0 requirement.
- Added explicit .rdoc extensions to the README, CHANGES and MANIFEST files.
- Changed license to Apache-2.0.
- VERSION constant now lives in a single place, and is frozen.
- Added metadata to the gemspec.
- Updated cert.
- This gem is now signed.
- Added a file-temp.rb file for convenience.
- The gem tasks in the Rakefile now assume Rubygems 2.x.
- Some gemspec updates, removed rubyforge_project, added a cert.
- Skip one test on OSX since it's an issue with the underlying C function.
- Reorganized internal directory layout so Windows, Unix and Java versions are each in their own directory and have their own versions for ease of maintenance.
- There is now a completely separate implementation for JRuby that uses the Java API instead of C. It uses a GUID to create the temporary file name instead of the 'XXXXXX' template, but is otherwise identical in function.
- Reworked the error handling. The posix functions now use a combination of SystemCallError and FFI.errno, except on Windows, which uses _get_errno instead for the posix compatible functions.
- Refactored the tests to use declarative syntax and added one test for invalid templates.
- Removed the internal mkstemp function for Windows, no longer needed.
- Use tmpnam_s on Windows instead of tmpnam.
- Use wide character functions on Windows.
- Removed the old FileTemp alias for File::Temp. It was deprecated and has now been officially removed.
- Some refactoring of the custom internal Windows functions.
- Nicer error handling if certain FFI functions fail.
- Made the FFI functions private.
- Now stores file path information if the file is retained on the filesystem. Thanks go to joerixaop for the patch.
- The TMPDIR fallback determination on Windows is no longer hard coded.
- The File::Temp.temp_name method has been altered on Unix systems. It no longer prefixes TMPDIR to the name since it was redundant and could generate a bogus path.
- Set the license to Artistic 2.0.
- Set the test task as the default Rake task.
- Fixed potential libc linker failure.
- Explicitly link against libc for Unix versions.
- Refactored the Rakefile. An old install task was removed and the gem related tasks were placed under the 'gem' namespace.
- Removed the 'use' library as a dependency.
- Now pure Ruby, using FFI.
- Fixed RF Bug #26757 - FILE pointer leak. Thanks go to Eric Wong for the spot.
- Renamed and refactored the test file slightly.
- Updated the gemspec.
- Added security via umask().
- Version bump to 1.0.0.
- Gemspec fix (forgot the temp.h file - oops).
- Added an extra test.
- Core code and test case now work properly on MS Windows.
- Now uses MS VC++ 8 functions when available (tmpfile_s, _sopen_s).
- Initial release.