aws-activejob-sqs 1.0.0 → 1.0.2
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/VERSION +1 -1
- data/lib/active_job/queue_adapters/sqs_adapter/params.rb +1 -1
- data/lib/aws/active_job/sqs/cli_options.rb +1 -1
- data/lib/aws/active_job/sqs/configuration.rb +5 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43f56ad87999ca924172fa56bb7fb6af16e77a0e63ed63cf77398e8ab097da7e
|
4
|
+
data.tar.gz: 10b9fbb6d8583041306da87e6186e7ec67607f975b33242695080441db7a4ce3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed23b76c320bc0cf8860b9df133fd114fb62f5439dbca3eaacf927ffd6c30b7cf4eb2df05e74bacc1a79d56ffce1f77a6052a22c3ffd51fd1d7405c1bb29b45c
|
7
|
+
data.tar.gz: 0ceaf002ad0b8ef3246df38b8570b2bbab13de7b53346dc8fefb49b964bd2d6db96fcc2a0f86c0c852048daee0202e2b8947f55267eab0f1a4c0a547d697c942
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
1.0.2 (2025-04-01)
|
2
|
+
------------------
|
3
|
+
|
4
|
+
* Issue - Remove `aws_sqs_active_job` executable.
|
5
|
+
* Issue - Handle `Time` objects correctly when using `ActiveJob.perform_all_later`.
|
6
|
+
|
7
|
+
1.0.1 (2024-12-23)
|
8
|
+
------------------
|
9
|
+
|
10
|
+
* Issue - Add deprecated `aws_sqs_active_job` executable to aid in migration.
|
11
|
+
* Issue - Support legacy `queue: 'url'` config in file to aid in migration.
|
12
|
+
|
1
13
|
1.0.0 (2024-12-13)
|
2
14
|
------------------
|
3
15
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.2
|
@@ -8,7 +8,7 @@ module ActiveJob
|
|
8
8
|
class Params
|
9
9
|
class << self
|
10
10
|
def assured_delay_seconds(timestamp)
|
11
|
-
delay = (timestamp - Time.now.to_f).floor
|
11
|
+
delay = (timestamp.to_f - Time.now.to_f).floor
|
12
12
|
delay = 0 if delay.negative?
|
13
13
|
raise ArgumentError, 'Unable to queue a job with a delay great than 15 minutes' if delay > 15.minutes
|
14
14
|
|
@@ -275,7 +275,11 @@ module Aws
|
|
275
275
|
# Load options from YAML file
|
276
276
|
def load_from_file(file_path)
|
277
277
|
opts = load_yaml(file_path) || {}
|
278
|
-
opts.deep_symbolize_keys
|
278
|
+
opts = opts.deep_symbolize_keys
|
279
|
+
opts[:queues]&.each_key do |queue|
|
280
|
+
opts[:queues][queue] = { url: opts[:queues][queue] } if opts[:queues][queue].is_a?(String)
|
281
|
+
end
|
282
|
+
opts
|
279
283
|
end
|
280
284
|
|
281
285
|
def load_yaml(file_path)
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-activejob-sqs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-04-01 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: aws-sdk-sqs
|
@@ -85,7 +84,6 @@ homepage: https://github.com/aws/aws-activejob-sqs-ruby
|
|
85
84
|
licenses:
|
86
85
|
- Apache-2.0
|
87
86
|
metadata: {}
|
88
|
-
post_install_message:
|
89
87
|
rdoc_options: []
|
90
88
|
require_paths:
|
91
89
|
- lib
|
@@ -100,8 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
98
|
- !ruby/object:Gem::Version
|
101
99
|
version: '0'
|
102
100
|
requirements: []
|
103
|
-
rubygems_version: 3.5
|
104
|
-
signing_key:
|
101
|
+
rubygems_version: 3.6.5
|
105
102
|
specification_version: 4
|
106
103
|
summary: ActiveJob integration with SQS
|
107
104
|
test_files: []
|