lib/fakeit.rb in fakeit-0.1.1 vs lib/fakeit.rb in fakeit-0.1.2

- old
+ new

@@ -2,17 +2,18 @@ require 'yaml' require 'open-uri' require 'openapi_parser' require 'faker' require 'rack' +require 'logger' -Dir.glob(File.join(File.dirname(__FILE__), 'fakeit', '/**/*.rb')).each { |file| require file } +Dir.glob(File.join(File.dirname(__FILE__), 'fakeit', '**/*.rb')).each { |file| require file } module Fakeit class << self - def build(spec_file) + def build(spec_file, options) Rack::Builder.new do - run App.create(spec_file) + run App.create(spec_file, options) end end end end