From 46d4e5a832657418b582b1b65cb95eee8aaae261 Mon Sep 17 00:00:00 2001
From: Jack Wills <32690432+mrjackwills@users.noreply.github.com>
Date: Sun, 25 Dec 2022 15:48:57 +0000
Subject: [PATCH] chore: release v0.1.10
---
.github/release-body.md | 15 ++++++++++++---
CHANGELOG.md | 13 ++++++++-----
Cargo.toml | 2 +-
src/app_data/container_state.rs | 2 +-
src/ui/color_match.rs | 5 ++++-
5 files changed, 26 insertions(+), 11 deletions(-)
diff --git a/.github/release-body.md b/.github/release-body.md
index da6e282..cd2db50 100644
--- a/.github/release-body.md
+++ b/.github/release-body.md
@@ -1,8 +1,17 @@
-### 2022-12-05
+### 2022-12-25
+
+### Chores
++ dependencies updated, [1525b3150293015c0fb2f2161da463b21ac2694c], [8d539ab14809136d743c49d60779687fc8eeef6d], [1774217a8a657d261397d213e5ecee667cf3b6b1]
++ Rust 1.66 linting, [bf9dcac7045c0d2314df147ec2744a3ad886564b]
+
+### Features
++ Caching on github action, [a91c9aa45ffd5c998cd1b83d8e90d0912893c31f]
### Fixes
-+ disallow commands to be sent to a dockerised oxker container, closes #19, [160b8021b1de898064756b53c127d49b8096ce4d]
-+ if no container created time, use 0, instead of system_time(), [1adb61ce3b029d4fcf51961958d483b2fae8825a]
++ comment typo, [7899b773569fed86343a035d3023bf34297fdabb]
+
+### Refactors
++ remove_ansi() to single liner, [57c3a6c186b916faba24bf7b5cdbbda31d636a7e]
see CHANGELOG.md for more details
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 84d9c20..ac2d75b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,15 +1,18 @@
+# v0.1.10
+### 2022-12-25
+
### Chores
-+ dependencies updated, [1525b3150293015c0fb2f2161da463b21ac2694c], [8d539ab14809136d743c49d60779687fc8eeef6d], [1774217a8a657d261397d213e5ecee667cf3b6b1]
-+ Rust 1.66 linting, [bf9dcac7045c0d2314df147ec2744a3ad886564b]
++ dependencies updated, [1525b315](https://github.com/mrjackwills/oxker/commit/1525b3150293015c0fb2f2161da463b21ac2694c), [8d539ab1](https://github.com/mrjackwills/oxker/commit/8d539ab14809136d743c49d60779687fc8eeef6d), [1774217a](https://github.com/mrjackwills/oxker/commit/1774217a8a657d261397d213e5ecee667cf3b6b1)
++ Rust 1.66 linting, [bf9dcac7](https://github.com/mrjackwills/oxker/commit/bf9dcac7045c0d2314df147ec2744a3ad886564b)
### Features
-+ Caching on github action, [a91c9aa45ffd5c998cd1b83d8e90d0912893c31f]
++ Caching on github action, [a91c9aa4](https://github.com/mrjackwills/oxker/commit/a91c9aa45ffd5c998cd1b83d8e90d0912893c31f)
### Fixes
-+ comment typo, [7899b773569fed86343a035d3023bf34297fdabb]
++ comment typo, [7899b773](https://github.com/mrjackwills/oxker/commit/7899b773569fed86343a035d3023bf34297fdabb)
### Refactors
-+ remove_ansi() to single liner, [57c3a6c186b916faba24bf7b5cdbbda31d636a7e]
++ remove_ansi() to single liner, [57c3a6c1](https://github.com/mrjackwills/oxker/commit/57c3a6c186b916faba24bf7b5cdbbda31d636a7e)
# v0.1.9
### 2022-12-05
diff --git a/Cargo.toml b/Cargo.toml
index f81fb33..7c6aa3a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "oxker"
-version = "0.1.9"
+version = "0.1.10"
edition = "2021"
authors = ["Jack Wills "]
description = "A simple tui to view & control docker containers"
diff --git a/src/app_data/container_state.rs b/src/app_data/container_state.rs
index 96d7c50..de271c8 100644
--- a/src/app_data/container_state.rs
+++ b/src/app_data/container_state.rs
@@ -429,7 +429,7 @@ impl ContainerItem {
self.cpu_stats
.iter()
.enumerate()
- .map(|i| (i.0 as f64, i.1.0))
+ .map(|i| (i.0 as f64, i.1 .0))
.collect::>()
}
diff --git a/src/ui/color_match.rs b/src/ui/color_match.rs
index de0eeb6..d77a40e 100644
--- a/src/ui/color_match.rs
+++ b/src/ui/color_match.rs
@@ -41,7 +41,10 @@ pub mod log_sanitizer {
/// Remove all ansi formatting from a given string and create tui-rs spans
pub fn remove_ansi<'a>(input: &str) -> Vec> {
- raw(&categorise_text(input).into_iter().map(|i|i.text).collect::())
+ raw(&categorise_text(input)
+ .into_iter()
+ .map(|i| i.text)
+ .collect::())
}
/// create tui-rs spans that exactly match the given strings