wolf_core 1.0.105 → 1.0.106

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: 6c91a96db14bb1c5ee182cdc605463fd48490ff37e9a7edb3df7fd9550ef82fc
4
- data.tar.gz: d21d5e676dbb2a82080901b995eb95731f114168d90003e2e8d2c71d59bae231
3
+ metadata.gz: 64faf86d2c3ce299d3095f8dabdb9ed219991fa4cddd570007d367b0920a8b95
4
+ data.tar.gz: cc4fb2ae33a8228c3b89a02487de26e10b7daecc6b56544730fdef3894e1f876
5
5
  SHA512:
6
- metadata.gz: b1b8ad202befc59db0f1887034f26c5ff3d4a1afb0833f98aaad95e2d8da6166bb8cfbffe00df8b4481b283087379916972584493f987d9c442b876fd0370a0e
7
- data.tar.gz: 130ff4f10902120295194ed6d69ca1d393978fe9eeea6f9b77e7d90824df9f3c86de50051824f802c9610c1b76fa7f56f689dde65ad7e38f46d8c7a334beb55d
6
+ metadata.gz: be0fabeed675031beb1fb059b4155ef75a319ee9d8a1941360b87402f50fca61af7747b62c996541bee15dfdbafd0fbb7098298b5ba96ba9a3141210484e10aa
7
+ data.tar.gz: 2810643fc2da26cb0169c63e5514257f20ff765b223f1595bbbaf52cecb01071c28c514a5e39886e791bb8ef5cf258ebba9abfd4fa8042818db372585733c9e4
@@ -40,7 +40,14 @@ module WolfCore
40
40
  params.merge!(deep_parse_json(path_parameters))
41
41
  end
42
42
 
43
- params&.with_indifferent_access
43
+ query_parameters = event['queryStringParameters']
44
+ if query_parameters.present?
45
+ params.merge!(deep_parse_json(query_parameters))
46
+ end
47
+
48
+ return event if params.empty?
49
+
50
+ params.with_indifferent_access
44
51
  end
45
52
 
46
53
  def result_to_response(result)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WolfCore
4
- VERSION = "1.0.105"
4
+ VERSION = "1.0.106"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wolf_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.105
4
+ version: 1.0.106
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Roncallo