aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/file
Commit message (Collapse)AuthorAgeFilesLines
* call binmode on the tempfile for Ruby 1.8 compatibilityAaron Patterson2012-02-271-1/+2
|
* Fixing Windows asset tag helper test failureRalph Shnelvar2012-02-251-1/+1
| | | | | | | | | | | | In asset_tag_helper_test.rb there is an assert on the number of bytes in a concatenated file. This test failed because Windows converts \n to \r\n as the default for "w". This is different than in *nix systems where there is no conversion done. THe test that failed was test_caching_stylesheet_link_tag_when_caching_on Using bin mode fixes this behavior on windows and makes no change on the *nix systems.
* Remove extra white spaces on ActiveSupport docs.Sebastian Martinez2011-05-231-1/+1
|
* Woops, forgot to actually add active_support/core_ext/file/path.rbCarlhuda2010-02-231-0/+5
|
* Use FileUtils.mv instead of rename to copy in case of cross-device linksJeremy Kemper2010-02-181-1/+2
|
* Fix doc typo and update fast_xs URL. Thanks to Dmitrii Golub.Jeremy Kemper2010-02-071-1/+1
|
* * Introduce ActiveSupport.core_ext Integer, %w(conversions time etc)Jeremy Kemper2009-03-211-40/+34
| | | | | | * Convert some extension modules to simply reopening the class * Remove deprecated Float time extensions * Fold Base64 extension into ActiveSupport::Base64 since stdlib Base64 is gone
* Make atomic_write() puts the check_file in the cache dir, not in applicationBruno Duyé2009-02-191-1/+1
| | | | | root [#1962 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Lazy-require tempfile for File#atomic_writeJeremy Kemper2008-11-231-2/+2
|
* Make sure the permissions check file is closed before being unlinked.Michael Koziarski2008-09-141-1/+1
| | | | [#1035 state:committed]
* Make File.atomic_write copy the original permissions or use the directories ↵Joshua Peek2008-08-061-0/+46
default.