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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 929c10864673956d5483ffe49fc3de0c324c35b6
4
- data.tar.gz: 370814b63a6829b249ab72338716c55d96b81751
3
+ metadata.gz: c6f53c7c6bb79e40c6b298a6fd71be4d3a07b429
4
+ data.tar.gz: 9b79a510d11e72d72be75e16985696b349c4f21b
5
5
  SHA512:
6
- metadata.gz: 8d5ffe719e74636bfcb164b196dd769fdcd887f5365f5e0a5d9345da2677299ab644a19896fb47e16de7de504a886fa9dca6c31e22c9bb962dde64f04a47bb3f
7
- data.tar.gz: d6f12bac77810221b3666c4e92b563b16f727f43c5f7c34f365d4bcab1c7ad7559d13e31ebec1c45d5bb5dc0878a677858317dc6a1cd6b5ae68b611d3b0a22d0
6
+ metadata.gz: 78242b8a7d929978fff64895ea017cf10799fb2295c572dafa3bb02309e74c35552d4ee2ea85bcbe98c812639318f56937062feb0572b867e1274eccd242ff6e
7
+ data.tar.gz: acb1cfe6c0d09b842354d80782fc449776dc6b2fdb3fc77a76c49acafdba20e5bca7c6e32bb148c68d3c2abf7ec0843f6bd5a0b8cf448170daf683cc3fba51a1
@@ -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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module TrogdirModels
2
- VERSION = '0.18.0'
2
+ VERSION = '0.18.1'
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.18.0
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-06-22 00:00:00.000000000 Z
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.2.3
219
+ rubygems_version: 2.6.1
220
220
  signing_key:
221
221
  specification_version: 4
222
222
  summary: Shared models for the Trogdir directory