lambda_open_api 0.4.1 → 0.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: 8bebea26c2e189b67b8293542543e7afbdf22a5972469c74071be0e98f9e00c1
4
- data.tar.gz: cbf024311a222258ba870c2b0686c1fba47a8c24f35d03b4fcdd489a4b51295d
3
+ metadata.gz: 9fc21cc07b51a516198f994a6016701e0a07453ef976e58698c80ebcba51ebf1
4
+ data.tar.gz: 95545f944de7faa63ebe988a68c19b40452457b82b1c39483806a07889416c9a
5
5
  SHA512:
6
- metadata.gz: 98673bf7f7fc21aebcef15df7c162850e3e796a0f69d646779e498085998ad8e1103ca6dddd745655bc00d44786ce23dcd8396fe1178507450b9cefdd0699438
7
- data.tar.gz: ad17b2f2c3f0f379fd6e8756c3eadefb9ea65de5453a8a9b3b40e1cdb6c0887636e6eb4846e0b9d870a64af5681b712eeb096352573d571616d8653e1a82a6c1
6
+ metadata.gz: 4d07d3b88d381ba001bfbda911f72941c4a28862132d897350cb13eacb397dda1ee637e0250420048cdf87587e4722dc7dd51c51272f3392a320188b0585038b
7
+ data.tar.gz: 716a70f17e8569dfc1601f9271044c366abf77482b0b818be28a181c942bde9995e68251121abfe749094791cb343093b281606fd520af2d43d7fd29545410d4
@@ -51,7 +51,7 @@ module LambdaOpenApi
51
51
  @action = LambdaOpenApi::Action.new(name: @name, http_verb: verb, path_name: path)
52
52
  @event = @default_event.dup
53
53
  @event.request_context = {"httpMethod" => verb.upcase, "http" => {"method" => verb.upcase}}
54
-
54
+ @event.path = path
55
55
  yield
56
56
 
57
57
  @action.set_request_body(JSON.parse(@event.body))
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LambdaOpenApi
4
- VERSION = "0.4.1"
4
+ VERSION = "0.4.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lambda_open_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timothyjb