bauditor 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -0
- data/lib/bauditor/cli.rb +1 -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: 1f4f0ce9c0e5f448b630a2f56245013210cfd16b
|
|
4
|
+
data.tar.gz: 48a4cfbdb77bb35b9f58988c08e39c954c817296
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5cef103a53dbbdcd147d162711dcdf563cd4c3b4008a9147d17647486413b5a9ec85ee91413fb37bb4aa6a2c14d0dc75999c96d070aa613a4be94e298970a9dd
|
|
7
|
+
data.tar.gz: 9c3b9714475c19961f16225607f4d7088186e7058c4de8fb9cb71b96b068fb93bcce1040e6101e1ea0b8e42bfbd841975fda34d3095d2f0d97d5e877fd911d86
|
data/README.md
CHANGED
|
@@ -102,6 +102,11 @@ ____________________________________________
|
|
|
102
102
|
|
|
103
103
|
```
|
|
104
104
|
|
|
105
|
+
## TODO
|
|
106
|
+
|
|
107
|
+
* option to set the `repo_path` instead of just `/tmp/bauditor`
|
|
108
|
+
* option to persist the repositories between runs and just do a `git pull` to speed things up a lot
|
|
109
|
+
|
|
105
110
|
## Development
|
|
106
111
|
|
|
107
112
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/lib/bauditor/cli.rb
CHANGED
|
@@ -52,10 +52,9 @@ module Bauditor
|
|
|
52
52
|
say "[BAUDITOR] fetching and auditing #{name}", :yellow
|
|
53
53
|
hr
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
`git clone #{repo} --branch master --single-branch #{name}`
|
|
56
56
|
unless $?.success?
|
|
57
57
|
say "[BAUDITOR] error fetching git repo #{name}", :red
|
|
58
|
-
puts git
|
|
59
58
|
next
|
|
60
59
|
end
|
|
61
60
|
|
data/lib/bauditor/version.rb
CHANGED