Sha256: c16af7202a3f3bb31ffae46f0b9dc866a5f1043f99a484e5691f51b690859d32

Contents?: true

Size: 411 Bytes

Versions: 5

Compression:

Stored size: 411 Bytes

Contents

require 'json'
require 'yaml'
require 'open-uri'
require 'base64'
require 'openapi_parser'
require 'faker'
require 'rack'
require 'logger'
require 'rainbow'

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
        run App.create(spec_file, options)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fakeit-0.6.2 lib/fakeit.rb
fakeit-0.6.1 lib/fakeit.rb
fakeit-0.6.0 lib/fakeit.rb
fakeit-0.5.3 lib/fakeit.rb
fakeit-0.5.2 lib/fakeit.rb