kabal 0.1.0 → 0.1.1

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: c078ed5bdf068cd33cdc18e2a3d2f747fd7c6f53
4
- data.tar.gz: 7b20723cdde68a9d8a0a33cc5f930c0e9687edcc
3
+ metadata.gz: 6c28599c3888c66d7bc5a7228c266def08286499
4
+ data.tar.gz: 50ddd67683b05f70ff979f9bc72204d5eee884fc
5
5
  SHA512:
6
- metadata.gz: a4f6b4480ebccefda786d77b0e9fb015a0b7283b8df5245c758314269c9d9d4ae9737fc142b318da2b736d70dd9a5725de92176785910ac29732a718a0967631
7
- data.tar.gz: cec8bf534630fcd173a3262e482266be0707f8ee4aa51e92d607aaeda0bda876d1215cea1875df24a93601333a0dd39b168ae9cd789188715d1992ad2db5140b
6
+ metadata.gz: 50ec5fcc4a481425e6581e11c24bfec7c102381bcbf174a69de55dd42da285ecd6f9d8aefd838a02edb9afa9e59b35b91490f8e5ca73165fb3976d209ef47dc0
7
+ data.tar.gz: 599c1f036a6d2d6aa85e88c322fbb85c147894bf311a897ee96f3649fa3ae9ab00f552044bf57b12217fbb0320ccb31ec003f33c831a77687a3ea1aa3a3560f7
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  # Kabal
2
2
 
3
- [![Build Status](https://travis-ci.org/kalashnikovisme/kabal.svg?branch=master)](https://travis-ci.org/kalashnikovisme/kabal)[![Coverage Status](https://coveralls.io/repos/kalashnikovisme/kabal/badge.png)](https://coveralls.io/r/kalashnikovisme/kabal)
3
+ [![Build Status](https://travis-ci.org/kalashnikovisme/kabal.svg?branch=master)](https://travis-ci.org/kalashnikovisme/kabal)
4
+ [![Coverage Status](https://coveralls.io/repos/kalashnikovisme/kabal/badge.png?branch=master)](https://coveralls.io/r/kalashnikovisme/kabal?branch=master)
4
5
 
5
- TODO: Write a gem description
6
+ Kabal allows you to translate number into text.
6
7
 
7
8
  ## Installation
8
9
 
@@ -1,10 +1,12 @@
1
- class Kabal::Language
2
- def lang
3
- languages = YAML.load_file('yaml/languages.yml')
4
- @lang = languages[self.to_s.split(":")[-2]]
5
- end
1
+ module Kabal
2
+ class Language
3
+ def lang
4
+ languages = YAML.load_file('yaml/languages.yml')
5
+ @lang = languages[self.to_s.split(":")[-2]]
6
+ end
6
7
 
7
- def names
8
- YAML.load_file("yaml/languages/#{lang}.yml")
8
+ def names
9
+ YAML.load_file("yaml/languages/#{lang}.yml")
10
+ end
9
11
  end
10
12
  end
@@ -1,4 +1,6 @@
1
- module Kabal::SupportedLanguages
2
- #FIXME add autoload
3
- require 'kabal/languages/russian'
1
+ module Kabal
2
+ module SupportedLanguages
3
+ #FIXME add autoload
4
+ require 'kabal/languages/russian'
5
+ end
4
6
  end
data/lib/kabal/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kabal
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
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.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - pavel