ruby-watchr 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/watchr/analysers/flog.rb +1 -1
- data/lib/watchr/version.rb +1 -1
- data/spec/watchr/analysers/flog_spec.rb +1 -1
- metadata +3 -3
@@ -43,7 +43,7 @@ module Watchr
|
|
43
43
|
smell_type(score, type), target.name, "complexity = #{score}"
|
44
44
|
)
|
45
45
|
|
46
|
-
builder.add_location(target.location.file, target.location.line)
|
46
|
+
builder.add_location(target.location.file, target.location.line) if target.location
|
47
47
|
builder.add_details({ :complexity => score })
|
48
48
|
|
49
49
|
add_smell(builder.smell)
|
data/lib/watchr/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 4
|
9
|
+
version: 0.3.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Petr Janda
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2012-08-
|
17
|
+
date: 2012-08-13 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|