oni 5.0.0 → 5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/oni/daemons/sqs.rb +5 -5
- data/lib/oni/version.rb +4 -2
- 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: 9584b31ab67e080e5f151a5ef02094a45cc9660acfa71c67315451c6c638fa84
|
4
|
+
data.tar.gz: d5a7c223d6766e5593c47b77e70d315fe70b3f5dd0da0148b7153aa19c65b985
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '015680f50a3da3d650bd767adf8a413e712de25377f0e07aa60613ed53c4150ed4a594806bc311401d5f478a9e666c21be1e0655ee990cd4d7c76f4ef0cb4d1b'
|
7
|
+
data.tar.gz: 77ce42a13d7f6983f8a3f28c24aba811cf66e10e9e14cb1ab42c9c37e756c04086cbd065fe8046ed1ffe16c7005c87db02f6b58b577bf668ccdce9900d91029e
|
data/lib/oni/daemons/sqs.rb
CHANGED
@@ -59,17 +59,17 @@ module Oni
|
|
59
59
|
# @return [Aws::SQS::QueuePoller]
|
60
60
|
#
|
61
61
|
def queue
|
62
|
-
|
62
|
+
@queue ||= Aws::SQS::QueuePoller.new queue_url
|
63
63
|
end
|
64
64
|
|
65
65
|
##
|
66
66
|
# @return [String]
|
67
67
|
#
|
68
68
|
def queue_url
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
69
|
+
@queue_url ||= self.then do
|
70
|
+
response = Aws::SQS::Client.new.get_queue_url queue_name: option(:queue_name)
|
71
|
+
response.queue_url
|
72
|
+
end
|
73
73
|
end
|
74
74
|
|
75
75
|
end
|
data/lib/oni/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oni
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yorick Peterse
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-04-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|