jsonapi-rspec 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/jsonapi/rspec/links.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c18e0598e541bf12401287dfcaa86a8dac978bc
4
- data.tar.gz: 9043ba44228a6e7c2d655447baace7db637be81b
3
+ metadata.gz: 2be5ed3e2b2ccdb4cee1028850cfc2c881ce15f6
4
+ data.tar.gz: 96c0c548a215f89d66b65ad1335cec161743afe9
5
5
  SHA512:
6
- metadata.gz: 137f12232b91ae146be8b7bf8ec73cf64c8259547cec667685010942da126054859a7045cea4dc0e4b07b5be14321ae2722705183be99aba7184864a2e0653cf
7
- data.tar.gz: 3b372af8e591982007a21bfa54dd7e96f2f4b577d8855ca870eca6832d1f9a0161d8d7b274d16497911a042f200c640080e9b71fd34d481f1c9d7b0023c432f9
6
+ metadata.gz: 2f9da5bfd20dc32a38d928744640f3490bcf443cbfd1e0ed1e987884caf3a31ad5db75e3a8bddd1716002655cbbe05bd91a0ae30e0be7f22b61addce281a6857
7
+ data.tar.gz: 1f3146f7d30fcd120722539a0e6fd778577bd9574fccf06d60fc8b5cfcb014a6161b33002576fddba31a6a761198e97f4c37c4c7b28c4a567bb34e4f51b4e1f9
@@ -17,7 +17,7 @@ module JSONAPI
17
17
  match do |actual|
18
18
  return false unless actual.key?('links')
19
19
 
20
- links.all? { |link| actual['links'].key?(link) }
20
+ links.all? { |link| actual['links'].key?(link.to_s) }
21
21
  end
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonapi-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucas Hosseini