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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df937a00a4c1c57a662407c726abf38c6630afa8
4
- data.tar.gz: fe694633fe98cc22888ca02252ea667bcb0100a5
3
+ metadata.gz: 35653ddb12a3ac73697b766d3729913aabeabbf0
4
+ data.tar.gz: d91cf79e75b637a9801d2b2c22d96d408d4ccc46
5
5
  SHA512:
6
- metadata.gz: 800b83bb991f6517bd4e89ce42bb9eb57124e80c3fa85971e55d8a026367059c714b59a4ba65c4013e86c0e53c042e865a91c13f70d2ad481f1732cfa48adeb6
7
- data.tar.gz: 57e8d41ee03aff8ee7819fe6fb794a62a64d51e25c83a7ac0587322de8f52cf533f00e6fd9f5b3e85cf1ccaff0b5395bd35924d82f2b84c0c6369c2d45248f01
6
+ metadata.gz: e3ee79969053c7c2248eda17f8705e2a4c7ec6f4b507e657ed33181b6cf91d54cf9fe0c3f5f13a4c10b348a582ca4890531c5413a6cdf999076c55e18c336d65
7
+ data.tar.gz: c9bfd0d14eb6d2c46bc5d2e539131f861608c877cf40281d223c3ebec0d7d5d450d11f01b253df6e6404308610d1b972d13cfd5334da68b4456a4e15f9284346
Binary file
data.tar.gz.sig CHANGED
@@ -1,2 +1,3 @@
1
- b?�G����j����=�vr�E��Gd����2��a~ʹuq#�%�]I;uY9���){U=75&���
2
- 4� #6���.��>$���&U<�?�ץt�!*z�,���lNdž��E�u{yw��\<��+P=DŽ]AS �>��E�ۻ�8'�J}.����(�)#hfc��"KX;�x�zlxM�0)�d #���)�i������V�Jz���`5 9����bq��j^��y�)����:��A�����5�3��V�
1
+ �\I��O,.���Z��%)^��ϡ���az���Ђ��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
@@ -72,6 +72,7 @@ class Resource < Authorizers::Parameters
72
72
  elsif embedded
73
73
  authorized_params[7][:data][2][:relationships][name] = {
74
74
  data: [
75
+ :id,
75
76
  :type,
76
77
  {
77
78
  attributes: %i{__id__} + embedded_attributes,
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Drillbit
3
- VERSION = '2.9.0'
3
+ VERSION = '2.9.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.9.0
4
+ version: 2.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - thegranddesign
metadata.gz.sig CHANGED
Binary file