codescout-analyzer 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/codescout +1 -0
- data/lib/codescout/repo_analyzer.rb +7 -1
- data/lib/codescout/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66d4315f7b39515515a52914606bd984b7c5f141
|
4
|
+
data.tar.gz: 256180e2442fd4dc4fffc58dff50147be2001232
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b30396cf17b0002da39dc3c2b4ae12acaa1923023d94666369eb8925ce7a6e3520f5b4a3c93e5e9de2262f1ee33c37f97bebbc39f3d5db39e1696e2d5b32ad20
|
7
|
+
data.tar.gz: 769a39e4c0c45d335f48bcab0490dcda1602ed0995df29515fe1b3590027d65736a3c8a3eeefe2af497e411fbaffc2efae547970a6debad583b3d6b0eb990216
|
data/bin/codescout
CHANGED
@@ -7,6 +7,9 @@ module Codescout
|
|
7
7
|
def initialize(path)
|
8
8
|
@base_path = File.expand_path(path)
|
9
9
|
@files = []
|
10
|
+
@codescout = {
|
11
|
+
version: Codescout::VERSION
|
12
|
+
}
|
10
13
|
end
|
11
14
|
|
12
15
|
def analyze
|
@@ -25,6 +28,7 @@ module Codescout
|
|
25
28
|
|
26
29
|
def result
|
27
30
|
{
|
31
|
+
codescout: @codescout,
|
28
32
|
file_stats: @file_stats,
|
29
33
|
flog: @flog,
|
30
34
|
flay: @flay,
|
@@ -87,7 +91,9 @@ module Codescout
|
|
87
91
|
end
|
88
92
|
|
89
93
|
def cleanup
|
90
|
-
%w(./rubocop.yml ./rubocop.json ./tmp/churn)
|
94
|
+
files = %w(./rubocop.yml ./rubocop.json ./tmp/churn ./brakeman.json)
|
95
|
+
|
96
|
+
files.each do |path|
|
91
97
|
FileUtils.rm_rf(path)
|
92
98
|
end
|
93
99
|
end
|
data/lib/codescout/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codescout-analyzer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Sosedoff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flog
|
@@ -172,4 +172,3 @@ signing_key:
|
|
172
172
|
specification_version: 4
|
173
173
|
summary: No description for now
|
174
174
|
test_files: []
|
175
|
-
has_rdoc:
|