gaku 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/.rspec +1 -3
- data/.travis.yml +11 -8
- data/README.md +2 -4
- data/VERSION +1 -1
- data/core/Guardfile +24 -14
- data/core/Rakefile +0 -3
- data/core/app/controllers/gaku/admin/disposals_controller.rb +18 -45
- data/core/app/controllers/gaku/exams_controller.rb +2 -2
- data/core/app/controllers/gaku/syllabuses/exams_controller.rb +2 -2
- data/core/app/models/gaku/address.rb +1 -1
- data/core/app/models/gaku/disposal.rb +45 -0
- data/core/app/models/gaku/exam_portion.rb +1 -1
- data/core/app/models/gaku/student.rb +2 -2
- data/core/app/models/gaku/user.rb +1 -1
- data/core/app/models/gaku/versioning/student_version.rb +7 -12
- data/core/app/views/gaku/shared/overrides/students/_import_link.html.slim +0 -0
- data/core/app/views/gaku/shared/overrides/syllabuses/_import_link.html.slim +0 -0
- data/core/app/views/gaku/students/index.html.slim +1 -1
- data/core/app/views/gaku/syllabuses/index.html.slim +1 -1
- data/core/config/initializers/active_record.rb +1 -1
- data/core/config/routes.rb +1 -9
- data/core/db/default/gaku/attendance_types.rb +18 -8
- data/core/db/default/gaku/commute_method_types.rb +12 -20
- data/core/db/default/gaku/enrollment_status.rb +34 -31
- data/core/db/default/gaku/scholarship_statuses.rb +11 -8
- data/core/db/migrate/20120202111850_translated_tables.rb +52 -0
- data/core/db/migrate/{20120202111850_gaku_core.rb → 20131014065028_gaku_core.rb} +0 -86
- data/core/gaku_core.gemspec +43 -40
- data/core/lib/gaku/core.rb +2 -3
- data/core/lib/gaku/core/version.rb +1 -1
- data/core/lib/generators/gaku/install/install_generator.rb +1 -10
- data/core/spec/models/address_spec.rb +1 -1
- data/core/spec/spec_helper.rb +3 -3
- data/gaku_dependencies.rb +2 -12
- data/sample/db/sample/gaku/changes/student_changes.rb +3 -3
- data/sample/gaku_sample.gemspec +0 -1
- data/sample/lib/shared_sample_data.rb +2 -2
- metadata +12 -35
- data/core/app/controllers/gaku/students/importer_controller.rb +0 -75
- data/core/app/controllers/gaku/syllabuses/importer_controller.rb +0 -19
- data/core/app/models/gaku/import_file.rb +0 -5
- data/core/app/views/gaku/students/importer/index.html.slim +0 -26
- data/core/app/views/gaku/students/importer/roster_import_preview.html.slim +0 -4
- data/core/app/views/gaku/syllabuses/importer/index.html.slim +0 -14
- data/core/app/workers/gaku/importers/students/roster_worker.rb +0 -18
- data/core/app/workers/gaku/importers/students/school_station_zaikousei_worker.rb +0 -15
- data/core/config/initializers/sidekiq.rb +0 -6
- data/core/lib/gaku/exporters/roster_exporter.rb +0 -36
- data/core/lib/gaku/importers/key_mapper.rb +0 -19
- data/core/lib/gaku/importers/logger.rb +0 -10
- data/core/lib/gaku/importers/students/guardians.rb +0 -89
- data/core/lib/gaku/importers/students/personal_information.rb +0 -65
- data/core/lib/gaku/importers/students/roster.rb +0 -50
- data/core/lib/gaku/importers/students/roster_to_student.rb +0 -67
- data/core/lib/gaku/importers/students/school_station_zaikousei.rb +0 -109
- data/core/lib/gaku/importers/students/student_identity.rb +0 -17
- data/core/lib/gaku/testing/factories/import_file_factory.rb +0 -8
- data/core/lib/generators/gaku/install/templates/Procfile +0 -2
- data/core/lib/generators/gaku/install/templates/config/sidekiq.yml +0 -8
- data/core/spec/integration/importers/roster_spec.rb +0 -41
- data/core/spec/models/import_file_spec.rb +0 -9
- data/core/spec/requests/students/import_export.rb +0 -37
- data/core/spec/support/sample_roster.xls +0 -0
- data/core/spec/workers/roster_spec.rb +0 -13
@@ -1,6 +1,7 @@
|
|
1
1
|
types = [
|
2
2
|
{
|
3
3
|
name: 'Present',
|
4
|
+
name_ja: 'Japanese Present',
|
4
5
|
color_code: '#006e54',
|
5
6
|
counted_absent: false,
|
6
7
|
disable_credit: false,
|
@@ -10,6 +11,7 @@ types = [
|
|
10
11
|
|
11
12
|
{
|
12
13
|
name: 'Present for Credit',
|
14
|
+
name_ja: 'Japanese Present for Credit',
|
13
15
|
color_code: '#00a497',
|
14
16
|
counted_absent: false,
|
15
17
|
disable_credit: false,
|
@@ -19,6 +21,7 @@ types = [
|
|
19
21
|
|
20
22
|
{
|
21
23
|
name: 'Excused',
|
24
|
+
name_ja: 'Japanese Excused',
|
22
25
|
color_code: '#2c4f54',
|
23
26
|
counted_absent: false,
|
24
27
|
disable_credit: false,
|
@@ -28,6 +31,7 @@ types = [
|
|
28
31
|
|
29
32
|
{
|
30
33
|
name: 'Illness',
|
34
|
+
name_ja: 'Japanese Illness',
|
31
35
|
color_code: '#4d4398',
|
32
36
|
counted_absent: true,
|
33
37
|
disable_credit: false,
|
@@ -37,6 +41,7 @@ types = [
|
|
37
41
|
|
38
42
|
{
|
39
43
|
name: 'Injury',
|
44
|
+
name: 'Japanese Injury',
|
40
45
|
color_code: '#c85179',
|
41
46
|
counted_absent: true,
|
42
47
|
disable_credit: false,
|
@@ -46,6 +51,7 @@ types = [
|
|
46
51
|
|
47
52
|
{
|
48
53
|
name: 'Mourning',
|
54
|
+
name_ja: 'Japanese Mourning',
|
49
55
|
color_code: '#7d7d7d',
|
50
56
|
counted_absent: true,
|
51
57
|
disable_credit: false,
|
@@ -55,6 +61,7 @@ types = [
|
|
55
61
|
|
56
62
|
{
|
57
63
|
name: 'Absent',
|
64
|
+
name_ja: 'Japanese Absent',
|
58
65
|
color_code: '#e60033',
|
59
66
|
counted_absent: true,
|
60
67
|
disable_credit: true,
|
@@ -62,16 +69,19 @@ types = [
|
|
62
69
|
auto_credit: false
|
63
70
|
}
|
64
71
|
]
|
65
|
-
japanese_attendance_types = ['Japanese Present', 'Japanese Present for Credit',
|
66
|
-
'Japanese Excused', 'Japanese Illness',
|
67
|
-
'Japanese Injury', 'Japanese Mourning',
|
68
|
-
'Japanese Absent'
|
69
|
-
]
|
70
72
|
|
71
|
-
|
73
|
+
|
74
|
+
types.each do |type|
|
72
75
|
I18n.locale = :en
|
73
|
-
attendance_type = Gaku::AttendanceType.
|
76
|
+
attendance_type = Gaku::AttendanceType.create!(
|
77
|
+
name: type[:name],
|
78
|
+
color_code: type[:color_code],
|
79
|
+
counted_absent: type[:counted_absent],
|
80
|
+
disable_credit: type[:disable_credit],
|
81
|
+
credit_rate: type[:credit_rate],
|
82
|
+
auto_credit: type[:auto_credit]
|
83
|
+
)
|
74
84
|
|
75
85
|
I18n.locale = :ja
|
76
|
-
attendance_type.update_attributes(name:
|
86
|
+
attendance_type.update_attributes(name: type[:name_ja])
|
77
87
|
end
|
@@ -1,29 +1,21 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
|
3
|
-
#names = %w(Unknown Walking Bicycle Train Bus Car Metro)
|
4
|
-
|
5
|
-
#names.each do |name|
|
6
|
-
# Gaku::CommuteMethodType.where(name: name).first_or_create!
|
7
|
-
#end
|
8
|
-
|
9
|
-
# -*- encoding: utf-8 -*-
|
10
|
-
# Array format ['en commute_method_type', 'ja commute_method_type', 'active?']
|
11
3
|
commute_method_types = [
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
4
|
+
{ name: 'Unknown', name_ja: '不明' },
|
5
|
+
{ name: 'Walking', name_ja: '歩行' },
|
6
|
+
{ name: 'Bicycle', name_ja: '自転車' },
|
7
|
+
{ name: 'Train', name_ja: '列車' },
|
8
|
+
{ name: 'Bus', name_ja: 'バス' },
|
9
|
+
{ name: 'Car', name_ja: '車' },
|
10
|
+
{ name: 'Metro', name_ja: '地下鉄'}
|
19
11
|
]
|
20
12
|
|
13
|
+
|
14
|
+
|
21
15
|
commute_method_types.each do |type|
|
22
16
|
I18n.locale = :en
|
23
|
-
commute_method_type = Gaku::CommuteMethodType.
|
17
|
+
commute_method_type = Gaku::CommuteMethodType.create!(name: type[:name])
|
24
18
|
|
25
19
|
I18n.locale = :ja
|
26
|
-
commute_method_type.update_attributes(name: type[
|
27
|
-
end
|
28
|
-
|
29
|
-
I18n.locale = nil
|
20
|
+
commute_method_type.update_attributes(name: type[:name_ja])
|
21
|
+
end
|
@@ -1,37 +1,40 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
|
2
|
+
|
3
3
|
statuses = [
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
4
|
+
{ code: 'applicant', name: 'Applicant', name_ja: '志願', active: false },
|
5
|
+
{ code: 'admitted', name: 'Admitted', name_ja: '入学', active: true },
|
6
|
+
{ code: 'enrolled', name: 'Enrolled', name_ja: '在学', active: true },
|
7
|
+
{ code: 'transferred_in', name: 'Transfered In', name_ja: '転入', active: true },
|
8
|
+
{ code: 'transferred_out', name: 'Transfered Out', name_ja: '転出', active: false },
|
9
|
+
{ code: 'course_transfer_in', name: 'Course Transfer In', name_ja: '編入', active: true },
|
10
|
+
{ code: 'course_transfer_out', name: 'Course Transfer Out', name_ja: '編出', active: false },
|
11
|
+
{ code: 'visiting', name: 'Visiting', name_ja: '留学', active: true },
|
12
|
+
{ code: 're_admitted', name: 'Re-Admitted', name_ja: '再入学', active: true },
|
13
|
+
{ code: 'for_credit_exchange', name: 'For-Credit Exchange', name_ja: '単位認定留学', active: true },
|
14
|
+
{ code: 'non_credit_exchange', name: 'Non-Credit Exchange', name_ja: '休学留学', active: true },
|
15
|
+
{ code: 'repeat', name: 'Repeat', name_ja: '留年', active: true },
|
16
|
+
{ code: 'held_back', name: 'Held Back', name_ja: '原級留置', active: true },
|
17
|
+
{ code: 'inactive', name: 'Inactive', name_ja: '休学', active: false },
|
18
|
+
{ code: 'graduated', name: 'Graduated', name_ja: '卒業', active: false },
|
19
|
+
{ code: 're_enrolled', name: 'Re-Enrolled', name_ja: '復学', active: true },
|
20
|
+
{ code: 'suspended', name: 'Suspended', name_ja: '退学', active: false },
|
21
|
+
{ code: 'expelled', name: 'Expelled', name_ja: '停学', active: false },
|
22
|
+
{ code: 'dropped_out', name: 'Dropped Out', name_ja: '自主退学', active: false },
|
23
|
+
{ code: 'terminal_leave', name: 'Terminal Leave', name_ja: '除籍', active: false },
|
24
|
+
{ code: 'on_leave', name: 'On Leave', name_ja: '一時自主退学', active: false },
|
25
|
+
{ code: 'extended_absence', name: 'Extended Absence', name_ja: '長期自主退学', active: false },
|
26
|
+
{ code: 'deleted', name: 'Deleted', name_ja: '削除' , active: false }
|
27
27
|
]
|
28
28
|
|
29
29
|
statuses.each do |status|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
30
|
+
I18n.locale = :en
|
31
|
+
es = Gaku::EnrollmentStatus.create(
|
32
|
+
code: status[:code],
|
33
|
+
name: status[:name],
|
34
|
+
active: status[:active],
|
35
|
+
immutable: true
|
36
|
+
)
|
36
37
|
|
37
|
-
I18n.locale =
|
38
|
+
I18n.locale = :ja
|
39
|
+
es.update_attribute(:name, status[:name_ja])
|
40
|
+
end
|
@@ -1,19 +1,22 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
|
2
|
+
|
3
3
|
scholarship_statuses = [
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
4
|
+
{ name: 'Self Paid', name_ja: '自己支払い', default: true },
|
5
|
+
{ name: 'Government Scholarship', name_ja: '政府奨学金', default: false },
|
6
|
+
{ name: 'School Scholarship', name_ja: '学校の奨学金', default: false },
|
7
|
+
{ name: 'Organizational Scholarship', name_ja: '組織の奨学金', default: false },
|
8
|
+
{ name: 'Charity Scholarship', name_ja: 'チャリティー奨学金', default: false }
|
9
9
|
]
|
10
10
|
|
11
11
|
scholarship_statuses.each do |status|
|
12
12
|
I18n.locale = :en
|
13
|
-
scholarship_status = Gaku::ScholarshipStatus.
|
13
|
+
scholarship_status = Gaku::ScholarshipStatus.create!(
|
14
|
+
name: status[:name],
|
15
|
+
default: status[:default]
|
16
|
+
)
|
14
17
|
|
15
18
|
I18n.locale = :ja
|
16
|
-
scholarship_status.update_attribute(:name, status[
|
19
|
+
scholarship_status.update_attribute(:name, status[:name_ja])
|
17
20
|
end
|
18
21
|
|
19
22
|
I18n.locale = nil
|
@@ -0,0 +1,52 @@
|
|
1
|
+
class TranslatedTables < ActiveRecord::Migration
|
2
|
+
|
3
|
+
def up
|
4
|
+
create_table :gaku_attendance_types do |t|
|
5
|
+
t.string :name
|
6
|
+
t.string :color_code
|
7
|
+
t.boolean :counted_absent
|
8
|
+
t.boolean :disable_credit
|
9
|
+
t.float :credit_rate
|
10
|
+
t.boolean :auto_credit
|
11
|
+
t.timestamps
|
12
|
+
end
|
13
|
+
Gaku::AttendanceType.create_translation_table! name: :string
|
14
|
+
|
15
|
+
create_table :gaku_commute_method_types do |t|
|
16
|
+
t.string :name
|
17
|
+
t.timestamps
|
18
|
+
end
|
19
|
+
Gaku::CommuteMethodType.create_translation_table! name: :string
|
20
|
+
|
21
|
+
create_table :gaku_enrollment_statuses do |t|
|
22
|
+
t.string :code
|
23
|
+
t.string :name
|
24
|
+
t.boolean :active
|
25
|
+
t.boolean :immutable
|
26
|
+
t.timestamps
|
27
|
+
end
|
28
|
+
Gaku::EnrollmentStatus.create_translation_table! name: :string
|
29
|
+
|
30
|
+
create_table :gaku_scholarship_statuses do |t|
|
31
|
+
t.string :name
|
32
|
+
t.boolean :default
|
33
|
+
t.timestamps
|
34
|
+
end
|
35
|
+
Gaku::ScholarshipStatus.create_translation_table! name: :string
|
36
|
+
end
|
37
|
+
|
38
|
+
def down
|
39
|
+
drop_table :gaku_attendance_types
|
40
|
+
Gaku::AttendanceType.drop_translation_table!
|
41
|
+
|
42
|
+
drop_table :gaku_commute_method_types
|
43
|
+
Gaku::CommuteMethodType.drop_translation_table!
|
44
|
+
|
45
|
+
drop_table :gaku_enrollment_statuses
|
46
|
+
Gaku::EnrollmentStatus.drop_translation_table!
|
47
|
+
|
48
|
+
drop_table :gaku_scholarship_statuses
|
49
|
+
Gaku::ScholarshipStatus.drop_translation_table!
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
@@ -59,28 +59,6 @@ class GakuCore < ActiveRecord::Migration
|
|
59
59
|
t.datetime 'asset_updated_at'
|
60
60
|
end
|
61
61
|
|
62
|
-
create_table 'gaku_attendance_type_translations' do |t|
|
63
|
-
t.integer 'gaku_attendance_type_id', null: false
|
64
|
-
t.string 'locale', null: false
|
65
|
-
t.datetime 'created_at'
|
66
|
-
t.datetime 'updated_at'
|
67
|
-
t.string 'name'
|
68
|
-
end
|
69
|
-
|
70
|
-
add_index 'gaku_attendance_type_translations', ['gaku_attendance_type_id'], name: 'index_144d49f40337496bacec02aefc694f93f07d0581', using: :btree
|
71
|
-
add_index 'gaku_attendance_type_translations', ['locale'], name: 'index_gaku_attendance_type_translations_on_locale', using: :btree
|
72
|
-
|
73
|
-
create_table 'gaku_attendance_types' do |t|
|
74
|
-
t.string 'name'
|
75
|
-
t.string 'color_code'
|
76
|
-
t.boolean 'counted_absent'
|
77
|
-
t.boolean 'disable_credit'
|
78
|
-
t.float 'credit_rate'
|
79
|
-
t.boolean 'auto_credit'
|
80
|
-
t.datetime 'created_at'
|
81
|
-
t.datetime 'updated_at'
|
82
|
-
end
|
83
|
-
|
84
62
|
create_table 'gaku_attendances' do |t|
|
85
63
|
t.text 'reason'
|
86
64
|
t.integer 'attendancable_id'
|
@@ -130,23 +108,6 @@ class GakuCore < ActiveRecord::Migration
|
|
130
108
|
t.integer 'notes_count', default: 0
|
131
109
|
end
|
132
110
|
|
133
|
-
create_table 'gaku_commute_method_type_translations' do |t|
|
134
|
-
t.integer 'gaku_commute_method_type_id', null: false
|
135
|
-
t.string 'locale', null: false
|
136
|
-
t.datetime 'created_at'
|
137
|
-
t.datetime 'updated_at'
|
138
|
-
t.string 'name'
|
139
|
-
end
|
140
|
-
|
141
|
-
add_index 'gaku_commute_method_type_translations', ['gaku_commute_method_type_id'], name: 'index_27960af5d7e19e965cc26c8f98c7d21e3a0ce580', using: :btree
|
142
|
-
add_index 'gaku_commute_method_type_translations', ['locale'], name: 'index_gaku_commute_method_type_translations_on_locale', using: :btree
|
143
|
-
|
144
|
-
create_table 'gaku_commute_method_types' do |t|
|
145
|
-
t.string 'name'
|
146
|
-
t.datetime 'created_at'
|
147
|
-
t.datetime 'updated_at'
|
148
|
-
end
|
149
|
-
|
150
111
|
create_table 'gaku_contact_types' do |t|
|
151
112
|
t.string 'name'
|
152
113
|
end
|
@@ -203,26 +164,6 @@ class GakuCore < ActiveRecord::Migration
|
|
203
164
|
t.integer 'students_count', default: 0
|
204
165
|
end
|
205
166
|
|
206
|
-
create_table 'gaku_enrollment_status_translations' do |t|
|
207
|
-
t.integer 'gaku_enrollment_status_id', null: false
|
208
|
-
t.string 'locale', null: false
|
209
|
-
t.datetime 'created_at'
|
210
|
-
t.datetime 'updated_at'
|
211
|
-
t.string 'name'
|
212
|
-
end
|
213
|
-
|
214
|
-
add_index 'gaku_enrollment_status_translations', ['gaku_enrollment_status_id'], name: 'index_7865fd45090cea7b7810b5288a698bba41d45b8e', using: :btree
|
215
|
-
add_index 'gaku_enrollment_status_translations', ['locale'], name: 'index_gaku_enrollment_status_translations_on_locale', using: :btree
|
216
|
-
|
217
|
-
create_table 'gaku_enrollment_statuses' do |t|
|
218
|
-
t.string 'code'
|
219
|
-
t.string 'name'
|
220
|
-
t.boolean 'active'
|
221
|
-
t.boolean 'immutable'
|
222
|
-
t.datetime 'created_at'
|
223
|
-
t.datetime 'updated_at'
|
224
|
-
end
|
225
|
-
|
226
167
|
create_table 'gaku_exam_portion_scores' do |t|
|
227
168
|
t.float 'score'
|
228
169
|
t.string 'entry_number'
|
@@ -368,15 +309,6 @@ class GakuCore < ActiveRecord::Migration
|
|
368
309
|
t.integer 'contacts_count', default: 0
|
369
310
|
end
|
370
311
|
|
371
|
-
create_table 'gaku_import_files' do |t|
|
372
|
-
t.string 'context'
|
373
|
-
t.string 'importer_type'
|
374
|
-
t.string 'data_file_file_name'
|
375
|
-
t.string 'data_file_content_type'
|
376
|
-
t.integer 'data_file_file_size'
|
377
|
-
t.datetime 'data_file_updated_at'
|
378
|
-
end
|
379
|
-
|
380
312
|
create_table 'gaku_installs' do |t|
|
381
313
|
t.string 'email', default: '', null: false
|
382
314
|
t.string 'encrypted_password', default: '', null: false
|
@@ -476,24 +408,6 @@ class GakuCore < ActiveRecord::Migration
|
|
476
408
|
t.datetime 'updated_at'
|
477
409
|
end
|
478
410
|
|
479
|
-
create_table 'gaku_scholarship_status_translations' do |t|
|
480
|
-
t.integer 'gaku_scholarship_status_id', null: false
|
481
|
-
t.string 'locale', null: false
|
482
|
-
t.datetime 'created_at'
|
483
|
-
t.datetime 'updated_at'
|
484
|
-
t.string 'name'
|
485
|
-
end
|
486
|
-
|
487
|
-
add_index 'gaku_scholarship_status_translations', ['gaku_scholarship_status_id'], name: 'index_fd3bb92292a989ddcdc49aabf021ceb1ce5f0d04', using: :btree
|
488
|
-
add_index 'gaku_scholarship_status_translations', ['locale'], name: 'index_gaku_scholarship_status_translations_on_locale', using: :btree
|
489
|
-
|
490
|
-
create_table 'gaku_scholarship_statuses' do |t|
|
491
|
-
t.string 'name'
|
492
|
-
t.datetime 'created_at'
|
493
|
-
t.datetime 'updated_at'
|
494
|
-
t.boolean 'default'
|
495
|
-
end
|
496
|
-
|
497
411
|
create_table 'gaku_school_histories' do |t|
|
498
412
|
t.date 'beginning'
|
499
413
|
t.date 'ending'
|
data/core/gaku_core.gemspec
CHANGED
@@ -20,56 +20,59 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.requirements << 'postgres'
|
21
21
|
s.requirements << 'redis'
|
22
22
|
|
23
|
-
s.add_dependency 'rails',
|
24
|
-
s.add_dependency '
|
25
|
-
s.add_dependency '
|
26
|
-
s.add_dependency '
|
23
|
+
s.add_dependency 'rails', '~> 4.0.0'
|
24
|
+
s.add_dependency 'rails-i18n', '~> 4.0.0'
|
25
|
+
s.add_dependency 'coffee-rails', '~> 4.0.0'
|
26
|
+
s.add_dependency 'sass-rails', '~> 4.0.0'
|
27
|
+
s.add_dependency 'uglifier'
|
27
28
|
s.add_dependency 'turbolinks'
|
28
29
|
|
29
30
|
s.add_dependency 'pg'
|
30
31
|
|
31
|
-
s.add_dependency 'slim',
|
32
|
-
s.add_dependency 'inherited_resources'
|
33
|
-
s.add_dependency 'responders'
|
34
|
-
s.add_dependency 'paper_trail',
|
35
|
-
s.add_dependency '
|
36
|
-
s.add_dependency 'draper',
|
37
|
-
s.add_dependency 'paperclip'
|
38
|
-
s.add_dependency 'ransack',
|
39
|
-
s.add_dependency 'kaminari'
|
32
|
+
s.add_dependency 'slim', '~> 2.0'
|
33
|
+
s.add_dependency 'inherited_resources', '~> 1.4'
|
34
|
+
s.add_dependency 'responders', '~> 1.0'
|
35
|
+
s.add_dependency 'paper_trail', '3.0.0.beta1'
|
36
|
+
s.add_dependency 'globalize', '~> 4.0.0.alpha.1'
|
37
|
+
s.add_dependency 'draper', '~> 1.0'
|
38
|
+
s.add_dependency 'paperclip', '~> 3.5'
|
39
|
+
s.add_dependency 'ransack', '~> 1.0'
|
40
|
+
s.add_dependency 'kaminari', '~> 0.14'
|
40
41
|
|
41
|
-
s.add_dependency 'devise',
|
42
|
-
s.add_dependency 'devise-i18n'
|
43
|
-
s.add_dependency 'cancan'
|
42
|
+
s.add_dependency 'devise', '~> 3.0.0'
|
43
|
+
s.add_dependency 'devise-i18n', '~> 0.9'
|
44
|
+
s.add_dependency 'cancan', '~> 1.6.10'
|
44
45
|
|
45
46
|
s.add_dependency 'rails4_client_side_validations', '0.0.3'
|
46
|
-
s.add_dependency 'gaku_forms',
|
47
|
-
s.add_dependency 'gaku_nested_forms',
|
47
|
+
s.add_dependency 'gaku_forms', '0.1.5'
|
48
|
+
s.add_dependency 'gaku_nested_forms', '0.1.0'
|
48
49
|
s.add_dependency 'nested_form'
|
49
|
-
s.add_dependency 'gaku_helpers',
|
50
|
+
s.add_dependency 'gaku_helpers', '0.0.7'
|
50
51
|
|
51
|
-
s.add_dependency 'rails
|
52
|
-
s.add_dependency '
|
52
|
+
s.add_dependency 'jquery-rails', '~> 3'
|
53
|
+
s.add_dependency 'jquery-ui-rails', '~> 4'
|
54
|
+
s.add_dependency 'jquery-minicolors-rails', '2.1.1'
|
55
|
+
s.add_dependency 'bootstrap-sass', '~> 2.3'
|
56
|
+
s.add_dependency 'bootstrap-datepicker-rails', '~> 1.1'
|
57
|
+
s.add_dependency 'i18n-js', '~> 2.1'
|
58
|
+
s.add_dependency 'eco', '~> 1'
|
59
|
+
s.add_dependency 'underscore-rails', '~> 1.5'
|
60
|
+
s.add_dependency 'momentjs-rails', '~> 2.2'
|
53
61
|
|
54
|
-
s.add_dependency '
|
55
|
-
s.add_dependency '
|
56
|
-
s.add_dependency '
|
57
|
-
s.add_dependency '
|
58
|
-
s.add_dependency '
|
59
|
-
s.add_dependency '
|
60
|
-
s.add_dependency 'bootstrap-sass'
|
61
|
-
s.add_dependency 'bootstrap-datepicker-rails'
|
62
|
-
|
63
|
-
#spreadsheet handling
|
64
|
-
s.add_dependency 'roo'
|
65
|
-
s.add_dependency 'gen_sheet'
|
66
|
-
s.add_dependency 'thinreports-rails'
|
62
|
+
s.add_dependency 'thinreports-rails', '~> 0.1'
|
63
|
+
s.add_dependency 'localeapp'
|
64
|
+
s.add_dependency 'highline', '1.6.11'
|
65
|
+
s.add_dependency 'rubyzip', '0.9.9'
|
66
|
+
s.add_dependency 'ffaker', '~> 1.19.0'
|
67
|
+
s.add_dependency 'rake-progressbar'
|
67
68
|
|
68
|
-
s.add_dependency 'highline', '1.6.11'
|
69
|
-
s.add_dependency 'rubyzip', '0.9.9'
|
70
69
|
|
71
|
-
s.
|
72
|
-
s.
|
73
|
-
s.
|
74
|
-
s.
|
70
|
+
s.add_development_dependency 'rspec-rails', '~> 2.14'
|
71
|
+
s.add_development_dependency 'factory_girl_rails', '~> 4.2.1'
|
72
|
+
s.add_development_dependency 'capybara', '1.1.3'
|
73
|
+
s.add_development_dependency 'database_cleaner', '~> 1.1.1'
|
74
|
+
s.add_development_dependency 'selenium', '~> 0.2.10'
|
75
|
+
s.add_development_dependency 'poltergeist', '~> 1.0.3'
|
76
|
+
s.add_development_dependency 'handy_controller_helpers', '0.0.3'
|
77
|
+
s.add_development_dependency 'shoulda-matchers', '~> 2.4.0'
|
75
78
|
end
|