diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-12-02 22:12:36 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-12-02 22:12:36 -0200 |
commit | d3b93e403b3d0c11607e037770ad91c062b2e897 (patch) | |
tree | 1fe5f112d215cf72887835b6190f50400767e4dc /activesupport/lib/active_support/number_helper | |
parent | fc73ebf332c4dbd36dcf7e7a39a0e120b7680bd2 (diff) | |
download | rails-d3b93e403b3d0c11607e037770ad91c062b2e897.tar.gz rails-d3b93e403b3d0c11607e037770ad91c062b2e897.tar.bz2 rails-d3b93e403b3d0c11607e037770ad91c062b2e897.zip |
Make load of NumberHelper thread safe
Diffstat (limited to 'activesupport/lib/active_support/number_helper')
-rw-r--r-- | activesupport/lib/active_support/number_helper/number_to_currency_converter.rb (renamed from activesupport/lib/active_support/number_helper/number_to_currency.rb) | 3 | ||||
-rw-r--r-- | activesupport/lib/active_support/number_helper/number_to_delimited_converter.rb (renamed from activesupport/lib/active_support/number_helper/number_to_delimited.rb) | 2 | ||||
-rw-r--r-- | activesupport/lib/active_support/number_helper/number_to_human_converter.rb (renamed from activesupport/lib/active_support/number_helper/number_to_human.rb) | 3 | ||||
-rw-r--r-- | activesupport/lib/active_support/number_helper/number_to_human_size_converter.rb (renamed from activesupport/lib/active_support/number_helper/number_to_human_size.rb) | 3 | ||||
-rw-r--r-- | activesupport/lib/active_support/number_helper/number_to_percentage_converter.rb (renamed from activesupport/lib/active_support/number_helper/number_to_percentage.rb) | 3 | ||||
-rw-r--r-- | activesupport/lib/active_support/number_helper/number_to_phone_converter.rb (renamed from activesupport/lib/active_support/number_helper/number_to_phone.rb) | 3 | ||||
-rw-r--r-- | activesupport/lib/active_support/number_helper/number_to_rounded_converter.rb (renamed from activesupport/lib/active_support/number_helper/number_to_rounded.rb) | 2 |
7 files changed, 0 insertions, 19 deletions
diff --git a/activesupport/lib/active_support/number_helper/number_to_currency.rb b/activesupport/lib/active_support/number_helper/number_to_currency_converter.rb index 402b0b56aa..113e557415 100644 --- a/activesupport/lib/active_support/number_helper/number_to_currency.rb +++ b/activesupport/lib/active_support/number_helper/number_to_currency_converter.rb @@ -1,6 +1,3 @@ -require 'active_support/number_helper/number_converter' -require 'active_support/number_helper/number_to_rounded' - module ActiveSupport module NumberHelper class NumberToCurrencyConverter < NumberConverter # :nodoc: diff --git a/activesupport/lib/active_support/number_helper/number_to_delimited.rb b/activesupport/lib/active_support/number_helper/number_to_delimited_converter.rb index b543b0c19d..6604b9cce4 100644 --- a/activesupport/lib/active_support/number_helper/number_to_delimited.rb +++ b/activesupport/lib/active_support/number_helper/number_to_delimited_converter.rb @@ -1,5 +1,3 @@ -require 'active_support/number_helper/number_converter' - module ActiveSupport module NumberHelper class NumberToDelimitedConverter < NumberConverter #:nodoc: diff --git a/activesupport/lib/active_support/number_helper/number_to_human.rb b/activesupport/lib/active_support/number_helper/number_to_human_converter.rb index 70d669f175..3cdf6ff9f8 100644 --- a/activesupport/lib/active_support/number_helper/number_to_human.rb +++ b/activesupport/lib/active_support/number_helper/number_to_human_converter.rb @@ -1,6 +1,3 @@ -require 'active_support/number_helper/number_converter' -require 'active_support/number_helper/number_to_rounded' - module ActiveSupport module NumberHelper class NumberToHumanConverter < NumberConverter # :nodoc: diff --git a/activesupport/lib/active_support/number_helper/number_to_human_size.rb b/activesupport/lib/active_support/number_helper/number_to_human_size_converter.rb index c0930564bc..6a0f6e70b7 100644 --- a/activesupport/lib/active_support/number_helper/number_to_human_size.rb +++ b/activesupport/lib/active_support/number_helper/number_to_human_size_converter.rb @@ -1,6 +1,3 @@ -require 'active_support/number_helper/number_converter' -require 'active_support/number_helper/number_to_rounded' - module ActiveSupport module NumberHelper class NumberToHumanSizeConverter < NumberConverter diff --git a/activesupport/lib/active_support/number_helper/number_to_percentage.rb b/activesupport/lib/active_support/number_helper/number_to_percentage_converter.rb index 25e136be60..b7926cf151 100644 --- a/activesupport/lib/active_support/number_helper/number_to_percentage.rb +++ b/activesupport/lib/active_support/number_helper/number_to_percentage_converter.rb @@ -1,6 +1,3 @@ -require 'active_support/number_helper/number_converter' -require 'active_support/number_helper/number_to_rounded' - module ActiveSupport module NumberHelper class NumberToPercentageConverter < NumberConverter # :nodoc: diff --git a/activesupport/lib/active_support/number_helper/number_to_phone.rb b/activesupport/lib/active_support/number_helper/number_to_phone_converter.rb index 171c2dff18..c4aa5c311a 100644 --- a/activesupport/lib/active_support/number_helper/number_to_phone.rb +++ b/activesupport/lib/active_support/number_helper/number_to_phone_converter.rb @@ -1,6 +1,3 @@ -require 'active_support/number_helper/number_converter' -require 'active_support/number_helper/number_to_rounded' - module ActiveSupport module NumberHelper class NumberToPhoneConverter < NumberConverter diff --git a/activesupport/lib/active_support/number_helper/number_to_rounded.rb b/activesupport/lib/active_support/number_helper/number_to_rounded_converter.rb index 817ac1ebb2..355c810dc9 100644 --- a/activesupport/lib/active_support/number_helper/number_to_rounded.rb +++ b/activesupport/lib/active_support/number_helper/number_to_rounded_converter.rb @@ -1,5 +1,3 @@ -require 'active_support/number_helper/number_converter' - module ActiveSupport module NumberHelper class NumberToRoundedConverter < NumberConverter # :nodoc: |