trogdir_models 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trogdir/photo.rb +2 -2
- data/lib/trogdir_models/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1419308e578ad665129f4bc775886042beca779e
|
4
|
+
data.tar.gz: 9943f3cbf1b70c52528032b48634e1305bbc5aab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad77208fe687a66f7f3ac62c8a7266c801f01034a1c3935169c750c9f479dab290e1260b7ca1fd8a7f24401a4878a19ea51d44e018fd637faa66a00a6a79cc81
|
7
|
+
data.tar.gz: 4ea7cab26151b5eb81d5e66bfb411c487b65d5daf2fd66ce0e61e2fdc1b570cad272bcb0ba93ffa34e765c4ad40c016445a699f6585ba84cc073338ec8294c49
|
data/lib/trogdir/photo.rb
CHANGED
@@ -2,7 +2,7 @@ class Photo
|
|
2
2
|
include Mongoid::Document
|
3
3
|
include Mongoid::History::Trackable
|
4
4
|
|
5
|
-
TYPES = [:id_card]
|
5
|
+
TYPES = [:id_card, :profile]
|
6
6
|
|
7
7
|
embedded_in :person
|
8
8
|
|
@@ -16,4 +16,4 @@ class Photo
|
|
16
16
|
validates :url, absolute_uri: true
|
17
17
|
|
18
18
|
track_history track_create: true, track_destroy: true
|
19
|
-
end
|
19
|
+
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.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Crownoble
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: api-auth
|