namira 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +0 -1
- data/lib/namira/async.rb +9 -0
- data/lib/namira/async/sidekiq/request_worker.rb +2 -2
- data/lib/namira/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6c0d25b826181af36d7fbb7c2225390f522aaf7c473822d4fb00707e13ca435
|
4
|
+
data.tar.gz: 1dee8333ad3aeff09fa1c09aff4259f9a08f629e590506c64bab52731bce582b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f5b506397fe0c36872b1a39e385f8beeabe9da7720dd6bdbfbed295639e335b9e24d206767d617a5bbdc7271951f4ab238a82e0bd64a5f3f5076715bf228b87
|
7
|
+
data.tar.gz: 82a45a12bc0d5d11950ddbe5d608bb7abe14b93c5936b079bd8cbecb5a02ef8918e0db5485887383fdee9a2aa44145de8ba6a0418e7973697105e619a4b4d261
|
data/.circleci/config.yml
CHANGED
data/lib/namira/async.rb
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
# rubocop:disable Lint/HandleExceptions
|
2
|
+
begin
|
3
|
+
require 'active_job'
|
4
|
+
rescue LoadError; end
|
5
|
+
begin
|
6
|
+
require 'sidekiq'
|
7
|
+
rescue LoadError; end
|
8
|
+
# rubocop:enable Lint/HandleExceptions
|
9
|
+
|
1
10
|
require_relative 'async/active_job/request_job' if defined?(::ActiveJob)
|
2
11
|
require_relative 'async/sidekiq/request_worker' if defined?(::Sidekiq)
|
3
12
|
|
data/lib/namira/version.rb
CHANGED