lib/fakeit.rb in fakeit-0.4.2 vs lib/fakeit.rb in fakeit-0.5.0
- old
+ new
@@ -5,10 +5,10 @@
require 'faker'
require 'rack'
require 'logger'
require 'rainbow'
-Dir.glob(File.join(File.dirname(__FILE__), 'fakeit', '**/*.rb')).each { |file| require file }
+Dir.glob(File.join(File.dirname(__FILE__), 'fakeit', '**/*.rb')).sort.each { require _1 }
module Fakeit
class << self
def build(spec_file, options)
Rack::Builder.new do