lambda_punch 1.1.1 → 1.1.2
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 +6 -0
- data/README.md +7 -1
- data/lib/lambda_punch/version.rb +1 -1
- data/lib/lambda_punch.rb +1 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b826578d6414ae21136aaf6fded729bdad3e8371a9188893ddf19b4fda605c4a
|
4
|
+
data.tar.gz: 5b48b72138fd2ffa9fb652a211cf3ae3381d4c683cc8332c7c1282731e259c83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9a83c78d41c2da7b6c6383052742820a7ac75cd7fe196de72034c7ae9a3cd65b6aa0d65005f311845e3af92464663efd97e7cdc8abb96cb47449795c11f62bd
|
7
|
+
data.tar.gz: ecc1490c19bf505e14c0957de2570d59c54ebccd9158d96d9e24d388b4abc54cb4960676bdcbb0df71ae00e9e9b60967643aacddf64c71dcd4ab841138b21d04
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -24,12 +24,18 @@ Add this line to your project's `Gemfile` and then make sure to `bundle install`
|
|
24
24
|
gem 'lambda_punch'
|
25
25
|
```
|
26
26
|
|
27
|
-
Within your project or [Rails application's](https://lamby.custominktech.com/docs/anatomy) `Dockerfile`, add the following. Make sure you do this before you `COPY` your code. The idea is to implicitly use the default `USER root` since it needs
|
27
|
+
Within your project or [Rails application's](https://lamby.custominktech.com/docs/anatomy) `Dockerfile`, add the following. Make sure you do this before you `COPY` your code. The idea is to implicitly use the default `USER root` since it needs permission to create an `/opt/extensions` directory.
|
28
28
|
|
29
29
|
```dockerfile
|
30
30
|
RUN gem install lambda_punch && lambda_punch install
|
31
31
|
```
|
32
32
|
|
33
|
+
LambdaPunch uses the `LAMBDA_TASK_ROOT` environment variable to find your project's Gemfile. If you are using a provided AWS Runtime container, this should be set for you to `/var/task`. However, if you are using your own base image, make sure to set this to your project directory.
|
34
|
+
|
35
|
+
```dockerfile
|
36
|
+
ENV LAMBDA_TASK_ROOT=/app
|
37
|
+
```
|
38
|
+
|
33
39
|
Installation with AWS Lambda via the [Lamby](https://lamby.custominktech.com/) v4 (or higher) gem can be done using Lamby's `handled_proc` config. For example, appends these to your `config/environments/production.rb` file. Here we are ensuring that the LambdaPunch DRb server is running and that after each Lamby request we notify LambdaPunch.
|
34
40
|
|
35
41
|
```ruby
|
data/lib/lambda_punch/version.rb
CHANGED
data/lib/lambda_punch.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lambda_punch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ken Collins
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -153,7 +153,7 @@ metadata:
|
|
153
153
|
homepage_uri: https://github.com/customink/lambda_punch
|
154
154
|
source_code_uri: https://github.com/customink/lambda_punch
|
155
155
|
changelog_uri: https://github.com/customink/lambda_punch/blob/main/CHANGELOG.md
|
156
|
-
post_install_message:
|
156
|
+
post_install_message:
|
157
157
|
rdoc_options: []
|
158
158
|
require_paths:
|
159
159
|
- lib
|
@@ -168,8 +168,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
168
168
|
- !ruby/object:Gem::Version
|
169
169
|
version: '0'
|
170
170
|
requirements: []
|
171
|
-
rubygems_version: 3.
|
172
|
-
signing_key:
|
171
|
+
rubygems_version: 3.0.3.1
|
172
|
+
signing_key:
|
173
173
|
specification_version: 4
|
174
174
|
summary: 'LambdaPunch: Async Processing using Lambda Extensions'
|
175
175
|
test_files: []
|