diff options
author | Akira Matsuda <ronnie@dio.jp> | 2017-06-30 14:00:04 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2017-07-01 18:38:04 +0900 |
commit | 8da30ad6be34339124ba4cb4e36aea260dda12bc (patch) | |
tree | d71097ef2d4b060783e2df4276d62ffed256f7cb /activesupport/lib/active_support/json | |
parent | 618268b4b9382f4bcf004a945fe2d85c0bd03e32 (diff) | |
download | rails-8da30ad6be34339124ba4cb4e36aea260dda12bc.tar.gz rails-8da30ad6be34339124ba4cb4e36aea260dda12bc.tar.bz2 rails-8da30ad6be34339124ba4cb4e36aea260dda12bc.zip |
[Active Support] require => require_relative
Diffstat (limited to 'activesupport/lib/active_support/json')
-rw-r--r-- | activesupport/lib/active_support/json/decoding.rb | 4 | ||||
-rw-r--r-- | activesupport/lib/active_support/json/encoding.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/json/decoding.rb b/activesupport/lib/active_support/json/decoding.rb index f487fa0c65..c60ebb2795 100644 --- a/activesupport/lib/active_support/json/decoding.rb +++ b/activesupport/lib/active_support/json/decoding.rb @@ -1,5 +1,5 @@ -require "active_support/core_ext/module/attribute_accessors" -require "active_support/core_ext/module/delegation" +require_relative "../core_ext/module/attribute_accessors" +require_relative "../core_ext/module/delegation" require "json" module ActiveSupport diff --git a/activesupport/lib/active_support/json/encoding.rb b/activesupport/lib/active_support/json/encoding.rb index defaf3f395..e7679e4630 100644 --- a/activesupport/lib/active_support/json/encoding.rb +++ b/activesupport/lib/active_support/json/encoding.rb @@ -1,5 +1,5 @@ -require "active_support/core_ext/object/json" -require "active_support/core_ext/module/delegation" +require_relative "../core_ext/object/json" +require_relative "../core_ext/module/delegation" module ActiveSupport class << self |