gaku_sample 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/db/sample/gaku/changes/student_changes.rb +3 -3
- data/lib/shared_sample_data.rb +2 -2
- metadata +4 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 685a8530912d543ec44e74b56b32bf29ba47669d
|
4
|
+
data.tar.gz: 92ca7478cad4c4abc683c4c08df07bf8e37f792d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed7970ce768db8238abb3d5da52dff394e5a216cd00da62c1ed117c0665b4e7435a432da4002a9aafb4c000cc0caea4de0424de98b4cb2ff85b57c242d4a3c65
|
7
|
+
data.tar.gz: 6a8b7a445ff34fb69a4e4e40f12b34ddb993f73006bb6f747de386b98ddde6ba87c3ef82b573eac1fb21be3002d78aa4589160ec67a5be97672766e02332a1b0
|
@@ -3,9 +3,9 @@ require 'shared_sample_data'
|
|
3
3
|
|
4
4
|
say "Creating #{@count[:changes]} student changes ...".yellow
|
5
5
|
|
6
|
-
commute_method_type = Gaku::CommuteMethodType.
|
7
|
-
scholarship_status = Gaku::ScholarshipStatus.
|
8
|
-
enrollment_status = Gaku::EnrollmentStatus.
|
6
|
+
commute_method_type = Gaku::CommuteMethodType.create!(name: 'Changed CommuteMethodType')
|
7
|
+
scholarship_status = Gaku::ScholarshipStatus.create!(name: 'Changed Scholarship Status')
|
8
|
+
enrollment_status = Gaku::EnrollmentStatus.create!(code: 'changed_enrollment_status')
|
9
9
|
|
10
10
|
counter = 0
|
11
11
|
|
data/lib/shared_sample_data.rb
CHANGED
@@ -9,8 +9,8 @@
|
|
9
9
|
@home_phone = Gaku::ContactType.where(name: 'Home Phone').first_or_create!
|
10
10
|
@email = Gaku::ContactType.where(name: 'Email').first_or_create!
|
11
11
|
@enrollment_status = Gaku::EnrollmentStatus.where(code: 'admitted').first.try(:code)
|
12
|
-
@commute_method_type = Gaku::CommuteMethodType.
|
13
|
-
@scholarship_status = Gaku::ScholarshipStatus.
|
12
|
+
@commute_method_type = Gaku::CommuteMethodType.create!(name: 'Superbike')
|
13
|
+
@scholarship_status = Gaku::ScholarshipStatus.create!(name: 'Charity')
|
14
14
|
|
15
15
|
@john_doe = {
|
16
16
|
name: 'John',
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gaku_sample
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rei Kagetsuki
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-10-
|
13
|
+
date: 2013-10-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: gaku_core
|
@@ -18,28 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.0.
|
21
|
+
version: 0.0.3
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.0.
|
29
|
-
- !ruby/object:Gem::Dependency
|
30
|
-
name: ffaker
|
31
|
-
requirement: !ruby/object:Gem::Requirement
|
32
|
-
requirements:
|
33
|
-
- - '>='
|
34
|
-
- !ruby/object:Gem::Version
|
35
|
-
version: '0'
|
36
|
-
type: :runtime
|
37
|
-
prerelease: false
|
38
|
-
version_requirements: !ruby/object:Gem::Requirement
|
39
|
-
requirements:
|
40
|
-
- - '>='
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: '0'
|
28
|
+
version: 0.0.3
|
43
29
|
description: Just some sample data
|
44
30
|
email: info@genshin.org
|
45
31
|
executables: []
|