rspec-json_matcher 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rspec/json_matcher/version.rb +1 -1
- data/lib/rspec/json_matcher.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fe8679b010a21084b2b7fa60c0fa4f1f2081cbeb
|
|
4
|
+
data.tar.gz: 7cba23c67f6e4037726440ab4b5d08c28e1ffa32
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b40b1025ec21c6f52441367a733d3651691cd1db90b2a3c96c81ad115f12b9db0cb13e709abc7850831978bfd9f5e15ec4a4d47bf06a13fdc17c7956eac4b4a
|
|
7
|
+
data.tar.gz: 644c8da6b47f9f96eef217a0a522ec08f06053f21b6ea1ba9e70cbbaf85905ca06e104b13f93d209696d2f874c70e6589b257011d88abedf839bae0bca52a43c
|
data/lib/rspec/json_matcher.rb
CHANGED
|
@@ -58,7 +58,7 @@ module RSpec
|
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
def inspection(prefix = nil)
|
|
61
|
-
["expected #{prefix}to match:", expected.ai, "", "actual:", parsed.ai].join("\n")
|
|
61
|
+
["expected #{prefix}to match:", expected.ai(indent: -2), "", "actual:", parsed.ai(indent: -2)].join("\n")
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
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.0.
|
|
4
|
+
version: 0.0.4
|
|
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-06-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|
|
@@ -118,11 +118,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
118
118
|
version: '0'
|
|
119
119
|
requirements: []
|
|
120
120
|
rubyforge_project:
|
|
121
|
-
rubygems_version: 2.0.
|
|
121
|
+
rubygems_version: 2.0.2
|
|
122
122
|
signing_key:
|
|
123
123
|
specification_version: 4
|
|
124
124
|
summary: RSpec matcher for testing JSON string
|
|
125
125
|
test_files:
|
|
126
126
|
- spec/rspec/json_matcher_spec.rb
|
|
127
127
|
- spec/spec_helper.rb
|
|
128
|
-
has_rdoc:
|