json_api_toolbox 0.5.1 → 0.5.2

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: bb8b7a1164443567101edd1115eaaa8c62365fb4
4
- data.tar.gz: aa0f04f0cf16032453bb0d8584b931e5ae2ac182
3
+ metadata.gz: e0c7f10667361e622bd0f87c0c978705b1fbd0b8
4
+ data.tar.gz: ac5f7880a4393f8fb43d64b2bf81c4894f2b3e7a
5
5
  SHA512:
6
- metadata.gz: 9cd40be8fa33c1459f051108e528cf940720320aaa924dc009d0e6f469da370a025bbae99deecb7c1622293e1abda43b494b9a3805fb7326b1bad299670145ff
7
- data.tar.gz: 8d29e0e0d0a6f58bb1100ba3804f5ae73a650c84f63f4b71f2e736482c95b4bff7483912b8e772feea5020ed1051ea4406225944baa5e7a794daaebfe117c849
6
+ metadata.gz: d114ad86a5fc293a427aeb020fd1abcf0ed27b1e6fc71a023d07c1eca636e85ca33c402d11072e0f652632d888a56cb8c434c4a0354394bce3904f07a4305253
7
+ data.tar.gz: 051074a8c6b0da03c0c860c269a94e962a7308e746a9f293f3131a6b3c5d6c100146932799fe051667b9d2815c8be7a0d19a82dfbbca306d31eeda6de43a7b30
@@ -47,7 +47,7 @@ module JsonApiToolbox
47
47
  end
48
48
 
49
49
  it 'returns response with default values' do
50
- expect(attributes).to match_array(model_keys)
50
+ expect((model_keys & attributes).size).to eq(model_keys.size)
51
51
  end
52
52
  end
53
53
 
@@ -1,3 +1,3 @@
1
1
  module JsonApiToolbox
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json_api_toolbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adriano Bacha
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-15 00:00:00.000000000 Z
11
+ date: 2017-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport