parayaz 1.0.0 → 1.0.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: 8ad1844d8747b79c197aac93184957d9e21df0bb
4
- data.tar.gz: be78d1e3ad9c6836b2e873024710be1141a8402b
3
+ metadata.gz: 1b401faef3d5e48ece97e8befbad13e587fe66f1
4
+ data.tar.gz: 799d00dfb2b07b963d31900311ba09a653b62465
5
5
  SHA512:
6
- metadata.gz: 56b0a1fd7ad0be96997e4be5fdaa2dbab2266db8b6d409c73bca98548b4126bb2b3f0abaf13a7231ebec56930f9da4f8208a009cef867db21a8b61c55a272994
7
- data.tar.gz: dcd6ad4845f1d233daf508a0d2ec6c84d89c47f372491381314d792c07c6c0cf60036b3a56b60f9bfe565911b988b15c223061adb196cdf72cf8130d72a54dde
6
+ metadata.gz: d188cbd9991103b2630b12c016eace656872c01271eb1666114bbdcf08a29e82b55f0569bc6d85e8baaa60db655e5fd4150abff453dc14c834f53fbe0b2d2405
7
+ data.tar.gz: 633dfb8cafbe85d564eb271a7627874b84c2d27488ac3fc291d69b550c6ca35f08402be8f31190d2395f3bd766dd9e2160f7fe129d29355b7dd627ee4433f8d9
data/CHANGELOG.md CHANGED
@@ -1,7 +1,9 @@
1
1
 
2
2
  #### [Current]
3
3
 
4
- ####
4
+
5
+ #### 1.0.0
6
+ * [7c6ca13](../../commit/7c6ca13) - __(Muhammet Dilek)__ bump version 1.0.0
5
7
  * [f3e609f](../../commit/f3e609f) - __(Muhammet Dilek)__ dot added to text
6
8
  * [767d851](../../commit/767d851) - __(Muhammet Dilek)__ cents fixed
7
9
  * [894aaef](../../commit/894aaef) - __(Muhammet Dilek)__ licence added and readme fixed
data/README.md CHANGED
@@ -39,10 +39,10 @@ Or install it yourself as:
39
39
 
40
40
  ![lab2023](http://lab2023.com/assets/images/named-logo.png)
41
41
 
42
- - BinChecker is maintained and funded by [lab2023 - information technologies](http://lab2023.com/)
43
- - Thank you to all the [contributors!](https://github.com/kebab-project/kangal/graphs/contributors)
42
+ - Parayaz is maintained and funded by [lab2023 - information technologies](http://lab2023.com/)
43
+ - Thank you to all the [contributors!](https://github.com/lab2023/parayaz/graphs/contributors)
44
44
  - The names and logos for lab2023 are trademarks of lab2023, inc.
45
45
 
46
46
  ## License
47
47
 
48
- Copyright 2014 lab2023 - information technologies
48
+ Copyright 2014 lab2023 - information technologies
@@ -1,3 +1,3 @@
1
1
  module Parayaz
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
data/lib/parayaz.rb CHANGED
@@ -7,7 +7,7 @@ module Parayaz
7
7
  price, cents = number.to_s.split('.')
8
8
 
9
9
  text = convert_to_text(price) + 'TL'
10
- if cents
10
+ if cents && cents.to_i > 0
11
11
  if cents.size == 1
12
12
  cents = (cents.to_i * 10).to_s
13
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parayaz
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - lab2023
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  requirements: []
92
92
  rubyforge_project:
93
- rubygems_version: 2.4.1
93
+ rubygems_version: 2.2.2
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: Turkish number to text money