jsonapi_compliable 0.11.14 → 0.11.15

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: 85cb483d105b4de74832a99fefe27def18abf39c
4
- data.tar.gz: df674dec125d95d7a53850cffa4505cc25dc7cc7
3
+ metadata.gz: 3948d56bb234ee8a53b3697830eec3a1e556baef
4
+ data.tar.gz: c3f2004adda3e41025714b46609db656bd2dce4a
5
5
  SHA512:
6
- metadata.gz: 9d8ccc89afff5695bb27ab30b1fa07a209ec349fb68f0c07042a152dc3b63a7775235bc20386ca75cae0c0a574564faf4a0316815a7226c4c0181beb5e431a82
7
- data.tar.gz: 935e966df8bd96148ff5cadd32bee84257b723f1f7872236a8e2d7d32effc54e8e07ee93c9b5b8532240502a6422c34547c20149864bf30be67d2ad40450a70a
6
+ metadata.gz: 7430a24b6b1e5c03d13c6ac5e1bb16a2d443f5028a5d246ce7658d26d06828d5ce645d038bf3775a791b005e450b51c15df35258c35ef83297dadc48ae1ceddd
7
+ data.tar.gz: c3bee1548419c881cdb9483635473ce2cf630ff8dec548aa72e3731134a6c95e1a92c127094893010eefdc144b026faf4af247260b4223a1ee6e18784b178b2d
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.4.1
1
+ 2.3.0
@@ -209,7 +209,8 @@ module JsonapiCompliable
209
209
  key = key.to_sym
210
210
 
211
211
  if association?(key)
212
- hash[key][:filter].merge!(value)
212
+ k, v = Hash(value).to_a.first
213
+ hash[key][:filter][k.to_sym] = v
213
214
  else
214
215
  hash[resource.type][:filter][key] = value
215
216
  end
@@ -1,3 +1,3 @@
1
1
  module JsonapiCompliable
2
- VERSION = "0.11.14"
2
+ VERSION = "0.11.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonapi_compliable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.14
4
+ version: 0.11.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Richmond
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-05-22 00:00:00.000000000 Z
12
+ date: 2018-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jsonapi-serializable