trogdir_models 0.18.0 → 0.18.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trogdir/changeset.rb +2 -2
- data/lib/trogdir/person.rb +1 -1
- data/lib/trogdir_models/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6f53c7c6bb79e40c6b298a6fd71be4d3a07b429
|
4
|
+
data.tar.gz: 9b79a510d11e72d72be75e16985696b349c4f21b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78242b8a7d929978fff64895ea017cf10799fb2295c572dafa3bb02309e74c35552d4ee2ea85bcbe98c812639318f56937062feb0572b867e1274eccd242ff6e
|
7
|
+
data.tar.gz: acb1cfe6c0d09b842354d80782fc449776dc6b2fdb3fc77a76c49acafdba20e5bca7c6e32bb148c68d3c2abf7ec0843f6bd5a0b8cf448170daf683cc3fba51a1
|
data/lib/trogdir/changeset.rb
CHANGED
@@ -15,8 +15,8 @@ class Changeset
|
|
15
15
|
index 'change_syncs.sync_logs.started_at' => 1
|
16
16
|
index 'change_syncs.sync_logs.errored_at' => 1
|
17
17
|
index 'change_syncs.sync_logs.succeeded_at' => 1
|
18
|
-
index({'change_syncs._id' => 1}, unique: true, sparse: true)
|
19
|
-
index({'change_syncs.sync_logs._id' => 1}, unique: true, sparse: true)
|
18
|
+
index({'change_syncs._id' => 1}, {unique: true, sparse: true})
|
19
|
+
index({'change_syncs.sync_logs._id' => 1}, {unique: true, sparse: true})
|
20
20
|
index('change_syncs.syncinator_id' => 1, 'change_syncs.run_after' => 1)
|
21
21
|
|
22
22
|
before_save :tag_user
|
data/lib/trogdir/person.rb
CHANGED
@@ -55,7 +55,7 @@ class Person
|
|
55
55
|
index residence_name: 1
|
56
56
|
index 'emails.address' => 1
|
57
57
|
index 'ids.identifier' => 1
|
58
|
-
index({'ids.identifier' => 1, 'ids.type' => 1}, unique: true)
|
58
|
+
index({'ids.identifier' => 1, 'ids.type' => 1}, {unique: true, sparse: true})
|
59
59
|
|
60
60
|
validates :uuid, :first_name, :last_name, presence: true
|
61
61
|
validates :uuid, uniqueness: true
|
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.18.
|
4
|
+
version: 0.18.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Crownoble
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: api-auth
|
@@ -216,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
216
216
|
version: '0'
|
217
217
|
requirements: []
|
218
218
|
rubyforge_project:
|
219
|
-
rubygems_version: 2.
|
219
|
+
rubygems_version: 2.6.1
|
220
220
|
signing_key:
|
221
221
|
specification_version: 4
|
222
222
|
summary: Shared models for the Trogdir directory
|