rspec-json_matcher 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/rspec/json_matcher/abstract_matcher.rb +2 -2
- data/lib/rspec/json_matcher/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6977233f13aebf212773604c8fdb534684a94698
|
4
|
+
data.tar.gz: 2d67300d1c469979c8bfbcb98d7713d00a425110
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0183fc2300e3b54c7888c484a5728ccee5e8fe147d86d770cd7b9651e8469a2f39b195c872fe3377b5bcbef1aba3c1105ec890100e450e366bc4731b9bcac25e
|
7
|
+
data.tar.gz: 354002a26d9917027e8f7768cbe040aea3178477e496be8545c4dec42748066a7b0ff9e2c22c686ecfd9f64c33fe1d8c0ff13236c3c43f0d7da6bb8d8c6878c5
|
data/CHANGELOG.md
CHANGED
@@ -27,7 +27,7 @@ module RSpec
|
|
27
27
|
"be JSON"
|
28
28
|
end
|
29
29
|
|
30
|
-
def
|
30
|
+
def failure_message
|
31
31
|
if has_parser_error?
|
32
32
|
"expected value to be parsed as JSON, but failed"
|
33
33
|
else
|
@@ -35,7 +35,7 @@ module RSpec
|
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
38
|
-
def
|
38
|
+
def failure_message_when_negated
|
39
39
|
if has_parser_error?
|
40
40
|
"expected value not to be parsed as JSON, but succeeded"
|
41
41
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-json_matcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -132,3 +132,4 @@ summary: RSpec matcher for testing JSON string
|
|
132
132
|
test_files:
|
133
133
|
- spec/rspec/json_matcher_spec.rb
|
134
134
|
- spec/spec_helper.rb
|
135
|
+
has_rdoc:
|