lambda_open_api 0.3.0 → 0.4.0

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: c42e035e2e2bf496ab96a72b0c831856b4b6f49e748d475a35c2c169d102e440
4
- data.tar.gz: 6ab00c5232cfe9999917f687bfdc4c12b6a0d7e78803ced3300115539a64aecf
3
+ metadata.gz: 668813e6540b575a0f236bcd4573e62e8bbb1fd7a4da444cc4a45e12e8c79a19
4
+ data.tar.gz: 3cea133cc9dc22238667bc1015c913d3d9a9af18a2a4c1301617810ee252d5ab
5
5
  SHA512:
6
- metadata.gz: fd2c7d7f46ac767dadf2c322ce1e5d5ba7d6241ffddaba5fd555fb2f7aeff1bac2e8c77abf4ba0cfc0929c5f39d43a127f2f7bf92bb387daac7ba8c2bb9db9fd
7
- data.tar.gz: 1b142c252b123faeacc91d60e364fc0e6988c7ed9f03bc8f3de8ea6c10c91470dc0c5817037335ce31de203c555a8c43a918a52952cc55ede69902fa11095217
6
+ metadata.gz: 9cb4df4f6c316ae4b94937dc35e156e6d882609a3ede0b72b19d58813bc2000654a88735721ecea9df1783fcead7e7141b9c7b59223df671becb646472c738ea
7
+ data.tar.gz: 4ffa3f982fedbf0bc6db2a24369f293780b77a78bf4c016b1dd839dcd68ec14ce764dca2438dac74acfbba12e470708e4658f59efd5268400cbfd7e6c5fb9a31
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lambda_open_api (0.3.0)
4
+ lambda_open_api (0.4.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -50,7 +50,7 @@ module LambdaOpenApi
50
50
  def crud_verb(verb, path)
51
51
  @action = LambdaOpenApi::Action.new(name: @name, http_verb: verb, path_name: path)
52
52
  @event = @default_event.dup
53
- @event.request_context = {"httpMethod" => verb.upcase}
53
+ @event.request_context = {"httpMethod" => verb.upcase, "http" => {"method" => verb.upcase}}
54
54
 
55
55
  yield
56
56
 
@@ -7,7 +7,7 @@ module LambdaOpenApi
7
7
  @title = "Workflow Settings Api"
8
8
  @description = "About this api"
9
9
  @version = "1"
10
- @host = "https://google.com"
10
+ @host = "google.com"
11
11
  @schemes = ["https"]
12
12
  @consumes = ["application/json"]
13
13
  @produces = ["application/json"]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LambdaOpenApi
4
- VERSION = "0.3.0"
4
+ VERSION = "0.4.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lambda_open_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timothyjb
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-31 00:00:00.000000000 Z
11
+ date: 2023-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest