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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/drillbit/authorizers/parameters/resource.rb +5 -4
- data/lib/drillbit/version.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d406056a81f25127ca8915b4f18010b97a9218eb
|
4
|
+
data.tar.gz: c14836c47439c54959ec68ec1788d5a3ac623b02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fc6509640e2d8c19ff7f14baf9c21405a838d6c7efff3cf432bd6f97b0266984e20f886b15c1e89b2d3e4c423b2d7c11d5cad8381abcff521c87941ec3e9b7e
|
7
|
+
data.tar.gz: 56bded79deb9eea4514c7d923eb553a3cfd0c49d762830cb695982dcd41067ea4919f4d40a13e43306ed64d691cba2decefd9978c3b7b5ebc066fd70ba2bbc9b
|
checksums.yaml.gz.sig
CHANGED
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[
|
39
|
+
authorized_params[1][:data][:attributes][0][name] = []
|
39
40
|
else
|
40
|
-
authorized_params[
|
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[
|
57
|
+
authorized_params[1][:data][:relationships][0][name] = []
|
57
58
|
else
|
58
|
-
authorized_params[
|
59
|
+
authorized_params[1][:data][2][:relationships] << name
|
59
60
|
end
|
60
61
|
end
|
61
62
|
|
data/lib/drillbit/version.rb
CHANGED
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.
|
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-
|
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
|