rbbt-util 5.25.52 → 5.25.53
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/util/config.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a61bc864892e42a78f9934251d00fc6fc10ee3d5
|
4
|
+
data.tar.gz: b838609e812549460a4dcbe369666e06e7d27f9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 790dd5625f1f06dbfe56d46cd74cd7170cb7c7d6e96d97f17ae83b2e01af3702210cd8021e0121b4fc81dbd4f9818c45e971718852c5e8a6b85674bd1c34616b
|
7
|
+
data.tar.gz: 2df47f42b6f238a89a47922350a9da2c8a92843f1a0b57a7862fe63b7227efd83e08f57df71fb0b2fdb7a5715461311e60c608e44425418c87ef50afd45560c0
|
data/lib/rbbt/util/config.rb
CHANGED
@@ -110,7 +110,7 @@ module Rbbt::Config
|
|
110
110
|
end
|
111
111
|
end
|
112
112
|
|
113
|
-
value = priorities.empty? ? default : priorities.collect{|p| p }.
|
113
|
+
value = priorities.empty? ? default : priorities.collect{|p| p }.sort_by{|p,v| p}.first.last.last
|
114
114
|
value = false if value == 'false'
|
115
115
|
|
116
116
|
Log.debug "Value #{value.inspect} for config key '#{ key }': #{tokens * ", "}"
|