aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-08-24 17:10:41 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-08-24 17:10:41 -0300
commitbd94e6de37307adad13fbdd6b4f7c5ed252adfa3 (patch)
tree70c6dd802830fcd2e1f6d88fb0c402d6cdd8cedd
parent337684fa28a3e8d55874d5740585710d0fa99ead (diff)
parenta50872d51deb728b4dbafd2c255b083f3730f7be (diff)
downloadrails-bd94e6de37307adad13fbdd6b4f7c5ed252adfa3.tar.gz
rails-bd94e6de37307adad13fbdd6b4f7c5ed252adfa3.tar.bz2
rails-bd94e6de37307adad13fbdd6b4f7c5ed252adfa3.zip
Merge pull request #21359 from Gaurav2728/gaurav-remove_unused_require_file
temp files are no more require
-rw-r--r--actionpack/test/abstract_unit.rb1
-rw-r--r--activesupport/lib/active_support/core_ext/kernel/reporting.rb2
2 files changed, 0 insertions, 3 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb
index c8f4c68ed0..0fe9602fe7 100644
--- a/actionpack/test/abstract_unit.rb
+++ b/actionpack/test/abstract_unit.rb
@@ -19,7 +19,6 @@ begin
rescue LoadError
puts "'drb/unix' is not available"
end
-require 'tempfile'
PROCESS_COUNT = (ENV['N'] || 4).to_i
diff --git a/activesupport/lib/active_support/core_ext/kernel/reporting.rb b/activesupport/lib/active_support/core_ext/kernel/reporting.rb
index 9189e6d977..8afc258df8 100644
--- a/activesupport/lib/active_support/core_ext/kernel/reporting.rb
+++ b/activesupport/lib/active_support/core_ext/kernel/reporting.rb
@@ -1,5 +1,3 @@
-require 'tempfile'
-
module Kernel
# Sets $VERBOSE to nil for the duration of the block and back to its original
# value afterwards.