From 91cbf2d3906a88a0a7377b3e379daf5b1241e6aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maty=C3=A1=C5=A1=20Caras?= Date: Wed, 14 Dec 2022 18:56:20 +0100 Subject: [PATCH 1/2] chore: bump version --- pubspec.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pubspec.yaml b/pubspec.yaml index fb32a21..9b353a9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,9 +1,8 @@ name: canteenlib description: Library for communication with the czech canteen food ordering system iCanteen -version: 1.0.1 -repository: 'https://github.com/hernikplays/canteenlib' -issue_tracker: 'https://github.com/hernikplays/canteenlib/issues' -documentation: 'https://docs.hernikplays.cz' +version: 1.1.1 +repository: 'https://git.mnau.xyz/hernik/canteenlib' +issue_tracker: 'https://git.mnau.xyz/hernik/canteenlib/issues' environment: sdk: '>=2.16.1 <3.0.0' From 0d4c597ad256a4224b15ba6d970016227b4c3c87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maty=C3=A1=C5=A1=20Caras?= Date: Wed, 14 Dec 2022 19:33:40 +0100 Subject: [PATCH 2/2] fix: opravit chybu s burzou --- CHANGELOG.md | 2 ++ lib/src/canteen.dart | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3216877..c24216a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## 1.1.1 +- Opravit problém s burzou ## 1.1.0-alpha.1 - Experimentální podpora pro SPŠEI Ostrava - Hezčí kód diff --git a/lib/src/canteen.dart b/lib/src/canteen.dart index fc833f7..b2fa46e 100644 --- a/lib/src/canteen.dart +++ b/lib/src/canteen.dart @@ -326,7 +326,7 @@ class Canteen { r"""db\/dbProcessOrder\.jsp.+?type=((plusburza)|(minusburza)).+?(?=')""") .firstMatch(o); if (match != null) { - burzaUrl = match.group(1)!.replaceAll("amp;", ""); + burzaUrl = match.group(0)!.replaceAll("amp;", ""); } }