lib/fusuma/plugin/manager.rb in fusuma-1.3.1 vs lib/fusuma/plugin/manager.rb in fusuma-1.3.2
- old
+ new
@@ -11,10 +11,10 @@
@plugin_class = plugin_class
end
def require_siblings_from_local
search_key = File.join('../../', plugin_dir_name, '*.rb')
- Dir.glob(File.expand_path("#{__dir__}/#{search_key}")).each do |siblings_plugin|
+ Dir.glob(File.expand_path("#{__dir__}/#{search_key}")).sort.each do |siblings_plugin|
require siblings_plugin
end
end
def require_siblings_from_gems