Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use AS::TestCase as the base class | Aaron Patterson | 2012-01-05 | 1 | -1/+1 |
| | |||||
* | Moved all the logger methods to active support logger | Karunakar (Ruby) | 2012-01-06 | 1 | -1/+0 |
| | | | | minor | ||||
* | remove checks for encodings availability | Sergey Nartimov | 2011-12-25 | 1 | -9/+3 |
| | |||||
* | * BufferedLogger is deprecated. Use ActiveSupport::Logger, or the logger | Aaron Patterson | 2011-12-19 | 1 | -11/+2 |
| | | | | from Ruby stdlib. | ||||
* | missing require in activesupport test | lest | 2011-12-13 | 1 | -0/+1 |
| | |||||
* | Fix AS test suite. | José Valim | 2011-12-10 | 1 | -0/+1 |
| | |||||
* | * ActiveSupport::BufferedLogger#silence is deprecated. If you want to squelch | Aaron Patterson | 2011-12-09 | 1 | -127/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | logs for a certain block, change the log level for that block. * ActiveSupport::BufferedLogger#open_log is deprecated. This method should not have been public in the first place. * ActiveSupport::BufferedLogger's behavior of automatically creating the directory for your log file is deprecated. Please make sure to create the directory for your log file before instantiating. * ActiveSupport::BufferedLogger#auto_flushing is deprecated. Either set the sync level on the underlying file handle like this: f = File.open('foo.log', 'w') f.sync = true ActiveSupport::BufferedLogger.new f Or tune your filesystem. The FS cache is now what controls flushing. * ActiveSupport::BufferedLogger#flush is deprecated. Set sync on your filehandle, or tune your filesystem. | ||||
* | Unused variable removed | Arun Agrawal | 2011-10-24 | 1 | -1/+1 |
| | |||||
* | Fix threading issues with BufferedLogger. | Brian Durand | 2011-10-21 | 1 | -0/+53 |
| | |||||
* | make sure log file is written in binary mode. fixes #497 | Aaron Patterson | 2011-05-10 | 1 | -0/+39 |
| | |||||
* | Fix tests on 1.8. | José Valim | 2011-02-22 | 1 | -3/+1 |
| | |||||
* | fix mixed encoding logs can't be logged. | Kouhei Sutou | 2010-07-19 | 1 | -0/+15 |
| | | | | | | | [#4807 state:committed] Signed-off-by: Kouhei Sutou <kou@cozmixng.org> Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Better error messages for some of ActiveSupport tests | Neeraj Singh | 2010-05-18 | 1 | -6/+6 |
| | | | | | | [#4635 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Make use of assert_equal to test equallity between object assert expects and ↵ | Santiago Pastorino | 2010-05-16 | 1 | -2/+2 |
| | | | | | | | | object and a message of error [#4611 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix dependencies revealed by testing in isolation | Jeremy Kemper | 2009-04-22 | 1 | -6/+8 |
| | |||||
* | Explicit test dependencies | Jeremy Kemper | 2009-03-28 | 1 | -0/+1 |
| | |||||
* | Squash memory leak when calling flush with an empty buffer | Frederick Cheung | 2008-12-10 | 1 | -0/+6 |
| | | | | | | [#1552 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix test to not assume which thread finishes first | Jeremy Kemper | 2008-08-29 | 1 | -1/+2 |
| | |||||
* | Maintain a seperate buffer for each thread | Joshua Peek | 2008-08-18 | 1 | -4/+25 |
| | |||||
* | require fileutils | Jeremy Kemper | 2008-03-31 | 1 | -0/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed that BufferedLogger should create its own directory if one doesnt ↵ | David Heinemeier Hansson | 2008-03-13 | 1 | -0/+10 |
| | | | | | | already exist (closes #11285) [lotswholetime] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | 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 | ||||
* | Correct BufferedLogger#level? checks. Closes #9806. | Jeremy Kemper | 2007-10-07 | 1 | -0/+7 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7775 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Disabling auto_flushing still flushes when the buffer hits a maximum size, ↵ | Jeremy Kemper | 2007-10-04 | 1 | -0/+13 |
| | | | | | | as a failsafe against memory-gobbling. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | BufferedLogger#auto_flushing = N flushes the log every N messages. Buffers ↵ | Jeremy Kemper | 2007-10-03 | 1 | -7/+34 |
| | | | | | | with an array instead of string. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7732 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | BufferedLogger#add converts the message to a string. Closes #9724. | Jeremy Kemper | 2007-09-28 | 1 | -0/+13 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | BufferedLogger#add doesn't modify the message argument. Closes #9702. | Jeremy Kemper | 2007-09-27 | 1 | -0/+6 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Include the tests | David Heinemeier Hansson | 2007-09-25 | 1 | -0/+41 |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7635 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |