i18n-inflector 2.5.0 → 2.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/ChangeLog +12 -0
- data/docs/HISTORY +6 -0
- data/lib/i18n-inflector/backend.rb +2 -2
- data/lib/i18n-inflector/version.rb +1 -1
- metadata +90 -75
- metadata.gz.sig +2 -3
data.tar.gz.sig
CHANGED
Binary file
|
data/ChangeLog
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
commit b62605859be67525a5c2f902a387fa92f0adebb8
|
2
|
+
Author: Paweł Wilk <siefca@gnu.org>
|
3
|
+
Date: Fri Feb 25 19:33:24 2011 +0100
|
4
|
+
|
5
|
+
Release 2.5.1
|
6
|
+
|
7
|
+
commit faba82529657e42fb8b034766a450fc91ebe28bc
|
8
|
+
Author: Paweł Wilk <siefca@gnu.org>
|
9
|
+
Date: Fri Feb 25 19:32:36 2011 +0100
|
10
|
+
|
11
|
+
Inflector is able to parse symbols as descriptions (and aliases)
|
12
|
+
|
1
13
|
commit 2fddd234ffe5847ad21d46c36495c02431684ad4
|
2
14
|
Author: Paweł Wilk <siefca@gnu.org>
|
3
15
|
Date: Wed Feb 23 23:12:04 2011 +0100
|
data/docs/HISTORY
CHANGED
@@ -275,7 +275,7 @@ module I18n
|
|
275
275
|
# validate token's description
|
276
276
|
if description.nil?
|
277
277
|
raise I18n::BadInflectionToken.new(locale, token, orig_kind, description)
|
278
|
-
elsif description[0..0] == InflectorCfg::Markers::ALIAS
|
278
|
+
elsif description.to_s[0..0] == InflectorCfg::Markers::ALIAS
|
279
279
|
next
|
280
280
|
end
|
281
281
|
|
@@ -290,7 +290,7 @@ module I18n
|
|
290
290
|
inflections.each do |orig_kind, kind, strict_kind, subdb, tokens|
|
291
291
|
tokens.each_pair do |token, description|
|
292
292
|
next if token == :default
|
293
|
-
next if description[0..0] != InflectorCfg::Markers::ALIAS
|
293
|
+
next if description.to_s[0..0] != InflectorCfg::Markers::ALIAS
|
294
294
|
real_token = shorten_inflection_alias(token, orig_kind, locale, inflections_tree)
|
295
295
|
subdb.add_alias(token, real_token, kind) unless real_token.nil?
|
296
296
|
end
|
metadata
CHANGED
@@ -1,125 +1,142 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: i18n-inflector
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.5.1
|
4
5
|
prerelease:
|
5
|
-
version: 2.5.0
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
-
|
7
|
+
authors:
|
8
|
+
- Paweł Wilk
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
|
-
cert_chain:
|
12
|
-
-
|
13
|
-
|
11
|
+
cert_chain:
|
12
|
+
- ! '-----BEGIN CERTIFICATE-----
|
13
|
+
|
14
14
|
MIIDKjCCAhKgAwIBAgIBADANBgkqhkiG9w0BAQUFADA7MQ8wDQYDVQQDDAZzaWVm
|
15
|
+
|
15
16
|
Y2ExEzARBgoJkiaJk/IsZAEZFgNnbnUxEzARBgoJkiaJk/IsZAEZFgNvcmcwHhcN
|
17
|
+
|
16
18
|
MDkwNjA2MDkwODA5WhcNMTAwNjA2MDkwODA5WjA7MQ8wDQYDVQQDDAZzaWVmY2Ex
|
19
|
+
|
17
20
|
EzARBgoJkiaJk/IsZAEZFgNnbnUxEzARBgoJkiaJk/IsZAEZFgNvcmcwggEiMA0G
|
21
|
+
|
18
22
|
CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCdk4+9ieSx2I2OPslPcj/LjajwtsrH
|
23
|
+
|
19
24
|
mev6Fs3xK9hdDIbbLuQM9AypBS7NeKP/2YToEOGxsvzcpFzL2Ah71cP6Yfn+Z2Yo
|
25
|
+
|
20
26
|
zvqpAx5/nl79PrJKvjlkdzVNOFBp/EOkLK67QK4Pv97ABnG2PkF4FokqOjuNHLM7
|
27
|
+
|
21
28
|
47OkJPvFyfHyMBDZN7EFljBBNm3IuQRTiO48e5Jcp3L761PWOvCpnV8wiga0Wwt3
|
29
|
+
|
22
30
|
98Gmy7c1nWzfbQc1wHwKLPICY/aidKU20KymSHG63BSW5pO2cXZecIeYjw5YNjGA
|
31
|
+
|
23
32
|
M1RZMiwT7QJ9W86VVP+8EqbJKJOS95xlmQTHjPK56yXv8GiuyLQHpPh5AgMBAAGj
|
33
|
+
|
24
34
|
OTA3MAkGA1UdEwQCMAAwHQYDVR0OBBYEFKOKspZONq4bt5D2DEexB+vsMB2GMAsG
|
35
|
+
|
25
36
|
A1UdDwQEAwIEsDANBgkqhkiG9w0BAQUFAAOCAQEAUh0LnB4o5XKpH3yOxavEyp9X
|
37
|
+
|
26
38
|
Nen2e854wsSjAr0waSVzEt3XxY1voyIE6WCGxZJU//40CR0Be7j5CcsJsDU2CZyZ
|
39
|
+
|
27
40
|
8SXN1/mZjMqWvYyEMSfQP4XzkFSOuyDcoDAf43OGhOhdv5Jcs/Et/FH6DgWYwRxq
|
41
|
+
|
28
42
|
RtATRWON5R99ugPeRb7i1nIpnzGEBA9V32r6r959Bp3XjkVEXylbItYMqSARaZlY
|
43
|
+
|
29
44
|
qzKSsIUjh7vDyTNqta0DjSgCk26dhnOwc0hmzhvVZtBwfZritSVhfCLp5uFwqCqY
|
45
|
+
|
30
46
|
NK3TIZaPCh1S2/ES6wXNvjQ+5EnEEL9j/pSEop9DYEBPaM2WDVR5i0jJTAaRWw==
|
47
|
+
|
31
48
|
-----END CERTIFICATE-----
|
32
49
|
|
33
|
-
|
50
|
+
'
|
51
|
+
date: 2011-02-25 00:00:00.000000000 +01:00
|
34
52
|
default_executable:
|
35
|
-
dependencies:
|
36
|
-
- !ruby/object:Gem::Dependency
|
53
|
+
dependencies:
|
54
|
+
- !ruby/object:Gem::Dependency
|
37
55
|
name: i18n
|
38
|
-
requirement: &
|
56
|
+
requirement: &2153400280 !ruby/object:Gem::Requirement
|
39
57
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
43
61
|
version: 0.4.1
|
44
62
|
type: :runtime
|
45
63
|
prerelease: false
|
46
|
-
version_requirements: *
|
47
|
-
- !ruby/object:Gem::Dependency
|
64
|
+
version_requirements: *2153400280
|
65
|
+
- !ruby/object:Gem::Dependency
|
48
66
|
name: hoe-yard
|
49
|
-
requirement: &
|
67
|
+
requirement: &2153397980 !ruby/object:Gem::Requirement
|
50
68
|
none: false
|
51
|
-
requirements:
|
52
|
-
- -
|
53
|
-
- !ruby/object:Gem::Version
|
69
|
+
requirements:
|
70
|
+
- - ! '>='
|
71
|
+
- !ruby/object:Gem::Version
|
54
72
|
version: 0.1.2
|
55
73
|
type: :development
|
56
74
|
prerelease: false
|
57
|
-
version_requirements: *
|
58
|
-
- !ruby/object:Gem::Dependency
|
75
|
+
version_requirements: *2153397980
|
76
|
+
- !ruby/object:Gem::Dependency
|
59
77
|
name: test_declarative
|
60
|
-
requirement: &
|
78
|
+
requirement: &2153396460 !ruby/object:Gem::Requirement
|
61
79
|
none: false
|
62
|
-
requirements:
|
63
|
-
- -
|
64
|
-
- !ruby/object:Gem::Version
|
80
|
+
requirements:
|
81
|
+
- - ! '>='
|
82
|
+
- !ruby/object:Gem::Version
|
65
83
|
version: 0.0.4
|
66
84
|
type: :development
|
67
85
|
prerelease: false
|
68
|
-
version_requirements: *
|
69
|
-
- !ruby/object:Gem::Dependency
|
86
|
+
version_requirements: *2153396460
|
87
|
+
- !ruby/object:Gem::Dependency
|
70
88
|
name: yard
|
71
|
-
requirement: &
|
89
|
+
requirement: &2153389640 !ruby/object:Gem::Requirement
|
72
90
|
none: false
|
73
|
-
requirements:
|
74
|
-
- -
|
75
|
-
- !ruby/object:Gem::Version
|
91
|
+
requirements:
|
92
|
+
- - ! '>='
|
93
|
+
- !ruby/object:Gem::Version
|
76
94
|
version: 0.6.4
|
77
95
|
type: :development
|
78
96
|
prerelease: false
|
79
|
-
version_requirements: *
|
80
|
-
- !ruby/object:Gem::Dependency
|
97
|
+
version_requirements: *2153389640
|
98
|
+
- !ruby/object:Gem::Dependency
|
81
99
|
name: bundler
|
82
|
-
requirement: &
|
100
|
+
requirement: &2153387820 !ruby/object:Gem::Requirement
|
83
101
|
none: false
|
84
|
-
requirements:
|
85
|
-
- -
|
86
|
-
- !ruby/object:Gem::Version
|
102
|
+
requirements:
|
103
|
+
- - ! '>='
|
104
|
+
- !ruby/object:Gem::Version
|
87
105
|
version: 1.0.10
|
88
106
|
type: :development
|
89
107
|
prerelease: false
|
90
|
-
version_requirements: *
|
91
|
-
- !ruby/object:Gem::Dependency
|
108
|
+
version_requirements: *2153387820
|
109
|
+
- !ruby/object:Gem::Dependency
|
92
110
|
name: hoe-bundler
|
93
|
-
requirement: &
|
111
|
+
requirement: &2153373840 !ruby/object:Gem::Requirement
|
94
112
|
none: false
|
95
|
-
requirements:
|
96
|
-
- -
|
97
|
-
- !ruby/object:Gem::Version
|
113
|
+
requirements:
|
114
|
+
- - ! '>='
|
115
|
+
- !ruby/object:Gem::Version
|
98
116
|
version: 1.0.0
|
99
117
|
type: :development
|
100
118
|
prerelease: false
|
101
|
-
version_requirements: *
|
102
|
-
- !ruby/object:Gem::Dependency
|
119
|
+
version_requirements: *2153373840
|
120
|
+
- !ruby/object:Gem::Dependency
|
103
121
|
name: hoe
|
104
|
-
requirement: &
|
122
|
+
requirement: &2153347260 !ruby/object:Gem::Requirement
|
105
123
|
none: false
|
106
|
-
requirements:
|
107
|
-
- -
|
108
|
-
- !ruby/object:Gem::Version
|
124
|
+
requirements:
|
125
|
+
- - ! '>='
|
126
|
+
- !ruby/object:Gem::Version
|
109
127
|
version: 2.9.1
|
110
128
|
type: :development
|
111
129
|
prerelease: false
|
112
|
-
version_requirements: *
|
113
|
-
description: Enhances simple I18n backend so that it inflects translations using pattern
|
114
|
-
|
130
|
+
version_requirements: *2153347260
|
131
|
+
description: Enhances simple I18n backend so that it inflects translations using pattern
|
132
|
+
interpolation.
|
133
|
+
email:
|
115
134
|
- pw@gnu.org
|
116
135
|
executables: []
|
117
|
-
|
118
136
|
extensions: []
|
119
|
-
|
120
|
-
extra_rdoc_files:
|
137
|
+
extra_rdoc_files:
|
121
138
|
- Manifest.txt
|
122
|
-
files:
|
139
|
+
files:
|
123
140
|
- .yardopts
|
124
141
|
- ChangeLog
|
125
142
|
- Gemfile
|
@@ -158,35 +175,33 @@ files:
|
|
158
175
|
has_rdoc: true
|
159
176
|
homepage: https://rubygems.org/gems/i18n-inflector/
|
160
177
|
licenses: []
|
161
|
-
|
162
178
|
post_install_message:
|
163
|
-
rdoc_options:
|
179
|
+
rdoc_options:
|
164
180
|
- --title
|
165
181
|
- I18nInflector Documentation
|
166
182
|
- --quiet
|
167
|
-
require_paths:
|
183
|
+
require_paths:
|
168
184
|
- lib
|
169
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
185
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
170
186
|
none: false
|
171
|
-
requirements:
|
172
|
-
- -
|
173
|
-
- !ruby/object:Gem::Version
|
174
|
-
|
175
|
-
segments:
|
187
|
+
requirements:
|
188
|
+
- - ! '>='
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: '0'
|
191
|
+
segments:
|
176
192
|
- 0
|
177
|
-
|
178
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
|
+
hash: -228794564598580435
|
194
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
179
195
|
none: false
|
180
|
-
requirements:
|
181
|
-
- -
|
182
|
-
- !ruby/object:Gem::Version
|
183
|
-
version:
|
196
|
+
requirements:
|
197
|
+
- - ! '>='
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: '0'
|
184
200
|
requirements: []
|
185
|
-
|
186
201
|
rubyforge_project: i18n-inflector
|
187
202
|
rubygems_version: 1.5.2
|
188
203
|
signing_key:
|
189
204
|
specification_version: 3
|
190
205
|
summary: Simple inflection module for I18n
|
191
|
-
test_files:
|
206
|
+
test_files:
|
192
207
|
- test/inflector_test.rb
|
metadata.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
L
|
2
|
-
|
3
|
-
��_�a)Cb�\����SF�n��A{c���mL^{"�Co��ߋ���E��z�������ʚ�T��^�nڼ�Et��g��T��pf�
|
1
|
+
mq�L�aƃ)k��F���u�T���m��U�XS����������J��Q�
|
2
|
+
u��GD��^U�I�'wc��5�'d('�����Y�#���|
|