trogdir_models 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trogdir/concerns/student.rb +3 -0
- data/lib/trogdir/person.rb +0 -1
- data/lib/trogdir_models/version.rb +1 -1
- data/spec/factories/person_factory.rb +16 -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: d4b7ea581103941e7641eac1f66e83d54b2a451f
|
4
|
+
data.tar.gz: 1d3f9a0fc88472593254c766d63a904894c8a6f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e22b3815ba67e36eb0652c4b6a52255a2922f84f18049aaceb3846d4917d4b3a68f8971a209c98d79768ecdb56a28c6ac6d37a5f7b96d5f878c75260d3b8d057
|
7
|
+
data.tar.gz: 9fc8a64d0c32084e4e94ec971e20e87b7d264576e7dd3fe1cf35af0acdb73d861ca78bd9117e0eded45bc18ddf2e593986787184ed5f65fc87ffb870f480a8a0
|
data/lib/trogdir/person.rb
CHANGED
@@ -9,7 +9,22 @@ FactoryGirl.define do
|
|
9
9
|
birth_date { 20.years.ago }
|
10
10
|
entitlements []
|
11
11
|
affiliations []
|
12
|
-
privacy false
|
13
12
|
enabled true
|
13
|
+
|
14
|
+
trait :student do
|
15
|
+
residence 'The Stick'
|
16
|
+
floor 1
|
17
|
+
wing 'West'
|
18
|
+
majors ['Mousepad Engineer']
|
19
|
+
privacy false
|
20
|
+
end
|
21
|
+
|
22
|
+
trait :employee do
|
23
|
+
department 'Cracking Wise'
|
24
|
+
title 'Guy With a Big Knife'
|
25
|
+
employee_type :'Full-Time'
|
26
|
+
full_time true
|
27
|
+
pay_type :'02'
|
28
|
+
end
|
14
29
|
end
|
15
30
|
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.5.
|
4
|
+
version: 0.5.2
|
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-03-
|
11
|
+
date: 2014-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: api-auth
|