lib/resync.rb in resync-0.3.3 vs lib/resync.rb in resync-0.3.4
- old
+ new
@@ -1,4 +1,4 @@
# A Ruby gem for working with the {http://www.openarchives.org/rs/1.0/resourcesync ResourceSync} web synchronization framework.
module Resync
- Dir.glob(File.expand_path('../resync/*.rb', __FILE__), &method(:require))
+ Dir.glob(File.expand_path('../resync/*.rb', __FILE__)).sort.each(&method(:require))
end