rspec-json_matcher 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6f44fe9907cd61e704180365ae015e790646e885
4
- data.tar.gz: b4f9c9019282e465493e044d7ebf97b7e0c57483
3
+ metadata.gz: fe8679b010a21084b2b7fa60c0fa4f1f2081cbeb
4
+ data.tar.gz: 7cba23c67f6e4037726440ab4b5d08c28e1ffa32
5
5
  SHA512:
6
- metadata.gz: b1d57f6a233174587f6b6e4bc675ff54dd9443cba75f8a8e34dfc80bc65ed957868f6f75b321dc0877431cd730c9c4f73d8430faef06bca71884693b689e974d
7
- data.tar.gz: c52118d2b72d4f0e1433c704ee75af355850ecf719100c8bb31d8c0e09b8f7363f45bc85eae4f7ed360d767a97d312f006e75aefda386a873a2137270ad2642d
6
+ metadata.gz: 0b40b1025ec21c6f52441367a733d3651691cd1db90b2a3c96c81ad115f12b9db0cb13e709abc7850831978bfd9f5e15ec4a4d47bf06a13fdc17c7956eac4b4a
7
+ data.tar.gz: 644c8da6b47f9f96eef217a0a522ec08f06053f21b6ea1ba9e70cbbaf85905ca06e104b13f93d209696d2f874c70e6589b257011d88abedf839bae0bca52a43c
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module JsonMatcher
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -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.3
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-04-26 00:00:00.000000000 Z
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.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: