moodle2cc 0.2.45 → 0.2.46

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
  SHA256:
3
- metadata.gz: 98689e50dc5e33cde859b130da10873353ecd86ef81e4aa765beb9dd969f87d3
4
- data.tar.gz: 8d58e5bcc83ef54b9387913f5594693e39b74f9a67c5546f8a42e3795ad2bec8
3
+ metadata.gz: 939e7d8dd8334a8cf1582e1e00fc06c49155d2d5e7da6dab985250d0ea866f39
4
+ data.tar.gz: 2996e02a9626488b09f05be63f0ed0b4bdaed241472650814bb60ed8b7b65acf
5
5
  SHA512:
6
- metadata.gz: 4854cb70b2fb66f4bd26c8bf5ee6d6464131bd32b6101a4e2abd28100ae9ec80a86eb4f350c412847aca612df38199ebf71573daa7ef5ffe5c54a656e699e0db
7
- data.tar.gz: b08f962f311ee2cf4806af2a85a6abd4df96549abfa796807f10ce521d4d7abe531f6c8146be75aa3242fbfe944fce0da58a5613f3537a541c64a533290cf911
6
+ metadata.gz: f42977ae253921b0ee2251b88b0a9eec71c9ae9ab485b65ccdda1706c797be6ada640a3f34c66248f9482125fa92ce085c8e5a231e38e753f2249a8b587a9ea4
7
+ data.tar.gz: 18e5c56f7d8bf6e80032b06147e57fc22c927a0cb565b1d088fed3cc315886013db0e9deff9dfb929ea93354802682dabe98e316f512085aa3543692ff4e18e2
@@ -32,7 +32,7 @@ module Moodle2CC::Moodle2
32
32
  category.parent = parse_text(node, "parent")
33
33
  category.sort_order = parse_text(node, "sortorder")
34
34
 
35
- category.questions += node.search("questions/question").filter_map { |question_node| question_parser(question_node) }
35
+ category.questions += node.search("./questions/question").filter_map { |question_node| question_parser(question_node) }
36
36
  category.questions += node.search("question_bank_entries/question_bank_entry").map do |question_bank_entry|
37
37
  question_bank_entry.search("question_version/question_versions").map do |question_versions|
38
38
  question_versions.search("questions/question").map do |question_node|
@@ -1,3 +1,3 @@
1
1
  module Moodle2CC
2
- VERSION = "0.2.45"
2
+ VERSION = "0.2.46"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moodle2cc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.45
4
+ version: 0.2.46
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Durtschi
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-03-26 00:00:00.000000000 Z
13
+ date: 2024-04-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rubyzip
@@ -424,7 +424,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
424
424
  - !ruby/object:Gem::Version
425
425
  version: '0'
426
426
  requirements: []
427
- rubygems_version: 3.3.3
427
+ rubygems_version: 3.5.3
428
428
  signing_key:
429
429
  specification_version: 4
430
430
  summary: Migrates Moodle backup ZIP to IMS Common Cartridge package