kabal 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kabal/languages/language.rb +2 -2
- data/lib/kabal/version.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: 49a2416f6d88f6923ab4bb4e4c66178fa58f11c1
|
4
|
+
data.tar.gz: 77ac1afa36bbaabcc9bce5bfbe9571a5a055ff9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 451d0fb5e9601b3a39e99a16816fe3744887235f191b541564c6e9e0a7d678d42dc638932092b8142659c440ace2429b35906e7c10fc960a98a93508d2f1ab63
|
7
|
+
data.tar.gz: da1d9b7ee4a08534f0013494900cc60ccbd6f77afe69dcbe832a4b4feb46805f5cde07b12ed524a742f5aee4d2cef2d9d55a7a4669661c5085540da2dc73acc8
|
@@ -72,10 +72,10 @@ module Kabal
|
|
72
72
|
|
73
73
|
def check_supports_for(number)
|
74
74
|
if number % 1 != 0 and not supports_fractional?
|
75
|
-
raise NoSupportForFractionalNumberOnCurrentLanguages.message
|
75
|
+
raise Kabal::Errors::NoSupportForFractionalNumberOnCurrentLanguages.message
|
76
76
|
end
|
77
77
|
if number >= max_value or number <= min_value
|
78
|
-
raise NumberOutRangeError.message
|
78
|
+
raise Kabal::Errors::NumberOutRangeError.message
|
79
79
|
end
|
80
80
|
end
|
81
81
|
end
|
data/lib/kabal/version.rb
CHANGED