- 25 7月, 2019 1 次提交
-
-
由 Rafael França 提交于
Make ActiveSupport::Logger Fiber-safe
-
- 11 7月, 2017 1 次提交
-
-
由 Koichi ITO 提交于
-
- 09 7月, 2017 1 次提交
-
-
由 Kir Shatrov 提交于
-
- 02 7月, 2017 1 次提交
-
-
由 Matthew Draper 提交于
This reverts commit 3420a145, reversing changes made to afb66a5a.
-
- 01 7月, 2017 1 次提交
-
-
由 Kir Shatrov 提交于
-
- 20 6月, 2017 1 次提交
-
-
由 Pat Allan 提交于
The ActiveSupport test suite only passes currently if it uses the latest unreleased commits for dalli, and a patch for Builder: https://github.com/tenderlove/builder/pull/6 Beyond that, all external dependencies (at least, to the extent they’re used by ActiveSupport) are happy, including Nokogiri as of 1.8.0.
-
- 17 9月, 2016 1 次提交
-
-
由 Michael Grosser 提交于
assert [1, 3].includes?(2) fails with unhelpful "Asserting failed" message assert_includes [1, 3], 2 fails with "Expected [1, 3] to include 2" which makes it easier to debug and more obvious what went wrong
-
- 16 8月, 2016 1 次提交
-
-
由 Rafael Mendonça França 提交于
Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository.
-
- 07 8月, 2016 1 次提交
-
-
由 Xavier Noria 提交于
The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
-
- 11 6月, 2016 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 10 6月, 2016 1 次提交
-
-
由 Kevin McPhillips 提交于
-
- 12 2月, 2016 1 次提交
-
-
由 Piotr Jakubowski 提交于
Fix #23609 Commit 629efb60 introduced thread safety to logger silencing but it didn't take into account the fact that the logger can be extended with broadcasting to other logger. This commit introduces local_level to broadcasting Module which enables broadcasted loggers to be properly silenced.
-
- 06 1月, 2016 1 次提交
-
-
由 schneems 提交于
When `rails console` or `rails server` are used along with a logger set to output to `STDOUT` then the contents will show up twice. This happens because the logger is extended with `ActiveSupportLogger.broadcast` with a destination of STDOUT even if it is already outputting to `STDOUT`. Previously PR #22592 attempted to fix this issue, but it ended up causing NoMethodErrors. A better approach than relying on adding a method and flow control is to inspect the log destination directly. For this `ActiveSupport::Logger.logger_outputs_to?` was introduced ```ruby logger = Logger.new(STDOUT) ActiveSupport::Logger.logger_outputs_to?(logger, STDOUT) # => true ``` To accomplish this we must look inside of an instance variable of standard lib's Logger `@logdev`. There is a related Ruby proposal to expose this method in a standard way: https://bugs.ruby-lang.org/issues/11955
-
- 24 12月, 2015 1 次提交
-
-
由 Carl P. Corliss 提交于
- uses instance defined level if no custom local log level defined - Keeps track of local log level per [ thread + object-instance ] - prevents memory leakage by removing local level hash key/value on #silence method exit - avoids the use of Thread local variables
-
- 22 12月, 2012 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 01 4月, 2012 2 次提交
-
-
由 Arun Agrawal 提交于
-
由 Arun Agrawal 提交于
-
- 06 1月, 2012 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Karunakar (Ruby) 提交于
minor
-
- 25 12月, 2011 1 次提交
-
-
由 Sergey Nartimov 提交于
-
- 20 12月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
from Ruby stdlib.
-
- 13 12月, 2011 1 次提交
-
-
由 lest 提交于
-
- 10 12月, 2011 2 次提交
-
-
由 José Valim 提交于
-
由 Aaron Patterson 提交于
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.
-
- 25 10月, 2011 1 次提交
-
-
由 Arun Agrawal 提交于
-
- 22 10月, 2011 1 次提交
-
-
由 Brian Durand 提交于
-
- 11 5月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 23 2月, 2011 1 次提交
-
-
由 José Valim 提交于
-
- 20 7月, 2010 1 次提交
-
-
由 Kouhei Sutou 提交于
[#4807 state:committed] Signed-off-by: NKouhei Sutou <kou@cozmixng.org> Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 18 5月, 2010 1 次提交
-
-
由 Neeraj Singh 提交于
[#4635 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 16 5月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
Make use of assert_equal to test equallity between object assert expects and object and a message of error [#4611 state:committed] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 23 4月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 29 3月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 11 12月, 2008 1 次提交
-
-
由 Frederick Cheung 提交于
[#1552 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 30 8月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 19 8月, 2008 1 次提交
-
-
由 Joshua Peek 提交于
-
- 31 3月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 13 3月, 2008 1 次提交
-
-
由 David Heinemeier Hansson 提交于
Fixed that BufferedLogger should create its own directory if one doesnt already exist (closes #11285) [lotswholetime] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 05 1月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 08 10月, 2007 1 次提交
-
-
由 Jeremy Kemper 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7775 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-