ruby-watchr 0.1.5.1 → 0.1.5.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/watchr/rating.rb CHANGED
@@ -16,11 +16,11 @@ module Watchr
16
16
  case smell.type
17
17
  when COMPLEX_METHOD,
18
18
  VERY_COMPLEX_METHOD
19
- 0.4 * smell.options[:score]
19
+ 0.45 * smell.options[:score]
20
20
 
21
21
  when COMPLEX_OBJECT,
22
22
  VERY_COMPLEX_OBJECT
23
- 0.6 * smell.options[:score]
23
+ 0.65 * smell.options[:score]
24
24
 
25
25
  when IDENTICAL_CODE,
26
26
  SIMILAR_CODE
@@ -1,3 +1,3 @@
1
1
  module Watchr
2
- VERSION = "0.1.5.1"
2
+ VERSION = "0.1.5.2"
3
3
  end
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 1
8
8
  - 5
9
- - 1
10
- version: 0.1.5.1
9
+ - 2
10
+ version: 0.1.5.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Petr Janda