From 9695629e5719081cbce58919a4b9cb3227168c03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dj8yf0=CE=BCl?= Date: Mon, 20 May 2024 13:39:39 +0300 Subject: [PATCH] chore: rename app `Rust Near` -> `NEAR`, set version to `2.0.0` --- Cargo.lock | 2 +- Cargo.toml | 4 ++-- README.md | 2 +- src/app_ui/menu.rs | 2 +- tests/test_version_cmd.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8b3d87b..ca435e8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13,7 +13,7 @@ dependencies = [ [[package]] name = "app-near-rust" -version = "1.0.0" +version = "2.0.0" dependencies = [ "borsh", "bs58", diff --git a/Cargo.toml b/Cargo.toml index 4a09dc6..14f62f7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "app-near-rust" -version = "1.0.0" +version = "2.0.0" authors = ["yhql", "agrojean-ledger", "dj8yf0μl"] edition = "2021" @@ -24,7 +24,7 @@ lto = true curve = ["ed25519"] flags = "0" path = ["44'/397'"] -name = "Rust Near" +name = "NEAR" [package.metadata.ledger.nanos] icon = "crab.gif" diff --git a/README.md b/README.md index 8dec801..6e88ae5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Ledger Rust Near Application +# Ledger NEAR Application ![Rule enforcer](https://github.com/dj8yfo/app-near-rs/actions/workflows/guidelines_enforcer.yml/badge.svg) ![Build and tests](https://github.com/dj8yfo/app-near-rs/actions/workflows/build_and_functional_tests.yml/badge.svg) diff --git a/src/app_ui/menu.rs b/src/app_ui/menu.rs index a89570e..de09e99 100644 --- a/src/app_ui/menu.rs +++ b/src/app_ui/menu.rs @@ -24,7 +24,7 @@ use crate::Instruction; fn ui_about_menu(comm: &mut Comm) -> Event { let pages = [ - &Page::from((["Rust Near", "(c) 2023 Ledger"], true)), + &Page::from((["NEAR", "(c) 2024 Ledger"], true)), &Page::from(("Back", &BACK)), ]; loop { diff --git a/tests/test_version_cmd.py b/tests/test_version_cmd.py index c290772..0974477 100644 --- a/tests/test_version_cmd.py +++ b/tests/test_version_cmd.py @@ -9,4 +9,4 @@ def test_get_version_cmd(backend): version = client.get_version().data assert len(version) == 3 # Assert that we have received the correct app version compared as Makefile data - assert (version[0], version[1], version[2]) == (1, 0, 0) + assert (version[0], version[1], version[2]) == (2, 0, 0)