lamby 4.0.0.beta6 → 4.0.0

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: b2d58b34ec087c65ea150b99e40d39a2bb90ab0b2fa22b4baaca77cd347bb2ad
4
- data.tar.gz: 52fbcf543afe23a668a2407b0f5accd7986c578c33f108fcacd8b5d0cb71eba5
3
+ metadata.gz: 1c7b5f3442327670c35f81b025c05eb75a9fe02c3a33168c36ceb6d5695ff84d
4
+ data.tar.gz: d42a578523d78d86d4092ae200d800f657329269f69e5c30dada57f57e84427a
5
5
  SHA512:
6
- metadata.gz: 14021cc68c98b27a7f71abdb16ee87d306d2d715f2d2426abc6662e51024d498293dc1ebe1d0190405bcc6bbfb63b364cb6b00a8d16013e334b29d471e5fdca3
7
- data.tar.gz: 380e9d9e21544dc5c1dd977f4fadeac74ec090f199323006d70a7bbf4ec1262289a46f7ea23a1967e790283de9ec09a5ce3c9dabab46bdea8ca9c416bd44d60d
6
+ metadata.gz: a196d5ca7d4b302ea0ba11f7d79b9d785c9fa5a0e8c58c9b9d859587bb389a59b6cafac995a855816cac3cc569ea5491fb6cd6be22d0bb26d2670d3df226b09d
7
+ data.tar.gz: 3b8af072ca3bf8b307311b955cb8b971de1abce140984574481d18c342e69553eac589dbd6681e637f42290e119b4f6f7a1695d55815f69e41f70587d0ee55a0
data/CHANGELOG.md CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  See this http://keepachangelog.com link for information on how we want this documented formatted.
4
4
 
5
- ## v4.0.0 (unreleased)
5
+ ## v4.0.0
6
6
 
7
7
  ### Added
8
8
 
9
9
  - New `Lamby.config.rack_app` with default Rack builder.
10
- - The `Lamby.command` to simplify `CMD` with the new config.app from above.
10
+ - The `Lamby.cmd` to simplify `CMD` with the new config.app from above.
11
11
 
12
12
  #### Removed
13
13
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lamby (4.0.0.beta6)
4
+ lamby (4.0.0)
5
5
  rack
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -6,13 +6,7 @@ Lamby is an [AWS Lambda Web Adapter](https://github.com/awslabs/aws-lambda-web-a
6
6
 
7
7
  <img src="https://raw.githubusercontent.com/customink/lamby_site/master/app/assets/images/lamby-arch-hero.png" alt="Lamby: Simple Rails & AWS Lambda Integration"/>
8
8
 
9
- The goal of this project is to provide minimal code to allow your Rails application to respond to incoming [AWS Lambda Function Handler in Ruby](https://docs.aws.amazon.com/lambda/latest/dg/ruby-handler.html) `event` and `context` objects in the Lambda handler. We support Application Load Balancer integration or API Gateway.
10
-
11
- ```ruby
12
- def handler(event:, context:)
13
- Lamby.handler $app, event, context
14
- end
15
- ```
9
+ We support Lambda [Function URLs](https://docs.aws.amazon.com/lambda/latest/dg/lambda-urls.html), [API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.html) (HTTP or REST, all payload versions), and even [Application Load Balancer](https://docs.aws.amazon.com/lambda/latest/dg/services-alb.html) integrations.
16
10
 
17
11
  ## Quick Start
18
12
 
@@ -20,7 +14,7 @@ https://lamby.custominktech.com/docs/quick_start
20
14
 
21
15
  ## Full Documentation
22
16
 
23
- https://lamby.custominktech.com/docs/installing_aws_sam
17
+ https://lamby.custominktech.com
24
18
 
25
19
  ## Contributing
26
20
 
data/lib/lamby/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lamby
2
- VERSION = '4.0.0.beta6'
2
+ VERSION = '4.0.0'
3
3
  end
data/lib/lamby.rb CHANGED
@@ -20,7 +20,7 @@ module Lamby
20
20
 
21
21
  extend self
22
22
 
23
- def command(event:, context:)
23
+ def cmd(event:, context:)
24
24
  handler(config.rack_app, event, context)
25
25
  end
26
26
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lamby
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.beta6
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Collins
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-01 00:00:00.000000000 Z
11
+ date: 2022-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -177,9 +177,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
177
177
  version: '0'
178
178
  required_rubygems_version: !ruby/object:Gem::Requirement
179
179
  requirements:
180
- - - ">"
180
+ - - ">="
181
181
  - !ruby/object:Gem::Version
182
- version: 1.3.1
182
+ version: '0'
183
183
  requirements: []
184
184
  rubygems_version: 3.1.2
185
185
  signing_key: