public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Plugin locator: sort directory listing because we can't assume that the OS will 
do it for us. This fixes some unit test failures.
Hongli Lai (Phusion (author)
Wed Jul 09 04:32:40 -0700 2008
NZKoz (committer)
Wed Jul 09 04:34:36 -0700 2008
commit  2b4eb586efa240dd985d8b5fe918084ab17fae2b
tree    19dafcce65ac9fb94be5b4d0c95cd273e82bfdda
parent  91320f2a809d3a59efabd9f839fe9b879f4a9b29
...
63
64
65
66
 
67
68
69
...
63
64
65
 
66
67
68
69
0
@@ -63,7 +63,7 @@ module Rails
0
         #     => <Rails::Plugin name: 'acts_as_chunky_bacon' ... >
0
         #
0
         def locate_plugins_under(base_path)
0
-           Dir.glob(File.join(base_path, '*')).inject([]) do |plugins, path|
0
+           Dir.glob(File.join(base_path, '*')).sort.inject([]) do |plugins, path|
0
             if plugin = create_plugin(path)
0
               plugins << plugin
0
             elsif File.directory?(path)

Comments