slovom 0.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.2
3
+ - 1.9.3
4
+ - 2.0.0
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v. 0.3.0 - 1 March 2013
4
+
5
+ * Ruby 2.0 compatibility
6
+
3
7
  ## v. 0.2
4
8
 
5
9
  * OO refactoring, no user facing changes
@@ -0,0 +1,8 @@
1
+ ## Contributing to slovom
2
+
3
+ 1. Fork it
4
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
5
+ 3. Commit your changes (`git commit -am 'Added some feature'`)
6
+ 4. Make sure all tests pass!
7
+ 5. Push to the branch (`git push origin my-new-feature`)
8
+ 6. Create new Pull Request
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012 Svilen Vassilev
1
+ Copyright (c) 2013 Svilen Vassilev
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -4,8 +4,14 @@ A Ruby gem which converts decimal currency numbers into text in Bulgarian langua
4
4
 
5
5
  Handles the specifics of verbally presenting numbers and prices in Bulgarian, including grammatical irregularities, differences due to gender, singularity and plurality and the logic of using or omitting the "and" conjunction from the resulting string.
6
6
 
7
- [![Build Status](https://secure.travis-ci.org/tarakanbg/slovom.png)](http://travis-ci.org/tarakanbg/slovom)
8
- [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/tarakanbg/slovom)
7
+ [![Build Status](https://secure.travis-ci.org/tarakanbg/slovom.png?branch=master)](http://travis-ci.org/tarakanbg/slovom)
8
+ [![Gemnasium](https://gemnasium.com/tarakanbg/slovom.png?travis)](https://gemnasium.com/tarakanbg/slovom)
9
+ [![Gem Version](https://badge.fury.io/rb/slovom.png)](http://badge.fury.io/rb/slovom)
10
+ [![Code Climate](https://codeclimate.com/github/tarakanbg/slovom.png)](https://codeclimate.com/github/tarakanbg/slovom)
11
+
12
+ ## Requirements
13
+
14
+ [Ruby 1.9.3](http://www.ruby-lang.org/en/downloads/) or higher | **Supports Ruby 2.0!**
9
15
 
10
16
  ## Installation
11
17
 
@@ -43,22 +49,26 @@ product3.price.slovom => "седемдесет и пет стотинки"
43
49
  It parses numbers of up to 1 quadrillion (1000000000000000), as larger numbers are not likely to be used in financial transactions and hence no need to be expressed verbally. It returns the string "много" if higher number is used.
44
50
  Note the `.slovom` method is attached to the `BigDecimal` class, which is also used by default for decimals in Rails.
45
51
 
52
+ ## Changelog
53
+
54
+ [Read here](https://github.com/tarakanbg/slovom/blob/master/CHANGELOG.md)
55
+
46
56
  ## Contributing
47
57
 
48
58
  1. Fork it
49
59
  2. Create your feature branch (`git checkout -b my-new-feature`)
50
60
  3. Commit your changes (`git commit -am 'Added some feature'`)
51
- 4. Make sure all tests are passing!
61
+ 4. Make sure all tests pass!
52
62
  5. Push to the branch (`git push origin my-new-feature`)
53
63
  6. Create new Pull Request
54
64
 
55
- Copyright © 2012 [Svilen Vassilev](http://about.me/svilen)
65
+ ## Credits
56
66
 
57
- *If you find my work useful or time-saving, you can endorse it or buy me a beer:*
67
+ Copyright © 2013 [Svilen Vassilev](http://svilen.rubystudio.net)
58
68
 
59
- [![endorse](http://api.coderwall.com/svilenv/endorse.png)](http://coderwall.com/svilenv)
69
+ *If you find my work useful or time-saving, you can endorse it or buy me a cup of coffee:*
70
+
71
+ [![endorse](http://api.coderwall.com/svilenv/endorsecount.png)](http://coderwall.com/svilenv)
60
72
  [![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5FR7AQA4PLD8A)
61
73
 
62
74
  Released under the [MIT LICENSE](https://github.com/tarakanbg/slovom/blob/master/LICENSE)
63
-
64
-
@@ -1,3 +1,3 @@
1
1
  module Slovom
2
- VERSION = "0.2"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slovom
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-16 00:00:00.000000000 Z
12
+ date: 2013-03-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -56,6 +56,7 @@ files:
56
56
  - .rspec
57
57
  - .travis.yml
58
58
  - CHANGELOG.md
59
+ - CONTRIBUTING.md
59
60
  - Gemfile
60
61
  - LICENSE
61
62
  - README.md
@@ -86,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
87
  version: '0'
87
88
  requirements: []
88
89
  rubyforge_project:
89
- rubygems_version: 1.8.24
90
+ rubygems_version: 1.8.25
90
91
  signing_key:
91
92
  specification_version: 3
92
93
  summary: Converts decimal currency numbers into text in Bulgarian language