diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2012-05-10 19:28:02 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2012-05-11 19:00:11 -0300 |
commit | a6381042fa9899544c365dfa369ab15c79f7f158 (patch) | |
tree | 1582813b6dd4d27207a4f67522e2f48c6c8721f6 | |
parent | ecef5a9f224ad3ac74c0466b33cef0226ec0787c (diff) | |
download | rails-a6381042fa9899544c365dfa369ab15c79f7f158.tar.gz rails-a6381042fa9899544c365dfa369ab15c79f7f158.tar.bz2 rails-a6381042fa9899544c365dfa369ab15c79f7f158.zip |
Remove ruby/shim
require 'action_view' is now much faster
-rw-r--r-- | actionpack/lib/abstract_controller.rb | 1 | ||||
-rw-r--r-- | actionpack/lib/action_view.rb | 2 | ||||
-rw-r--r-- | activesupport/lib/active_support/ruby/shim.rb | 15 |
3 files changed, 1 insertions, 17 deletions
diff --git a/actionpack/lib/abstract_controller.rb b/actionpack/lib/abstract_controller.rb index cc5878c88e..f970007621 100644 --- a/actionpack/lib/abstract_controller.rb +++ b/actionpack/lib/abstract_controller.rb @@ -3,7 +3,6 @@ $:.unshift(activesupport_path) if File.directory?(activesupport_path) && !$:.inc require 'action_pack' require 'active_support/concern' -require 'active_support/ruby/shim' require 'active_support/dependencies/autoload' require 'active_support/core_ext/class/attribute' require 'active_support/core_ext/module/attr_internal' diff --git a/actionpack/lib/action_view.rb b/actionpack/lib/action_view.rb index 349a3fcc6e..4aa3c12d52 100644 --- a/actionpack/lib/action_view.rb +++ b/actionpack/lib/action_view.rb @@ -21,9 +21,9 @@ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #++ -require 'active_support/ruby/shim' require 'active_support/core_ext/class/attribute_accessors' +require 'active_support' require 'action_pack' module ActionView diff --git a/activesupport/lib/active_support/ruby/shim.rb b/activesupport/lib/active_support/ruby/shim.rb deleted file mode 100644 index 13e96b3596..0000000000 --- a/activesupport/lib/active_support/ruby/shim.rb +++ /dev/null @@ -1,15 +0,0 @@ -# Backported Ruby builtins so you can code with the latest & greatest -# but still run on any Ruby 1.8.x. -# -# Date next_year, next_month -# DateTime to_date, to_datetime, xmlschema -# Enumerable group_by, none? -# String ord -# Time to_date, to_time, to_datetime -require 'active_support' -require 'active_support/core_ext/date/calculations' -require 'active_support/core_ext/date_time/conversions' -require 'active_support/core_ext/enumerable' -require 'active_support/core_ext/string/conversions' -require 'active_support/core_ext/string/interpolation' -require 'active_support/core_ext/time/conversions' |