number_to_words_ru 0.3.0.1 → 0.3.1

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.
data/README.rdoc CHANGED
@@ -60,7 +60,11 @@ MIT License
60
60
 
61
61
  == Bugs and Language Support / Поправки и Новые Языки
62
62
 
63
- Fork the project. Make your feature addition or bug fix with tests. Send a pull request. Bonus points for topic branches.
63
+ See CHANGELOG.md for last changes.
64
+
65
+ Fork the project. Make your feature addition or bug fix with tests.
66
+
67
+ Send a pull request. Bonus points for topic branches.
64
68
 
65
69
  == Contacts / Контакты
66
70
 
@@ -2,6 +2,6 @@ en:
2
2
  numbers:
3
3
  ones: [zero, one, two, three, four, five, six, seven, eight, nine]
4
4
  teens: [ten, eleven, twelve, thirteen, fourteen, fifteen, sixteen, seventeen, eighteen, nineteen]
5
- tens: [zero, ten, twenty, thirty, forty, fifty, sixty, seventy, nought, ninety]
5
+ tens: [zero, ten, twenty, thirty, forty, fifty, sixty, seventy, eighty, ninety]
6
6
  hundreds: hundred
7
7
  mega: [ones, thousand, million, billion, trillion, quadrillion, quintillion, sextillion, septillion, octillion, nonillion, decillion]
@@ -13,7 +13,7 @@ require 'numbers_and_words/figures_array'
13
13
  require 'numbers_and_words/core_ext/integer'
14
14
  require 'numbers_and_words/core_ext/array'
15
15
 
16
- module NumbersAndWords
16
+ module NumberToWordsRu
17
17
  module I18nInitialization
18
18
  extend self
19
19
 
@@ -27,4 +27,4 @@ module NumbersAndWords
27
27
  end
28
28
  end
29
29
 
30
- NumbersAndWords::I18nInitialization.init
30
+ NumberToWordsRu::I18nInitialization.init
@@ -1,6 +1,7 @@
1
1
  class Integer
2
2
 
3
3
  def to_words
4
+ puts "DEPRECATION: use gem 'numbers_and_words' instead"
4
5
  to_figures_array.to_words NumbersAndWords::Strategies::Base.factory
5
6
  end
6
7
 
@@ -1,3 +1,3 @@
1
1
  module NumbersAndWords
2
- VERSION = '0.3.0.1'
2
+ VERSION = '0.3.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: number_to_words_ru
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.1
4
+ version: 0.3.1
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-03-24 00:00:00.000000000 Z
12
+ date: 2012-05-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n
@@ -75,8 +75,7 @@ dependencies:
75
75
  - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
- description: ! '#DEPRECATED. Use ''numbers_and_words'' instead. Convert numbers to
79
- words using I18N.'
78
+ description: Convert numbers to words using I18N.
80
79
  email: k.s.lazarev@gmail.com
81
80
  executables: []
82
81
  extensions: []
@@ -88,7 +87,7 @@ files:
88
87
  - lib/locales/numbers.en.yml
89
88
  - lib/locales/numbers.ru.yml
90
89
  - lib/locales/plurals.rb
91
- - lib/numbers_and_words.rb
90
+ - lib/number_to_words_ru.rb
92
91
  - lib/numbers_and_words/array_additions.rb
93
92
  - lib/numbers_and_words/array_additions/helpers.rb
94
93
  - lib/numbers_and_words/array_additions/validations.rb
@@ -128,9 +127,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
127
  version: '0'
129
128
  requirements: []
130
129
  rubyforge_project:
131
- rubygems_version: 1.8.21
130
+ rubygems_version: 1.8.24
132
131
  signing_key:
133
132
  specification_version: 3
134
- summary: ! '#DEPRECATED. Use ''numbers_and_words'' instead. Convert numbers to words
135
- using I18N.'
133
+ summary: Convert numbers to words using I18N.
136
134
  test_files: []