rapid-router 7.4.3__py2.py3-none-any.whl → 7.4.5__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- game/__init__.py +1 -1
- game/static/game/js/game.js +12 -0
- {rapid_router-7.4.3.dist-info → rapid_router-7.4.5.dist-info}/METADATA +4 -4
- {rapid_router-7.4.3.dist-info → rapid_router-7.4.5.dist-info}/RECORD +7 -7
- {rapid_router-7.4.3.dist-info → rapid_router-7.4.5.dist-info}/LICENSE.md +0 -0
- {rapid_router-7.4.3.dist-info → rapid_router-7.4.5.dist-info}/WHEEL +0 -0
- {rapid_router-7.4.3.dist-info → rapid_router-7.4.5.dist-info}/top_level.txt +0 -0
game/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "7.4.
|
|
1
|
+
__version__ = "7.4.5"
|
game/static/game/js/game.js
CHANGED
|
@@ -188,6 +188,18 @@ ocargo.Game.prototype.reset = function () {
|
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
ocargo.Game.prototype.runProgramAndPrepareAnimation = function (blocks) {
|
|
191
|
+
if (window.location.href.startsWith("https://www.codeforlife.education")) {
|
|
192
|
+
if (window.location.href.includes("/pythonden/")) {
|
|
193
|
+
gtag("event", "python-den:level:play", {
|
|
194
|
+
levelId: LEVEL_NAME - 1000,
|
|
195
|
+
});
|
|
196
|
+
} else if (window.location.href.includes("/rapidrouter/")) {
|
|
197
|
+
gtag("event", "rapid-router:level:play", {
|
|
198
|
+
levelId: LEVEL_NAME,
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
191
203
|
this.reset()
|
|
192
204
|
let code = ocargo.pythonControl.getCode()
|
|
193
205
|
ocargo.event.sendEvent('PlayButtonPressed', {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: rapid-router
|
|
3
|
-
Version: 7.4.
|
|
3
|
+
Version: 7.4.5
|
|
4
4
|
Classifier: Programming Language :: Python
|
|
5
5
|
Classifier: Programming Language :: Python :: 3.12
|
|
6
6
|
Classifier: Framework :: Django
|
|
@@ -8,7 +8,7 @@ License-File: LICENSE.md
|
|
|
8
8
|
Requires-Dist: asgiref==3.8.1; python_version >= "3.8"
|
|
9
9
|
Requires-Dist: asttokens==3.0.0; python_version >= "3.8"
|
|
10
10
|
Requires-Dist: certifi==2025.1.31; python_version >= "3.6"
|
|
11
|
-
Requires-Dist: cfl-common==8.4.
|
|
11
|
+
Requires-Dist: cfl-common==8.4.10
|
|
12
12
|
Requires-Dist: charset-normalizer==3.4.1; python_version >= "3.7"
|
|
13
13
|
Requires-Dist: decorator==5.2.1; python_version >= "3.8"
|
|
14
14
|
Requires-Dist: diff-match-patch==20241021; python_version >= "3.7"
|
|
@@ -61,11 +61,11 @@ Requires-Dist: asgiref==3.8.1; python_version >= "3.8" and extra == "dev"
|
|
|
61
61
|
Requires-Dist: attrs==25.3.0; python_version >= "3.8" and extra == "dev"
|
|
62
62
|
Requires-Dist: black==25.1.0; python_version >= "3.9" and extra == "dev"
|
|
63
63
|
Requires-Dist: certifi==2025.1.31; python_version >= "3.6" and extra == "dev"
|
|
64
|
-
Requires-Dist: cfl-common==8.4.
|
|
64
|
+
Requires-Dist: cfl-common==8.4.10; extra == "dev"
|
|
65
65
|
Requires-Dist: chardet==5.2.0; python_version >= "3.7" and extra == "dev"
|
|
66
66
|
Requires-Dist: charset-normalizer==3.4.1; python_version >= "3.7" and extra == "dev"
|
|
67
67
|
Requires-Dist: click==8.1.8; python_version >= "3.7" and extra == "dev"
|
|
68
|
-
Requires-Dist: codeforlife-portal==8.4.
|
|
68
|
+
Requires-Dist: codeforlife-portal==8.4.10; extra == "dev"
|
|
69
69
|
Requires-Dist: diff-match-patch==20241021; python_version >= "3.7" and extra == "dev"
|
|
70
70
|
Requires-Dist: django==4.2.20; python_version >= "3.8" and extra == "dev"
|
|
71
71
|
Requires-Dist: django-classy-tags==4.1.0; python_version >= "3.8" and extra == "dev"
|
|
@@ -3,7 +3,7 @@ example_project/rapid_router_test_settings.py,sha256=zeun7ZbgaIko7lKoBFyY0JBSNLf
|
|
|
3
3
|
example_project/settings.py,sha256=LlpNO365iqVvWz7PlFOXDwqrE1OEnLSSnSaXd7x5caE,4172
|
|
4
4
|
example_project/urls.py,sha256=XHug_cpNy21yOef3E1-wWT5VkTuxpl6ZXIlCj6jDjWA,422
|
|
5
5
|
example_project/wsgi.py,sha256=U1W6WzZxZaIdYZ5tks7w9fqp5WS5qvn2iThsVcskrWw,829
|
|
6
|
-
game/__init__.py,sha256=
|
|
6
|
+
game/__init__.py,sha256=ERwVBgQCBJgucxhtakk-dQufB6Ee4T6nwO2NL91sBGg,22
|
|
7
7
|
game/admin.py,sha256=BLwwaqQYuqmMdwqnvhdan19iGxdcoBX4CXFk_ROG5-M,1431
|
|
8
8
|
game/app_settings.py,sha256=mlg-1AiP7AR5JNOHAXXLuCrYWaZMmSihvSYk9c2c8YY,857
|
|
9
9
|
game/cache.py,sha256=dtOiFl6Z4I2Q9-8Hz24ZI-5C0asXYSQhF2Be5q74N8g,2227
|
|
@@ -344,7 +344,7 @@ game/static/game/js/drawing.js,sha256=4VpHIWBtUbyscKynzecrACaMV6wpUUP-NvjxpUyZ2Z
|
|
|
344
344
|
game/static/game/js/drawingConstants.js,sha256=U0BbcFBzNhBOIr-PiiKaRS4AtdOOk6NvB0boxvJQTSA,68
|
|
345
345
|
game/static/game/js/event.js,sha256=VUGrUWxu1aWEk4AJFkzi7yZpXrIA6-9z4RIra3fhdvE,401
|
|
346
346
|
game/static/game/js/fpsmeter.js,sha256=b6D2ZDaxxYEqMgrdy8gAE_wEJbndLCTRaM7kTVkA0Uw,8835
|
|
347
|
-
game/static/game/js/game.js,sha256=
|
|
347
|
+
game/static/game/js/game.js,sha256=6RGJ2SyWOPOV90E5cAc3Dij7F5wh-zjRNAjay81uDzU,38386
|
|
348
348
|
game/static/game/js/handlebars.runtime-v4.7.7.js,sha256=OCETUDXXzC9KlTyEGgRDrOYiUaDKp4s2vTXMHWx-I6Q,52216
|
|
349
349
|
game/static/game/js/howler.js,sha256=sCHcRrx0ngqmGAgXUAQK0cRRRFdnmXoWAjBP3rAQeaI,12089
|
|
350
350
|
game/static/game/js/jquery.dataTables.min.js,sha256=FZGH2eJrS9A_b3nlOUQxLOIXYfhrM9LK7hsOxzyYXiI,87104
|
|
@@ -800,8 +800,8 @@ game/views/level_selection.py,sha256=UI345nDv5iTRQ7VttiLKLzezJlaSlaKOnhlALZgMU9Q
|
|
|
800
800
|
game/views/level_solutions.py,sha256=lfwLFvw4gFuptTkL2J_ibhnuiysl3Yao15sn2qoQlcE,97194
|
|
801
801
|
game/views/scoreboard.py,sha256=Lxy7XtoG7VwWpTb-c22BGC6eN8uCmmOnQ2qjY-oXA3k,16914
|
|
802
802
|
game/views/scoreboard_csv.py,sha256=yx4tOwx5QsHyU1S1BUPUqRBWIh5idq8QVtBID-NqZto,1768
|
|
803
|
-
rapid_router-7.4.
|
|
804
|
-
rapid_router-7.4.
|
|
805
|
-
rapid_router-7.4.
|
|
806
|
-
rapid_router-7.4.
|
|
807
|
-
rapid_router-7.4.
|
|
803
|
+
rapid_router-7.4.5.dist-info/LICENSE.md,sha256=9AbRlCDqD2D1tPibimysFv3zg3AIc49-eyv9aEsyq9w,115
|
|
804
|
+
rapid_router-7.4.5.dist-info/METADATA,sha256=NbW8lIau2DnEo5MK6s_m8vnCJAMqATvXOD5-_t0AcU4,8858
|
|
805
|
+
rapid_router-7.4.5.dist-info/WHEEL,sha256=Kol19cahXavY536r5Aj6aAgK_6CmctrOu3bgNJMSNJA,109
|
|
806
|
+
rapid_router-7.4.5.dist-info/top_level.txt,sha256=rKP4ryr1t8Wcnx8grJHDViM3T5cMYH_0vygDjC04ArA,21
|
|
807
|
+
rapid_router-7.4.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|