using ameba

This commit is contained in:
Alexander Popov 2022-01-04 00:30:41 +03:00
parent 5d7fca4096
commit fbe8c494ec
6 changed files with 15 additions and 19 deletions

3
.gitignore vendored
View File

@ -4,7 +4,4 @@
/.shards/ /.shards/
*.dwarf *.dwarf
/src/views/
data.json
pwd.yml pwd.yml

View File

@ -1 +1 @@
# passw0rd_manager # pmng

View File

@ -1,2 +1,6 @@
version: 2.0 version: 2.0
shards: {} shards:
ameba:
git: https://github.com/crystal-ameba/ameba.git
version: 0.14.3

View File

@ -1,14 +1,17 @@
name: passw0rd_manager name: pmng
version: 0.1.0 version: 0.1.0
authors: authors:
- Alexander Popov <iiiypuk@iiiypuk.me> - Alexander Popov <iiiypuk@iiiypuk.me>
targets: targets:
passw0rd_manager: pmng:
main: src/passw0rd_manager.cr main: src/pmng.cr
dependencies: development_dependencies:
ameba:
github: crystal-ameba/ameba
version: ~> 0.14.0
crystal: 1.2.2 crystal: 1.2.2

View File

@ -1,9 +0,0 @@
require "./spec_helper"
describe Passw0rdManager do
# TODO: Write tests
it "works" do
false.should eq(true)
end
end

View File

@ -67,7 +67,8 @@ while count < yaml.size
count += 1 count += 1
end end
while true loop = true
while loop
print "Enter URL (or :q for exit)\n> " print "Enter URL (or :q for exit)\n> "
password_string = gets password_string = gets