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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8fdf55842f130209991f93fbcd8a241467e1a002
4
- data.tar.gz: daf74c7fa6e9feb16f33efdc480b88138cc6d8f8
3
+ metadata.gz: 6977233f13aebf212773604c8fdb534684a94698
4
+ data.tar.gz: 2d67300d1c469979c8bfbcb98d7713d00a425110
5
5
  SHA512:
6
- metadata.gz: 83705b7ed68482bbbd4d411c6dff881db6bdbf9922f53fe3dae3375323d9ab1fdd9c1617f06b35d119d07bb3d3e6601cf8fe2fe4781b5e2f7772034f1ba27689
7
- data.tar.gz: 60942294a04c7df38dbfeaa382722f8d8f26f9e9ff58601b750feca501da15cbedb0ac8558843338c5afd66aae6e892cec6db4089674ab73e21b23dfa16399ee
6
+ metadata.gz: 0183fc2300e3b54c7888c484a5728ccee5e8fe147d86d770cd7b9651e8469a2f39b195c872fe3377b5bcbef1aba3c1105ec890100e450e366bc4731b9bcac25e
7
+ data.tar.gz: 354002a26d9917027e8f7768cbe040aea3178477e496be8545c4dec42748066a7b0ff9e2c22c686ecfd9f64c33fe1d8c0ff13236c3c43f0d7da6bb8d8c6878c5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.1.1
2
+ * Suppress deprecation warnings for RSpec 3
3
+
1
4
  ## 0.1.0
2
5
  * Change interface to be_json_including & be_json_as matchers
3
6
 
@@ -27,7 +27,7 @@ module RSpec
27
27
  "be JSON"
28
28
  end
29
29
 
30
- def failure_message_for_should
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 failure_message_for_should_not
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
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module JsonMatcher
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
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.0
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-05 00:00:00.000000000 Z
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: