diff --git a/HISTORY.md b/HISTORY.md index fe4ebab..bc412c8 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -6,6 +6,9 @@ - ℹ️ - Information - ♻️ - Edited +## 0.2.3 - [09/04/2022] +- ♻️ - Password outdated date change to 3 month + ## 0.2.2 - [08/04/2022] - ➕ - Added check permissions for password file - ➕ - Added title by start program diff --git a/spec/spec_helper.cr b/spec/spec_helper.cr index 347599b..d707132 100644 --- a/spec/spec_helper.cr +++ b/spec/spec_helper.cr @@ -1,2 +1,2 @@ require "spec" -require "../src/passw0rd_manager" +require "../src/pmng" diff --git a/src/pmng.cr b/src/pmng.cr index 861e727..0ccfc17 100644 --- a/src/pmng.cr +++ b/src/pmng.cr @@ -136,7 +136,7 @@ while loop current_time = Time.local.to_unix a = [] of String passwords_array.each do |item| - if item.update + (2629743 * 2) < current_time # 2629743 * 2 -- 2 month + if item.update + (2629743 * 3) < current_time # 2629743 * 3 -- 3 month outdated_count += 1 a << item.url end @@ -158,7 +158,7 @@ while loop end if !item.login.blank? - # print "🏷️ " # Bug + # print "\u{1F3F7}\u{FE0F} " print "🗿 " puts item.login.colorize(:yellow) end