bauditor 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bauditor/cli.rb +4 -2
- data/lib/bauditor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 569e1c31da771fbbe8da20df3f68fc15e2c0822b
|
4
|
+
data.tar.gz: 6f63793b3521602932ff2a6df3f177768f7fb4cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1052e617fd8d32748bf99cd5403b6f4b731b5fde595db223002be3fd4fb99ff83c843935aa0d76ea499c7a7eb511a7e777ba05538be96e1eae0924252c71598f
|
7
|
+
data.tar.gz: fb0dd540f76a51c187e691dcbefb1bc2287e2604423fed0218857f6ae3a4c04d31ec2696e329acd35031a9b8fc5fc0fb72f2bdd20a045793b3bc1433ee258620
|
data/lib/bauditor/cli.rb
CHANGED
@@ -17,11 +17,12 @@ module Bauditor
|
|
17
17
|
exit 1
|
18
18
|
end
|
19
19
|
|
20
|
+
setup_dirs
|
21
|
+
Dir.chdir repo_path
|
22
|
+
|
20
23
|
update_db
|
21
24
|
set_repos
|
22
25
|
|
23
|
-
setup_dirs
|
24
|
-
|
25
26
|
self.summary = {}
|
26
27
|
audit_repos
|
27
28
|
|
@@ -91,6 +92,7 @@ module Bauditor
|
|
91
92
|
def setup_dirs
|
92
93
|
unless File.exist?(repo_path)
|
93
94
|
Dir.mkdir(repo_path)
|
95
|
+
Dir.mkdir(File.join(repo_path, '.bundle'))
|
94
96
|
@dir_created = true
|
95
97
|
end
|
96
98
|
end
|
data/lib/bauditor/version.rb
CHANGED