tmis 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/COPYING +674 -0
- data/README.md +44 -0
- data/Rakefile +64 -0
- data/bin/tmis +4 -0
- data/lib/tmis/engine/database.rb +58 -0
- data/lib/tmis/engine/export/timetable_exporter.rb +366 -0
- data/lib/tmis/engine/import/abstract_spreadsheet.rb +53 -0
- data/lib/tmis/engine/import/spreadsheet_roo.rb +136 -0
- data/lib/tmis/engine/import/timetable_manager.rb +110 -0
- data/lib/tmis/engine/import/timetable_reader.rb +79 -0
- data/lib/tmis/engine/mailer/mailer.rb +51 -0
- data/lib/tmis/engine/migrations/10_create_speciality_subjects.rb +17 -0
- data/lib/tmis/engine/migrations/11_create_emails.rb +10 -0
- data/lib/tmis/engine/migrations/12_add_indexes.rb +32 -0
- data/lib/tmis/engine/migrations/1_create_groups.rb +11 -0
- data/lib/tmis/engine/migrations/2_create_subgroups.rb +10 -0
- data/lib/tmis/engine/migrations/3_create_subjects.rb +11 -0
- data/lib/tmis/engine/migrations/4_create_cabinets.rb +12 -0
- data/lib/tmis/engine/migrations/5_create_lecturers.rb +14 -0
- data/lib/tmis/engine/migrations/6_create_studies.rb +15 -0
- data/lib/tmis/engine/migrations/7_create_courses.rb +9 -0
- data/lib/tmis/engine/migrations/8_create_specialities.rb +9 -0
- data/lib/tmis/engine/migrations/9_create_semesters.rb +10 -0
- data/lib/tmis/engine/models/cabinet.rb +18 -0
- data/lib/tmis/engine/models/course.rb +11 -0
- data/lib/tmis/engine/models/email.rb +19 -0
- data/lib/tmis/engine/models/group.rb +31 -0
- data/lib/tmis/engine/models/lecturer.rb +45 -0
- data/lib/tmis/engine/models/semester.rb +4 -0
- data/lib/tmis/engine/models/speciality.rb +3 -0
- data/lib/tmis/engine/models/speciality_subject.rb +6 -0
- data/lib/tmis/engine/models/study.rb +56 -0
- data/lib/tmis/engine/models/subgroup.rb +21 -0
- data/lib/tmis/engine/models/subject.rb +19 -0
- data/lib/tmis/engine/verificator.rb +96 -0
- data/lib/tmis/interface/forms/about.rb +24 -0
- data/lib/tmis/interface/forms/console.rb +28 -0
- data/lib/tmis/interface/forms/debug_console.rb +32 -0
- data/lib/tmis/interface/forms/edit_study.rb +110 -0
- data/lib/tmis/interface/forms/expand_changes.rb +128 -0
- data/lib/tmis/interface/forms/export_general_timetable.rb +68 -0
- data/lib/tmis/interface/forms/export_group_timetable.rb +158 -0
- data/lib/tmis/interface/forms/export_lecturer_timetable.rb +171 -0
- data/lib/tmis/interface/forms/find.rb +71 -0
- data/lib/tmis/interface/forms/import.rb +36 -0
- data/lib/tmis/interface/forms/settings.rb +125 -0
- data/lib/tmis/interface/forms/ui_about.rb +88 -0
- data/lib/tmis/interface/forms/ui_console.rb +68 -0
- data/lib/tmis/interface/forms/ui_debug_console.rb +82 -0
- data/lib/tmis/interface/forms/ui_edit_study.rb +202 -0
- data/lib/tmis/interface/forms/ui_expand_changes.rb +134 -0
- data/lib/tmis/interface/forms/ui_export_general_timetable.rb +142 -0
- data/lib/tmis/interface/forms/ui_export_group_timetable.rb +160 -0
- data/lib/tmis/interface/forms/ui_export_lecturer_timetable.rb +160 -0
- data/lib/tmis/interface/forms/ui_find.rb +77 -0
- data/lib/tmis/interface/forms/ui_import.rb +134 -0
- data/lib/tmis/interface/forms/ui_settings.rb +417 -0
- data/lib/tmis/interface/mainwindow.rb +933 -0
- data/lib/tmis/interface/models/cabinet_table_model.rb +133 -0
- data/lib/tmis/interface/models/course_table_model.rb +87 -0
- data/lib/tmis/interface/models/group_table_model.rb +190 -0
- data/lib/tmis/interface/models/lecturer_table_model.rb +111 -0
- data/lib/tmis/interface/models/semester_table_model.rb +137 -0
- data/lib/tmis/interface/models/speciality_subject_table_model.rb +288 -0
- data/lib/tmis/interface/models/speciality_table_model.rb +87 -0
- data/lib/tmis/interface/models/study_table_model.rb +323 -0
- data/lib/tmis/interface/models/subgroup_table_model.rb +136 -0
- data/lib/tmis/interface/models/subject_table_model.rb +90 -0
- data/lib/tmis/interface/ui_mainwindow.rb +928 -0
- data/lib/tmis.rb +45 -0
- data/spec/config.rb +49 -0
- data/spec/database_spec.rb +18 -0
- data/spec/export/timetable_exporter_mocks.rb +20 -0
- data/spec/export/timetable_exporter_spec.rb +34 -0
- data/spec/factories/factories.rb +65 -0
- data/spec/import/test_data/raspisanie_2013.csv +104 -0
- data/spec/import/timetable_importer_mocks.rb +6 -0
- data/spec/import/timetable_manager_spec.rb +16 -0
- data/spec/import/timetable_reader_spec.rb +111 -0
- data/spec/import/timetable_roo_spec.rb +48 -0
- data/spec/mailer/mailer_spec.rb +37 -0
- data/spec/mainwindow_spec.rb +18 -0
- data/spec/models/cabinet_spec.rb +33 -0
- data/spec/models/course_spec.rb +26 -0
- data/spec/models/group_spec.rb +33 -0
- data/spec/models/lecturer_spec.rb +38 -0
- data/spec/models/semester_spec.rb +26 -0
- data/spec/models/speciality_spec.rb +26 -0
- data/spec/models/speciality_subject_spec.rb +9 -0
- data/spec/models/study_spec.rb +9 -0
- data/spec/models/subgroup_spec.rb +26 -0
- data/spec/models/subject_spec.rb +39 -0
- metadata +290 -0
@@ -0,0 +1,37 @@
|
|
1
|
+
# coding: UTF-8
|
2
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
3
|
+
require 'rspec'
|
4
|
+
require_relative '../config'
|
5
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
6
|
+
require 'tmis/engine/mailer/mailer'
|
7
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
8
|
+
describe Mailer do
|
9
|
+
it 'should initialize' do
|
10
|
+
expect do
|
11
|
+
Mailer.new('name@domain.com', 'secret') do
|
12
|
+
from 'sender@domain.com'
|
13
|
+
to 'receiver@domain.com'
|
14
|
+
subject 'Subject'
|
15
|
+
body 'Test'
|
16
|
+
end
|
17
|
+
end.to_not raise_error
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'should not initiale unless email valid' do
|
21
|
+
expect { Mailer.new('name@domaincom', 'secret') {} }.to raise_error
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'should validate email' do
|
25
|
+
Mailer.email_valid?('name@domain.com').should eq(true)
|
26
|
+
Mailer.email_valid?('').should eq(false)
|
27
|
+
Mailer.email_valid?('name@domaincom').should eq(false)
|
28
|
+
Mailer.email_valid?('namedomain.com').should eq(false)
|
29
|
+
Mailer.email_valid?('name@').should eq(false)
|
30
|
+
Mailer.email_valid?('@domain.com').should eq(false)
|
31
|
+
end
|
32
|
+
|
33
|
+
it 'should return parts of email' do
|
34
|
+
Mailer.new('name@domain.com', 'secret') {}.send(:email_parts)[:local].should eq('name')
|
35
|
+
Mailer.new('name@domain.com', 'secret') {}.send(:email_parts)[:domain].should eq('domain.com')
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# coding: UTF-8
|
2
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
3
|
+
require 'rspec'
|
4
|
+
require_relative 'config'
|
5
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
6
|
+
require 'tmis/interface/mainwindow'
|
7
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
8
|
+
describe MainWindow do
|
9
|
+
before(:all) do
|
10
|
+
@app = Qt::Application.new(ARGV)
|
11
|
+
@mw = MainWindow.new
|
12
|
+
end
|
13
|
+
|
14
|
+
it "must print 'Sayonara!'" do
|
15
|
+
$stdout.should_receive(:puts).with('Sayonara!')
|
16
|
+
@mw.on_quitAction_triggered
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2
|
+
require 'rspec'
|
3
|
+
require_relative '../config'
|
4
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
5
|
+
require 'tmis/engine/database'
|
6
|
+
require 'tmis/engine/models/cabinet'
|
7
|
+
require 'tmis/engine/models/study'
|
8
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
9
|
+
describe Cabinet do
|
10
|
+
before(:all) do
|
11
|
+
@cabinet = create(:cabinet)
|
12
|
+
@study = create(:study, :whole_group, cabinet: @cabinet)
|
13
|
+
end
|
14
|
+
|
15
|
+
describe 'Cabinet associations' do
|
16
|
+
it 'Cabinet.studies' do
|
17
|
+
@cabinet.studies.last.should eq(@study)
|
18
|
+
end
|
19
|
+
it 'Study.cabinet' do
|
20
|
+
@study.cabinet.should eq(@cabinet)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'Stubs should not be deleted' do
|
25
|
+
s = Cabinet.create(title: "test", stub: true)
|
26
|
+
expect { s.destroy }.to raise_error
|
27
|
+
s.delete
|
28
|
+
end
|
29
|
+
|
30
|
+
after(:all) do
|
31
|
+
Cabinet.delete_all
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2
|
+
require 'rspec'
|
3
|
+
require_relative '../config'
|
4
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
5
|
+
require 'tmis/engine/database'
|
6
|
+
require 'tmis/engine/models/course'
|
7
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
8
|
+
describe Course do
|
9
|
+
before(:all) do
|
10
|
+
@course = create(:course)
|
11
|
+
@semester = create(:semester, course: @course)
|
12
|
+
end
|
13
|
+
|
14
|
+
describe 'Course associations' do
|
15
|
+
it 'Course.semesters' do
|
16
|
+
@course.semesters.last.should eq(@semester)
|
17
|
+
end
|
18
|
+
it 'Semester.course' do
|
19
|
+
@semester.course.should eq(@course)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
after(:all) do
|
24
|
+
Course.delete_all
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2
|
+
require 'rspec'
|
3
|
+
require_relative '../config'
|
4
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
5
|
+
require 'tmis/engine/database'
|
6
|
+
require 'tmis/engine/models/group'
|
7
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
8
|
+
describe Group do
|
9
|
+
before(:all) do
|
10
|
+
@group = create(:group)
|
11
|
+
@subgroup = create(:subgroup, group: @group)
|
12
|
+
@study = create(:study, :whole_group, groupable: @group)
|
13
|
+
end
|
14
|
+
|
15
|
+
describe 'Group associations' do
|
16
|
+
it 'Group.subgroups' do
|
17
|
+
@group.subgroups.last.should eq(@subgroup)
|
18
|
+
end
|
19
|
+
it 'Subgroup.group' do
|
20
|
+
@subgroup.group.should eq(@group)
|
21
|
+
end
|
22
|
+
it 'Group.studies' do
|
23
|
+
@group.studies.last.should eq(@study)
|
24
|
+
end
|
25
|
+
it 'Study.groupable' do
|
26
|
+
@study.groupable.should eq(@group)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
after(:all) do
|
31
|
+
Group.delete_all
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# coding: UTF-8
|
2
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
3
|
+
require 'rspec'
|
4
|
+
require_relative '../config'
|
5
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
6
|
+
require 'tmis/engine/database'
|
7
|
+
require 'tmis/engine/models/lecturer'
|
8
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
9
|
+
describe Lecturer do
|
10
|
+
before(:all) do
|
11
|
+
@lecturer = create(:lecturer)
|
12
|
+
@study = create(:study, :whole_group, lecturer: @lecturer)
|
13
|
+
end
|
14
|
+
|
15
|
+
describe 'Lecturer associations' do
|
16
|
+
it 'Lecturer.studies' do
|
17
|
+
@lecturer.studies.last.should eq(@study)
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'Study.lecturer' do
|
21
|
+
@study.lecturer.should eq(@lecturer)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
it 'should print surname with initials' do
|
26
|
+
@lecturer.to_s.should match(/[[:alpha:]]+\s[[:alpha:]]+\.[[:alpha:]]+\./)
|
27
|
+
end
|
28
|
+
|
29
|
+
it 'Stubs should not be deleted' do
|
30
|
+
s = Lecturer.create(surname: "test", stub: true)
|
31
|
+
expect { s.destroy }.to raise_error
|
32
|
+
s.delete
|
33
|
+
end
|
34
|
+
|
35
|
+
after(:all) do
|
36
|
+
Lecturer.delete_all
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2
|
+
require 'rspec'
|
3
|
+
require_relative '../config'
|
4
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
5
|
+
require 'tmis/engine/database'
|
6
|
+
require 'tmis/engine/models/semester'
|
7
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
8
|
+
describe Semester do
|
9
|
+
before(:all) do
|
10
|
+
@semester = create(:semester)
|
11
|
+
@speciality_subject = create(:speciality_subject, semester: @semester)
|
12
|
+
end
|
13
|
+
|
14
|
+
describe 'Semester associations' do
|
15
|
+
it 'Semester.speciality_subjects' do
|
16
|
+
@semester.speciality_subjects.last.should eq(@speciality_subject)
|
17
|
+
end
|
18
|
+
it 'Speciality_subject.semester' do
|
19
|
+
@speciality_subject.semester.should eq(@semester)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
after(:all) do
|
24
|
+
Semester.delete_all
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2
|
+
require 'rspec'
|
3
|
+
require_relative '../config'
|
4
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
5
|
+
require 'tmis/engine/database'
|
6
|
+
require 'tmis/engine/models/speciality'
|
7
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
8
|
+
describe Speciality do
|
9
|
+
before(:all) do
|
10
|
+
@speciality = create(:speciality)
|
11
|
+
@speciality_subject = create(:speciality_subject, speciality: @speciality)
|
12
|
+
end
|
13
|
+
|
14
|
+
describe 'Speciality associations' do
|
15
|
+
it 'Speciality.speciality_subjects' do
|
16
|
+
@speciality.speciality_subjects.last.should eq(@speciality_subject)
|
17
|
+
end
|
18
|
+
it 'Speciality_subject.speciality' do
|
19
|
+
@speciality_subject.speciality.should eq(@speciality)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
after(:all) do
|
24
|
+
Speciality.delete_all
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2
|
+
require 'rspec'
|
3
|
+
require_relative '../config'
|
4
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
5
|
+
require 'tmis/engine/database'
|
6
|
+
require 'tmis/engine/models/subgroup'
|
7
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
8
|
+
describe Subgroup do
|
9
|
+
before(:all) do
|
10
|
+
@subgroup = create(:subgroup)
|
11
|
+
@study = create(:study, :separated_group, groupable: @subgroup)
|
12
|
+
end
|
13
|
+
|
14
|
+
describe 'Subgroup associations' do
|
15
|
+
it 'Subgroup.studies' do
|
16
|
+
@subgroup.studies.last.should eq(@study)
|
17
|
+
end
|
18
|
+
it 'Study.groupable' do
|
19
|
+
@study.groupable.should eq(@subgroup)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
after(:all) do
|
24
|
+
Subgroup.delete_all
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2
|
+
require 'rspec'
|
3
|
+
require_relative '../config'
|
4
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
5
|
+
require 'tmis/engine/database'
|
6
|
+
require 'tmis/engine/models/subject'
|
7
|
+
#~~~~~~~~~~~~~~~~~~~~~~~~~~
|
8
|
+
describe Subject do
|
9
|
+
before(:all) do
|
10
|
+
@subject = create(:subject)
|
11
|
+
@study = create(:study, :whole_group, subject: @subject)
|
12
|
+
@speciality_subject = create(:speciality_subject, subject: @subject)
|
13
|
+
end
|
14
|
+
|
15
|
+
describe 'Subject associations' do
|
16
|
+
it 'Subject.studies' do
|
17
|
+
@subject.studies.last.should eq(@study)
|
18
|
+
end
|
19
|
+
it 'Study.subject' do
|
20
|
+
@study.subject.should eq(@subject)
|
21
|
+
end
|
22
|
+
it 'Subject.speciality_subjects' do
|
23
|
+
@subject.speciality_subjects.last.should eq(@speciality_subject)
|
24
|
+
end
|
25
|
+
it 'Speciality_subject.subject' do
|
26
|
+
@speciality_subject.subject.should eq(@subject)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
it 'Stubs should not be deleted' do
|
31
|
+
s = Subject.create(title: "test", stub: true)
|
32
|
+
expect { s.destroy }.to raise_error
|
33
|
+
s.delete
|
34
|
+
end
|
35
|
+
|
36
|
+
after(:all) do
|
37
|
+
Subject.delete_all
|
38
|
+
end
|
39
|
+
end
|
metadata
ADDED
@@ -0,0 +1,290 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tmis
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.3
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Vladislav Mileshkin
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-01-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: qtbindings
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.8.3.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.8.3.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: sqlite3
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.3.8
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.3.8
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: activerecord
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 4.0.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 4.0.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: spreadsheet
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.8.9
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.8.9
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: roo
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 1.12.1
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.12.1
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: mail
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 2.5.4
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 2.5.4
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: contracts
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.2.3
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.2.3
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: zip
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 2.0.2
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 2.0.2
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rspec
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 2.14.1
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 2.14.1
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: factory_girl
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 4.2.0
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 4.2.0
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: simplecov
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - '>='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 0.7.1
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 0.7.1
|
167
|
+
description: Timetable management information system
|
168
|
+
email: noein93@gmail.com
|
169
|
+
executables:
|
170
|
+
- tmis
|
171
|
+
extensions: []
|
172
|
+
extra_rdoc_files: []
|
173
|
+
files:
|
174
|
+
- lib/tmis.rb
|
175
|
+
- lib/tmis/engine/mailer/mailer.rb
|
176
|
+
- lib/tmis/engine/import/timetable_manager.rb
|
177
|
+
- lib/tmis/engine/import/spreadsheet_roo.rb
|
178
|
+
- lib/tmis/engine/import/timetable_reader.rb
|
179
|
+
- lib/tmis/engine/import/abstract_spreadsheet.rb
|
180
|
+
- lib/tmis/engine/verificator.rb
|
181
|
+
- lib/tmis/engine/migrations/9_create_semesters.rb
|
182
|
+
- lib/tmis/engine/migrations/8_create_specialities.rb
|
183
|
+
- lib/tmis/engine/migrations/12_add_indexes.rb
|
184
|
+
- lib/tmis/engine/migrations/6_create_studies.rb
|
185
|
+
- lib/tmis/engine/migrations/1_create_groups.rb
|
186
|
+
- lib/tmis/engine/migrations/3_create_subjects.rb
|
187
|
+
- lib/tmis/engine/migrations/2_create_subgroups.rb
|
188
|
+
- lib/tmis/engine/migrations/7_create_courses.rb
|
189
|
+
- lib/tmis/engine/migrations/5_create_lecturers.rb
|
190
|
+
- lib/tmis/engine/migrations/10_create_speciality_subjects.rb
|
191
|
+
- lib/tmis/engine/migrations/11_create_emails.rb
|
192
|
+
- lib/tmis/engine/migrations/4_create_cabinets.rb
|
193
|
+
- lib/tmis/engine/models/speciality_subject.rb
|
194
|
+
- lib/tmis/engine/models/email.rb
|
195
|
+
- lib/tmis/engine/models/subgroup.rb
|
196
|
+
- lib/tmis/engine/models/group.rb
|
197
|
+
- lib/tmis/engine/models/course.rb
|
198
|
+
- lib/tmis/engine/models/lecturer.rb
|
199
|
+
- lib/tmis/engine/models/speciality.rb
|
200
|
+
- lib/tmis/engine/models/semester.rb
|
201
|
+
- lib/tmis/engine/models/subject.rb
|
202
|
+
- lib/tmis/engine/models/study.rb
|
203
|
+
- lib/tmis/engine/models/cabinet.rb
|
204
|
+
- lib/tmis/engine/database.rb
|
205
|
+
- lib/tmis/engine/export/timetable_exporter.rb
|
206
|
+
- lib/tmis/interface/mainwindow.rb
|
207
|
+
- lib/tmis/interface/forms/ui_debug_console.rb
|
208
|
+
- lib/tmis/interface/forms/ui_console.rb
|
209
|
+
- lib/tmis/interface/forms/edit_study.rb
|
210
|
+
- lib/tmis/interface/forms/ui_export_group_timetable.rb
|
211
|
+
- lib/tmis/interface/forms/settings.rb
|
212
|
+
- lib/tmis/interface/forms/ui_find.rb
|
213
|
+
- lib/tmis/interface/forms/export_general_timetable.rb
|
214
|
+
- lib/tmis/interface/forms/debug_console.rb
|
215
|
+
- lib/tmis/interface/forms/ui_about.rb
|
216
|
+
- lib/tmis/interface/forms/ui_export_general_timetable.rb
|
217
|
+
- lib/tmis/interface/forms/export_lecturer_timetable.rb
|
218
|
+
- lib/tmis/interface/forms/ui_export_lecturer_timetable.rb
|
219
|
+
- lib/tmis/interface/forms/about.rb
|
220
|
+
- lib/tmis/interface/forms/import.rb
|
221
|
+
- lib/tmis/interface/forms/export_group_timetable.rb
|
222
|
+
- lib/tmis/interface/forms/expand_changes.rb
|
223
|
+
- lib/tmis/interface/forms/find.rb
|
224
|
+
- lib/tmis/interface/forms/ui_settings.rb
|
225
|
+
- lib/tmis/interface/forms/console.rb
|
226
|
+
- lib/tmis/interface/forms/ui_edit_study.rb
|
227
|
+
- lib/tmis/interface/forms/ui_expand_changes.rb
|
228
|
+
- lib/tmis/interface/forms/ui_import.rb
|
229
|
+
- lib/tmis/interface/models/cabinet_table_model.rb
|
230
|
+
- lib/tmis/interface/models/course_table_model.rb
|
231
|
+
- lib/tmis/interface/models/study_table_model.rb
|
232
|
+
- lib/tmis/interface/models/subject_table_model.rb
|
233
|
+
- lib/tmis/interface/models/speciality_table_model.rb
|
234
|
+
- lib/tmis/interface/models/subgroup_table_model.rb
|
235
|
+
- lib/tmis/interface/models/lecturer_table_model.rb
|
236
|
+
- lib/tmis/interface/models/speciality_subject_table_model.rb
|
237
|
+
- lib/tmis/interface/models/semester_table_model.rb
|
238
|
+
- lib/tmis/interface/models/group_table_model.rb
|
239
|
+
- lib/tmis/interface/ui_mainwindow.rb
|
240
|
+
- spec/mailer/mailer_spec.rb
|
241
|
+
- spec/mainwindow_spec.rb
|
242
|
+
- spec/import/timetable_roo_spec.rb
|
243
|
+
- spec/import/test_data/raspisanie_2013.csv
|
244
|
+
- spec/import/timetable_importer_mocks.rb
|
245
|
+
- spec/import/timetable_reader_spec.rb
|
246
|
+
- spec/import/timetable_manager_spec.rb
|
247
|
+
- spec/database_spec.rb
|
248
|
+
- spec/factories/factories.rb
|
249
|
+
- spec/models/semester_spec.rb
|
250
|
+
- spec/models/cabinet_spec.rb
|
251
|
+
- spec/models/lecturer_spec.rb
|
252
|
+
- spec/models/speciality_subject_spec.rb
|
253
|
+
- spec/models/subgroup_spec.rb
|
254
|
+
- spec/models/speciality_spec.rb
|
255
|
+
- spec/models/subject_spec.rb
|
256
|
+
- spec/models/course_spec.rb
|
257
|
+
- spec/models/group_spec.rb
|
258
|
+
- spec/models/study_spec.rb
|
259
|
+
- spec/config.rb
|
260
|
+
- spec/export/timetable_exporter_mocks.rb
|
261
|
+
- spec/export/timetable_exporter_spec.rb
|
262
|
+
- README.md
|
263
|
+
- COPYING
|
264
|
+
- Rakefile
|
265
|
+
- bin/tmis
|
266
|
+
homepage: https://github.com/Noein/TMIS
|
267
|
+
licenses:
|
268
|
+
- GPLv3
|
269
|
+
metadata: {}
|
270
|
+
post_install_message:
|
271
|
+
rdoc_options: []
|
272
|
+
require_paths:
|
273
|
+
- lib
|
274
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - '>='
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: 1.9.1
|
279
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
280
|
+
requirements:
|
281
|
+
- - '>='
|
282
|
+
- !ruby/object:Gem::Version
|
283
|
+
version: '0'
|
284
|
+
requirements: []
|
285
|
+
rubyforge_project:
|
286
|
+
rubygems_version: 2.0.7
|
287
|
+
signing_key:
|
288
|
+
specification_version: 4
|
289
|
+
summary: TMIS
|
290
|
+
test_files: []
|