Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit e535a2e

Browse files
authored
Merge branch 'RunestoneInteractive:master' into master
2 parents 1595b1c + e575c17 commit e535a2e

File tree

5 files changed

+15
-12
lines changed

5 files changed

+15
-12
lines changed

makeRelease.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ if [ -d ~/.virtualenvs/json2xml ]
4242
source ~/.virtualenvs/json2xml/bin/activate
4343
python scripts/dist2xml.py $1
4444
cd runestone
45-
tar zcf dist-$1.tgz dist
45+
tar --strip-components 1 -zcf dist-$1.tgz dist/*
46+
scp dist-$1.tgz balance.runestoneacademy.org:~/
4647
else
4748
echo "Warning: no json2xml ve found skipping pretext"
4849
fi
49-
50-

runestone/activecode/js/livecode.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default class LiveCode extends ActiveCode {
2929
}
3030
this.createErrorOutput();
3131
}
32-
outputfun(a) { }
32+
outputfun(a) {}
3333
createInputElement() {
3434
var label = document.createElement("label");
3535
label.for = this.divid + "_stdin";
@@ -43,7 +43,7 @@ export default class LiveCode extends ActiveCode {
4343
this.outerDiv.appendChild(input);
4444
this.stdin_el = input;
4545
}
46-
createErrorOutput() { }
46+
createErrorOutput() {}
4747

4848
/* Main runProg method for livecode
4949
*
@@ -205,9 +205,9 @@ export default class LiveCode extends ActiveCode {
205205
public static void main(String[] args) {
206206
CodeTestHelper.resetFinalResults();
207207
Result result = JUnitCore.runClasses(${testdrivername.replace(
208-
".java",
209-
".class"
210-
)});
208+
".java",
209+
".class"
210+
)});
211211
System.out.println(CodeTestHelper.getFinalResults());
212212
213213
int total = result.getRunCount();
@@ -315,7 +315,10 @@ export default class LiveCode extends ActiveCode {
315315
$(odiv).html(this.parsedOutput.stdout);
316316
if (this.suffix) {
317317
if (this.parsedOutput.pct === undefined) {
318-
this.parsedOutput.pct = this.parsedOutput.passed = this.parsedOutput.failed = 0;
318+
this.parsedOutput.pct =
319+
this.parsedOutput.passed =
320+
this.parsedOutput.failed =
321+
0;
319322
}
320323
this.unit_results = `percent:${this.parsedOutput.pct}:passed:${this.parsedOutput.passed}:failed:${this.parsedOutput.failed}`;
321324
}

runestone/parsons/js/parsons-i18n.en.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ $.i18n().load({
33
msg_parson_check_me: "Check",
44
msg_parson_reset: "Reset",
55
msg_parson_help: "Help me",
6-
msg_parson_too_short: "Your program is too short. Add more blocks.",
6+
msg_parson_too_short: "Your answer is too short. Add more blocks.",
77
msg_parson_drag_from_here: "Drag from here",
88
msg_parson_drag_to_here: "Drop blocks here",
99
msg_parson_correct_first_try:
@@ -15,7 +15,7 @@ $.i18n().load({
1515
msg_parson_wrong_indents:
1616
"These blocks are not indented correctly. To indent a block more, drag it to the right. To reduce the indention, drag it to the left.",
1717
msg_parson_wrong_order:
18-
"Highlighted blocks in your program are wrong or are in the wrong order. This can be fixed by moving, removing, or replacing highlighted blocks.",
18+
"Highlighted blocks in your answer are wrong or are in the wrong order. This can be fixed by moving, removing, or replacing highlighted blocks.",
1919
msg_parson_arrow_navigate:
2020
"Arrow keys to navigate. Space to select / deselect block to move.",
2121
msg_parson_help_info:

runestone/pretext/chapter_pop.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ def manifest_data_to_db(course_name, manifest_path):
153153
idchild = el.attrib["id"]
154154
else:
155155
el = question.find("./div")
156+
idchild = el.attrib["id"] or "foo_id"
156157
try:
157158
qtype = el.attrib["data-component"]
158159
# translate qtype to question_type

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
dependencies = [l.strip() for l in fh]
1212

1313

14-
VERSION = "6.2.1"
14+
VERSION = "6.2.2"
1515

1616
# These pre-install hooks are useful to make sure any pre-requisite
1717
# programs that are not pip installable are in place.

0 commit comments

Comments
 (0)