kabal 0.2.6 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e2dd9a79a9a823db6f89ac8532a88ddd222387c8
4
- data.tar.gz: c84c13e63f9e24164fb7e44a00a019fa48dd26e3
3
+ metadata.gz: da9e2098075cea45e8667a231c07df21d209d7cf
4
+ data.tar.gz: 0758183851443de98ed79ef741a3b5dfac40e74b
5
5
  SHA512:
6
- metadata.gz: 7c6c19ff0fabd60bff4f34809944e628af677bdb364f597893e0725ac4decac9e7a5d10e726a86d6783f53881b862c9c4c7b8d29f164b481436bd65d1e4da8ad
7
- data.tar.gz: 4575498ad0578e2f4bc8e920f9583a292b791322702ae3d84d066c1e6932311a4aac15a13eb37c18c651344e9218bd0787aa965f990a1802daf6eb053a478b9d
6
+ metadata.gz: f69be927bd8ad869a091732ebb715f78a99eb0a4038dee70b501516957fbb1bfcdd4b2fd63af7eba92d3bbaab00b0074116eb5b4782f4c63f9f4112bcafdb97c
7
+ data.tar.gz: ebc74c9be6e71da55218ad08737c863c5113a1867f523e73039b1c0095d63eb517811998b5f69709d99bc5a4c10106c04ca79a1c7b138d78fa3f528f39cd0756
data/README.md CHANGED
@@ -42,11 +42,11 @@ You can choose language to "converting".
42
42
  Supported Languages:
43
43
 
44
44
  * Russian
45
- * Natural Numbers
45
+ * Natural Numbers { max: 10 ** 100 }
46
46
  * Fractional Numbers
47
47
  * Negative Numbers
48
48
  * English
49
- * Natural Numbers
49
+ * Natural Numbers { max 10 ** 63 }
50
50
 
51
51
  *More languages will be added later.*
52
52
 
@@ -1,5 +1,9 @@
1
- class Kabal::Errors::NoLanguageSupportError < StandardError
2
- def self.message
3
- "There is no support of such language yet"
1
+ module Kabal
2
+ module Errors
3
+ class NoLanguageSupportError < StandardError
4
+ def self.message
5
+ "There is no support of such language yet"
6
+ end
7
+ end
4
8
  end
5
9
  end
@@ -1,5 +1,9 @@
1
- class Kabal::Errors::NoSupportForFractionalNumberOnCurrentLanguages < StandardError
2
- def self.message
3
- "Current language doesn't support fractional numbers"
1
+ module Kabal
2
+ module Errors
3
+ class NoSupportForFractionalNumberOnCurrentLanguages < StandardError
4
+ def self.message
5
+ "Current language doesn't support fractional numbers"
6
+ end
7
+ end
4
8
  end
5
9
  end
@@ -1,5 +1,9 @@
1
- class Kabal::Errors::NumberOutRangeError < StandardError
2
- def self.message
3
- "Number is out of the range for current language"
1
+ module Kabal
2
+ module Errors
3
+ class NumberOutRangeError < StandardError
4
+ def self.message
5
+ "Number is out of the range for current language"
6
+ end
7
+ end
4
8
  end
5
9
  end
data/lib/kabal/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kabal
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kabal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-18 00:00:00.000000000 Z
11
+ date: 2014-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler