Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ensure correct permission when `tmpdir` is the same as `dirname`. | Markus Reiter | 2018-10-02 | 1 | -0/+14 |
| | |||||
* | Replace `assert !` with `assert_not` | Daniel Colson | 2018-04-19 | 1 | -3/+3 |
| | | | | | This autocorrects the violations after adding a custom cop in 3305c78dcd. | ||||
* | [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment` | Koichi ITO | 2017-07-11 | 1 | -0/+1 |
| | |||||
* | Use frozen-string-literal in ActiveSupport | Kir Shatrov | 2017-07-09 | 1 | -0/+1 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | applies new string literal convention in activesupport/test | Xavier Noria | 2016-08-06 | 1 | -2/+2 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Return value of yielded block in File.atomic_write | Ian Ker-Seymer | 2015-01-28 | 1 | -0/+10 |
| | | | | | | Staying true to Ruby convention, we now return the value of the yielded block from `File.atomic_write {...}`. This mimics the behavior of MRI's `File.open {...}`. | ||||
* | revises a brittle test in Active Support | Xavier Noria | 2012-08-22 | 1 | -1/+1 |
| | | | | | | | The revised test assumed that the default permissions of a file matched the umask of the process, but in the general case that depends also on the file system. This test was failing in the /vagrant shared folder of Rails development boxes. | ||||
* | Make File#atomic_write tests pass with umask | Thibault Jouan | 2012-05-29 | 1 | -3/+3 |
| | | | | | | Assertions on file permissions only pass with some combinations of file create mode and the process file mode creation mask. This mask should be applied on the file create mode before related assertions. | ||||
* | use AS::TestCase as the base class | Aaron Patterson | 2012-01-05 | 1 | -1/+1 |
| | |||||
* | remove File#to_path alias | Vasiliy Ermolovich | 2011-12-25 | 1 | -4/+0 |
| | |||||
* | Fix streaming by having it create a File object, which can be handled by ↵ | Carlhuda | 2010-02-23 | 1 | -0/+4 |
| | | | | Rack servers as appropriate | ||||
* | Explicit test dependencies | Jeremy Kemper | 2009-03-29 | 1 | -0/+1 |
| | |||||
* | Use current umask when testing the expected file mode [#823 state:resolved] | S. Brent Faulkner | 2008-08-13 | 1 | -4/+4 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Make File.atomic_write copy the original permissions or use the directories ↵ | Joshua Peek | 2008-08-06 | 1 | -6/+44 |
| | | | | default. | ||||
* | require abstract_unit directly since test is in load path | Jeremy Kemper | 2008-01-05 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Some 1.9 forward compatibility | Jeremy Kemper | 2007-09-14 | 1 | -3/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix activesupport atomic_write tests when Dir.tmpdir is on another ↵ | Michael Koziarski | 2007-09-06 | 1 | -2/+2 |
| | | | | | | partition. Closes #8573 [tpope] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7412 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add File.atomic_write to prevent users from seeing half written files. ↵ | Michael Koziarski | 2007-02-27 | 1 | -0/+29 |
Useful for situations like Page Caching and the like. [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6262 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |