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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8ea27ce6fa2d1fcd03a0ec2e9b7c69579eb80f35
4
- data.tar.gz: 3d5906484fafd91341c8d39a52871d8921ed11f7
3
+ metadata.gz: 7378d7cbfd3494afdaaf326d28ce63a46d4dde00
4
+ data.tar.gz: 9effcfc1f4372689e5d38231342d05a292d72a8d
5
5
  SHA512:
6
- metadata.gz: e9da52bf6a71f62ee9678c5899de34dc688dab9eb490ecff5fa7e2cbd5126132d84df35da716f178b483da994f2d4fe606b6ebf4fc9611fe5ba725ce49f59b3e
7
- data.tar.gz: 9c682076e823123d6b697c630e3f2b44567047ba43f3905632e63a349f95878163007a4fdf367ca3c87c6d7207ffb74c403b9a84698a645e8ffcd1f1f152c6fc
6
+ metadata.gz: ab7605d78c0f946250a9ad743d016e6d1138652dc8ef1d1f719c68e8d363ab51a1bbf8295cfddb02e3e0eceb6b216ce922c04cf35a4da41a2c81b2c56577b483
7
+ data.tar.gz: 8670018feccee0d3877dc03da6504f4b4ad4594ea075a4831780f228e9005d59c268adf8ad32d571436db32c4584878471998d8c8bbd458465fc9af744911afb
@@ -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.with_size => nil}},
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
@@ -1,3 +1,3 @@
1
1
  module TrogdirModels
2
- VERSION = '0.7.3'
2
+ VERSION = '0.7.4'
3
3
  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.3
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-10 00:00:00.000000000 Z
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: