trogdir_models 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trogdir/syncinator.rb +1 -1
- data/lib/trogdir_models/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7378d7cbfd3494afdaaf326d28ce63a46d4dde00
|
4
|
+
data.tar.gz: 9effcfc1f4372689e5d38231342d05a292d72a8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab7605d78c0f946250a9ad743d016e6d1138652dc8ef1d1f719c68e8d363ab51a1bbf8295cfddb02e3e0eceb6b216ce922c04cf35a4da41a2c81b2c56577b483
|
7
|
+
data.tar.gz: 8670018feccee0d3877dc03da6504f4b4ad4594ea075a4831780f228e9005d59c268adf8ad32d571436db32c4584878471998d8c8bbd458465fc9af744911afb
|
data/lib/trogdir/syncinator.rb
CHANGED
@@ -29,7 +29,7 @@ class Syncinator
|
|
29
29
|
Changeset.nor(
|
30
30
|
:change_syncs.elem_match => {syncinator_id: id, :'sync_logs.succeeded_at'.ne => nil}
|
31
31
|
).or(
|
32
|
-
{:change_syncs.elem_match => {syncinator_id: id, :sync_logs.
|
32
|
+
{:change_syncs.elem_match => {syncinator_id: id, :sync_logs.in => [nil, []]}},
|
33
33
|
{:change_syncs.elem_match => {syncinator_id: id, :sync_logs.elem_match => {:started_at.lt => retry_after, succeeded_at: nil}}}
|
34
34
|
).order_by(created_at: :asc)
|
35
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trogdir_models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Crownoble
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: api-auth
|
@@ -193,4 +193,3 @@ signing_key:
|
|
193
193
|
specification_version: 4
|
194
194
|
summary: Shared models for the Trogdir directory
|
195
195
|
test_files: []
|
196
|
-
has_rdoc:
|