inst-jobs 3.1.4 → 3.1.5

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: 2bea5022e36cc4d9748d96fd7abadcdf15e86704c0b79551ccabf32d093ad4fa
4
- data.tar.gz: 262023f6a3892f685b31a97437913689b4b6c2f6017600a05e325030a3f6c620
3
+ metadata.gz: 5adf88a85cf490a4fee0b3e8b5234be47b0f70034f6a89489ace8a132c74886d
4
+ data.tar.gz: '07836a394917c38fcb1cba64a9a1988f3c949bb7e147247f759da8f860382a7f'
5
5
  SHA512:
6
- metadata.gz: d073c05f492b416d0fa0a3a16e9337635289afc53107239d1bbf1b41370f0baad837315f59f997be912db61f13fc1b320aefb8ec68c9ccafce8f3eeb2825d266
7
- data.tar.gz: 7f2182ecdea50d3e547d2b4fa1d99a1bcaace68936ae49fd006c5d03f7b4e4e008bcd792c1b35b0157379182b24d1bac8cca34c5c2dc85637953212db140e33c
6
+ metadata.gz: 8fc62248de29a57be2044a0949299ac26475df434c4906f0786293bb07b3a7bf63fb1c2b79c3e230e992825984e76417eb9ad221a46bac5c78b92d305c2db638
7
+ data.tar.gz: 44a04dcfd05ecad3345bd9da25909711912edaaf16e9f6a502859765319de33e0a59ac840571b5f5e543b76ce40b43550ab9a750e56753c60c29886002894201
@@ -29,9 +29,9 @@ module Delayed
29
29
 
30
30
  def self.reconnect!
31
31
  if Rails.version < "6.1"
32
- ActiveRecord::Base.connection_handler.clear_all_connections!
32
+ ::ActiveRecord::Base.connection_handler.clear_all_connections!
33
33
  else
34
- ActiveRecord::Base.connection_handler.clear_all_connections!(nil)
34
+ ::ActiveRecord::Base.connection_handler.clear_all_connections!(nil)
35
35
  end
36
36
  end
37
37
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Delayed
4
- VERSION = "3.1.4"
4
+ VERSION = "3.1.5"
5
5
  end
@@ -227,9 +227,9 @@ module Delayed
227
227
  # otherwise just reconnect and let it retry
228
228
  logger.warn("failed to unlock prefetched jobs - connection terminated; skipping for now")
229
229
  if Rails.version < "6.1"
230
- Delayed::Job.clear_all_connections!
230
+ ::Delayed::Job.clear_all_connections!
231
231
  else
232
- Delayed::Job.clear_all_connections!(nil)
232
+ ::Delayed::Job.clear_all_connections!(nil)
233
233
  end
234
234
  end
235
235
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inst-jobs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.4
4
+ version: 3.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Cutrer
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2022-07-01 00:00:00.000000000 Z
13
+ date: 2022-07-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activerecord