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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eeab2c299abd9daea370ec4b2d485218e7671364
4
- data.tar.gz: 0e43691c2447b2ebebd7b1e85db5a0f08fe77f23
3
+ metadata.gz: 685a8530912d543ec44e74b56b32bf29ba47669d
4
+ data.tar.gz: 92ca7478cad4c4abc683c4c08df07bf8e37f792d
5
5
  SHA512:
6
- metadata.gz: fce7881aad7eb45fa436f5caef8060ed164f3e1246754d82b8f9061603c5e20fd155c44a50f2e68fb35557a711c15dc0cf3d37cf78a3ed1c0608ee6d13e892fb
7
- data.tar.gz: e77b76bfba9bbd20d531e52d0b40ee49e65af9e6927f9c8c62b82e49c224e3090b2893abacec0745e546db2932b455eec1879bfac97efb934a8043baf142b11d
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.where(name: 'Changed CommuteMethodType').first_or_create!
7
- scholarship_status = Gaku::ScholarshipStatus.where(name: 'Changed Scholarship Status').first_or_create!
8
- enrollment_status = Gaku::EnrollmentStatus.where(code: 'changed_enrollment_status').first_or_create!
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
 
@@ -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.where(name: 'Superbike').first_or_create!
13
- @scholarship_status = Gaku::ScholarshipStatus.where(name: 'Charity').first_or_create!
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.2
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-10 00:00:00.000000000 Z
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.2
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.2
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: []