Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | No need of requiring `rbconfig`, it is by-default loaded | Kuldeep Aggarwal | 2015-01-10 | 1 | -1/+0 |
| | |||||
* | Remove deprecated methods at `Kernel`. | Rafael Mendonça França | 2015-01-04 | 1 | -80/+0 |
| | | | | `silence_stderr`, `silence_stream`, `capture` and `quietly`. | ||||
* | edit pass over all warnings | Xavier Noria | 2014-10-28 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | This patch uniformizes warning messages. I used the most common style already present in the code base: * Capitalize the first word. * End the message with a full stop. * "Rails 5" instead of "Rails 5.0". * Backticks for method names and inline code. Also, converted a few long strings into the new heredoc convention. | ||||
* | Deprecate reporting methods for silencing output as they aren't thread safe | Tom Meier | 2014-07-15 | 1 | -0/+10 |
| | |||||
* | Methods silence_stream/quietly are not thread-safe [skip ci] | Arthur Neves | 2014-02-19 | 1 | -0/+4 |
| | | | | | | State that on the doc. [fixes #11954] | ||||
* | Fix issue with Kernel#silence_stream leaking file descriptors | Mario Visic | 2013-12-06 | 1 | -0/+1 |
| | | | | | | | Calling Kernel#silence_stream creates a new file descriptor which isn't closed after it is used. As a result calling silence_stream multiple times leads to a build up of loose file descriptors and can cause issues in environments where garbage collection isn't run often. | ||||
* | Get rid of unused variable | Guillermo Iguaran | 2013-11-14 | 1 | -1/+1 |
| | |||||
* | Merge pull request #12882 from charliesome/use-rescue-splat-in-suppress | Guillermo Iguaran | 2013-11-13 | 1 | -2/+1 |
|\ | | | | | Use rescue with a splat rather and catching all exceptions and manually filtering in Kernel#suppress | ||||
| * | Use rescue with a splat rather and catching all and filtering | Charlie Somerville | 2013-11-13 | 1 | -2/+1 |
| | | |||||
* | | Fix jruby warning when capture calls unlink on an open tempfile | Alex Tambellini | 2013-08-02 | 1 | -0/+1 |
|/ | | | | Jruby cannot unlink a tempfile unless it is closed first. | ||||
* | Remove unnecessary begin..rescue..end, use only rescue | Akira Matsuda | 2013-01-06 | 1 | -4/+3 |
| | |||||
* | Kernel#capture replaced by version which can catch output from subprocesses | Dmitry Vorotilin | 2012-11-01 | 1 | -11/+26 |
| | |||||
* | update AS/core_ext docs [ci skip] | Francesco Rodriguez | 2012-09-12 | 1 | -5/+6 |
| | |||||
* | String quotes and trailing spaces | Alexey Gaziev | 2012-04-29 | 1 | -3/+3 |
| | |||||
* | AS core_ext refactoring pt.2 | Alexey Gaziev | 2012-04-29 | 1 | -0/+1 |
| | |||||
* | Remove trailing white-spaces | Guillermo Iguaran | 2011-06-05 | 1 | -1/+1 |
| | |||||
* | new reporting method Kernel#quietly | Xavier Noria | 2011-05-13 | 1 | -1/+13 |
| | |||||
* | Move capture to Kernel. [#5641 state:resolved] | Krekoten' Marjan | 2010-09-18 | 1 | -0/+19 |
| | |||||
* | Config is deprecated on 1.8.8 and 1.9.3 use RbConfig | Santiago Pastorino | 2010-08-23 | 1 | -1/+1 |
| | |||||
* | Use Config::CONFIG['host_os'] instead of RUBY_PLATFORM [#4477 state:resolved] | Anil Wadghule | 2010-04-26 | 1 | -1/+2 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Don't write to /dev/null on mingw. [#3921 state:resolved] (ht: Patrick ↵ | wycats | 2010-03-27 | 1 | -1/+1 |
| | | | | Daryll Glandien) | ||||
* | Condense to Kernel#with_warnings | Jeremy Kemper | 2009-03-24 | 1 | -6/+8 |
| | |||||
* | Improve documentation. | Pratik Naik | 2008-03-26 | 1 | -0/+8 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added socket cleanup for lighttpd, both before and after [DHH] Added ↵ | David Heinemeier Hansson | 2006-03-04 | 1 | -9/+14 |
| | | | | | | automatic creation of tmp/ when running script/server [DHH] Added silence_stream that'll work on both STDERR or STDOUT or any other stream and deprecated silence_stderr in the process [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added Kernel#daemonize to turn the current process into a daemon that can be ↵ | David Heinemeier Hansson | 2006-03-01 | 1 | -0/+46 |
killed with a TERM signal [DHH] Refactored stuff lingering in kernel.rb to the appropriate places git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3714 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |