Skip to content

Commit

Permalink
Sort the requires
Browse files Browse the repository at this point in the history
  • Loading branch information
stympy authored and landongrindheim committed Oct 7, 2017
1 parent 0820807 commit 2c6661a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/faker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def rand(max = nil)
end
end

Dir.glob(File.join(File.dirname(__FILE__), 'faker','*.rb')).each {|f| require f }
Dir.glob(File.join(File.dirname(__FILE__), 'faker','*.rb')).sort.each {|f| require f }

require 'extensions/array'
require 'extensions/symbol'
Expand Down

0 comments on commit 2c6661a

Please sign in to comment.