Skip to content

Commit 448cc0d

Browse files
committed
Fix active_support/*/conversions by requiring missing files
1 parent 9f6b721 commit 448cc0d

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

activesupport/lib/active_support/core_ext/array/conversions.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
require "active_support/core_ext/string/inflections"
55
require "active_support/core_ext/object/to_param"
66
require "active_support/core_ext/object/to_query"
7+
require "active_support/deprecation"
8+
require "active_support/deprecator"
79

810
class Array
911
# Converts the array to a comma-separated sentence where the last element is

activesupport/lib/active_support/core_ext/date/conversions.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
require "active_support/inflector/methods"
55
require "active_support/core_ext/date/zones"
66
require "active_support/core_ext/module/redefine_method"
7+
require "active_support/deprecation"
8+
require "active_support/deprecator"
79

810
class Date
911
DATE_FORMATS = {

activesupport/lib/active_support/core_ext/time/conversions.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
require "time"
44
require "active_support/inflector/methods"
55
require "active_support/values/time_zone"
6+
require "active_support/deprecation"
7+
require "active_support/deprecator"
68

79
class Time
810
DATE_FORMATS = {

activesupport/lib/active_support/number_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# frozen_string_literal: true
22

3+
require "active_support/dependencies/autoload"
4+
35
module ActiveSupport
46
module NumberHelper
57
extend ActiveSupport::Autoload

0 commit comments

Comments
 (0)