inst-jobs-statsd 4.0.0 → 4.0.1

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: c4a9d57f59dc527218751eb536cac69af6d5eb257d216d8b01cd5f00de7d10b8
4
- data.tar.gz: 7398542a12623da8a74be2d1158d25f48bdb6b68433532608b10e2dbbec21c78
3
+ metadata.gz: 2842be633e3d25b6880b6ff576d9b00a37d56d2a28713ea424aa670181280efe
4
+ data.tar.gz: 6463453b401639f55f7335cb66a0590a48da0ef545cb81d64652dca7656c47e1
5
5
  SHA512:
6
- metadata.gz: fd829e71ac4403783556005c4ab5cf2fb2eed80238f5f2e8785c6297a5b1330f7ecda868e88a69b92cd197c53ebfe8445b202e24f81bfd852b9db6105fd68956
7
- data.tar.gz: cb5c46e89d724dab97743d5c3db895a3f8e8d3a5857d9a4af443ba91ee89a505879f7b3ec6e8f670fcaeb0b48957567c5487d4c9d6facf0ce9a22d5a6958f6c8
6
+ metadata.gz: b4f9cc39873e1c1648922de0335c2d81d62d96c637e1c0e78a25e219965284178f55873185710c2223a4c73e69f81001ec9d21a69f4dbfee4be3698f0b087d42
7
+ data.tar.gz: 8f30d404ce68bac3b0ca1cfb099f04e48e50b754b5b88cac8f13b03bde7613184bbdd7f2ab6b518a2f03a496f3bb78d29a9e68d97a73f1b8d579e416f931032b
@@ -43,7 +43,7 @@ module InstJobsStatsd
43
43
  def self.queued_jobs_scope
44
44
  Delayed::Job
45
45
  .current
46
- .where("locked_at IS NULL OR locked_by = 'on_hold'") # not running
46
+ .where("locked_at IS NULL OR locked_by = ?", Delayed::Backend::Base::ON_HOLD_LOCKED_BY) # not running
47
47
  .group(:queue)
48
48
  end
49
49
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module InstJobsStatsd
4
- VERSION = "4.0.0"
4
+ VERSION = "4.0.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inst-jobs-statsd
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Slade
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-19 00:00:00.000000000 Z
11
+ date: 2024-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inst-jobs