elasticgraph-indexer_lambda 0.18.0.0 → 0.18.0.2

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: 0bfc417f9a3f74f5dea10bc89aa7b015c52a2423b9bae24f83c23072fcac94e0
4
- data.tar.gz: 45845f3166226ff66f38dc0242be414d37d4db6d75254d55d6013097e41dcb2b
3
+ metadata.gz: 2593e29fc03f55ce47a310fc94d1be8c0447c77e4369cb8300f63c07a8c7681a
4
+ data.tar.gz: 4028a6fc89b7e27afd23ce1522f67eb2134af8ee4ffb772d5c5522ca3b30114d
5
5
  SHA512:
6
- metadata.gz: 0fd527fd93ef7f9728a9f172c1544c6bd55f6f62d85319af211f07f5b0911496a1ea42df622a319d56b6690cc516ab76724acd03f8cc56963fbbdb839a24b179
7
- data.tar.gz: c64da253570961c96c351d4eb0ed9e55d523d21ed5908a11ec0c6c59315381852def1c1a776afcab742141bac326b01c708156838f12f134dec59d63b6858d54
6
+ metadata.gz: 2423975405b91b973b23e8e4361bd72913a04ea19feda1ca4c75f2284a901a02b9d0b71e10e97b38997ef2d44e326d33747c871654a54409d52a9f785728ba7a
7
+ data.tar.gz: b13b9425792d2fd22b9869371bc9c3fe41f43e64f3196766bf02282d0b87bf925adaa853514e5daa45ffcf04a42f6315aaef53f6d3fbd19055bc988a5993f45d
@@ -20,5 +20,5 @@ ElasticGraphGemspecHelper.define_elasticgraph_gem(gemspec_file: __FILE__, catego
20
20
  # best choice: it leads benchmarks, is well-maintained, has no dependencies, and is MIT-licensed.
21
21
  spec.add_dependency "ox", "~> 2.14"
22
22
 
23
- spec.add_development_dependency "httpx", ">= 1.2.6", "< 2.0"
23
+ spec.add_development_dependency "httpx", "~> 1.3"
24
24
  end
@@ -6,11 +6,11 @@
6
6
  #
7
7
  # frozen_string_literal: true
8
8
 
9
- # :nocov: -- exercised by a test that loads this file in a sub-process, so not seen by SimpleCov.
10
9
  require "elastic_graph/lambda_support/lambda_function"
11
10
 
12
11
  module ElasticGraph
13
12
  module IndexerLambda
13
+ # @private
14
14
  class LambdaFunction
15
15
  prepend LambdaSupport::LambdaFunction
16
16
 
@@ -33,6 +33,5 @@ module ElasticGraph
33
33
  end
34
34
  end
35
35
 
36
- # This is the constant used by the AWS Lambda function.
36
+ # Lambda handler for `elasticgraph-indexer_lambda`.
37
37
  ProcessEventStreamEvent = ElasticGraph::IndexerLambda::LambdaFunction.new
38
- # :nocov:
@@ -13,6 +13,8 @@ require "json"
13
13
  module ElasticGraph
14
14
  module IndexerLambda
15
15
  # Responsible for handling lambda event payloads from an SQS lambda trigger.
16
+ #
17
+ # @private
16
18
  class SqsProcessor
17
19
  def initialize(indexer_processor, report_batch_item_failures:, logger:, s3_client: nil)
18
20
  @indexer_processor = indexer_processor
@@ -10,6 +10,7 @@ require "elastic_graph/indexer"
10
10
  require "elastic_graph/lambda_support"
11
11
 
12
12
  module ElasticGraph
13
+ # @private
13
14
  module IndexerLambda
14
15
  # Builds an `ElasticGraph::Indexer` instance from our lambda ENV vars.
15
16
  def self.indexer_from_env
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticgraph-indexer_lambda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0.0
4
+ version: 0.18.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Myron Marston
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-27 00:00:00.000000000 Z
11
+ date: 2024-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop-factory_bot
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.39.0
61
+ version: 1.40.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 1.39.0
68
+ version: 1.40.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: steep
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -98,22 +98,22 @@ dependencies:
98
98
  name: flatware-rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 2.3.2
104
- - - "<"
103
+ version: '2.3'
104
+ - - ">="
105
105
  - !ruby/object:Gem::Version
106
- version: '3.0'
106
+ version: 2.3.3
107
107
  type: :development
108
108
  prerelease: false
109
109
  version_requirements: !ruby/object:Gem::Requirement
110
110
  requirements:
111
- - - ">="
111
+ - - "~>"
112
112
  - !ruby/object:Gem::Version
113
- version: 2.3.2
114
- - - "<"
113
+ version: '2.3'
114
+ - - ">="
115
115
  - !ruby/object:Gem::Version
116
- version: '3.0'
116
+ version: 2.3.3
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: rspec
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -132,16 +132,16 @@ dependencies:
132
132
  name: super_diff
133
133
  requirement: !ruby/object:Gem::Requirement
134
134
  requirements:
135
- - - ">="
135
+ - - "~>"
136
136
  - !ruby/object:Gem::Version
137
- version: 0.12.1
137
+ version: '0.12'
138
138
  type: :development
139
139
  prerelease: false
140
140
  version_requirements: !ruby/object:Gem::Requirement
141
141
  requirements:
142
- - - ">="
142
+ - - "~>"
143
143
  - !ruby/object:Gem::Version
144
- version: 0.12.1
144
+ version: '0.12'
145
145
  - !ruby/object:Gem::Dependency
146
146
  name: simplecov
147
147
  requirement: !ruby/object:Gem::Requirement
@@ -160,64 +160,58 @@ dependencies:
160
160
  name: simplecov-console
161
161
  requirement: !ruby/object:Gem::Requirement
162
162
  requirements:
163
- - - ">="
164
- - !ruby/object:Gem::Version
165
- version: 0.9.1
166
- - - "<"
163
+ - - "~>"
167
164
  - !ruby/object:Gem::Version
168
- version: '1.0'
165
+ version: '0.9'
169
166
  type: :development
170
167
  prerelease: false
171
168
  version_requirements: !ruby/object:Gem::Requirement
172
169
  requirements:
173
- - - ">="
174
- - !ruby/object:Gem::Version
175
- version: 0.9.1
176
- - - "<"
170
+ - - "~>"
177
171
  - !ruby/object:Gem::Version
178
- version: '1.0'
172
+ version: '0.9'
179
173
  - !ruby/object:Gem::Dependency
180
174
  name: aws_lambda_ric
181
175
  requirement: !ruby/object:Gem::Requirement
182
176
  requirements:
183
- - - ">="
177
+ - - "~>"
184
178
  - !ruby/object:Gem::Version
185
- version: 2.0.0
179
+ version: '2.0'
186
180
  type: :development
187
181
  prerelease: false
188
182
  version_requirements: !ruby/object:Gem::Requirement
189
183
  requirements:
190
- - - ">="
184
+ - - "~>"
191
185
  - !ruby/object:Gem::Version
192
- version: 2.0.0
186
+ version: '2.0'
193
187
  - !ruby/object:Gem::Dependency
194
188
  name: elasticgraph-indexer
195
189
  requirement: !ruby/object:Gem::Requirement
196
190
  requirements:
197
191
  - - '='
198
192
  - !ruby/object:Gem::Version
199
- version: 0.18.0.0
193
+ version: 0.18.0.2
200
194
  type: :runtime
201
195
  prerelease: false
202
196
  version_requirements: !ruby/object:Gem::Requirement
203
197
  requirements:
204
198
  - - '='
205
199
  - !ruby/object:Gem::Version
206
- version: 0.18.0.0
200
+ version: 0.18.0.2
207
201
  - !ruby/object:Gem::Dependency
208
202
  name: elasticgraph-lambda_support
209
203
  requirement: !ruby/object:Gem::Requirement
210
204
  requirements:
211
205
  - - '='
212
206
  - !ruby/object:Gem::Version
213
- version: 0.18.0.0
207
+ version: 0.18.0.2
214
208
  type: :runtime
215
209
  prerelease: false
216
210
  version_requirements: !ruby/object:Gem::Requirement
217
211
  requirements:
218
212
  - - '='
219
213
  - !ruby/object:Gem::Version
220
- version: 0.18.0.0
214
+ version: 0.18.0.2
221
215
  - !ruby/object:Gem::Dependency
222
216
  name: aws-sdk-s3
223
217
  requirement: !ruby/object:Gem::Requirement
@@ -250,22 +244,16 @@ dependencies:
250
244
  name: httpx
251
245
  requirement: !ruby/object:Gem::Requirement
252
246
  requirements:
253
- - - ">="
254
- - !ruby/object:Gem::Version
255
- version: 1.2.6
256
- - - "<"
247
+ - - "~>"
257
248
  - !ruby/object:Gem::Version
258
- version: '2.0'
249
+ version: '1.3'
259
250
  type: :development
260
251
  prerelease: false
261
252
  version_requirements: !ruby/object:Gem::Requirement
262
253
  requirements:
263
- - - ">="
264
- - !ruby/object:Gem::Version
265
- version: 1.2.6
266
- - - "<"
254
+ - - "~>"
267
255
  - !ruby/object:Gem::Version
268
- version: '2.0'
256
+ version: '1.3'
269
257
  description:
270
258
  email:
271
259
  - myron@squareup.com