NO_COLOR info

This commit is contained in:
Alexander Popov 2022-07-26 19:16:42 +03:00
parent a1bc755181
commit aea5284279
Signed by: iiiypuk
GPG Key ID: D8C9B59A9F04A70C
5 changed files with 17 additions and 8 deletions

View File

@ -6,7 +6,9 @@
- - Information - - Information
- ♻️ - Edited - ♻️ - Edited
## 0.2.4 - [Current develop] ## 0.2.4 - [26/07/2022]
- - Added hint for fix file permissions error.
- - Crystal version raise to 1.5.0 for NO_COLOR support
- ✔️ - Fixed output finding records for all queryes - ✔️ - Fixed output finding records for all queryes
- ✔️ - Fixed check password file name info - ✔️ - Fixed check password file name info

View File

@ -1,12 +1,16 @@
# 🔑 The very simple password manager for humans # The very simple password manager for humans
![pmng](./.docs/logo.png) ![pmng](./.docs/logo.png)
# 📷 Screenshots ![License](https://img.shields.io/badge/license-public_domain-brightgreen?style=for-the-badge&color=ffcc68)
![NO_COLOR](https://img.shields.io/badge/no__color-support-brightgreen?style=for-the-badge&color=d44e52)
![Emojy](https://img.shields.io/badge/emojy-like-brightgreen?style=for-the-badge&color=ec8a4b)
# Screenshots
![Passwords](./.docs/passwords.png) ![Passwords](./.docs/passwords.png)
# 💾 Download # Download
**Coming soon** **Coming soon**

View File

@ -2,5 +2,5 @@ version: 2.0
shards: shards:
ameba: ameba:
git: https://github.com/crystal-ameba/ameba.git git: https://github.com/crystal-ameba/ameba.git
version: 0.14.3 version: 1.0.0

View File

@ -11,8 +11,8 @@ targets:
development_dependencies: development_dependencies:
ameba: ameba:
github: crystal-ameba/ameba github: crystal-ameba/ameba
version: ~> 0.14.0 version: ~> 1.0.0
crystal: 1.3.2 crystal: 1.5.0
license: MIT license: MIT

View File

@ -22,7 +22,7 @@ class Password
property update : Int32 property update : Int32
end end
VERSION = "0.2.4b" VERSION = "0.2.4"
PASSWORD_FILE_PATH = "#{ENV["HOME"]}/.pwd.yml" PASSWORD_FILE_PATH = "#{ENV["HOME"]}/.pwd.yml"
ASCII_LOGO = " ASCII_LOGO = "
@ -87,6 +87,9 @@ password_file_permissions = File.info(PASSWORD_FILE_PATH).permissions.to_s
if /\d{3}/.match(password_file_permissions).try &.[0] != "600" if /\d{3}/.match(password_file_permissions).try &.[0] != "600"
puts "Password file permissions is not RW for you.".colorize(:red) puts "Password file permissions is not RW for you.".colorize(:red)
print "Execute: ".colorize(:yellow)
print "(chmod 600 ~/.pwd.yml) ".colorize(:green).mode(:bold)
puts "for fix.".colorize(:yellow)
exit(1) exit(1)
end end