mirror of
https://github.com/kuhyx/diet-guard.git
synced 2026-11-29 17:03:34 +01:00
Compare commits
No commits in common. "96637388432e97b643b4d6c573dc3bb49b7859a4" and "c02d9b2ea4a56073de2954df1c5d0fca4db56e9d" have entirely different histories.
9663738843
...
c02d9b2ea4
@ -166,11 +166,11 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
path: crdt_sync_flutter
|
path: crdt_sync_flutter
|
||||||
ref: "crdt_sync_flutter-v0.8.3"
|
ref: "crdt_sync_flutter-v0.8.2"
|
||||||
resolved-ref: "6e3f86ef0d73ba45db975bf03915fecce8a60f98"
|
resolved-ref: "1962d303336dfe260850466b8ee841033b9ad1ce"
|
||||||
url: "https://github.com/kuhyx/utils"
|
url: "https://github.com/kuhyx/utils"
|
||||||
source: git
|
source: git
|
||||||
version: "0.8.3"
|
version: "0.8.2"
|
||||||
cross_file:
|
cross_file:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -524,11 +524,11 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
path: github_device_auth
|
path: github_device_auth
|
||||||
ref: "github_device_auth-v0.5.1"
|
ref: "github_device_auth-v0.5.0"
|
||||||
resolved-ref: da1d7c0692e2e402ae4944f2425b36a55ad43e9c
|
resolved-ref: "0ef5461805e8f574de5174c940775e5245d675b3"
|
||||||
url: "https://github.com/kuhyx/utils"
|
url: "https://github.com/kuhyx/utils"
|
||||||
source: git
|
source: git
|
||||||
version: "0.5.1"
|
version: "0.5.0"
|
||||||
google_account_token:
|
google_account_token:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
@ -742,10 +742,10 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: material_ui
|
name: material_ui
|
||||||
sha256: a6b19012df437a356cbc01f8ea22a105e07194c47c9a6009da0032a0ce35c4ab
|
sha256: "474c135fd46b56ff1d35ca982155e8863d28fbc6464d1192acf4ee53a738680e"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.11.1"
|
version: "1.11.0"
|
||||||
meta:
|
meta:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -1051,11 +1051,11 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
path: sync_settings_ui
|
path: sync_settings_ui
|
||||||
ref: "sync_settings_ui-v0.8.3"
|
ref: "sync_settings_ui-v0.8.2"
|
||||||
resolved-ref: dde5566b2c6eb38a8e1e58a4252925f3baca8ad1
|
resolved-ref: "3225af8365481677d61a8cabec0c0ad4d0407567"
|
||||||
url: "https://github.com/kuhyx/utils"
|
url: "https://github.com/kuhyx/utils"
|
||||||
source: git
|
source: git
|
||||||
version: "0.8.3"
|
version: "0.8.2"
|
||||||
synchronized:
|
synchronized:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|||||||
@ -2,7 +2,7 @@ name: diet_guard_app
|
|||||||
description: "Companion phone app for diet_guard: log meals on the go."
|
description: "Companion phone app for diet_guard: log meals on the go."
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
|
|
||||||
version: 1.0.177+1
|
version: 1.0.173+1
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.12.2
|
sdk: ^3.12.2
|
||||||
@ -18,7 +18,7 @@ dependencies:
|
|||||||
crdt_sync_flutter:
|
crdt_sync_flutter:
|
||||||
git:
|
git:
|
||||||
url: https://github.com/kuhyx/utils
|
url: https://github.com/kuhyx/utils
|
||||||
ref: crdt_sync_flutter-v0.8.3
|
ref: crdt_sync_flutter-v0.8.2
|
||||||
path: crdt_sync_flutter
|
path: crdt_sync_flutter
|
||||||
crypto: 3.0.8
|
crypto: 3.0.8
|
||||||
cryptography: 2.9.0
|
cryptography: 2.9.0
|
||||||
@ -40,7 +40,7 @@ dependencies:
|
|||||||
github_device_auth:
|
github_device_auth:
|
||||||
git:
|
git:
|
||||||
url: https://github.com/kuhyx/utils
|
url: https://github.com/kuhyx/utils
|
||||||
ref: github_device_auth-v0.5.1
|
ref: github_device_auth-v0.5.0
|
||||||
path: github_device_auth
|
path: github_device_auth
|
||||||
# One-tap Google ID token via the framework AccountManager chooser (FOSS).
|
# One-tap Google ID token via the framework AccountManager chooser (FOSS).
|
||||||
google_account_token:
|
google_account_token:
|
||||||
@ -53,7 +53,7 @@ dependencies:
|
|||||||
idb_shim: 2.11.3
|
idb_shim: 2.11.3
|
||||||
# Camera/gallery photo as transient input to Claude (never stored or synced).
|
# Camera/gallery photo as transient input to Claude (never stored or synced).
|
||||||
image_picker: 1.2.4
|
image_picker: 1.2.4
|
||||||
material_ui: 1.11.1
|
material_ui: 1.11.0
|
||||||
path: 1.9.1
|
path: 1.9.1
|
||||||
path_provider: 2.1.6
|
path_provider: 2.1.6
|
||||||
permission_handler: 13.0.2
|
permission_handler: 13.0.2
|
||||||
@ -66,7 +66,7 @@ dependencies:
|
|||||||
sync_settings_ui:
|
sync_settings_ui:
|
||||||
git:
|
git:
|
||||||
url: https://github.com/kuhyx/utils
|
url: https://github.com/kuhyx/utils
|
||||||
ref: sync_settings_ui-v0.8.3
|
ref: sync_settings_ui-v0.8.2
|
||||||
path: sync_settings_ui
|
path: sync_settings_ui
|
||||||
url_launcher: 6.3.3
|
url_launcher: 6.3.3
|
||||||
uuid: 4.6.0
|
uuid: 4.6.0
|
||||||
|
|||||||
@ -115,10 +115,13 @@ void main() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test('uses the real clock when now is omitted', () async {
|
test('uses the real clock when now is omitted', () async {
|
||||||
// Just exercises the `now ?? DateTime.now()` branch. Whether anything is
|
// Just exercises the `now ?? DateTime.now()` branch without asserting
|
||||||
// shown or cancelled depends on the wall clock (nothing is due after the
|
// on specific slots (which depend on the actual time the test runs).
|
||||||
// last slot's cutoff), so only completion is asserted.
|
await checkAndNotify();
|
||||||
await expectLater(checkAndNotify(), completes);
|
expect(
|
||||||
|
notificationLog.where((c) => c.method == 'show' || c.method == 'cancel'),
|
||||||
|
isNotEmpty,
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('still syncs when nothing is due', () async {
|
test('still syncs when nothing is due', () async {
|
||||||
|
|||||||
@ -9,3 +9,8 @@ exceptions:
|
|||||||
reason: local toolchain /opt/flutter is 3.47.9; fleet-wide Flutter 3.50 bump is separate work
|
reason: local toolchain /opt/flutter is 3.47.9; fleet-wide Flutter 3.50 bump is separate work
|
||||||
blocked_by: local-toolchain
|
blocked_by: local-toolchain
|
||||||
expires: "2026-11-26"
|
expires: "2026-11-26"
|
||||||
|
- ecosystem: pub
|
||||||
|
package: material_ui
|
||||||
|
pinned: "1.11.0"
|
||||||
|
reason: sync_settings_ui 0.8.2 (git dependency from kuhyx/utils) pins material_ui 1.11.0 exactly, so 1.11.1 cannot resolve until utils releases a sync_settings_ui that takes it
|
||||||
|
blocked_by: transitive:sync_settings_ui@0.8.2
|
||||||
|
|||||||
@ -156,13 +156,6 @@ class TestAutologBeforeLock:
|
|||||||
assert autolog_due_delivery([].append) == 0
|
assert autolog_due_delivery([].append) == 0
|
||||||
fetch.assert_not_called()
|
fetch.assert_not_called()
|
||||||
|
|
||||||
def test_nothing_new_to_log_stays_silent(self) -> None:
|
|
||||||
"""Dishes already logged: zero written, no report line."""
|
|
||||||
self._go((DISHES, None))
|
|
||||||
lines = self._go((DISHES, None))
|
|
||||||
assert self.written == 0
|
|
||||||
assert lines == []
|
|
||||||
|
|
||||||
def test_logging_error_is_swallowed(self) -> None:
|
def test_logging_error_is_swallowed(self) -> None:
|
||||||
"""Even a disk error falls back to the lock instead of crashing the gate."""
|
"""Even a disk error falls back to the lock instead of crashing the gate."""
|
||||||
lines: list[str] = []
|
lines: list[str] = []
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user