Sha256: 2bfc8d19ab231efd469f55e4fae57b4e3b236fce0e3a86c26f80b4a6751af0cb

Contents?: true

Size: 444 Bytes

Versions: 11

Compression:

Stored size: 444 Bytes

Contents

# encoding: UTF-8
require_relative './mockserver/version'
require_relative './mockserver/mock_server_client'
require_relative './mockserver/proxy_client'

# Setup serialization correctly with multi_json
require 'json/pure'

# To fix serialization bugs. See: http://prettystatemachine.blogspot.com/2010/09/typeerrors-in-tojson-make-me-briefly.html
class Fixnum
  def to_json(_)
    to_s
  end
end

require 'multi_json'
MultiJson.use(:json_pure)

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
flipp-mockserver-client-0.1.0 lib/mockserver-client.rb
mockserver-client-1.0.8.pre lib/mockserver-client.rb
mockserver-client-1.0.7 lib/mockserver-client.rb
mockserver-client-1.0.7.pre lib/mockserver-client.rb
mockserver-client-1.0.6 lib/mockserver-client.rb
mockserver-client-1.0.6.pre lib/mockserver-client.rb
mockserver-client-1.0.4 lib/mockserver-client.rb
mockserver-client-1.0.3 lib/mockserver-client.rb
mockserver-client-1.0.2.pre lib/mockserver-client.rb
mockserver-client-1.0.1.pre lib/mockserver-client.rb
mockserver-client-1.0.1 lib/mockserver-client.rb