ruby-watchr 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/watchr/rating.rb CHANGED
@@ -18,7 +18,7 @@ module Watchr
18
18
  VERY_COMPLEX_METHOD,
19
19
  COMPLEX_OBJECT,
20
20
  VERY_COMPLEX_OBJECT
21
- smell.options.total_score
21
+ smell.options.score
22
22
 
23
23
  when IDENTICAL_CODE,
24
24
  SIMILAR_CODE
@@ -1,3 +1,3 @@
1
1
  module Watchr
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -6,7 +6,7 @@ describe Watchr::Rating do
6
6
  let(:complexity_smell) {
7
7
  stub('smell',
8
8
  :type => Watchr::SmellTypes::COMPLEX_METHOD,
9
- :options => stub(:total_score => 29.3))
9
+ :options => stub(:score => 29.3))
10
10
  }
11
11
 
12
12
  let(:duplication_smell) {
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Petr Janda