drillbit 2.2.0 → 2.2.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: bca9c34aa017e24eee6166e02ddf7781a7f8e8c0
4
- data.tar.gz: 9ce4529a2cde4d3fc81bcd17b7e21cd71ea5d5ff
3
+ metadata.gz: d406056a81f25127ca8915b4f18010b97a9218eb
4
+ data.tar.gz: c14836c47439c54959ec68ec1788d5a3ac623b02
5
5
  SHA512:
6
- metadata.gz: 95c93eb1ffa16512843587aacf7489b3816bc691a2bf829674b1a925c314f69e7a94e2d5719c29e686654a465ff72d05159a583c9d188f9397d629f8963dd13a
7
- data.tar.gz: a0f658423619d88c6351cde8b22196d3d2a456cfa5f4221106bd904728d06638e97355b4435dbe4f0049b95e6942c3175eec76e0e22d023898aa5e312fb777d9
6
+ metadata.gz: 9fc6509640e2d8c19ff7f14baf9c21405a838d6c7efff3cf432bd6f97b0266984e20f886b15c1e89b2d3e4c423b2d7c11d5cad8381abcff521c87941ec3e9b7e
7
+ data.tar.gz: 56bded79deb9eea4514c7d923eb553a3cfd0c49d762830cb695982dcd41067ea4919f4d40a13e43306ed64d691cba2decefd9978c3b7b5ebc066fd70ba2bbc9b
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -14,6 +14,7 @@ class Resource < Authorizers::Parameters
14
14
 
15
15
  def authorized_params
16
16
  @authorized_params ||= [
17
+ :id,
17
18
  data: [
18
19
  :type,
19
20
  :id,
@@ -35,9 +36,9 @@ class Resource < Authorizers::Parameters
35
36
  fetch(name, nil)
36
37
 
37
38
  if param.class == Array
38
- authorized_params[0][:data][:attributes][0][name] = []
39
+ authorized_params[1][:data][:attributes][0][name] = []
39
40
  else
40
- authorized_params[0][:data][2][:attributes] << name
41
+ authorized_params[1][:data][2][:attributes] << name
41
42
  end
42
43
  end
43
44
 
@@ -53,9 +54,9 @@ class Resource < Authorizers::Parameters
53
54
  fetch(name, nil)
54
55
 
55
56
  if param.class == Array
56
- authorized_params[0][:data][:relationships][0][name] = []
57
+ authorized_params[1][:data][:relationships][0][name] = []
57
58
  else
58
- authorized_params[0][:data][2][:relationships] << name
59
+ authorized_params[1][:data][2][:relationships] << name
59
60
  end
60
61
  end
61
62
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Drillbit
3
- VERSION = '2.2.0'
3
+ VERSION = '2.2.1'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drillbit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - thegranddesign
@@ -31,7 +31,7 @@ cert_chain:
31
31
  zRIv8lqQM8QFT76rzP5SBCERwN+ltKAFbQ5/FwmZNGWYnmCP3RZMQiRnbh+9H9lh
32
32
  mlbwaYZTjgsXq6cy8N38EecewgBbZYS1IYJraE/M
33
33
  -----END CERTIFICATE-----
34
- date: 2016-06-07 00:00:00.000000000 Z
34
+ date: 2016-06-09 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: erratum
metadata.gz.sig CHANGED
Binary file