diff --git a/Android/game-reflex-poc/build.gradle b/Android/game-reflex-poc/build.gradle index 59418fa..67cd0fe 100644 --- a/Android/game-reflex-poc/build.gradle +++ b/Android/game-reflex-poc/build.gradle @@ -1,5 +1,5 @@ // file: Android/game-reflex-poc/build.gradle -// version: 22 +// version: 23 plugins { id 'com.android.application' @@ -18,7 +18,7 @@ android { minSdk 21 targetSdk 36 versionCode 1 - versionName '0.1.0-3-rc.1' + versionName '0.1.0-3-rc.1.fix.1' } compileOptions { diff --git a/Android/game-snake-poc/build.gradle b/Android/game-snake-poc/build.gradle index 5c592a8..99376ba 100644 --- a/Android/game-snake-poc/build.gradle +++ b/Android/game-snake-poc/build.gradle @@ -1,5 +1,5 @@ // file: Android/game-snake-poc/build.gradle -// version: 22 +// version: 23 plugins { id 'com.android.application' @@ -18,7 +18,7 @@ android { minSdk 21 targetSdk 36 versionCode 1 - versionName '0.1.0-3-rc.1' + versionName '0.1.0-3-rc.1.fix.1' } compileOptions { diff --git a/Cargo.toml b/Cargo.toml index c3f138c..75b222e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ # file: Cargo.toml -# version: 34 +# version: 35 [workspace] resolver = "3" @@ -19,7 +19,7 @@ members = [ ] [workspace.package] -version = "0.1.0-3-rc.1" +version = "0.1.0-3-rc.1.fix.1" edition = "2024" license = "MIT" repository = "https://git.sasedev.com/Sasedev/games" diff --git a/crates/apps/game-android-entrypoint/unit_tests/selection.rs b/crates/apps/game-android-entrypoint/unit_tests/selection.rs index e8aab43..e33634d 100644 --- a/crates/apps/game-android-entrypoint/unit_tests/selection.rs +++ b/crates/apps/game-android-entrypoint/unit_tests/selection.rs @@ -1,5 +1,5 @@ // file: crates/apps/game-android-entrypoint/unit_tests/selection.rs -// version: 2 +// version: 3 #[test] fn no_feature_entrypoint_has_failure_status() { @@ -8,6 +8,6 @@ fn no_feature_entrypoint_has_failure_status() { } #[test] -fn native_bridge_contract_version_is_one() { - assert_eq!(crate::native_contract_version(core::ptr::null_mut(), core::ptr::null_mut()), 1); +fn native_bridge_contract_version_is_three() { + assert_eq!(crate::native_contract_version(core::ptr::null_mut(), core::ptr::null_mut()), 3); } diff --git a/crates/apps/game-reflex-poc-tauri/package.json b/crates/apps/game-reflex-poc-tauri/package.json index c6d535b..1cc5e37 100644 --- a/crates/apps/game-reflex-poc-tauri/package.json +++ b/crates/apps/game-reflex-poc-tauri/package.json @@ -1,7 +1,7 @@ { "name": "game-reflex-poc-tauri", "private": true, - "version": "0.1.0-3-rc.1", + "version": "0.1.0-3-rc.1.fix.1", "type": "module", "scripts": { "dev": "vite", diff --git a/crates/apps/game-reflex-poc-tauri/tauri.conf.json b/crates/apps/game-reflex-poc-tauri/tauri.conf.json index c78eb05..b93af73 100644 --- a/crates/apps/game-reflex-poc-tauri/tauri.conf.json +++ b/crates/apps/game-reflex-poc-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "Reflex POC Tauri", - "version": "0.1.0-3-rc.1", + "version": "0.1.0-3-rc.1.fix.1", "identifier": "com.sasedev.games.reflex.tauri", "build": { "beforeDevCommand": { diff --git a/deltas/0.1.0/3-rc.1.fix.1.md b/deltas/0.1.0/3-rc.1.fix.1.md new file mode 100644 index 0000000..a598a0f --- /dev/null +++ b/deltas/0.1.0/3-rc.1.fix.1.md @@ -0,0 +1,51 @@ + + + +# Delta 0.1.0-3-rc.1.fix.1 + +## Base + +Base déclarée : `0.1.0-3-rc.1`. + +## Défaut + +La gate RC complète échoue sur le test : + +```text +tests::native_bridge_contract_version_is_one +``` + +Le contrat JNI courant vaut `3`, alors que ce test historique attend encore `1`. + +## Correctif + +Le test devient : + +```text +native_bridge_contract_version_is_three +``` + +et vérifie désormais la valeur : + +```text +3 +``` + +Aucun comportement runtime, gameplay ou plateforme n'est modifié. + +## Validation + +```bash +cargo fmt --all +cargo fmt --all -- --check + +python3 scripts/audit_rust_workspace_rules.py +python3 scripts/audit_markdown_tables.py README.md RULES.md ROADMAP.md CHANGELOG.md docs prompts crates Android deltas history +python3 scripts/audit_distribution_layout.py + +cargo check --workspace +cargo clippy --workspace --all-targets --all-features -- -D warnings +cargo test --workspace --all-targets --all-features +``` + +Si cette gate complète passe, reprendre les builds/smokes RC prévus pour Desktop, Tauri et Android.