Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create tempfile using the basename without extension: (#201)
* Create tempfile using the basename without extension: - 5f78451 introduced a change to keep the filename extension when creating the tempfile - `Tempfile#path` is now returning the filename with the extension followed by random chars and the extension again ```ruby puts Rack::Test::UploadedFile.new('foo.txt').path # => '/var/xxx/foo.txt2017-30-08-dsad.txt' ``` - This PR modifies this behaviour to not include the file extension as part of the file basename when creating the Tempfile * PR Review
- Loading branch information