Compare commits

..

No commits in common. "7d200ec42349eda9c980874a1135af7b8e2105ad" and "0a5f51ff8f50efa8dbfd9bb3b6be91f8ccfe33e1" have entirely different histories.

4 changed files with 2 additions and 17 deletions

View File

@ -6,9 +6,6 @@
- - Information
- ♻️ - Edited
## 0.2.6 - [03/08/2022]
- - Added enviopment variable for custom password path
## 0.2.5 - [31/07/2022]
- - Added timeout user input
- ♻️ - Source file separated

View File

@ -1,5 +1,5 @@
name: pmng
version: 0.2.6
version: 0.2.5
authors:
- Alexander Popov <iiiypuk@iiiypuk.me>

View File

@ -1,13 +1,3 @@
def password_file
begin
file_path = "#{ENV["PMNG_PWD_FILE"]}"
file_path.to_s
rescue KeyError
file_path = "#{ENV["HOME"]}/.pwd.yml"
file_path.to_s
end
end
VERSION = {{ `shards version "#{__DIR__}"`.chomp.stringify }}
PASSWORD_FILE_PATH = password_file()
PASSWORD_FILE_PATH = "#{ENV["HOME"]}/.pwd.yml"
USER_INPUT_TIMEOUT = 60

View File

@ -1,6 +1,4 @@
module Pmng::Functions
extend self
class Statistics
getter passwords : Array(Password)
getter outdated : Int32