inst-jobs 0.15.0 → 0.15.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: 6cfef8fa3325ff17a355286bf43ea4df18f817ac3ce6d5ca938fa551c117897c
4
- data.tar.gz: 02cecf31bd9e6629cd9f15552a29578e916239f7c1dab7d7bec93274ffb38478
3
+ metadata.gz: 00634b92181e832a402d113aff8052b50e6ecb17989af3110368541a71134988
4
+ data.tar.gz: 9688312080e567ebbb6f65a12ce0db2d337669c34ec762ba1cca9c1e5b71de22
5
5
  SHA512:
6
- metadata.gz: ec8936d4c32b74eae509897903c3ed86d639883554ea647f611f635191df8858df9734ba9c2931c43cba8adab26c24973108610798df29ded204d3f5e612b2b2
7
- data.tar.gz: acc42e02a347d8c16ccb06967a3feb1a965a2a8746e801df7488ccc0f84e00dee334fff352885e0400bf52a2ac764e02af9757967773131f7db7f8da23613d9e
6
+ metadata.gz: e36682dbc8aa3642ae64fda59b9cbbf7378c51eda7b26947e111f726eca1ac41d6df3b71fbe68565fe5a7aa26ea230a8f2a9be849bc6254656c33ac2b20cafe3
7
+ data.tar.gz: dfaf996d289b21313565b855a13a952922971e2eee61c88b4f2274aee90f63da5685a52a0dca2929d75d6985602de09a435d28f7c7d6379091a9dd8577f6d59f
@@ -187,7 +187,7 @@ module Delayed
187
187
  end
188
188
 
189
189
  scope = scope.group(:tag).offset(offset).limit(limit)
190
- scope.order("COUNT(tag) DESC").count.map { |t,c| { :tag => t, :count => c } }
190
+ scope.order(Arel.sql("COUNT(tag) DESC")).count.map { |t,c| { :tag => t, :count => c } }
191
191
  end
192
192
 
193
193
  def self.maybe_silence_periodic_log(&block)
@@ -1,3 +1,3 @@
1
1
  module Delayed
2
- VERSION = "0.15.0"
2
+ VERSION = "0.15.1"
3
3
  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: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Luetke
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-06-07 00:00:00.000000000 Z
12
+ date: 2018-08-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord