elasticgraph-indexer_lambda 0.18.0.0 → 0.18.0.1

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: fe3462adefeec568453d660ec667f128a99aaa04c7dd8d1c057a1a05c54ce222
4
+ data.tar.gz: 6cd67390c36716b7660213b797dcf3eaf15b9962765d64ff2309797d3b1ce7ec
5
5
  SHA512:
6
- metadata.gz: 0fd527fd93ef7f9728a9f172c1544c6bd55f6f62d85319af211f07f5b0911496a1ea42df622a319d56b6690cc516ab76724acd03f8cc56963fbbdb839a24b179
7
- data.tar.gz: c64da253570961c96c351d4eb0ed9e55d523d21ed5908a11ec0c6c59315381852def1c1a776afcab742141bac326b01c708156838f12f134dec59d63b6858d54
6
+ metadata.gz: ba410eeea5f3c07c62aa1532c5e1887511482ed6931770e68195674858c0d9607e59f1ba04946b50777689f6d9b41d43eb3df61ad4cb6be4dd0e6bc6d46b782d
7
+ data.tar.gz: a4f954841feef286ef292ef6f16528ebd0f5ee911d47d7462972854d3cc9760f0cabfa32792a37f49d28d24923c32eecbc8f2782ee1e607ea156163d442a5575
@@ -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.1
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-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop-factory_bot
@@ -196,28 +196,28 @@ dependencies:
196
196
  requirements:
197
197
  - - '='
198
198
  - !ruby/object:Gem::Version
199
- version: 0.18.0.0
199
+ version: 0.18.0.1
200
200
  type: :runtime
201
201
  prerelease: false
202
202
  version_requirements: !ruby/object:Gem::Requirement
203
203
  requirements:
204
204
  - - '='
205
205
  - !ruby/object:Gem::Version
206
- version: 0.18.0.0
206
+ version: 0.18.0.1
207
207
  - !ruby/object:Gem::Dependency
208
208
  name: elasticgraph-lambda_support
209
209
  requirement: !ruby/object:Gem::Requirement
210
210
  requirements:
211
211
  - - '='
212
212
  - !ruby/object:Gem::Version
213
- version: 0.18.0.0
213
+ version: 0.18.0.1
214
214
  type: :runtime
215
215
  prerelease: false
216
216
  version_requirements: !ruby/object:Gem::Requirement
217
217
  requirements:
218
218
  - - '='
219
219
  - !ruby/object:Gem::Version
220
- version: 0.18.0.0
220
+ version: 0.18.0.1
221
221
  - !ruby/object:Gem::Dependency
222
222
  name: aws-sdk-s3
223
223
  requirement: !ruby/object:Gem::Requirement