aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/kernel.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove the Kernel#` override that turns ENOENT into nilAkinori MUSHA2019-01-311-1/+0
| | | | | | | | | | | | ActiveSupport overrides `` Kernel#` `` so that it would not raise `Errno::ENOENT` but return `nil` instead (due to the last statement `STDERR.puts` returning nil) if a given command were not found. Because of this, you cannot safely say somthing like `` `command`.chomp `` when ActiveSupport is loaded. It turns out that this is an outdated monkey patch for Windows platforms to emulate Unix behavior on an ancient version of Ruby, and it should be removed by now.
* [Active Support] require_relative => requireAkira Matsuda2017-10-211-4/+4
| | | | This basically reverts 8da30ad6be34339124ba4cb4e36aea260dda12bc
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
|
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
|
* [Active Support] require => require_relativeAkira Matsuda2017-07-011-4/+4
|
* applies new string literal convention in activesupport/libXavier Noria2016-08-061-4/+4
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Remove debugger supportRafael Mendonça França2015-01-041-1/+0
| | | | | bebugger doesn't work with Ruby 2.2 so we don't need to support it anymore
* Keep debugger support only for rubies < 2.0.0David Rodríguez de Dios2014-04-081-1/+1
|
* Introduce Concern#class_methods and Kernel#concernJeremy Kemper2014-02-231-1/+2
|
* Removed AS core_ext/kernel/requires as it's not used and is bad practice.Josh Kalderimis2011-05-231-1/+0
|
* moves Object#singleton_class to Kernel#singleton_class to match Ruby also ↵Xavier Noria2010-04-051-0/+1
| | | | there, same for #class_eval to simplify, and adds coverage for class_eval
* removes Kernel#daemonize, which is no longer usedXavier Noria2010-02-061-1/+0
|
* Ruby 1.9 compat, consistent load pathsJeremy Kemper2007-10-021-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed breakpointer and Binding.of_caller in favor of relying on ruby-debug ↵David Heinemeier Hansson2007-04-281-0/+1
| | | | | | by Kent Sibilev since the breakpointer has been broken since Ruby 1.8.4 and will not be coming back [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Kernel#daemonize to turn the current process into a daemon that can be ↵David Heinemeier Hansson2006-03-011-88/+4
| | | | | | 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
* r3240@asus: jeremy | 2005-11-20 23:22:34 -0800Jeremy Kemper2005-11-211-16/+25
| | | | | | | Introduce enable_warnings counterpart to silence_warnings. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Define kernel.rb methods in "class Object" instead of "module Kernel" to ↵Sam Stephenson2005-11-071-1/+1
| | | | | | work around a Windows peculiarity git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2902 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Kernel#silence_stderr to silence stderr for the duration of the given ↵Sam Stephenson2005-11-071-0/+26
| | | | | | block. Changed Kernel#` to print a message to stderr (like Unix) instead of raising Errno::ENOENT on Win32. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move require_library_or_gem out of AR's abstract_adapter and into ↵Marcel Molina2005-10-081-0/+22
| | | | | | ActiveSupport. closes #1992 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2490 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added test to ensure that silence_warnings also returned its valueDavid Heinemeier Hansson2005-09-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2181 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Kernel#silence_warnings and puts it into use throughout the frameworkDavid Heinemeier Hansson2005-09-111-0/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Do document this...David Heinemeier Hansson2005-04-181-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1207 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added pagination support through both a controller and helper add-on #817 ↵David Heinemeier Hansson2005-03-201-0/+17
[Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@949 5ecf4fe2-1ee6-0310-87b1-e25e094e27de