i18n-inflector 2.3.0 → 2.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.tar.gz.sig +0 -0
- data/ChangeLog +18 -0
- data/README.rdoc +5 -5
- data/docs/COPYING +1 -1
- data/docs/HISTORY +2 -1
- data/docs/LEGAL +2 -2
- data/docs/USAGE +1 -1
- data/lib/i18n-inflector/api.rb +1 -1
- data/lib/i18n-inflector/api_strict.rb +1 -1
- data/lib/i18n-inflector/backend.rb +1 -1
- data/lib/i18n-inflector/config.rb +1 -1
- data/lib/i18n-inflector/errors.rb +1 -1
- data/lib/i18n-inflector/hset.rb +1 -1
- data/lib/i18n-inflector/inflection_data.rb +1 -1
- data/lib/i18n-inflector/inflection_data_strict.rb +1 -1
- data/lib/i18n-inflector/inflector.rb +1 -1
- data/lib/i18n-inflector/interpolate.rb +1 -1
- data/lib/i18n-inflector/lazy_enum.rb +1 -1
- data/lib/i18n-inflector/long_comments.rb +1 -1
- data/lib/i18n-inflector/options.rb +1 -1
- data/lib/i18n-inflector/version.rb +2 -2
- metadata +3 -3
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
|
Binary file
|
data/ChangeLog
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
commit ed4cea2f3b809028b02fa19c089fecc7cf56713b
|
|
2
|
+
Author: Paweł Wilk <siefca@gnu.org>
|
|
3
|
+
Date: Tue Feb 15 02:39:26 2011 +0100
|
|
4
|
+
|
|
5
|
+
Release 2.3.1
|
|
6
|
+
|
|
7
|
+
commit c274ae5e650ffc0abe8095c70104ae74e88c58ff
|
|
8
|
+
Author: Paweł Wilk <siefca@gnu.org>
|
|
9
|
+
Date: Tue Feb 15 02:36:58 2011 +0100
|
|
10
|
+
|
|
11
|
+
Fixed documentation links
|
|
12
|
+
|
|
13
|
+
commit 40e61b0adb92c7e401316f097c2774e48f2629cf
|
|
14
|
+
Author: Paweł Wilk <siefca@gnu.org>
|
|
15
|
+
Date: Tue Feb 15 01:53:37 2011 +0100
|
|
16
|
+
|
|
17
|
+
README updated for Github's rdoc parser
|
|
18
|
+
|
|
1
19
|
commit 76c7a61ca6b96e94a4362f31a36d6c79e476be97
|
|
2
20
|
Author: Paweł Wilk <siefca@gnu.org>
|
|
3
21
|
Date: Tue Feb 15 01:20:52 2011 +0100
|
data/README.rdoc
CHANGED
|
@@ -121,7 +121,7 @@ you need Rails integration.
|
|
|
121
121
|
|
|
122
122
|
Detailed example:
|
|
123
123
|
|
|
124
|
-
|
|
124
|
+
<b>YAML:</b>
|
|
125
125
|
|
|
126
126
|
en:
|
|
127
127
|
i18n:
|
|
@@ -135,7 +135,7 @@ Detailed example:
|
|
|
135
135
|
|
|
136
136
|
welcome: "Dear @{f:Lady|m:Sir|n:You|All}"
|
|
137
137
|
|
|
138
|
-
|
|
138
|
+
<b>Code:</b>
|
|
139
139
|
|
|
140
140
|
I18n.t('welcome')
|
|
141
141
|
# => "Dear You"
|
|
@@ -159,7 +159,7 @@ Detailed example:
|
|
|
159
159
|
|
|
160
160
|
== More information
|
|
161
161
|
|
|
162
|
-
* See {file:USAGE} for detailed information about the usage.
|
|
162
|
+
* See {file:docs/USAGE} for detailed information about the usage.
|
|
163
163
|
* See {I18n::Inflector::API} class documentation for detailed information about the API.
|
|
164
164
|
* See {I18n::Backend::Inflector} module documentation for detailed information about the internals.
|
|
165
165
|
* See {whole documentation}[http://rubydoc.info/gems/i18n-inflector/] to browse all documents.
|
|
@@ -192,8 +192,8 @@ Copyright (c) 2011 by Paweł Wilk.
|
|
|
192
192
|
|
|
193
193
|
i18n-inflector is copyrighted software owned by Paweł Wilk (pw@gnu.org).
|
|
194
194
|
You may redistribute and/or modify this software as long as you
|
|
195
|
-
comply with either the terms of the LGPL (see {file:LGPL}),
|
|
196
|
-
or Ruby's license (see {file:COPYING}).
|
|
195
|
+
comply with either the terms of the LGPL (see {file:docs/LGPL}),
|
|
196
|
+
or Ruby's license (see {file:docs/COPYING}).
|
|
197
197
|
|
|
198
198
|
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS
|
|
199
199
|
OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION,
|
data/docs/COPYING
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
i18n-inflector is copyrighted free software owned by Paweł Wilk (pw@gnu.org). The Owner of this software permits you to redistribute and/or modify the software under either the terms of the LGPL version 3 (see the file {file:LGPL LGPL-LICENSE}), or the conditions below ("Ruby License").
|
|
1
|
+
i18n-inflector is copyrighted free software owned by Paweł Wilk (pw@gnu.org). The Owner of this software permits you to redistribute and/or modify the software under either the terms of the LGPL version 3 (see the file {file:docs/LGPL LGPL-LICENSE}), or the conditions below ("Ruby License").
|
|
2
2
|
|
|
3
3
|
== 1.
|
|
4
4
|
|
data/docs/HISTORY
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
=== 2.3.
|
|
1
|
+
=== 2.3.1 / 2011-02-14
|
|
2
2
|
|
|
3
3
|
* major enhancements
|
|
4
4
|
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* minor bugfixes
|
|
14
14
|
|
|
15
15
|
* Fixed parsing of named patterns when :inflector_excluded_defaults is used
|
|
16
|
+
* Fixed links in documentation
|
|
16
17
|
|
|
17
18
|
=== 2.2.0 / 2011-02-09
|
|
18
19
|
|
data/docs/LEGAL
CHANGED
|
@@ -6,5 +6,5 @@ i18n-inflector is Copyright (C) 2011 by Paweł Wilk.
|
|
|
6
6
|
i18n-inflector is copyrighted software owned by Paweł Wilk
|
|
7
7
|
(pw@gnu.org). You may redistribute and/or modify this
|
|
8
8
|
software as long as you comply with either the terms of the LGPL
|
|
9
|
-
(see the file {file:LGPL}),
|
|
10
|
-
or Ruby's license (see the file {file:COPYING}).
|
|
9
|
+
(see the file {file:docs/LGPL}),
|
|
10
|
+
or Ruby's license (see the file {file:docs/COPYING}).
|
data/docs/USAGE
CHANGED
|
@@ -23,7 +23,7 @@ That additional data is called <b>inflection options</b>.
|
|
|
23
23
|
i18n.inflector.true_tokens.keys
|
|
24
24
|
# => [:f, :m, :n]
|
|
25
25
|
|
|
26
|
-
See the {file:EXAMPLES} for more information about real-life
|
|
26
|
+
See the {file:docs/EXAMPLES} for more information about real-life
|
|
27
27
|
usage of Inflector.
|
|
28
28
|
|
|
29
29
|
== Inflection pattern
|
data/lib/i18n-inflector/api.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
|
4
4
|
# Copyright:: (c) 2011 by Paweł Wilk
|
|
5
|
-
# License:: This program is licensed under the terms of {file:LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
5
|
+
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
6
6
|
#
|
|
7
7
|
# This file contains {I18n::Inflector::API} class,
|
|
8
8
|
# which is public API for I18n Inflector.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
|
4
4
|
# Copyright:: (c) 2011 by Paweł Wilk
|
|
5
|
-
# License:: This program is licensed under the terms of {file:LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
5
|
+
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
6
6
|
#
|
|
7
7
|
# This file contains I18n::Inflector::API_Strict class,
|
|
8
8
|
# which handles public API for managing inflection data
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
|
4
4
|
# Copyright:: (c) 2011 by Paweł Wilk
|
|
5
|
-
# License:: This program is licensed under the terms of {file:LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
5
|
+
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
6
6
|
#
|
|
7
7
|
# This file contains I18n::Backend::Inflector module,
|
|
8
8
|
# which extends I18n::Backend::Simple by adding the ability
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
|
4
4
|
# Copyright:: (c) 2011 by Paweł Wilk
|
|
5
|
-
# License:: This program is licensed under the terms of {file:LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
5
|
+
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
6
6
|
#
|
|
7
7
|
# This file contains configuration of I18n::Inflector module.
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
|
4
4
|
# Copyright:: (c) 2011 by Paweł Wilk
|
|
5
|
-
# License:: This program is licensed under the terms of {file:LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
5
|
+
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
6
6
|
#
|
|
7
7
|
# This file contains error reporting classes for I18n::Backend::Inflector module.
|
|
8
8
|
|
data/lib/i18n-inflector/hset.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
|
4
4
|
# Copyright:: (c) 2011 by Paweł Wilk
|
|
5
|
-
# License:: This program is licensed under the terms of {file:LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
5
|
+
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
6
6
|
#
|
|
7
7
|
# This file contains more intuitive version of Set.
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
|
4
4
|
# Copyright:: (c) 2011 by Paweł Wilk
|
|
5
|
-
# License:: This program is licensed under the terms of {file:LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
5
|
+
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
6
6
|
#
|
|
7
7
|
# This file contains class that is used to keep
|
|
8
8
|
# inflection data.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
|
4
4
|
# Copyright:: (c) 2011 by Paweł Wilk
|
|
5
|
-
# License:: This program is licensed under the terms of {file:LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
5
|
+
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
6
6
|
#
|
|
7
7
|
# This file contains class that is used to keep
|
|
8
8
|
# inflection data for strict kinds.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
|
4
4
|
# Copyright:: (c) 2011 by Paweł Wilk
|
|
5
|
-
# License:: This program is licensed under the terms of {file:LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
5
|
+
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
6
6
|
#
|
|
7
7
|
# This file contains a stub of I18n::Inflector module,
|
|
8
8
|
# which extends I18n by adding the ability
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
|
4
4
|
# Copyright:: (c) 2011 by Paweł Wilk
|
|
5
|
-
# License:: This program is licensed under the terms of {file:LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
5
|
+
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
6
6
|
#
|
|
7
7
|
# This file contains I18n::Inflector::Interpolate module,
|
|
8
8
|
# which is included in the API.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
|
4
4
|
# Copyright:: (c) 2011 by Paweł Wilk
|
|
5
|
-
# License:: This program is licensed under the terms of {file:LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
5
|
+
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
6
6
|
#
|
|
7
7
|
# This file contains lazy enumerators.
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
|
4
4
|
# Copyright:: (c) 2011 by Paweł Wilk
|
|
5
|
-
# License:: This program is licensed under the terms of {file:LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
5
|
+
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
6
6
|
#
|
|
7
7
|
# This file contains inline documentation data
|
|
8
8
|
# that would make the file with code less readable
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
|
4
4
|
# Copyright:: (c) 2011 by Paweł Wilk
|
|
5
|
-
# License:: This program is licensed under the terms of {file:LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
5
|
+
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
6
6
|
#
|
|
7
7
|
# This file contains a class used to set up some options,
|
|
8
8
|
# for engine.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
|
4
4
|
# Copyright:: (c) 2011 by Paweł Wilk
|
|
5
|
-
# License:: This program is licensed under the terms of {file:LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
5
|
+
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:COPYING Ruby License}.
|
|
6
6
|
#
|
|
7
7
|
# This file contains version information.
|
|
8
8
|
|
|
@@ -14,7 +14,7 @@ module I18n
|
|
|
14
14
|
# @private
|
|
15
15
|
EMAIL = 'pw@gnu.org'
|
|
16
16
|
# @private
|
|
17
|
-
VERSION = '2.3.
|
|
17
|
+
VERSION = '2.3.1'
|
|
18
18
|
# @private
|
|
19
19
|
NAME = 'i18n-inflector'
|
|
20
20
|
# @private
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 2
|
|
7
7
|
- 3
|
|
8
|
-
-
|
|
9
|
-
version: 2.3.
|
|
8
|
+
- 1
|
|
9
|
+
version: 2.3.1
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- "Pawe\xC5\x82 Wilk"
|
|
@@ -202,7 +202,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
202
202
|
requirements:
|
|
203
203
|
- - ">="
|
|
204
204
|
- !ruby/object:Gem::Version
|
|
205
|
-
hash:
|
|
205
|
+
hash: -182087839473545551
|
|
206
206
|
segments:
|
|
207
207
|
- 0
|
|
208
208
|
version: "0"
|
metadata.gz.sig
CHANGED
|
Binary file
|