Compare commits
2 Commits
0a5f51ff8f
...
7d200ec423
Author | SHA1 | Date | |
---|---|---|---|
7d200ec423 | |||
0ce3e506bb |
@ -6,6 +6,9 @@
|
|||||||
- ℹ️ - Information
|
- ℹ️ - Information
|
||||||
- ♻️ - Edited
|
- ♻️ - Edited
|
||||||
|
|
||||||
|
## 0.2.6 - [03/08/2022]
|
||||||
|
- ➕ - Added enviopment variable for custom password path
|
||||||
|
|
||||||
## 0.2.5 - [31/07/2022]
|
## 0.2.5 - [31/07/2022]
|
||||||
- ➕ - Added timeout user input
|
- ➕ - Added timeout user input
|
||||||
- ♻️ - Source file separated
|
- ♻️ - Source file separated
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: pmng
|
name: pmng
|
||||||
version: 0.2.5
|
version: 0.2.6
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- Alexander Popov <iiiypuk@iiiypuk.me>
|
- Alexander Popov <iiiypuk@iiiypuk.me>
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
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 }}
|
VERSION = {{ `shards version "#{__DIR__}"`.chomp.stringify }}
|
||||||
PASSWORD_FILE_PATH = "#{ENV["HOME"]}/.pwd.yml"
|
PASSWORD_FILE_PATH = password_file()
|
||||||
USER_INPUT_TIMEOUT = 60
|
USER_INPUT_TIMEOUT = 60
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
module Pmng::Functions
|
module Pmng::Functions
|
||||||
|
extend self
|
||||||
|
|
||||||
class Statistics
|
class Statistics
|
||||||
getter passwords : Array(Password)
|
getter passwords : Array(Password)
|
||||||
getter outdated : Int32
|
getter outdated : Int32
|
||||||
|
Loading…
Reference in New Issue
Block a user