lamby 1.0.0 → 1.0.1
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 +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +3 -3
- data/lib/lamby/templates/api_gateway/build +2 -2
- data/lib/lamby/templates/application_load_balancer/build +2 -2
- data/lib/lamby/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 42eaa9265259f89cfbcf792a1f1dbbc67e6befc3b3bcd6747c5000936b40f711
|
|
4
|
+
data.tar.gz: 44842e88d73023f22850a2642bf81c3b14c67f02c0adb7dd82cca615bdac1b77
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 51cabbe71d2c26f8e24c00294f4e7f82fae13abcc1df18775968dc3312e80c9d45ec67937ca32ec77c42950e856adfbab505898ab42db185a09956fb5855186a
|
|
7
|
+
data.tar.gz: 46cd1ce67df3f2e05825f26642932ff91b90678492a14ed37045c216d4e0768f5e75d03c0f221527ffd5bbfe39e27d977e7db906e4dc30d945ea8a7522a2da48
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
|
|
8
8
|
<p> </p>
|
|
9
9
|
|
|
10
|
-
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 integration
|
|
10
|
+
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.
|
|
11
11
|
|
|
12
12
|
```ruby
|
|
13
13
|
def handler(event:, context:)
|
|
14
|
-
Lamby.handler $app, event, context
|
|
14
|
+
Lamby.handler $app, event, context, rack: :alb
|
|
15
15
|
end
|
|
16
16
|
```
|
|
17
17
|
|
|
@@ -27,7 +27,7 @@ https://lamby.custominktech.com/docs/installing_aws_sam
|
|
|
27
27
|
|
|
28
28
|
## Contributing
|
|
29
29
|
|
|
30
|
-
After checking out the repo, run `./bin/setup` to install dependencies. Then, run `./bin/test` to run the tests.
|
|
30
|
+
After checking out the repo, run `./bin/setup` to install dependencies. Then, run `./bin/test` to run the tests.
|
|
31
31
|
|
|
32
32
|
Bug reports and pull requests are welcome on GitHub at https://github.com/customink/lamby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
33
33
|
|
|
@@ -8,10 +8,10 @@ rm -rf ./.aws-sam/build
|
|
|
8
8
|
sam build --use-container
|
|
9
9
|
|
|
10
10
|
# [HOOK] Environments & Configuration
|
|
11
|
-
# https://
|
|
11
|
+
# https://lamby.custominktech.com/docs/environment_and_configuration
|
|
12
12
|
|
|
13
13
|
# [HOOK] Asset Hosts & Precompiling
|
|
14
|
-
# https://
|
|
14
|
+
# https://lamby.custominktech.com/docs/asset_host_and_precompiling
|
|
15
15
|
|
|
16
16
|
# Clean un-needed artifacts.
|
|
17
17
|
pushd ./.aws-sam/build/RailsFunction/
|
|
@@ -8,10 +8,10 @@ rm -rf ./.aws-sam/build
|
|
|
8
8
|
sam build --use-container
|
|
9
9
|
|
|
10
10
|
# [HOOK] Environments & Configuration
|
|
11
|
-
# https://
|
|
11
|
+
# https://lamby.custominktech.com/docs/environment_and_configuration
|
|
12
12
|
|
|
13
13
|
# [HOOK] Asset Hosts & Precompiling
|
|
14
|
-
# https://
|
|
14
|
+
# https://lamby.custominktech.com/docs/asset_host_and_precompiling
|
|
15
15
|
|
|
16
16
|
# Clean un-needed artifacts.
|
|
17
17
|
pushd ./.aws-sam/build/RailsFunction/
|
data/lib/lamby/version.rb
CHANGED
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: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ken Collins
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-09-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rack
|