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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3bfa2c4c9a9db603781fc9867f04c3f411d2172e
4
- data.tar.gz: b1f3f80f1f959d012ef18fc777a1e17d560dc537
3
+ metadata.gz: 1419308e578ad665129f4bc775886042beca779e
4
+ data.tar.gz: 9943f3cbf1b70c52528032b48634e1305bbc5aab
5
5
  SHA512:
6
- metadata.gz: fff4fccf73030299ea986a2b703aef57c0ed120dbc148c0ecdc8eb8abc75191367b51207bf7f85ad3ab1ab1a6930d7390c0a7539bfa2b644be34c5caa7523d38
7
- data.tar.gz: 420952d50aa435a309b522c4577fd44e9e3ea1f178e9fbb605a65b519096abe3d4471430c470f0cf9683ed0856dd6817412847b994eea4efe2f025dd2382099d
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
@@ -1,3 +1,3 @@
1
1
  module TrogdirModels
2
- VERSION = '0.10.0'
2
+ VERSION = '0.11.0'
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.10.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-01-16 00:00:00.000000000 Z
11
+ date: 2015-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: api-auth