rspec-hal 1.4.0 → 1.4.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: 1c835ecfb6c798d5dfb5c41101dd5c61cde75c1e
4
- data.tar.gz: ab13e80124286588ddc088a3ff1cb773544a84d8
3
+ metadata.gz: a436335f91ac4529f28854e3fd81130890e6a1a0
4
+ data.tar.gz: cd635e22c4da6f1f0ecc447c8ce6cebccf771698
5
5
  SHA512:
6
- metadata.gz: 2e3fd356bb643b6dd6ac9edcc16dfea03bee88fe2cca2039b6a75709ebd340be389b035e6ebd623fe56ea12c6498bd3de52a53831ee7deb97544ff5a4ea5ab4f
7
- data.tar.gz: a08fd297f02eb699afaa48b3298aedb14603d3c7fe1e45441de4c633e45d24b70bb6f78550eb1f9ce15608a5923f17ef5ea81b7058600c318a0844206104ac35
6
+ metadata.gz: aba9ea56b8d6d8757b1f9c62b401c22d0ac3876a5a074198f8f5744d44f2af95be9f3d19ff4ca53bc351281df587f30ea162c9f3c364d9c5c8cce2b4b6cf27f8
7
+ data.tar.gz: 3546032951a23c57bb85e6c514bb785c9bbd23cb35a8bbea6bec40604d2c0e04010b9a9ad9b39e30924fbd56f954d8b9d602fe5dee1356e801b393a21764d9d3
@@ -33,9 +33,9 @@ module RSpec
33
33
  def matches?(jsonish)
34
34
  repr = parse(jsonish)
35
35
 
36
- repr.related_hrefs(link_rel, tmpl_vars){[]}
36
+ !repr.related_hrefs(link_rel, tmpl_vars){[]}
37
37
  .select{|it| expected === it }
38
- .any?
38
+ .empty?
39
39
  end
40
40
 
41
41
  def failure_message
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module Hal
3
- VERSION = "1.4.0"
3
+ VERSION = "1.4.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-hal
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-06 00:00:00.000000000 Z
11
+ date: 2015-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler