codescout-analyzer 0.0.1 → 0.0.2
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/rubocop_stats.rb +4 -1
- data/lib/codescout/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a6d126d6eb7377c77080ca471e26bf039c4072e
|
4
|
+
data.tar.gz: e5d3ddfd3749840cb5ed4b3b21dc5526e55bed82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: beb441c0c9e402a9344483288e678878536f66e423cb71b5ba188d90ed0bf9f61c3d9b4163e8857b6e637c71b0be300d60a7ca5d5a2707085cbb990c3a3b3459
|
7
|
+
data.tar.gz: 56f32c635fbb07bb38cb7f48e515e0a5e33385482febd7720c4afe66a463b99f1fdcec2a98720b11c458c77808ee57c488a33986f2070d8d4d7a17def2b6f081
|
data/bin/codescout
CHANGED
@@ -10,7 +10,10 @@ module Codescout
|
|
10
10
|
|
11
11
|
`rubocop -c rubocop.yml -f json -o rubocop.json`
|
12
12
|
|
13
|
-
|
13
|
+
report = File.read("rubocop.json")
|
14
|
+
return if report.empty?
|
15
|
+
|
16
|
+
json = JSON.load(report)
|
14
17
|
|
15
18
|
json["files"].each do |file|
|
16
19
|
next unless @analyzer.files.include?(file["path"])
|
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.2
|
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-09-
|
11
|
+
date: 2014-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flog
|