User input is converted to lowercase

This commit is contained in:
Alexander Popov 2023-04-14 21:50:32 +03:00
parent 8e01c4adb0
commit 45897a4f81
Signed by: iiiypuk
GPG Key ID: E47FE0AB36CD5ED6
4 changed files with 6 additions and 5 deletions

View File

@ -6,8 +6,9 @@
- - Information
- ♻️ - Edited
## 0.2.7 - [00/08/2022]
## 0.2.7 - [14/04/2023]
- - Added environment variable for custom input timeout
- ✔️ - User input is converted to lowercase
## 0.2.6 - [03/08/2022]
- - Added environment variable for custom password file path

View File

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

View File

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

View File

@ -94,7 +94,7 @@ module Pmng
passwords_finded_array = 0
passwords_array.each do |item|
if item.url.includes?(password_string.to_s)
if item.url.includes?(password_string.to_s.downcase)
Functions.show_item(item)
puts "-----".colorize(:dark_gray).mode(:bold)