wolf_core 1.0.103 → 1.0.105
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c91a96db14bb1c5ee182cdc605463fd48490ff37e9a7edb3df7fd9550ef82fc
|
4
|
+
data.tar.gz: d21d5e676dbb2a82080901b995eb95731f114168d90003e2e8d2c71d59bae231
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1b8ad202befc59db0f1887034f26c5ff3d4a1afb0833f98aaad95e2d8da6166bb8cfbffe00df8b4481b283087379916972584493f987d9c442b876fd0370a0e
|
7
|
+
data.tar.gz: 130ff4f10902120295194ed6d69ca1d393978fe9eeea6f9b77e7d90824df9f3c86de50051824f802c9610c1b76fa7f56f689dde65ad7e38f46d8c7a334beb55d
|
@@ -47,10 +47,10 @@ module WolfCore
|
|
47
47
|
|
48
48
|
def serialized_attributes
|
49
49
|
self.class._attributes.each_with_object({}) do |attribute, hash|
|
50
|
-
hash[attribute] = if
|
51
|
-
object.public_send(attribute)
|
52
|
-
elsif respond_to?(attribute, true)
|
50
|
+
hash[attribute] = if respond_to?(attribute, true)
|
53
51
|
send(attribute)
|
52
|
+
elsif object.respond_to?(attribute)
|
53
|
+
object.public_send(attribute)
|
54
54
|
end
|
55
55
|
end
|
56
56
|
end
|
@@ -28,12 +28,18 @@ module WolfCore
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def get_event_params(event)
|
31
|
+
params = {}
|
32
|
+
|
31
33
|
event_body = event['body']
|
32
|
-
|
33
|
-
deep_parse_json(event_body)
|
34
|
-
else
|
35
|
-
event
|
34
|
+
if event_body.present?
|
35
|
+
params.merge!(deep_parse_json(event_body))
|
36
36
|
end
|
37
|
+
|
38
|
+
path_parameters = event['pathParameters']
|
39
|
+
if path_parameters.present?
|
40
|
+
params.merge!(deep_parse_json(path_parameters))
|
41
|
+
end
|
42
|
+
|
37
43
|
params&.with_indifferent_access
|
38
44
|
end
|
39
45
|
|
data/lib/wolf_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wolf_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.105
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Roncallo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|