aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/uploaded_file_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use frozen string literal in actionpack/Kir Shatrov2017-07-291-0/+2
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* Fixed string being modified in place causing frozen string errors in Ruby 2.3sepehr5002017-05-151-0/+6
|
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-4/+4
|
* modernizes hash syntax in actionpackXavier Noria2016-08-061-17/+17
|
* applies new string literal convention in actionpack/testXavier Noria2016-08-061-22/+22
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* always transcode the file to utf-8Aaron Patterson2014-07-161-0/+6
| | | | | | people may be passing filenames to the constructor that are not utf-8, but they will assome that calling `original_filename` returns utf-8 (because that's what it used to do).
* Change the method descriptionRafael Mendonça França2014-04-171-1/+1
|
* Provide interface for accessing underlying IO objectTim Linquist2014-04-151-0/+6
| | | | | | In some cases users may need to work with/manipulate more of the Tempfile api than provided by Upload. Allow users to get at the underlying io via the common to_io method of IO/IO-like objects
* fixes the suite for uploaded filesXavier Noria2012-09-231-6/+6
|
* Accept parameters in methods delegated to tempfileSergio Gil Pérez de la Manga2012-09-221-0/+6
|
* Delegate ActionDispatch::Http::UploadedFile#close to tempfileSergio Gil Pérez de la Manga2012-09-201-0/+6
|
* adds delegetion for eof? to AD::Http::UploadedFileJens Fahnenbruck2012-03-271-0/+6
| | | | | if you want to read the file you may need to ask if there is something to read from
* Refactor AD::UploadedFile, and raise sooner if tempfile is not presentCarlos Antonio da Silva2012-03-061-1/+1
|
* deprecate String#encoding_aware? and remove its usageSergey Nartimov2011-12-241-5/+3
|
* Use assert_equal instead of assert in uploaded file test.Lukáš Konarovský2011-06-151-1/+1
|
* all requests are utf-8. Don't use the external encoding.Damien Mathieu2011-06-141-6/+1
|
* encode the uploaded file's name in the default external encoding - Closes #869Damien Mathieu2011-06-141-0/+12
|
* delegating path and open to internal tempfileAaron Patterson2010-11-181-0/+12
|
* only forwarding enough methods to work. People should grab the delegate ↵Aaron Patterson2010-10-041-14/+8
| | | | tempfile if they really need to do hard work
* making sure respond_to? works properlyAaron Patterson2010-10-041-0/+15
|
* raising an argument error if tempfile is not providedAaron Patterson2010-10-041-3/+9
|
* delegate to the @tempfile instance variableAaron Patterson2010-10-041-0/+18
|
* adding tests for uploaded fileAaron Patterson2010-10-041-0/+25