lambda_punch 1.1.1 → 1.1.3
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 +12 -0
- data/Gemfile.lock +100 -89
- data/README.md +8 -2
- data/lib/lambda_punch/version.rb +1 -1
- data/lib/lambda_punch.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f4c6f8629d96e9deed280449b12f90568d0a6b2f6959d2f5635ec827a47e6afe
|
|
4
|
+
data.tar.gz: 48ddc3b04b4a5ee25bc23865fc2ac870dca4961dd0875a2f51a0f781b12c2c6a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ecfad623cc0f0e0102b1228120743e313cb6188c5db45bb5a2031f9ce20b1b9c7a7298e45a84606f9c74de9d668589409c242277edc6608f1306aa3fd2a719df
|
|
7
|
+
data.tar.gz: 98a79559e2882e9e29951867d3c12c53683ab21f7bf64da9b88822f454f89633a951d14af0e456d88f421b48d505dfbdb663ab0bfe534daf47b3d02b321e2f72
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
lambda_punch (1.1.
|
|
4
|
+
lambda_punch (1.1.3)
|
|
5
5
|
concurrent-ruby
|
|
6
6
|
rake
|
|
7
7
|
rb-inotify
|
|
@@ -10,147 +10,158 @@ PATH
|
|
|
10
10
|
GEM
|
|
11
11
|
remote: https://rubygems.org/
|
|
12
12
|
specs:
|
|
13
|
-
actioncable (
|
|
14
|
-
actionpack (=
|
|
15
|
-
activesupport (=
|
|
13
|
+
actioncable (7.0.4.3)
|
|
14
|
+
actionpack (= 7.0.4.3)
|
|
15
|
+
activesupport (= 7.0.4.3)
|
|
16
16
|
nio4r (~> 2.0)
|
|
17
17
|
websocket-driver (>= 0.6.1)
|
|
18
|
-
actionmailbox (
|
|
19
|
-
actionpack (=
|
|
20
|
-
activejob (=
|
|
21
|
-
activerecord (=
|
|
22
|
-
activestorage (=
|
|
23
|
-
activesupport (=
|
|
18
|
+
actionmailbox (7.0.4.3)
|
|
19
|
+
actionpack (= 7.0.4.3)
|
|
20
|
+
activejob (= 7.0.4.3)
|
|
21
|
+
activerecord (= 7.0.4.3)
|
|
22
|
+
activestorage (= 7.0.4.3)
|
|
23
|
+
activesupport (= 7.0.4.3)
|
|
24
24
|
mail (>= 2.7.1)
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
net-imap
|
|
26
|
+
net-pop
|
|
27
|
+
net-smtp
|
|
28
|
+
actionmailer (7.0.4.3)
|
|
29
|
+
actionpack (= 7.0.4.3)
|
|
30
|
+
actionview (= 7.0.4.3)
|
|
31
|
+
activejob (= 7.0.4.3)
|
|
32
|
+
activesupport (= 7.0.4.3)
|
|
30
33
|
mail (~> 2.5, >= 2.5.4)
|
|
34
|
+
net-imap
|
|
35
|
+
net-pop
|
|
36
|
+
net-smtp
|
|
31
37
|
rails-dom-testing (~> 2.0)
|
|
32
|
-
actionpack (
|
|
33
|
-
actionview (=
|
|
34
|
-
activesupport (=
|
|
35
|
-
rack (~> 2.0, >= 2.0
|
|
38
|
+
actionpack (7.0.4.3)
|
|
39
|
+
actionview (= 7.0.4.3)
|
|
40
|
+
activesupport (= 7.0.4.3)
|
|
41
|
+
rack (~> 2.0, >= 2.2.0)
|
|
36
42
|
rack-test (>= 0.6.3)
|
|
37
43
|
rails-dom-testing (~> 2.0)
|
|
38
44
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
39
|
-
actiontext (
|
|
40
|
-
actionpack (=
|
|
41
|
-
activerecord (=
|
|
42
|
-
activestorage (=
|
|
43
|
-
activesupport (=
|
|
45
|
+
actiontext (7.0.4.3)
|
|
46
|
+
actionpack (= 7.0.4.3)
|
|
47
|
+
activerecord (= 7.0.4.3)
|
|
48
|
+
activestorage (= 7.0.4.3)
|
|
49
|
+
activesupport (= 7.0.4.3)
|
|
50
|
+
globalid (>= 0.6.0)
|
|
44
51
|
nokogiri (>= 1.8.5)
|
|
45
|
-
actionview (
|
|
46
|
-
activesupport (=
|
|
52
|
+
actionview (7.0.4.3)
|
|
53
|
+
activesupport (= 7.0.4.3)
|
|
47
54
|
builder (~> 3.1)
|
|
48
55
|
erubi (~> 1.4)
|
|
49
56
|
rails-dom-testing (~> 2.0)
|
|
50
57
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
|
51
|
-
activejob (
|
|
52
|
-
activesupport (=
|
|
58
|
+
activejob (7.0.4.3)
|
|
59
|
+
activesupport (= 7.0.4.3)
|
|
53
60
|
globalid (>= 0.3.6)
|
|
54
|
-
activemodel (
|
|
55
|
-
activesupport (=
|
|
56
|
-
activerecord (
|
|
57
|
-
activemodel (=
|
|
58
|
-
activesupport (=
|
|
59
|
-
activestorage (
|
|
60
|
-
actionpack (=
|
|
61
|
-
activejob (=
|
|
62
|
-
activerecord (=
|
|
63
|
-
activesupport (=
|
|
64
|
-
marcel (~> 1.0
|
|
61
|
+
activemodel (7.0.4.3)
|
|
62
|
+
activesupport (= 7.0.4.3)
|
|
63
|
+
activerecord (7.0.4.3)
|
|
64
|
+
activemodel (= 7.0.4.3)
|
|
65
|
+
activesupport (= 7.0.4.3)
|
|
66
|
+
activestorage (7.0.4.3)
|
|
67
|
+
actionpack (= 7.0.4.3)
|
|
68
|
+
activejob (= 7.0.4.3)
|
|
69
|
+
activerecord (= 7.0.4.3)
|
|
70
|
+
activesupport (= 7.0.4.3)
|
|
71
|
+
marcel (~> 1.0)
|
|
65
72
|
mini_mime (>= 1.1.0)
|
|
66
|
-
activesupport (
|
|
73
|
+
activesupport (7.0.4.3)
|
|
67
74
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
68
75
|
i18n (>= 1.6, < 2)
|
|
69
76
|
minitest (>= 5.1)
|
|
70
77
|
tzinfo (~> 2.0)
|
|
71
|
-
zeitwerk (~> 2.3)
|
|
72
78
|
builder (3.2.4)
|
|
73
79
|
coderay (1.1.3)
|
|
74
|
-
concurrent-ruby (1.
|
|
80
|
+
concurrent-ruby (1.2.2)
|
|
75
81
|
crass (1.0.6)
|
|
76
|
-
|
|
82
|
+
date (3.3.3)
|
|
83
|
+
erubi (1.12.0)
|
|
77
84
|
ffi (1.15.5)
|
|
78
|
-
globalid (
|
|
85
|
+
globalid (1.1.0)
|
|
79
86
|
activesupport (>= 5.0)
|
|
80
|
-
i18n (1.
|
|
87
|
+
i18n (1.12.0)
|
|
81
88
|
concurrent-ruby (~> 1.0)
|
|
82
|
-
loofah (2.
|
|
89
|
+
loofah (2.20.0)
|
|
83
90
|
crass (~> 1.0.2)
|
|
84
91
|
nokogiri (>= 1.5.9)
|
|
85
|
-
mail (2.
|
|
92
|
+
mail (2.8.1)
|
|
86
93
|
mini_mime (>= 0.1.1)
|
|
94
|
+
net-imap
|
|
95
|
+
net-pop
|
|
96
|
+
net-smtp
|
|
87
97
|
marcel (1.0.2)
|
|
88
98
|
method_source (1.0.0)
|
|
89
99
|
mini_mime (1.1.2)
|
|
90
|
-
|
|
91
|
-
minitest (5.14.4)
|
|
100
|
+
minitest (5.18.0)
|
|
92
101
|
minitest-focus (1.3.1)
|
|
93
102
|
minitest (>= 4, < 6)
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
103
|
+
net-imap (0.3.4)
|
|
104
|
+
date
|
|
105
|
+
net-protocol
|
|
106
|
+
net-pop (0.1.2)
|
|
107
|
+
net-protocol
|
|
108
|
+
net-protocol (0.2.1)
|
|
109
|
+
timeout
|
|
110
|
+
net-smtp (0.3.3)
|
|
111
|
+
net-protocol
|
|
112
|
+
nio4r (2.5.9)
|
|
113
|
+
nokogiri (1.14.3-aarch64-linux)
|
|
114
|
+
racc (~> 1.4)
|
|
115
|
+
nokogiri (1.14.3-arm64-darwin)
|
|
97
116
|
racc (~> 1.4)
|
|
98
|
-
pry (0.14.
|
|
117
|
+
pry (0.14.2)
|
|
99
118
|
coderay (~> 1.1)
|
|
100
119
|
method_source (~> 1.0)
|
|
101
|
-
racc (1.6.
|
|
102
|
-
rack (2.2.
|
|
103
|
-
rack-test (
|
|
104
|
-
rack (>= 1.
|
|
105
|
-
rails (
|
|
106
|
-
actioncable (=
|
|
107
|
-
actionmailbox (=
|
|
108
|
-
actionmailer (=
|
|
109
|
-
actionpack (=
|
|
110
|
-
actiontext (=
|
|
111
|
-
actionview (=
|
|
112
|
-
activejob (=
|
|
113
|
-
activemodel (=
|
|
114
|
-
activerecord (=
|
|
115
|
-
activestorage (=
|
|
116
|
-
activesupport (=
|
|
120
|
+
racc (1.6.2)
|
|
121
|
+
rack (2.2.6.4)
|
|
122
|
+
rack-test (2.1.0)
|
|
123
|
+
rack (>= 1.3)
|
|
124
|
+
rails (7.0.4.3)
|
|
125
|
+
actioncable (= 7.0.4.3)
|
|
126
|
+
actionmailbox (= 7.0.4.3)
|
|
127
|
+
actionmailer (= 7.0.4.3)
|
|
128
|
+
actionpack (= 7.0.4.3)
|
|
129
|
+
actiontext (= 7.0.4.3)
|
|
130
|
+
actionview (= 7.0.4.3)
|
|
131
|
+
activejob (= 7.0.4.3)
|
|
132
|
+
activemodel (= 7.0.4.3)
|
|
133
|
+
activerecord (= 7.0.4.3)
|
|
134
|
+
activestorage (= 7.0.4.3)
|
|
135
|
+
activesupport (= 7.0.4.3)
|
|
117
136
|
bundler (>= 1.15.0)
|
|
118
|
-
railties (=
|
|
119
|
-
sprockets-rails (>= 2.0.0)
|
|
137
|
+
railties (= 7.0.4.3)
|
|
120
138
|
rails-dom-testing (2.0.3)
|
|
121
139
|
activesupport (>= 4.2.0)
|
|
122
140
|
nokogiri (>= 1.6)
|
|
123
|
-
rails-html-sanitizer (1.
|
|
124
|
-
loofah (~> 2.
|
|
125
|
-
railties (
|
|
126
|
-
actionpack (=
|
|
127
|
-
activesupport (=
|
|
141
|
+
rails-html-sanitizer (1.5.0)
|
|
142
|
+
loofah (~> 2.19, >= 2.19.1)
|
|
143
|
+
railties (7.0.4.3)
|
|
144
|
+
actionpack (= 7.0.4.3)
|
|
145
|
+
activesupport (= 7.0.4.3)
|
|
128
146
|
method_source
|
|
129
|
-
rake (>=
|
|
147
|
+
rake (>= 12.2)
|
|
130
148
|
thor (~> 1.0)
|
|
149
|
+
zeitwerk (~> 2.5)
|
|
131
150
|
rake (13.0.6)
|
|
132
151
|
rb-inotify (0.10.1)
|
|
133
152
|
ffi (~> 1.0)
|
|
134
|
-
|
|
135
|
-
concurrent-ruby (~> 1.0)
|
|
136
|
-
rack (> 1, < 3)
|
|
137
|
-
sprockets-rails (3.2.2)
|
|
138
|
-
actionpack (>= 4.0)
|
|
139
|
-
activesupport (>= 4.0)
|
|
140
|
-
sprockets (>= 3.0.0)
|
|
141
|
-
thor (1.1.0)
|
|
153
|
+
thor (1.2.1)
|
|
142
154
|
timeout (0.3.2)
|
|
143
|
-
tzinfo (2.0.
|
|
155
|
+
tzinfo (2.0.6)
|
|
144
156
|
concurrent-ruby (~> 1.0)
|
|
145
157
|
websocket-driver (0.7.5)
|
|
146
158
|
websocket-extensions (>= 0.1.0)
|
|
147
159
|
websocket-extensions (0.1.5)
|
|
148
|
-
zeitwerk (2.
|
|
160
|
+
zeitwerk (2.6.7)
|
|
149
161
|
|
|
150
162
|
PLATFORMS
|
|
151
163
|
aarch64-linux
|
|
152
164
|
arm64-darwin-22
|
|
153
|
-
x86_64-linux
|
|
154
165
|
|
|
155
166
|
DEPENDENCIES
|
|
156
167
|
lambda_punch!
|
|
@@ -161,4 +172,4 @@ DEPENDENCIES
|
|
|
161
172
|
rake
|
|
162
173
|
|
|
163
174
|
BUNDLED WITH
|
|
164
|
-
2.
|
|
175
|
+
2.4.12
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
|
-
](https://github.com/customink/lambda_punch/actions/workflows/test.yml)
|
|
4
4
|
|
|
5
5
|
# 👊 LambdaPunch
|
|
6
6
|
|
|
@@ -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.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ken Collins
|
|
8
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
|
|
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
168
168
|
- !ruby/object:Gem::Version
|
|
169
169
|
version: '0'
|
|
170
170
|
requirements: []
|
|
171
|
-
rubygems_version: 3.
|
|
171
|
+
rubygems_version: 3.2.33
|
|
172
172
|
signing_key:
|
|
173
173
|
specification_version: 4
|
|
174
174
|
summary: 'LambdaPunch: Async Processing using Lambda Extensions'
|