diff --git a/HISTORY.md b/HISTORY.md index b291c2d..3ba6042 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -6,6 +6,9 @@ - ℹ️ - Information - ♻️ - Edited +## 0.2.2 - [08/04/2022] +- ♻️ - Fixed URL color & style output + ## 0.2.1 - [14/03/2022] - ➕ - prompt '>' set color green - ♻️ - change default pwd path to '$HOME/.pwd.yml' diff --git a/README.md b/README.md index 9943303..3bf524a 100644 --- a/README.md +++ b/README.md @@ -1 +1,2 @@ # pmng +The very simple password manager for humans diff --git a/shard.yml b/shard.yml index 8b98be4..074ace1 100644 --- a/shard.yml +++ b/shard.yml @@ -1,5 +1,5 @@ name: pmng -version: 0.2.1 +version: 0.2.2 authors: - Alexander Popov @@ -13,6 +13,6 @@ development_dependencies: github: crystal-ameba/ameba version: ~> 0.14.0 -crystal: 1.2.2 +crystal: 1.3.2 license: MIT diff --git a/src/pmng.cr b/src/pmng.cr index ca7e75a..20f5aaf 100644 --- a/src/pmng.cr +++ b/src/pmng.cr @@ -22,7 +22,7 @@ class Password property update : Int32 end -VERSION = "0.2.1" +VERSION = "0.2.2" # program options begin @@ -83,8 +83,8 @@ end loop = true while loop # shell prompt - print "Enter URL (or :q for exit)\n" - print "> ".colorize(:green) + print "Enter URL (or :q for exit)\n".colorize(:white).mode(:bold) + print "> ".colorize(:green).mode(:bold) password_string = gets # if ':q' to close program @@ -120,7 +120,7 @@ while loop else passwords_array.each do |item| if item.url.includes?(password_string.to_s) - puts item.url.colorize(:magenta).mode(:blink) + puts item.url.colorize(:magenta).mode(:bold).mode(:underline) if !item.email.blank? puts item.email.colorize(:red) @@ -138,7 +138,7 @@ while loop puts item.profile_url.colorize(:green) end - puts "---".colorize(:dark_gray) + puts "-----".colorize(:dark_gray).mode(:bold) end end end