drillbit 2.9.0 → 2.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +3 -2
- data/lib/drillbit/authorizable_resource.rb +3 -0
- data/lib/drillbit/authorizers/parameters/resource.rb +1 -0
- data/lib/drillbit/version.rb +1 -1
- metadata +1 -1
- 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: 35653ddb12a3ac73697b766d3729913aabeabbf0
|
|
4
|
+
data.tar.gz: d91cf79e75b637a9801d2b2c22d96d408d4ccc46
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e3ee79969053c7c2248eda17f8705e2a4c7ec6f4b507e657ed33181b6cf91d54cf9fe0c3f5f13a4c10b348a582ca4890531c5413a6cdf999076c55e18c336d65
|
|
7
|
+
data.tar.gz: c9bfd0d14eb6d2c46bc5d2e539131f861608c877cf40281d223c3ebec0d7d5d450d11f01b253df6e6404308610d1b972d13cfd5334da68b4456a4e15f9284346
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
�\I��O,.���Z��%)^��ϡ���a�z���Ђ��py8%�f�d3�u�5�;���
|
|
2
|
+
���[���~�>�����}�#;A��>uV]����
|
|
3
|
+
���XH�w� @cV��c:A+\��tLб�B�Q�s^IY+r`�����È�M��}����Nݞ��t�����YZ>b�aE��7e����(�<
|
|
@@ -123,6 +123,7 @@ module AuthorizableResource
|
|
|
123
123
|
end
|
|
124
124
|
|
|
125
125
|
# rubocop:disable Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
126
|
+
# rubocop:disable Metrics/CyclomaticComplexity
|
|
126
127
|
def authorized_attributes
|
|
127
128
|
@authorized_attributes ||= begin
|
|
128
129
|
attributes = authorized_params.
|
|
@@ -141,6 +142,7 @@ module AuthorizableResource
|
|
|
141
142
|
attrs = datum[:attributes].dup
|
|
142
143
|
|
|
143
144
|
attrs.delete(:__id__)
|
|
145
|
+
attrs[:id] = datum[:id] if datum[:id]
|
|
144
146
|
|
|
145
147
|
attrs
|
|
146
148
|
end
|
|
@@ -161,6 +163,7 @@ module AuthorizableResource
|
|
|
161
163
|
end
|
|
162
164
|
end
|
|
163
165
|
end
|
|
166
|
+
# rubocop:enable Metrics/CyclomaticComplexity
|
|
164
167
|
# rubocop:enable Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
165
168
|
|
|
166
169
|
def authorized_resource
|
data/lib/drillbit/version.rb
CHANGED
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|