RubyGems
npm
Organizations
Log in
Sign up
RubyGems
pact
Versions diffs
1.0.31 → 1.0.32
pact 1.0.31 → 1.0.32
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (6)
hide
show
data/lib/pact/matchers/index_not_found.rb
+5
-1
data/lib/pact/matchers/unexpected_index.rb
+4
-0
data/lib/pact/matchers/unexpected_key.rb
+4
-1
data/lib/pact/shared/key_not_found.rb
+5
-1
data/lib/pact/version.rb
+1
-1
metadata
+1
-1
data/lib/pact/matchers/index_not_found.rb
CHANGED
Viewed
@@ -12,9 +12,13 @@ module Pact
12
12
to_s
13
13
end
14
14
15
+
def as_json options = {}
16
+
to_s
17
+
end
18
+
15
19
def empty?
16
20
true
17
21
end
18
-
end
22
+
end
19
23
20
24
end
data/lib/pact/matchers/unexpected_index.rb
CHANGED
Viewed
@@ -9,6 +9,10 @@ module Pact
9
9
'<index not to exist>'
10
10
end
11
11
12
+
def as_json options = {}
13
+
to_s
14
+
end
15
+
12
16
def to_json opts = {}
13
17
to_s
14
18
end
data/lib/pact/matchers/unexpected_key.rb
CHANGED
Viewed
@@ -4,12 +4,15 @@ module Pact
4
4
def == other
5
5
other.is_a? UnexpectedKey
6
6
end
7
-
8
7
9
8
def to_s
10
9
'<key not to exist>'
11
10
end
12
11
12
+
def as_json options = {}
13
+
to_s
14
+
end
15
+
13
16
def to_json opts = {}
14
17
to_s
15
18
end
data/lib/pact/shared/key_not_found.rb
CHANGED
Viewed
@@ -12,6 +12,10 @@ module Pact
12
12
"<key not found>"
13
13
end
14
14
15
+
def as_json options={}
16
+
to_s
17
+
end
18
+
15
19
def to_json options = {}
16
20
to_s
17
21
end
@@ -19,6 +23,6 @@ module Pact
19
23
def empty?
20
24
true
21
25
end
22
-
end
26
+
end
23
27
24
28
end
data/lib/pact/version.rb
CHANGED
Viewed
@@ -1,3 +1,3 @@
1
1
module Pact
2
-
VERSION = "1.0.
31
"
2
+
VERSION = "1.0.
32
"
3
3
end
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: pact
3
3
version: !ruby/object:Gem::Version
4
-
version: 1.0.
31
4
+
version: 1.0.
32
5
5
prerelease:
6
6
platform: ruby
7
7
authors: