rao-service 0.0.51.pre → 0.0.52.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rao/service.rb +7 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 17387b534637dc0ac27fdf1cf7b6fa31ac7e2914a840e52e9e093060d69c92c6
4
- data.tar.gz: 4f721af8da12798e4e20dcf1e6d2c46e67b872920a405121f038ef778a8919ac
3
+ metadata.gz: 05f2f7e53676b637d469bca0190137ff7340d7d66839a4cffce5385820915d2f
4
+ data.tar.gz: 27e6add051f7136efa22b2521a0fd28370f5d8106247b002b77256f11f954fd6
5
5
  SHA512:
6
- metadata.gz: c74b94d2cad2aefdf84d34759b6b115b685d6ca88defec80b5d685908407dfd053e05e9e130485dd0937e83cdfaab3ef871834fd851c85f66411a5eec5823a01
7
- data.tar.gz: e1dbb39f52d9bae1e1b5105728f07a21e462e3f6487c1975091877de00e498a33f0a5aad8ae59b9d71eba1ee5fb8dfd5756a3027d460d714400d3c87fac06960
6
+ metadata.gz: 7b74539e947a026ff34c356a68d7817660188b505f7f2f8ab57ef674bfed0c6e26f894fbf9fbd436672643fac93ab821b13146a7375e18da45d8ba085779ffd2
7
+ data.tar.gz: 453e05f58d066dd693f5f685ee595bbc9125293e84d4416953c1b538ecb2d69e6421db65c939b7dd32dd15bad32d7f232b2e30b2fb7cfd7bc4458a0391f261fd
data/lib/rao/service.rb CHANGED
@@ -1,3 +1,8 @@
1
+ begin
2
+ require "active_job"
3
+ rescue LoadError => e
4
+ end
5
+
1
6
  require "rao/service/configuration"
2
7
  require "rao/service/version"
3
8
 
@@ -16,7 +21,8 @@ module Rao
16
21
  end
17
22
  end
18
23
 
19
- require "rao/service/engine" if Object.const_defined?('::Rails')
24
+ require "rao/service/engine" if Rao::Service.rails_present?
20
25
  require "rao/service/base"
26
+ require "rao/service/job" if Rao::Service.active_job_present?
21
27
 
22
28
  Rao.configure { |c| c.register_configuration(:service, Rao::Service) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rao-service
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.51.pre
4
+ version: 0.0.52.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-28 00:00:00.000000000 Z
11
+ date: 2024-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails