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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5bbd279690398513403dcaf2e61d8daddb1f5c1
4
- data.tar.gz: 6367488ffea5bb24d9a0e520bf351cb15e443f43
3
+ metadata.gz: 66d4315f7b39515515a52914606bd984b7c5f141
4
+ data.tar.gz: 256180e2442fd4dc4fffc58dff50147be2001232
5
5
  SHA512:
6
- metadata.gz: f5f14e83d2232dabeb25f7a1674bf7957d7400fcf2c2ddccd5406548c72e565c46491ee0595d07311d6a20c74002e7ee04443cdd81000a350f53282bff637ee0
7
- data.tar.gz: dda279f1a4b9b7c76f28207d6f78d5df104bbf4338e18b8afa48544f7dac937eb718b187562228628fa5c95048c96daac0dd024f5661068f2620a4d9401f127c
6
+ metadata.gz: b30396cf17b0002da39dc3c2b4ae12acaa1923023d94666369eb8925ce7a6e3520f5b4a3c93e5e9de2262f1ee33c37f97bebbc39f3d5db39e1696e2d5b32ad20
7
+ data.tar.gz: 769a39e4c0c45d335f48bcab0490dcda1602ed0995df29515fe1b3590027d65736a3c8a3eeefe2af497e411fbaffc2efae547970a6debad583b3d6b0eb990216
data/bin/codescout CHANGED
@@ -12,6 +12,7 @@ if path.empty?
12
12
  exit 1
13
13
  end
14
14
 
15
+ require "codescout/version"
15
16
  require "codescout/repo_analyzer"
16
17
  require "codescout/source_file"
17
18
  require "codescout/flog_stats"
@@ -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).each do |path|
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
@@ -1,3 +1,3 @@
1
1
  module Codescout
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
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.3
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-09-30 00:00:00.000000000 Z
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: