kabal 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kabal.rb +1 -1
- data/lib/kabal/errors/error.rb +3 -1
- 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: d28a23b9df3d9bab99f1e29aa39421d97308bb59
|
4
|
+
data.tar.gz: 09de7b299034fc55883df75aaae3925c30d3be39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95600c2862d68496e9e31f6bfd8f95dee95548797aa14e4fd60fc402e26b0b2883d6309415a506858ece13a1d4eb4a2c41e82ca9ed94a1e58ed1283ef4affd82
|
7
|
+
data.tar.gz: 3a7e32acd2221c4fe80a82274f5d2af085adb3472e402204c9d4ef2667b8013fe68daecf70bdbc889e377173df5406cf68a20fb12b6494825d2067b3fb95d2f6
|
data/lib/kabal.rb
CHANGED
data/lib/kabal/errors/error.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require "kabal/config"
|
2
|
+
|
1
3
|
module Kabal
|
2
4
|
module Errors
|
3
5
|
class Error < StandardError
|
@@ -5,7 +7,7 @@ module Kabal
|
|
5
7
|
@code = "Unknown error code"
|
6
8
|
|
7
9
|
def self.message
|
8
|
-
errors = YamlLoader.yaml_object "errors"
|
10
|
+
errors = Kabal::Config::YamlLoader.yaml_object "errors"
|
9
11
|
errors["errors"]["messages"][@code]
|
10
12
|
end
|
11
13
|
end
|
data/lib/kabal/version.rb
CHANGED