Sha256: 8601e6cb1d56c8b71b42a665f683df2d9e3814c7e78ab4a0d6f839dfc7f47d1f

Contents?: true

Size: 380 Bytes

Versions: 7

Compression:

Stored size: 380 Bytes

Contents

require 'json'
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 }

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

7 entries across 7 versions & 1 rubygems

Version Path
fakeit-0.3.0 lib/fakeit.rb
fakeit-0.2.1 lib/fakeit.rb
fakeit-0.2.0 lib/fakeit.rb
fakeit-0.1.5 lib/fakeit.rb
fakeit-0.1.4 lib/fakeit.rb
fakeit-0.1.3 lib/fakeit.rb
fakeit-0.1.2 lib/fakeit.rb