Skip to content

Commit 3d2a488

Browse files
committed
Fix a bunch of circular reference warnings
Honestly I'm not tremendously confident with this change. One problem is that the files no longer require their "matcher" feature, so if they're loaded directly (instead of as a side-effect of loading pact/matchers) then you may see errors. 🤔
1 parent 3728126 commit 3d2a488

File tree

5 files changed

+0
-6
lines changed

5 files changed

+0
-6
lines changed

lib/pact/consumer_contract/query_string.rb

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
require 'pact/shared/active_support_support'
2-
require 'pact/matchers'
32

43
module Pact
54
class QueryString

lib/pact/shared/form_differ.rb

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
require 'pact/matchers/matchers'
21
require 'uri'
32

43
module Pact

lib/pact/shared/json_differ.rb

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
require 'pact/matchers/matchers'
2-
31
module Pact
42
class JsonDiffer
53

lib/pact/shared/request.rb

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
require 'pact/matchers'
21
require 'pact/symbolize_keys'
32
require 'pact/consumer_contract/headers'
43
require 'pact/consumer_contract/query'

lib/pact/shared/text_differ.rb

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
require 'pact/matchers/matchers'
21
require 'pact/matchers/difference'
32

43
module Pact

0 commit comments

Comments
 (0)