jsonapi-rspec 0.0.8 → 0.0.9

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/id.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52b2400bcac651bfc0b4c8421d716c79fbaf2e18041a2eef042fe610ed07d6e9
4
- data.tar.gz: 4222824ea957fe826a5d2e6fc7cf2bccfbe05abd012047809ea1e88ad75b426c
3
+ metadata.gz: 404100d143c51997a54c90beae1d40c2f30c38c62d83358c3b52147ca2528a9f
4
+ data.tar.gz: 8c2abd999070e75c839193c513e7c443b65c36c7d31b2e9bd8c27a193a8aa0e1
5
5
  SHA512:
6
- metadata.gz: 7aaf222387bac2360894059c1dea6b82e8c954518d6ed36aad4381784b40d08f93c12dea33d56c6eb07efaf7b8c2da37a40ef3ac68d37bbf0400aab2f173cc7d
7
- data.tar.gz: 8322947de5e6a2832e1fa0813ce26a4a1db01f9b1fe7fc0236e9f66913f597386144454363cb184f252f178fe9001be86e6220e6ea94cef95313307aa06e2949
6
+ metadata.gz: 2f69b0906838b7409d56adee6012bf83583b6f271394e8e3a4a4a171821df9b865551e58fea814f799afdf27084a01ca7d4be409a20610c528fc748dd61134b9
7
+ data.tar.gz: 3a9c8bc87b5e83db4279bd7b286892a3b4869dd3fbe6bf44b47dd172a25fb2349cdad018b7d6d54e3d4119e9121e2601910bb34d91552c795927ac137eaa86fe
@@ -3,7 +3,7 @@ module JSONAPI
3
3
  module Id
4
4
  ::RSpec::Matchers.define :have_id do |expected|
5
5
  match do |actual|
6
- JSONAPI::RSpec.as_indifferent_hash(actual)['id'] == expected.to_s
6
+ JSONAPI::RSpec.as_indifferent_hash(actual)['id'] == expected
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonapi-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucas Hosseini
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-30 00:00:00.000000000 Z
11
+ date: 2020-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec-core