elasticgraph-indexer_autoscaler_lambda 0.19.0.0.rc1 → 0.19.0.0

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: 685736c9754d12dc3f6b15fe111d3ce50b00409a92f5523448df4ea6502e47cd
4
- data.tar.gz: 32b7cf30ccac9b1dba9dbd1c87c16f385e2f5ee5d9bb92cf2dee80183489bc85
3
+ metadata.gz: 32c73d80f327305fe95417681fb944cd9349e07232dcac25ddf608d126df1a16
4
+ data.tar.gz: 605bab4d47763a39d21470dba3b25a26a3f29a5e7da3f1ebfb5614fbd98367f6
5
5
  SHA512:
6
- metadata.gz: 5d724c7c83e80723484b66e58d28557c4a658abca00f86eac6722bbf6b8c5c650067599279c0b22d16e3879efb1c855f3b97b7740411ee98d33df8a24d54950c
7
- data.tar.gz: ce686c78fb6fa9bfdbad29ef8eda03b44b2c36e1ce04119dad55b267402dddd20f8cfffecaefa443a00f4f953f2c0398dc84687d94229a41c4665eefdc884703
6
+ metadata.gz: eb07e9919b25cd9211a0f9fa0ef217490bf01d8734ceef99c617d1edb454773ed8a8f5333f087e273f71883224e3dc1a12027c40ff2966218d738df24345ac47
7
+ data.tar.gz: 715b5026ce35c2e8e5079bff2f71ecf4f738f211dcaa27e15ce42ea6c06c7b8e554b67566630573cb5153366378ff328b9d1e5774446bf0948a218defb5f37fe
@@ -14,14 +14,14 @@ ElasticGraphGemspecHelper.define_elasticgraph_gem(gemspec_file: __FILE__, catego
14
14
  spec.add_dependency "elasticgraph-datastore_core", eg_version
15
15
  spec.add_dependency "elasticgraph-lambda_support", eg_version
16
16
 
17
- spec.add_dependency "aws-sdk-lambda", "~> 1.125"
18
- spec.add_dependency "aws-sdk-sqs", "~> 1.80"
19
- spec.add_dependency "aws-sdk-cloudwatch", "~> 1.104"
17
+ spec.add_dependency "aws-sdk-lambda", "~> 1.144"
18
+ spec.add_dependency "aws-sdk-sqs", "~> 1.89"
19
+ spec.add_dependency "aws-sdk-cloudwatch", "~> 1.108"
20
20
 
21
21
  # aws-sdk-sqs requires an XML library be available. On Ruby < 3 it'll use rexml from the standard library but on Ruby 3.0+
22
22
  # we have to add an explicit dependency. It supports ox, oga, libxml, nokogiri or rexml, and of those, ox seems to be the
23
23
  # best choice: it leads benchmarks, is well-maintained, has no dependencies, and is MIT-licensed.
24
- spec.add_dependency "ox", "~> 2.14"
24
+ spec.add_dependency "ox", "~> 2.14", ">= 2.14.18"
25
25
 
26
26
  spec.add_development_dependency "elasticgraph-elasticsearch", eg_version
27
27
  spec.add_development_dependency "elasticgraph-opensearch", eg_version
@@ -130,7 +130,8 @@ module ElasticGraph
130
130
  ]
131
131
  })
132
132
 
133
- metric_response.metric_data_results.first.values.first
133
+ results = metric_response.metric_data_results.first # : ::Aws::CloudWatch::Types::MetricDataResult
134
+ results.values.first.to_f
134
135
  end
135
136
 
136
137
  def get_queue_attributes(queue_urls)
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticgraph-indexer_autoscaler_lambda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0.0.rc1
4
+ version: 0.19.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Myron Marston
8
8
  - Ben VandenBos
9
9
  - Block Engineering
10
- autorequire:
10
+ autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2024-12-03 00:00:00.000000000 Z
13
+ date: 2024-12-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rubocop-factory_bot
@@ -74,14 +74,14 @@ dependencies:
74
74
  requirements:
75
75
  - - "~>"
76
76
  - !ruby/object:Gem::Version
77
- version: '1.8'
77
+ version: 1.9.0
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - "~>"
83
83
  - !ruby/object:Gem::Version
84
- version: '1.8'
84
+ version: 1.9.0
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: coderay
87
87
  requirement: !ruby/object:Gem::Requirement
@@ -192,70 +192,70 @@ dependencies:
192
192
  requirements:
193
193
  - - '='
194
194
  - !ruby/object:Gem::Version
195
- version: 0.19.0.0.rc1
195
+ version: 0.19.0.0
196
196
  type: :runtime
197
197
  prerelease: false
198
198
  version_requirements: !ruby/object:Gem::Requirement
199
199
  requirements:
200
200
  - - '='
201
201
  - !ruby/object:Gem::Version
202
- version: 0.19.0.0.rc1
202
+ version: 0.19.0.0
203
203
  - !ruby/object:Gem::Dependency
204
204
  name: elasticgraph-lambda_support
205
205
  requirement: !ruby/object:Gem::Requirement
206
206
  requirements:
207
207
  - - '='
208
208
  - !ruby/object:Gem::Version
209
- version: 0.19.0.0.rc1
209
+ version: 0.19.0.0
210
210
  type: :runtime
211
211
  prerelease: false
212
212
  version_requirements: !ruby/object:Gem::Requirement
213
213
  requirements:
214
214
  - - '='
215
215
  - !ruby/object:Gem::Version
216
- version: 0.19.0.0.rc1
216
+ version: 0.19.0.0
217
217
  - !ruby/object:Gem::Dependency
218
218
  name: aws-sdk-lambda
219
219
  requirement: !ruby/object:Gem::Requirement
220
220
  requirements:
221
221
  - - "~>"
222
222
  - !ruby/object:Gem::Version
223
- version: '1.125'
223
+ version: '1.144'
224
224
  type: :runtime
225
225
  prerelease: false
226
226
  version_requirements: !ruby/object:Gem::Requirement
227
227
  requirements:
228
228
  - - "~>"
229
229
  - !ruby/object:Gem::Version
230
- version: '1.125'
230
+ version: '1.144'
231
231
  - !ruby/object:Gem::Dependency
232
232
  name: aws-sdk-sqs
233
233
  requirement: !ruby/object:Gem::Requirement
234
234
  requirements:
235
235
  - - "~>"
236
236
  - !ruby/object:Gem::Version
237
- version: '1.80'
237
+ version: '1.89'
238
238
  type: :runtime
239
239
  prerelease: false
240
240
  version_requirements: !ruby/object:Gem::Requirement
241
241
  requirements:
242
242
  - - "~>"
243
243
  - !ruby/object:Gem::Version
244
- version: '1.80'
244
+ version: '1.89'
245
245
  - !ruby/object:Gem::Dependency
246
246
  name: aws-sdk-cloudwatch
247
247
  requirement: !ruby/object:Gem::Requirement
248
248
  requirements:
249
249
  - - "~>"
250
250
  - !ruby/object:Gem::Version
251
- version: '1.104'
251
+ version: '1.108'
252
252
  type: :runtime
253
253
  prerelease: false
254
254
  version_requirements: !ruby/object:Gem::Requirement
255
255
  requirements:
256
256
  - - "~>"
257
257
  - !ruby/object:Gem::Version
258
- version: '1.104'
258
+ version: '1.108'
259
259
  - !ruby/object:Gem::Dependency
260
260
  name: ox
261
261
  requirement: !ruby/object:Gem::Requirement
@@ -263,6 +263,9 @@ dependencies:
263
263
  - - "~>"
264
264
  - !ruby/object:Gem::Version
265
265
  version: '2.14'
266
+ - - ">="
267
+ - !ruby/object:Gem::Version
268
+ version: 2.14.18
266
269
  type: :runtime
267
270
  prerelease: false
268
271
  version_requirements: !ruby/object:Gem::Requirement
@@ -270,35 +273,38 @@ dependencies:
270
273
  - - "~>"
271
274
  - !ruby/object:Gem::Version
272
275
  version: '2.14'
276
+ - - ">="
277
+ - !ruby/object:Gem::Version
278
+ version: 2.14.18
273
279
  - !ruby/object:Gem::Dependency
274
280
  name: elasticgraph-elasticsearch
275
281
  requirement: !ruby/object:Gem::Requirement
276
282
  requirements:
277
283
  - - '='
278
284
  - !ruby/object:Gem::Version
279
- version: 0.19.0.0.rc1
285
+ version: 0.19.0.0
280
286
  type: :development
281
287
  prerelease: false
282
288
  version_requirements: !ruby/object:Gem::Requirement
283
289
  requirements:
284
290
  - - '='
285
291
  - !ruby/object:Gem::Version
286
- version: 0.19.0.0.rc1
292
+ version: 0.19.0.0
287
293
  - !ruby/object:Gem::Dependency
288
294
  name: elasticgraph-opensearch
289
295
  requirement: !ruby/object:Gem::Requirement
290
296
  requirements:
291
297
  - - '='
292
298
  - !ruby/object:Gem::Version
293
- version: 0.19.0.0.rc1
299
+ version: 0.19.0.0
294
300
  type: :development
295
301
  prerelease: false
296
302
  version_requirements: !ruby/object:Gem::Requirement
297
303
  requirements:
298
304
  - - '='
299
305
  - !ruby/object:Gem::Version
300
- version: 0.19.0.0.rc1
301
- description:
306
+ version: 0.19.0.0
307
+ description:
302
308
  email:
303
309
  - myron@squareup.com
304
310
  executables: []
@@ -317,12 +323,12 @@ licenses:
317
323
  - MIT
318
324
  metadata:
319
325
  bug_tracker_uri: https://github.com/block/elasticgraph/issues
320
- changelog_uri: https://github.com/block/elasticgraph/releases/tag/v0.19.0.0.rc1
326
+ changelog_uri: https://github.com/block/elasticgraph/releases/tag/v0.19.0.0
321
327
  documentation_uri: https://block.github.io/elasticgraph/docs/main/
322
328
  homepage_uri: https://block.github.io/elasticgraph/
323
- source_code_uri: https://github.com/block/elasticgraph/tree/v0.19.0.0.rc1/elasticgraph-indexer_autoscaler_lambda
329
+ source_code_uri: https://github.com/block/elasticgraph/tree/v0.19.0.0/elasticgraph-indexer_autoscaler_lambda
324
330
  gem_category: lambda
325
- post_install_message:
331
+ post_install_message:
326
332
  rdoc_options: []
327
333
  require_paths:
328
334
  - lib
@@ -337,8 +343,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
337
343
  - !ruby/object:Gem::Version
338
344
  version: '0'
339
345
  requirements: []
340
- rubygems_version: 3.5.9
341
- signing_key:
346
+ rubygems_version: 3.5.22
347
+ signing_key:
342
348
  specification_version: 4
343
349
  summary: ElasticGraph gem that monitors OpenSearch CPU utilization to autoscale indexer
344
350
  lambda concurrency.