erratum 3.4.0 → 3.4.2

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
  SHA256:
3
- metadata.gz: 2c03afae3ce08c9038812d6cb19326d2f3c3d0e185062cd94eceeb771c4dc63f
4
- data.tar.gz: 8fd6c2d638e1ce482539b58ecb255e4c16164d7ca395074b65d24876aa9a1623
3
+ metadata.gz: 14b0d9167d505664c13231968c37d17c6a8f90c29c7c83747b4309a8ca08bd19
4
+ data.tar.gz: 2bc065a1b986c66ab84c104903d93e5d90c475d57207f8d739f63c46ebdecb1e
5
5
  SHA512:
6
- metadata.gz: 94c8bc09f9dd42b01803458c44e746ff30750c52963304238e6905dc56f2c4416a72c98032982c2d0da3bdc7c99bd739c15162c98ee1fd570b34222613899cd4
7
- data.tar.gz: 83298f560fe88d1b7549ab97732a1743594a02f3a2fc626650b7eb0bb09e70c8107f48d0f0370b8a1667e2556f4d6e96435000ef8a85b39277b3d9fe8df4d296
6
+ metadata.gz: ba9d3c97506484b2198923c9f00cf1478cb105af2a401d679db696164a19d9189884989899a5a7022c9804a6dba19461c6aa08df08908c24246aa7513b2ea927
7
+ data.tar.gz: e8f665e34c1f6a0f61fee19cc48cb2ba38320b3179d458fc0743de096b7ab0df2b3136084ddc6429fa5f48f60379ccf90cf99c77d8cf5e05d62e90be79ced774
Binary file
data.tar.gz.sig CHANGED
@@ -1,3 +1,2 @@
1
- �t�U �z���dV�
2
- ��,�
3
- N�P�.f�}'�6'�������2������G��� �SHֆqa~����[�р����7�S����L4��0bZ��&f������ PhE��m\߶<�6_@���`;�������G)��U&�����m�T�<B��s���N|�쩹�#������?�Ϗ��<]���`��h�\���R��|
1
+ #1S��8K~���܏�t�$�A-Dt
2
+ ,ش�q�2�Ar��D���5�#�{�� �m��3�!����`�������1���":��&�]���
@@ -8,7 +8,11 @@ module VerifiableResource
8
8
  base.include ::AppleCore::ActionController::ResourceNaming
9
9
 
10
10
  base.before_action except: %i{index create} do
11
- model = public_send(self.class.singular_underscored_base_resource_name)
11
+ model = if respond_to?(:authorized_resource, true)
12
+ authorized_resource.processed
13
+ else
14
+ public_send(self.class.singular_underscored_base_resource_name)
15
+ end
12
16
 
13
17
  resource_not_found_error = Erratum.build(
14
18
  'ResourceNotFound',
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Erratum
4
- VERSION = '3.4.0'
4
+ VERSION = '3.4.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: erratum
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - thegranddesign
@@ -31,7 +31,7 @@ cert_chain:
31
31
  Y2GAoHKstmfIVhc4XHOPpmTd2o/C29O9oaRgjrkfQEhF/KvJ/PhoV5hvokzsCyI5
32
32
  iUeXPfvrGD/itYIBCgk+fnzyQQ4QtE5hTQaWQ3o2
33
33
  -----END CERTIFICATE-----
34
- date: 2018-05-27 00:00:00.000000000 Z
34
+ date: 2018-07-09 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: apple_core
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
173
  version: '0'
174
174
  requirements: []
175
175
  rubyforge_project:
176
- rubygems_version: 2.7.6
176
+ rubygems_version: 2.7.7
177
177
  signing_key:
178
178
  specification_version: 4
179
179
  summary: Errors Need Love
metadata.gz.sig CHANGED
Binary file