rubix 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/rubix/models/medium.rb +10 -10
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.0
1
+ 0.5.1
@@ -3,19 +3,19 @@ module Rubix
3
3
  class Medium < Model
4
4
 
5
5
  # Numeric codes that correspond to accepting triggers that are any
6
- # priority less than or equal to that listed. More fine grained
7
- # control is possible, i.e. - accepting :not_classified and
8
- # :wanring triggers but rejejcting :information triggers. In the
9
- # interests of simplicity, we avoid exposing that degree of
6
+ # priority greater than or equal to that listed. More fine
7
+ # grained control is possible, i.e. - accepting :not_classified
8
+ # and :warning triggers but rejecting :information triggers. In
9
+ # the interests of simplicity, we avoid exposing that degree of
10
10
  # freedom here.
11
11
  PRIORITY_CODES = {
12
12
  :none => 0,
13
- :not_classified => 1,
14
- :information => 3,
15
- :warning => 7,
16
- :average => 15,
17
- :high => 31,
18
- :disaster => 63,
13
+ :not_classified => 63,
14
+ :information => 62,
15
+ :warning => 60,
16
+ :average => 56,
17
+ :high => 48,
18
+ :disaster => 32,
19
19
  :all => 63,
20
20
  nil => 63
21
21
  }.freeze
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 0
9
- version: 0.5.0
8
+ - 1
9
+ version: 0.5.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Dhruv Bansal