1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove unused require "active_support/core_ext/kernel/singleton_class"

`singleton_class` is in Ruby 1.9.2, and there is no use singleton class
eval in the files.
This commit is contained in:
Ryuta Kamizono 2020-05-10 03:20:02 +09:00
parent 0ce1c2ab31
commit 1165401ee9
7 changed files with 0 additions and 7 deletions

View file

@ -2,7 +2,6 @@
require "stringio"
require "uri"
require "active_support/core_ext/kernel/singleton_class"
require "rack/test"
require "minitest"

View file

@ -1,6 +1,5 @@
# frozen_string_literal: true
require "active_support/core_ext/kernel/singleton_class"
require "thread"
require "delegate"

View file

@ -1,7 +1,6 @@
# frozen_string_literal: true
require "active_support/core_ext/array"
require "active_support/core_ext/kernel/singleton_class"
module ActiveRecord
# = Active Record \Named \Scopes

View file

@ -1,6 +1,5 @@
# frozen_string_literal: true
require "active_support/core_ext/kernel/singleton_class"
require "active_support/core_ext/module/redefine_method"
require "active_support/core_ext/array/extract_options"

View file

@ -1,7 +1,6 @@
# frozen_string_literal: true
require "erb"
require "active_support/core_ext/kernel/singleton_class"
require "active_support/core_ext/module/redefine_method"
require "active_support/multibyte/unicode"

View file

@ -1,6 +1,5 @@
# frozen_string_literal: true
require "active_support/core_ext/kernel/singleton_class"
require "active_support/core_ext/module/delegation"
module ActiveSupport

View file

@ -6,7 +6,6 @@ $:.unshift(activesupport_path) if File.directory?(activesupport_path) && !$:.inc
require "thor/group"
require "rails/command"
require "active_support/core_ext/kernel/singleton_class"
require "active_support/core_ext/array/extract_options"
require "active_support/core_ext/enumerable"
require "active_support/core_ext/hash/deep_merge"