senkyoshi 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +661 -0
  3. data/README.md +1 -1
  4. data/bin/import_blackboard +15 -0
  5. data/lib/senkyoshi/canvas_course.rb +15 -0
  6. data/lib/senkyoshi/collection.rb +15 -0
  7. data/lib/senkyoshi/configuration.rb +15 -0
  8. data/lib/senkyoshi/exceptions.rb +15 -0
  9. data/lib/senkyoshi/models/announcement.rb +15 -0
  10. data/lib/senkyoshi/models/answer.rb +15 -0
  11. data/lib/senkyoshi/models/assessment.rb +15 -0
  12. data/lib/senkyoshi/models/assignment.rb +15 -0
  13. data/lib/senkyoshi/models/assignment_group.rb +15 -0
  14. data/lib/senkyoshi/models/attachment.rb +15 -0
  15. data/lib/senkyoshi/models/blog.rb +15 -0
  16. data/lib/senkyoshi/models/content.rb +15 -0
  17. data/lib/senkyoshi/models/content_file.rb +15 -0
  18. data/lib/senkyoshi/models/content_reviewed_criteria.rb +15 -0
  19. data/lib/senkyoshi/models/course.rb +15 -0
  20. data/lib/senkyoshi/models/course_toc.rb +15 -0
  21. data/lib/senkyoshi/models/external_url.rb +15 -0
  22. data/lib/senkyoshi/models/file.rb +15 -0
  23. data/lib/senkyoshi/models/file_resource.rb +15 -0
  24. data/lib/senkyoshi/models/forum.rb +15 -0
  25. data/lib/senkyoshi/models/grade_completed_criteria.rb +15 -0
  26. data/lib/senkyoshi/models/grade_criteria.rb +15 -0
  27. data/lib/senkyoshi/models/grade_range_criteria.rb +15 -0
  28. data/lib/senkyoshi/models/grade_range_percent_criteria.rb +15 -0
  29. data/lib/senkyoshi/models/gradebook.rb +15 -0
  30. data/lib/senkyoshi/models/group.rb +15 -0
  31. data/lib/senkyoshi/models/heirarchy.rb +15 -0
  32. data/lib/senkyoshi/models/link.rb +15 -0
  33. data/lib/senkyoshi/models/module.rb +15 -0
  34. data/lib/senkyoshi/models/module_converter.rb +15 -0
  35. data/lib/senkyoshi/models/module_item.rb +15 -0
  36. data/lib/senkyoshi/models/outcome_definition.rb +15 -0
  37. data/lib/senkyoshi/models/qti.rb +15 -0
  38. data/lib/senkyoshi/models/question.rb +15 -0
  39. data/lib/senkyoshi/models/question_bank.rb +15 -0
  40. data/lib/senkyoshi/models/questions/calculated.rb +15 -0
  41. data/lib/senkyoshi/models/questions/either_or.rb +15 -0
  42. data/lib/senkyoshi/models/questions/essay.rb +15 -0
  43. data/lib/senkyoshi/models/questions/file_upload.rb +15 -0
  44. data/lib/senkyoshi/models/questions/fill_in_blank.rb +15 -0
  45. data/lib/senkyoshi/models/questions/fill_in_blank_plus.rb +15 -0
  46. data/lib/senkyoshi/models/questions/hot_spot.rb +15 -0
  47. data/lib/senkyoshi/models/questions/jumbled_sentence.rb +15 -0
  48. data/lib/senkyoshi/models/questions/matching.rb +15 -0
  49. data/lib/senkyoshi/models/questions/multiple_answer.rb +15 -0
  50. data/lib/senkyoshi/models/questions/multiple_choice.rb +15 -0
  51. data/lib/senkyoshi/models/questions/numerical.rb +15 -0
  52. data/lib/senkyoshi/models/questions/opinion_scale.rb +15 -0
  53. data/lib/senkyoshi/models/questions/ordering.rb +15 -0
  54. data/lib/senkyoshi/models/questions/quiz_bowl.rb +15 -0
  55. data/lib/senkyoshi/models/questions/short_response.rb +15 -0
  56. data/lib/senkyoshi/models/questions/true_false.rb +15 -0
  57. data/lib/senkyoshi/models/quiz.rb +15 -0
  58. data/lib/senkyoshi/models/resource.rb +15 -0
  59. data/lib/senkyoshi/models/rule.rb +15 -0
  60. data/lib/senkyoshi/models/rule_criteria.rb +15 -0
  61. data/lib/senkyoshi/models/scorm_package.rb +15 -0
  62. data/lib/senkyoshi/models/staff_info.rb +15 -0
  63. data/lib/senkyoshi/models/survey.rb +15 -0
  64. data/lib/senkyoshi/models/wikipage.rb +15 -0
  65. data/lib/senkyoshi/tasks.rb +15 -0
  66. data/lib/senkyoshi/version.rb +16 -1
  67. data/lib/senkyoshi/xml_parser.rb +15 -0
  68. data/lib/senkyoshi.rb +15 -0
  69. metadata +4 -4
  70. data/LICENSE.txt +0 -21
@@ -1,5 +1,20 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ # Copyright (C) 2016, 2017 Atomic Jolt
4
+
5
+ # This program is free software: you can redistribute it and/or modify
6
+ # it under the terms of the GNU Affero General Public License as published by
7
+ # the Free Software Foundation, either version 3 of the License, or
8
+ # (at your option) any later version.
9
+
10
+ # This program is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ # GNU Affero General Public License for more details.
14
+
15
+ # You should have received a copy of the GNU Affero General Public License
16
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+
3
18
  require "senkyoshi"
4
19
 
5
20
  # ruby -Ilib ./bin/import_blackboard ~/sources ~/canvas
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "pandarus"
2
17
  require "senkyoshi/models/scorm_package"
3
18
  require "rest-client"
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  module Senkyoshi
2
17
  class Collection
3
18
  attr_reader :resources
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "yaml"
2
17
 
3
18
  module Senkyoshi
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  module Exceptions
2
17
  class BadFileNameError < StandardError
3
18
  def initialize(msg = "Bad File Name")
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/file_resource"
2
17
 
3
18
  module Senkyoshi
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/resource"
2
17
 
3
18
  module Senkyoshi
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/qti"
2
17
 
3
18
  module Senkyoshi
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/content"
2
17
 
3
18
  module Senkyoshi
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/resource"
2
17
 
3
18
  module Senkyoshi
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/content"
2
17
  require "senkyoshi/models/module_item"
3
18
 
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/file_resource"
2
17
 
3
18
  module Senkyoshi
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/file_resource"
2
17
  require "senkyoshi/models/content_file"
3
18
 
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/resource"
2
17
 
3
18
  module Senkyoshi
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/rule_criteria"
2
17
 
3
18
  module Senkyoshi
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/file_resource"
2
17
 
3
18
  module Senkyoshi
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/resource"
2
17
  require "senkyoshi/models/content_file"
3
18
 
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/content"
2
17
 
3
18
  module Senkyoshi
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/resource"
2
17
  require "senkyoshi/exceptions"
3
18
 
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/resource"
2
17
 
3
18
  module Senkyoshi
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/file_resource"
2
17
 
3
18
  module Senkyoshi
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/grade_criteria"
2
17
  module Senkyoshi
3
18
  class GradeCompletedCriteria < GradeCriteria
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/rule_criteria"
2
17
  module Senkyoshi
3
18
  class GradeCriteria < RuleCriteria
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/grade_criteria"
2
17
 
3
18
  module Senkyoshi
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/grade_range_criteria"
2
17
 
3
18
  module Senkyoshi
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/outcome_definition"
2
17
  require "senkyoshi/models/file_resource"
3
18
 
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/file_resource"
2
17
 
3
18
  module Senkyoshi
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/resource"
2
17
 
3
18
  module Senkyoshi
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  module Senkyoshi
2
17
  ##
3
18
  # Represents a link between Blackboard resources.
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/resource"
2
17
 
3
18
  module Senkyoshi
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  module Senkyoshi
2
17
  class ModuleConverter
3
18
  def self.set_modules(course, pre_data)
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/resource"
2
17
 
3
18
  module Senkyoshi
@@ -1,3 +1,18 @@
1
+ # Copyright (C) 2016, 2017 Atomic Jolt
2
+
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU Affero General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU Affero General Public License for more details.
12
+
13
+ # You should have received a copy of the GNU Affero General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
1
16
  require "senkyoshi/models/resource"
2
17
  require "senkyoshi/models/assignment_group"
3
18