ruby-watchr 0.1.5 → 0.1.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/watchr/rating.rb CHANGED
@@ -5,7 +5,7 @@ module Watchr
5
5
  def rating
6
6
  total = smells.reduce(0) {|total, smell| total += rate(smell)}
7
7
 
8
- [250, 180, 120, 70, 30, 0].each_with_index do |limit, i|
8
+ [200, 140, 90, 50, 20, 0].each_with_index do |limit, i|
9
9
  return %w(F E D C B A)[i] if total >= limit
10
10
  end
11
11
  end
@@ -1,3 +1,3 @@
1
1
  module Watchr
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.5.1"
3
3
  end
metadata CHANGED
@@ -6,7 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 1
8
8
  - 5
9
- version: 0.1.5
9
+ - 1
10
+ version: 0.1.5.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Petr Janda