r18n-rails 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.rspec +1 -1
- data/spec/app/config/locales/ru.yml +6 -6
- data/spec/rails_spec.rb +1 -1
- metadata +50 -50
data/.rspec
CHANGED
@@ -1 +1 @@
|
|
1
|
-
--format documentation --colour
|
1
|
+
--format documentation --colour
|
@@ -1,20 +1,20 @@
|
|
1
1
|
ru:
|
2
2
|
number:
|
3
3
|
format:
|
4
|
-
delimiter:
|
4
|
+
delimiter: ' '
|
5
5
|
precision: 3
|
6
|
-
separator:
|
6
|
+
separator: ','
|
7
7
|
significant: false
|
8
8
|
strip_insignificant_zeros: false
|
9
9
|
precision:
|
10
10
|
format:
|
11
|
-
delimiter: ''
|
11
|
+
delimiter: ' '
|
12
12
|
currency:
|
13
13
|
format:
|
14
|
-
delimiter:
|
15
|
-
format:
|
14
|
+
delimiter: ' '
|
15
|
+
format: '%n %u'
|
16
16
|
precision: 2
|
17
|
-
separator:
|
17
|
+
separator: ','
|
18
18
|
significant: false
|
19
19
|
strip_insignificant_zeros: false
|
20
20
|
unit: руб.
|
data/spec/rails_spec.rb
CHANGED
@@ -133,7 +133,7 @@ describe TestController, :type => :controller do
|
|
133
133
|
it "should work with Rails build-in herlpers" do
|
134
134
|
get :format
|
135
135
|
response.should be_success
|
136
|
-
response.body.should == "1 000
|
136
|
+
response.body.should == "1 000,1 руб.\n"
|
137
137
|
end
|
138
138
|
|
139
139
|
it "should cache I18n object" do
|
metadata
CHANGED
@@ -1,66 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: r18n-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.3
|
5
4
|
prerelease:
|
5
|
+
version: 1.1.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Andrey "A.I." Sitnik
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-02-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - '='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.1.3
|
20
|
-
none: false
|
21
15
|
type: :runtime
|
22
16
|
name: r18n-rails-api
|
23
17
|
version_requirements: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
24
19
|
requirements:
|
25
20
|
- - '='
|
26
21
|
- !ruby/object:Gem::Version
|
27
|
-
version: 1.1.
|
22
|
+
version: 1.1.4
|
23
|
+
requirement: !ruby/object:Gem::Requirement
|
28
24
|
none: false
|
25
|
+
requirements:
|
26
|
+
- - '='
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: 1.1.4
|
29
29
|
prerelease: false
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
|
-
|
31
|
+
type: :development
|
32
|
+
name: bundler
|
33
|
+
version_requirements: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
32
35
|
requirements:
|
33
36
|
- - ! '>='
|
34
37
|
- !ruby/object:Gem::Version
|
35
38
|
version: 1.0.10
|
39
|
+
requirement: !ruby/object:Gem::Requirement
|
36
40
|
none: false
|
37
|
-
type: :development
|
38
|
-
name: bundler
|
39
|
-
version_requirements: !ruby/object:Gem::Requirement
|
40
41
|
requirements:
|
41
42
|
- - ! '>='
|
42
43
|
- !ruby/object:Gem::Version
|
43
44
|
version: 1.0.10
|
44
|
-
none: false
|
45
45
|
prerelease: false
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
|
-
|
47
|
+
type: :development
|
48
|
+
name: yard
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
48
51
|
requirements:
|
49
52
|
- - ! '>='
|
50
53
|
- !ruby/object:Gem::Version
|
51
54
|
version: '0'
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
52
56
|
none: false
|
53
|
-
type: :development
|
54
|
-
name: yard
|
55
|
-
version_requirements: !ruby/object:Gem::Requirement
|
56
57
|
requirements:
|
57
58
|
- - ! '>='
|
58
59
|
- !ruby/object:Gem::Version
|
59
60
|
version: '0'
|
60
|
-
none: false
|
61
61
|
prerelease: false
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
|
-
|
63
|
+
type: :development
|
64
|
+
name: rake
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
64
67
|
requirements:
|
65
68
|
- - ! '>='
|
66
69
|
- !ruby/object:Gem::Version
|
@@ -68,10 +71,8 @@ dependencies:
|
|
68
71
|
- - ! '!='
|
69
72
|
- !ruby/object:Gem::Version
|
70
73
|
version: 0.9.0
|
74
|
+
requirement: !ruby/object:Gem::Requirement
|
71
75
|
none: false
|
72
|
-
type: :development
|
73
|
-
name: rake
|
74
|
-
version_requirements: !ruby/object:Gem::Requirement
|
75
76
|
requirements:
|
76
77
|
- - ! '>='
|
77
78
|
- !ruby/object:Gem::Version
|
@@ -79,71 +80,70 @@ dependencies:
|
|
79
80
|
- - ! '!='
|
80
81
|
- !ruby/object:Gem::Version
|
81
82
|
version: 0.9.0
|
82
|
-
none: false
|
83
83
|
prerelease: false
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ! '>='
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '3'
|
90
|
-
none: false
|
91
85
|
type: :development
|
92
86
|
name: rails
|
93
87
|
version_requirements: !ruby/object:Gem::Requirement
|
88
|
+
none: false
|
94
89
|
requirements:
|
95
90
|
- - ! '>='
|
96
91
|
- !ruby/object:Gem::Version
|
97
92
|
version: '3'
|
98
|
-
none: false
|
99
|
-
prerelease: false
|
100
|
-
- !ruby/object:Gem::Dependency
|
101
93
|
requirement: !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
102
95
|
requirements:
|
103
96
|
- - ! '>='
|
104
97
|
- !ruby/object:Gem::Version
|
105
|
-
version: '
|
106
|
-
|
98
|
+
version: '3'
|
99
|
+
prerelease: false
|
100
|
+
- !ruby/object:Gem::Dependency
|
107
101
|
type: :development
|
108
102
|
name: rspec
|
109
103
|
version_requirements: !ruby/object:Gem::Requirement
|
104
|
+
none: false
|
110
105
|
requirements:
|
111
106
|
- - ! '>='
|
112
107
|
- !ruby/object:Gem::Version
|
113
108
|
version: '2'
|
114
|
-
none: false
|
115
|
-
prerelease: false
|
116
|
-
- !ruby/object:Gem::Dependency
|
117
109
|
requirement: !ruby/object:Gem::Requirement
|
110
|
+
none: false
|
118
111
|
requirements:
|
119
112
|
- - ! '>='
|
120
113
|
- !ruby/object:Gem::Version
|
121
114
|
version: '2'
|
122
|
-
|
115
|
+
prerelease: false
|
116
|
+
- !ruby/object:Gem::Dependency
|
123
117
|
type: :development
|
124
118
|
name: rspec-rails
|
125
119
|
version_requirements: !ruby/object:Gem::Requirement
|
120
|
+
none: false
|
126
121
|
requirements:
|
127
122
|
- - ! '>='
|
128
123
|
- !ruby/object:Gem::Version
|
129
124
|
version: '2'
|
130
|
-
none: false
|
131
|
-
prerelease: false
|
132
|
-
- !ruby/object:Gem::Dependency
|
133
125
|
requirement: !ruby/object:Gem::Requirement
|
126
|
+
none: false
|
134
127
|
requirements:
|
135
128
|
- - ! '>='
|
136
129
|
- !ruby/object:Gem::Version
|
137
|
-
version: '
|
138
|
-
|
130
|
+
version: '2'
|
131
|
+
prerelease: false
|
132
|
+
- !ruby/object:Gem::Dependency
|
139
133
|
type: :development
|
140
134
|
name: redcarpet
|
141
135
|
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
none: false
|
142
137
|
requirements:
|
143
138
|
- - ! '>='
|
144
139
|
- !ruby/object:Gem::Version
|
145
140
|
version: '0'
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
146
142
|
none: false
|
143
|
+
requirements:
|
144
|
+
- - ! '>='
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
147
|
prerelease: false
|
148
148
|
description: ! " Out-of-box R18n support for Ruby on Rails.\n It is just a wrapper
|
149
149
|
for R18n Rails API and R18n core libraries.\n R18n has nice Ruby-style syntax,
|
@@ -203,23 +203,23 @@ rdoc_options: []
|
|
203
203
|
require_paths:
|
204
204
|
- lib
|
205
205
|
required_ruby_version: !ruby/object:Gem::Requirement
|
206
|
+
none: false
|
206
207
|
requirements:
|
207
208
|
- - ! '>='
|
208
209
|
- !ruby/object:Gem::Version
|
209
|
-
hash: 147309096012253799
|
210
|
-
version: '0'
|
211
210
|
segments:
|
212
211
|
- 0
|
213
|
-
|
212
|
+
hash: 4107814895598966116
|
213
|
+
version: '0'
|
214
214
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
215
|
+
none: false
|
215
216
|
requirements:
|
216
217
|
- - ! '>='
|
217
218
|
- !ruby/object:Gem::Version
|
218
|
-
hash: 147309096012253799
|
219
|
-
version: '0'
|
220
219
|
segments:
|
221
220
|
- 0
|
222
|
-
|
221
|
+
hash: 4107814895598966116
|
222
|
+
version: '0'
|
223
223
|
requirements: []
|
224
224
|
rubyforge_project:
|
225
225
|
rubygems_version: 1.8.23
|