russian 0.1.0 → 0.1.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/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ === 0.1.1 - 24.11.2008
2
+
3
+ Added number.human.storage_units translation key (Rails Edge).
4
+
5
+ Добавлен ключ number.human.storage_units (появился в Rails Edge).
6
+
1
7
  === 0.1.0 - 22.11.2008
2
8
 
3
9
  No changes, Rails 2.2 released
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'rubygems/specification'
5
5
  require 'date'
6
6
 
7
7
  GEM = "russian"
8
- GEM_VERSION = "0.1.0"
8
+ GEM_VERSION = "0.1.1"
9
9
  AUTHOR = "Yaroslav Markin"
10
10
  EMAIL = "yaroslav@markin.net"
11
11
  HOMEPAGE = "http://github.com/yaroslav/russian/"
@@ -25,7 +25,7 @@ module Russian
25
25
  module VERSION
26
26
  MAJOR = 0
27
27
  MINOR = 1
28
- TINY = 0
28
+ TINY = 1
29
29
 
30
30
  STRING = [MAJOR, MINOR, TINY].join('.')
31
31
  end
@@ -49,6 +49,7 @@ ru:
49
49
  # separator:
50
50
  delimiter: ""
51
51
  precision: 1
52
+ storage_units: [байт, КБ, МБ, ГБ, ТБ]
52
53
 
53
54
  # Используется в хелперах distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
54
55
  #
@@ -47,6 +47,7 @@ describe Russian, "loading locales" do
47
47
  number.precision.format.delimiter
48
48
  number.human.format.delimiter
49
49
  number.human.format.precision
50
+ number.human.storage_units
50
51
 
51
52
  datetime.distance_in_words.half_a_minute
52
53
  datetime.distance_in_words.less_than_x_seconds
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: russian
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
  - Yaroslav Markin
@@ -9,7 +9,7 @@ autorequire: russian
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-11-22 00:00:00 +03:00
12
+ date: 2008-11-24 00:00:00 +03:00
13
13
  default_executable:
14
14
  dependencies: []
15
15