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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 662c148a1cc27174a1c7afc1a4f1869e2688ebb1
4
- data.tar.gz: 330db67c3a514fb654b0ebb25400bdd59e4bc707
3
+ metadata.gz: d28a23b9df3d9bab99f1e29aa39421d97308bb59
4
+ data.tar.gz: 09de7b299034fc55883df75aaae3925c30d3be39
5
5
  SHA512:
6
- metadata.gz: 9a9fee1576306d327e56e1778c0a25da0c755328cac071d60b5b99296e7da45bd229a31e642f4a6761c9f34a62f6e0c8c57ec4777fccdb5114fd221bc361ffa8
7
- data.tar.gz: 3901d4836dc35acc690e88123ea23c4f27218f0c4bca77d6a3342a06ccf6381987e408a38f65af4a02dc2c18d3c54d76339ef4aba70d29fb25ebdc371577bef7
6
+ metadata.gz: 95600c2862d68496e9e31f6bfd8f95dee95548797aa14e4fd60fc402e26b0b2883d6309415a506858ece13a1d4eb4a2c41e82ca9ed94a1e58ed1283ef4affd82
7
+ data.tar.gz: 3a7e32acd2221c4fe80a82274f5d2af085adb3472e402204c9d4ef2667b8013fe68daecf70bdbc889e377173df5406cf68a20fb12b6494825d2067b3fb95d2f6
data/lib/kabal.rb CHANGED
@@ -6,8 +6,8 @@ require 'yaml'
6
6
 
7
7
  module Kabal
8
8
  include SupportedLanguages
9
- include Errors
10
9
  include Config
10
+ include Errors
11
11
 
12
12
  def to_text(number)
13
13
  to_text_in_language number, current_language
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Kabal
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kabal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov