Sha256: 43525e6c0479b92a5c2b83395e4d77ed2ef7a570096a126c5e5cdef13f30bfaf

Contents?: true

Size: 355 Bytes

Versions: 60

Compression:

Stored size: 355 Bytes

Contents

module Pact
  class JsonDiffer

    # Delegates to https://github.com/pact-foundation/pact-support/blob/master/lib/pact/matchers/matchers.rb#L25
    def self.call expected, actual, options = {}
      require 'pact/matchers' # avoid recursive loop between this file and pact/matchers
      ::Pact::Matchers.diff expected, actual, options
    end
  end
end

Version data entries

60 entries across 60 versions & 2 rubygems

Version Path
pact-support-1.21.1 lib/pact/shared/json_differ.rb
pact-support-1.21.0 lib/pact/shared/json_differ.rb
pact-support-1.20.2 lib/pact/shared/json_differ.rb
pact-support-1.20.1 lib/pact/shared/json_differ.rb
pact-support-1.20.0 lib/pact/shared/json_differ.rb
pact-support-1.19.0 lib/pact/shared/json_differ.rb
pact-support-1.18.1 lib/pact/shared/json_differ.rb
pact-support-1.18.0 lib/pact/shared/json_differ.rb
hs-pact-support-1.17.1 lib/pact/shared/json_differ.rb
pact-support-1.17.0 lib/pact/shared/json_differ.rb
pact-support-1.16.10 lib/pact/shared/json_differ.rb
pact-support-1.16.9 lib/pact/shared/json_differ.rb
pact-support-1.16.8 lib/pact/shared/json_differ.rb
pact-support-1.16.7 lib/pact/shared/json_differ.rb
pact-support-1.16.6 lib/pact/shared/json_differ.rb
pact-support-1.16.5 lib/pact/shared/json_differ.rb
pact-support-1.16.4 lib/pact/shared/json_differ.rb
pact-support-1.16.3 lib/pact/shared/json_differ.rb
pact-support-1.16.2 lib/pact/shared/json_differ.rb
pact-support-1.17.0.pre.rc2 lib/pact/shared/json_differ.rb