openagent 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
data/lib/openagent/version.rb
CHANGED
@@ -6,6 +6,40 @@ module SIF
|
|
6
6
|
|
7
7
|
attribute :object_name, String
|
8
8
|
attribute :action, String
|
9
|
+
attribute :school_course_infos,
|
10
|
+
SIF::Model::Group::SIS::SchoolCourseInfo
|
11
|
+
attribute :school_infos,
|
12
|
+
SIF::Model::Group::SIS::SchoolInfo
|
13
|
+
attribute :staff_personals,
|
14
|
+
SIF::Model::Group::SIS::StaffPersonal
|
15
|
+
attribute :student_personals,
|
16
|
+
SIF::Model::Group::SIS::StudentPersonal
|
17
|
+
attribute :student_section_enrollments,
|
18
|
+
SIF::Model::Group::SIS::StudentSectionEnrollment
|
19
|
+
attribute :term_infos,
|
20
|
+
SIF::Model::Group::SIS::TermInfo
|
21
|
+
attribute :section_infos,
|
22
|
+
SIF::Model::Group::SIS::SectionInfo
|
23
|
+
|
24
|
+
def objects
|
25
|
+
school_course_infos +
|
26
|
+
school_infos +
|
27
|
+
staff_personals +
|
28
|
+
student_personals +
|
29
|
+
student_section_enrollments +
|
30
|
+
term_infos +
|
31
|
+
section_infos
|
32
|
+
end
|
33
|
+
|
34
|
+
def datatype
|
35
|
+
return :school_course_info unless school_course_infos.empty?
|
36
|
+
return :school_info unless school_infos.empty?
|
37
|
+
return :staff_personal unless staff_personals.empty?
|
38
|
+
return :student_personal unless student_personals.empty?
|
39
|
+
return :student_section_enrollment unless student_section_enrollments.empty?
|
40
|
+
return :term_info unless term_infos.empty?
|
41
|
+
return :section_info unless section_infos.empty?
|
42
|
+
end
|
9
43
|
end
|
10
44
|
end
|
11
45
|
end
|
@@ -8,6 +8,27 @@ module SIF
|
|
8
8
|
|
9
9
|
property :object_name, :as => "ObjectName", :attribute => true
|
10
10
|
property :action, :as => "Action", :attribute => true
|
11
|
+
property :school_course_infos, :as => 'SchoolCourseInfo',
|
12
|
+
:class => SIF::Model::Group::SIS::SchoolCourseInfo,
|
13
|
+
:decorator => Model::Group::SIS::SchoolCourseInfo
|
14
|
+
property :school_infos, :as => 'SchoolInfo',
|
15
|
+
:class => SIF::Model::Group::SIS::SchoolInfo,
|
16
|
+
:decorator => Model::Group::SIS::SchoolInfo
|
17
|
+
property :staff_personals, :as => 'StaffPersonal',
|
18
|
+
:class => SIF::Model::Group::SIS::StaffPersonal,
|
19
|
+
:decorator => Model::Group::SIS::StaffPersonal
|
20
|
+
property :student_personals, :as => 'StudentPersonal',
|
21
|
+
:class => SIF::Model::Group::SIS::StudentPersonal,
|
22
|
+
:decorator => Model::Group::SIS::StudentPersonal
|
23
|
+
property :student_section_enrollments, :as => 'StudentSectionEnrollment',
|
24
|
+
:class => SIF::Model::Group::SIS::StudentSectionEnrollment,
|
25
|
+
:decorator => Model::Group::SIS::StudentSectionEnrollment
|
26
|
+
property :term_infos, :as => 'TermInfo',
|
27
|
+
:class => SIF::Model::Group::SIS::TermInfo,
|
28
|
+
:decorator => Model::Group::SIS::TermInfo
|
29
|
+
property :section_infos, :as => 'SectionInfo',
|
30
|
+
:class => SIF::Model::Group::SIS::SectionInfo,
|
31
|
+
:decorator => Model::Group::SIS::SectionInfo
|
11
32
|
end
|
12
33
|
end
|
13
34
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openagent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2014-01-
|
14
|
+
date: 2014-01-13 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rake
|