lamby 2.6.0 → 2.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +48 -50
- data/Rakefile +9 -1
- data/bin/_test +1 -0
- data/lib/lamby/handler.rb +1 -1
- 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: 680b99fd678aef833c4bdca9cee66b2adcb171f8e0ada61fffec9443f6304c21
|
4
|
+
data.tar.gz: 41664f4e4e02e4ab88112ad6f5f16ec59901cbd7f58639833a322658afec9443
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7705fcb6bf84b50267a0a51008d0003b506198cbfd72c69d7b1114c97780f52f89793374f10d2a36fb0ec7932243e13ba5e8a29b69ab8d8eaa4d9cbb37f16861
|
7
|
+
data.tar.gz: 73f4038e54a8a5417cef4586c25497dcad49af932b3359ae3827a115b5d018c42f57a7b39ce8ef43d5da1b6be6251f945e6bf5ee72b2c66d67587d0f11f5c36f
|
data/CHANGELOG.md
CHANGED
@@ -1,73 +1,84 @@
|
|
1
1
|
<!-- -*- mode: markdown -*- -->
|
2
|
+
|
2
3
|
# Keep A Changelog!
|
3
4
|
|
4
5
|
See this http://keepachangelog.com link for information on how we want this documented formatted.
|
5
6
|
|
7
|
+
## v2.6.1
|
8
|
+
|
9
|
+
#### Fixed
|
10
|
+
|
11
|
+
- Support redirects with empty response body.
|
12
|
+
|
13
|
+
#### Added
|
14
|
+
|
15
|
+
- Tests for enabling Rack::Deflate middleware by passing RACK_DEFLATE_ENABLED env variable.
|
16
|
+
|
6
17
|
## v2.6.0
|
7
18
|
|
8
19
|
#### Fixed
|
9
20
|
|
10
|
-
|
21
|
+
- Support multiple Set-Cookie headers for all rest types.
|
11
22
|
|
12
23
|
## v2.5.3
|
13
24
|
|
14
25
|
#### Fixed
|
15
26
|
|
16
|
-
|
27
|
+
- Base64 encode response body if the rack response is gzip or brotli compressed.
|
17
28
|
|
18
29
|
## v2.5.2
|
19
30
|
|
20
|
-
|
31
|
+
- SSM file always overwrites. Fixes #65.
|
21
32
|
|
22
33
|
## v2.5.1
|
23
34
|
|
24
35
|
#### Fixed
|
25
36
|
|
26
|
-
|
37
|
+
- Quoting in describe-subnets #62 Thanks @atwoodjw
|
27
38
|
|
28
39
|
## v2.5.0
|
29
40
|
|
30
41
|
#### Changed
|
31
42
|
|
32
|
-
|
43
|
+
- Install files to favor containers.
|
33
44
|
|
34
45
|
## v2.2.2
|
35
46
|
|
36
47
|
#### Changed
|
37
48
|
|
38
|
-
|
49
|
+
- More ActiveSupport removal. Better ENV.to_h.
|
39
50
|
|
40
51
|
## v2.2.1
|
41
52
|
|
42
53
|
#### Changed
|
43
54
|
|
44
|
-
|
55
|
+
- More ActiveSupport removal from SsmParameterStore.
|
45
56
|
|
46
57
|
## v2.2.0
|
47
58
|
|
48
59
|
#### Changed
|
49
60
|
|
50
|
-
|
51
|
-
|
61
|
+
- Remove dependency on `activesupport` for rack-only applications.
|
62
|
+
- Remove ActiveSupport artifacts:
|
52
63
|
- Replace `strip_heredoc` with `<<~HEREDOC`.
|
53
64
|
- Remove instances of `Object#try`, replace with `&.`.
|
54
65
|
- Use `Rack::Utils.build_nested_query` in place of `Object#to_query`.
|
55
66
|
- Replace `Object#present?` with `to_s.empty?`.
|
56
67
|
- Replace `Array.wrap` with `Array[obj].compact.flatten`.
|
57
|
-
|
68
|
+
- Add a check against the `RAILS_ENV` AND `RACK_ENV` environment
|
58
69
|
variables prior to enabling debug mode.
|
59
70
|
|
60
71
|
## v2.1.0
|
61
72
|
|
62
73
|
#### Changed
|
63
74
|
|
64
|
-
|
75
|
+
- Only load the railtie if `Rails` is defined.
|
65
76
|
|
66
77
|
## v2.0.1
|
67
78
|
|
68
79
|
#### Changed
|
69
80
|
|
70
|
-
|
81
|
+
- Remove Rails runtime dep. Only rack is needed.
|
71
82
|
|
72
83
|
## v2.0.0
|
73
84
|
|
@@ -75,120 +86,107 @@ Support for new API Gateway HTTP APIs!!!
|
|
75
86
|
|
76
87
|
#### Changed
|
77
88
|
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
89
|
+
- The `Lamby.handler` must have a `:rack` option. One of `:http`, `:rest`, `:alb`.
|
90
|
+
- Renamed template generators to match options above.
|
91
|
+
- The `lamby:install` task now defaults to HTTP API.
|
92
|
+
- Changed the name of `:api` rack option to `:rest`.
|
93
|
+
- Removed `export` from Dotenv files. Better Docker compatability.
|
83
94
|
|
84
95
|
#### Added
|
85
96
|
|
86
|
-
|
87
|
-
|
88
|
-
|
97
|
+
- New rack handler for HTTP API v1 and v2.
|
98
|
+
- Lots of backfill tests for, ALBs & REST APIs.
|
89
99
|
|
90
100
|
## v1.0.3
|
91
101
|
|
92
102
|
#### Changed
|
93
103
|
|
94
|
-
|
95
|
-
|
104
|
+
- Change shebangs to `#!/usr/bin/env bash`
|
96
105
|
|
97
106
|
## v1.0.2
|
98
107
|
|
99
108
|
#### Changed
|
100
109
|
|
101
|
-
|
110
|
+
- Adds an optional 'overwrite' parameter to #to_env.
|
102
111
|
|
103
112
|
## v1.0.1
|
104
113
|
|
105
114
|
#### Changed
|
106
115
|
|
107
|
-
|
108
|
-
|
116
|
+
- Links in bin/build templates to point to lamby.custominktech.com site.
|
109
117
|
|
110
118
|
## v1.0.0
|
111
119
|
|
112
120
|
#### Fixed
|
113
121
|
|
114
|
-
|
115
|
-
|
122
|
+
- ALB query params & binary responses. Fixes #38.
|
116
123
|
|
117
124
|
## v0.6.0
|
118
125
|
|
119
126
|
#### Added
|
120
127
|
|
121
|
-
|
128
|
+
- APPLICATION LOAD BALANACER SUPPORT!!! The new default. Use `rack: :api` option to handler for API Gateway support.
|
122
129
|
|
123
130
|
#### Changed
|
124
131
|
|
125
|
-
|
126
|
-
|
132
|
+
- Rake task `lamby:install` now defaults to `application_load_balancer`
|
127
133
|
|
128
134
|
## v0.5.1
|
129
135
|
|
130
136
|
#### Fixed
|
131
137
|
|
132
|
-
|
133
|
-
|
138
|
+
- The .gitignore file template. Fix .aws-sam dir.
|
134
139
|
|
135
140
|
## v0.5.0
|
136
141
|
|
137
142
|
#### Added
|
138
143
|
|
139
|
-
|
140
|
-
|
141
|
-
|
144
|
+
- Template generators for first install. Ex: `./bin/rake -r lamby lamby:install:api_gateway`.
|
145
|
+
- New `Lamby::SsmParameterStore.get!` helper.
|
142
146
|
|
143
147
|
## v0.4.1
|
144
148
|
|
145
149
|
#### Fixed
|
146
150
|
|
147
|
-
|
148
|
-
|
151
|
+
- Fix type in v0.4.0 fix below.
|
149
152
|
|
150
153
|
## v0.4.0
|
151
154
|
|
152
155
|
#### Fixed
|
153
156
|
|
154
|
-
|
155
|
-
|
157
|
+
- File uploads in #33 using `CONTENT_TYPE` and `CONTENT_LENGTH`.
|
156
158
|
|
157
159
|
## v0.3.2
|
158
160
|
|
159
161
|
#### Added
|
160
162
|
|
161
|
-
|
162
|
-
|
163
|
+
- Pass Request ID for CloudWatch logs. Fixes #30.
|
163
164
|
|
164
165
|
## v0.3.1
|
165
166
|
|
166
167
|
#### Changed
|
167
168
|
|
168
|
-
|
169
|
-
|
169
|
+
- Docs and SAM template tweaks.
|
170
170
|
|
171
171
|
## v0.3.0
|
172
172
|
|
173
173
|
#### Added
|
174
174
|
|
175
|
-
|
176
|
-
|
175
|
+
- Secure configs rake task.
|
176
|
+
- Project bin setup and tests.
|
177
177
|
|
178
178
|
#### Changed
|
179
179
|
|
180
|
-
|
181
|
-
|
180
|
+
- SAM template tweaks.
|
182
181
|
|
183
182
|
## v0.2.0
|
184
183
|
|
185
184
|
#### Changed
|
186
185
|
|
187
|
-
|
188
|
-
|
186
|
+
- Simple docs and project re-organization.
|
189
187
|
|
190
188
|
## v0.1.0
|
191
189
|
|
192
190
|
#### Added
|
193
191
|
|
194
|
-
|
192
|
+
- New gem and placeholder in rubygems.
|
data/Rakefile
CHANGED
@@ -10,4 +10,12 @@ Rake::TestTask.new(:test) do |t|
|
|
10
10
|
t.warning = false
|
11
11
|
end
|
12
12
|
|
13
|
-
|
13
|
+
Rake::TestTask.new(:test_deflate) do |t|
|
14
|
+
t.libs << "test"
|
15
|
+
t.libs << "lib"
|
16
|
+
t.test_files = FileList["test/rack_deflate_test.rb"]
|
17
|
+
t.verbose = false
|
18
|
+
t.warning = false
|
19
|
+
end
|
20
|
+
|
21
|
+
task :default => [:test, :test_deflate]
|
data/bin/_test
CHANGED
data/lib/lamby/handler.rb
CHANGED
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: 2.6.
|
4
|
+
version: 2.6.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: 2021-03-
|
11
|
+
date: 2021-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|