i18n-inflector 2.6.3 → 2.6.4
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 +24 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +7 -5
- data/README.rdoc +16 -13
- data/ci/i18nv4-Gemfile.lock +3 -3
- data/docs/HISTORY +10 -0
- data/docs/LEGAL +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 +4 -4
- metadata +8 -7
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/ChangeLog
CHANGED
@@ -1,3 +1,27 @@
|
|
1
|
+
commit 295a1c59d0d763e758cab6fe2ea05e477125e39a
|
2
|
+
Author: Paweł Wilk <siefca@gnu.org>
|
3
|
+
Date: Sat Mar 10 20:24:43 2012 +0100
|
4
|
+
|
5
|
+
Release 2.6.4
|
6
|
+
|
7
|
+
commit eae90eb5992e189ffc8678c4f810befd8a541cf2
|
8
|
+
Author: Paweł Wilk <siefca@gnu.org>
|
9
|
+
Date: Sat Mar 10 20:19:12 2012 +0100
|
10
|
+
|
11
|
+
README updated, I18n Inflector tested against Ruby 1.9.3-p0.
|
12
|
+
|
13
|
+
commit cf59982df41b4a541345e5846d909df727f2ea0b
|
14
|
+
Author: Paweł Wilk <siefca@gnu.org>
|
15
|
+
Date: Sat Mar 10 20:17:53 2012 +0100
|
16
|
+
|
17
|
+
Copyright notices updated.
|
18
|
+
|
19
|
+
commit 901c65c683fdf0d7a814756aa071a6ff25119263
|
20
|
+
Author: Paweł Wilk <siefca@gnu.org>
|
21
|
+
Date: Sat Mar 10 20:16:47 2012 +0100
|
22
|
+
|
23
|
+
Dependencies updated.
|
24
|
+
|
1
25
|
commit dd71d4a5d82417a09393d6aa936f5e59e4c495e5
|
2
26
|
Author: Paweł Wilk <siefca@gnu.org>
|
3
27
|
Date: Tue Aug 9 17:13:15 2011 +0200
|
data/Gemfile
CHANGED
@@ -12,6 +12,6 @@ gem "yard", ">=0.7.2", :group => [:development, :test]
|
|
12
12
|
gem "rdoc", ">=3.8.0", :group => [:development, :test]
|
13
13
|
gem "bundler", ">=1.0.15", :group => [:development, :test]
|
14
14
|
gem "hoe-bundler", ">=1.1.0", :group => [:development, :test]
|
15
|
-
gem "hoe", "~>2.
|
15
|
+
gem "hoe", "~>2.16", :group => [:development, :test]
|
16
16
|
|
17
17
|
# vim: syntax=ruby
|
data/Gemfile.lock
CHANGED
@@ -1,24 +1,26 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
hoe (2.
|
4
|
+
hoe (2.16.0)
|
5
5
|
rake (~> 0.8)
|
6
6
|
hoe-bundler (1.1.0)
|
7
7
|
hoe (>= 2.2.0)
|
8
8
|
hoe-yard (0.1.2)
|
9
9
|
yard (>= 0.2.3.1)
|
10
10
|
i18n (0.6.0)
|
11
|
-
|
12
|
-
|
11
|
+
json (1.6.5)
|
12
|
+
rake (0.9.2.2)
|
13
|
+
rdoc (3.12)
|
14
|
+
json (~> 1.4)
|
13
15
|
test_declarative (0.0.5)
|
14
|
-
yard (0.7.
|
16
|
+
yard (0.7.5)
|
15
17
|
|
16
18
|
PLATFORMS
|
17
19
|
ruby
|
18
20
|
|
19
21
|
DEPENDENCIES
|
20
22
|
bundler (>= 1.0.15)
|
21
|
-
hoe (~> 2.
|
23
|
+
hoe (~> 2.16)
|
22
24
|
hoe-bundler (>= 1.1.0)
|
23
25
|
hoe-yard (>= 0.1.2)
|
24
26
|
i18n (>= 0.4.1)
|
data/README.rdoc
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
= Simple Inflector for I18n
|
2
2
|
|
3
|
-
<b>i18n-inflector version <tt>2.6</tt></b> (<b><tt>
|
4
|
-
|
3
|
+
<b>i18n-inflector version <tt>2.6.4</tt></b> (<b><tt>Healthy Beaver</tt></b>)
|
5
4
|
|
6
5
|
|
7
6
|
* https://rubygems.org/gems/i18n-inflector
|
@@ -124,6 +123,12 @@ you need Rails integration.
|
|
124
123
|
* i18n[https://rubygems.org/gems/i18n]
|
125
124
|
* rake[https://rubygems.org/gems/rake]
|
126
125
|
* rubygems[http://docs.rubygems.org/]
|
126
|
+
* bundler[http://gembundler.com/]
|
127
|
+
|
128
|
+
== Important documentation and more on usage
|
129
|
+
|
130
|
+
* See {file:docs/USAGE} for detailed information about the usage.
|
131
|
+
* See {whole documentation}[http://rubydoc.info/gems/i18n-inflector/] to browse all documents.
|
127
132
|
|
128
133
|
== Download
|
129
134
|
|
@@ -185,27 +190,25 @@ Detailed example:
|
|
185
190
|
|
186
191
|
== More information
|
187
192
|
|
188
|
-
* See {file:docs/USAGE} for detailed information about the usage.
|
189
193
|
* See {I18n::Inflector::API} class documentation for detailed information about the API.
|
190
194
|
* See {I18n::Backend::Inflector} module documentation for detailed information about the internals.
|
191
|
-
* See {whole documentation}[http://rubydoc.info/gems/i18n-inflector/] to browse all documents.
|
192
195
|
|
193
196
|
== Tests
|
194
197
|
|
195
198
|
You can run tests both with
|
196
199
|
|
197
|
-
* <tt>rake test</tt> or just <tt>rake</tt>
|
200
|
+
* <tt>bundle exec rake test</tt> or just <tt>bundle exec rake</tt>
|
201
|
+
* run <tt>bundle exec rake testv4</tt> to test with version 4 of I18n
|
198
202
|
* run a test file directly, e.g. <tt>ruby -Ilib -Itest test/inflector_test.rb</tt>
|
199
|
-
* run <tt>rake testv4</tt> to test with version 4 of I18n
|
200
203
|
|
201
204
|
== Common rake tasks
|
202
205
|
|
203
|
-
* <tt>rake bundler:gemfile</tt> – regenerate the +Gemfile+
|
204
|
-
* <tt>rake docs</tt> – render the documentation (output in the subdirectory directory +doc+)
|
205
|
-
* <tt>rake gem</tt> – builds package (output in the subdirectory +pkg+)
|
206
|
-
* <tt>rake test</tt>, <tt>rake testv4</tt> – performs tests
|
207
|
-
* <tt>rake Manifest.txt</tt> – regenerates the +Manifest.txt+ file
|
208
|
-
* <tt>rake ChangeLog</tt> – regenerates the +ChangeLog+ file
|
206
|
+
* <tt>bundle exec rake bundler:gemfile</tt> – regenerate the +Gemfile+
|
207
|
+
* <tt>bundle exec rake docs</tt> – render the documentation (output in the subdirectory directory +doc+)
|
208
|
+
* <tt>bundle exec rake gem</tt> – builds package (output in the subdirectory +pkg+)
|
209
|
+
* <tt>bundle exec rake test</tt>, <tt>bundle exec rake testv4</tt> – performs tests
|
210
|
+
* <tt>bundle exec rake Manifest.txt</tt> – regenerates the +Manifest.txt+ file
|
211
|
+
* <tt>bundle exec rake ChangeLog</tt> – regenerates the +ChangeLog+ file
|
209
212
|
|
210
213
|
== Credits
|
211
214
|
|
@@ -214,7 +217,7 @@ contributed to this library by paying for me to eat when I've been coding.
|
|
214
217
|
|
215
218
|
== License
|
216
219
|
|
217
|
-
Copyright (c) 2011 by Paweł Wilk.
|
220
|
+
Copyright (c) 2011,2012 by Paweł Wilk.
|
218
221
|
|
219
222
|
i18n-inflector is copyrighted software owned by Paweł Wilk (pw@gnu.org).
|
220
223
|
You may redistribute and/or modify this software as long as you
|
data/ci/i18nv4-Gemfile.lock
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
hoe (2.
|
4
|
+
hoe (2.16.0)
|
5
5
|
rake (~> 0.8)
|
6
6
|
hoe-bundler (1.1.0)
|
7
7
|
hoe (>= 2.2.0)
|
8
8
|
hoe-yard (0.1.2)
|
9
9
|
yard (>= 0.2.3.1)
|
10
10
|
i18n (0.4.2)
|
11
|
-
rake (0.9.2)
|
11
|
+
rake (0.9.2.2)
|
12
12
|
test_declarative (0.0.5)
|
13
|
-
yard (0.7.
|
13
|
+
yard (0.7.5)
|
14
14
|
|
15
15
|
PLATFORMS
|
16
16
|
ruby
|
data/docs/HISTORY
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
=== 2.6.4 / 2012-03-10
|
2
|
+
|
3
|
+
* minor enhancements
|
4
|
+
|
5
|
+
* Changed documentation examples for calling rake
|
6
|
+
* Tested against Ruby 1.9.3-p0
|
7
|
+
* Updated dependencies
|
8
|
+
* Updated copyright notices
|
9
|
+
* Started codenaming each version (including minor version numbers)
|
10
|
+
|
1
11
|
=== 2.6.2 / 2011-08-07
|
2
12
|
|
3
13
|
* minor bugfixes
|
data/docs/LEGAL
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
LEGAL NOTICE INFORMATION
|
2
2
|
------------------------
|
3
3
|
|
4
|
-
i18n-inflector is Copyright (C) 2011 by Paweł Wilk.
|
4
|
+
i18n-inflector is Copyright (C) 2011,2012 by Paweł Wilk.
|
5
5
|
|
6
6
|
i18n-inflector is copyrighted software owned by Paweł Wilk
|
7
7
|
(pw@gnu.org). You may redistribute and/or modify this
|
data/lib/i18n-inflector/api.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
#
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
4
|
-
# Copyright:: (c) 2011 by Paweł Wilk
|
4
|
+
# Copyright:: (c) 2011,2012 by Paweł Wilk
|
5
5
|
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:docs/COPYING Ruby License}.
|
6
6
|
#
|
7
7
|
# This file contains {I18n::Inflector::API} class,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
#
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
4
|
-
# Copyright:: (c) 2011 by Paweł Wilk
|
4
|
+
# Copyright:: (c) 2011,2012 by Paweł Wilk
|
5
5
|
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:docs/COPYING Ruby License}.
|
6
6
|
#
|
7
7
|
# This file contains I18n::Inflector::API_Strict class,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
#
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
4
|
-
# Copyright:: (c) 2011 by Paweł Wilk
|
4
|
+
# Copyright:: (c) 2011,2012 by Paweł Wilk
|
5
5
|
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:docs/COPYING Ruby License}.
|
6
6
|
#
|
7
7
|
# This file contains I18n::Backend::Inflector module,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
#
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
4
|
-
# Copyright:: (c) 2011 by Paweł Wilk
|
4
|
+
# Copyright:: (c) 2011,2012 by Paweł Wilk
|
5
5
|
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:docs/COPYING Ruby License}.
|
6
6
|
#
|
7
7
|
# This file contains configuration of I18n::Inflector module.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
#
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
4
|
-
# Copyright:: (c) 2011 by Paweł Wilk
|
4
|
+
# Copyright:: (c) 2011,2012 by Paweł Wilk
|
5
5
|
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:docs/COPYING Ruby License}.
|
6
6
|
#
|
7
7
|
# This file contains error reporting classes for I18n::Backend::Inflector module.
|
data/lib/i18n-inflector/hset.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
#
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
4
|
-
# Copyright:: (c) 2011 by Paweł Wilk
|
4
|
+
# Copyright:: (c) 2011,2012 by Paweł Wilk
|
5
5
|
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:docs/COPYING Ruby License}.
|
6
6
|
#
|
7
7
|
# This file contains more intuitive version of Set.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
#
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
4
|
-
# Copyright:: (c) 2011 by Paweł Wilk
|
4
|
+
# Copyright:: (c) 2011,2012 by Paweł Wilk
|
5
5
|
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:docs/COPYING Ruby License}.
|
6
6
|
#
|
7
7
|
# This file contains class that is used to keep
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
#
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
4
|
-
# Copyright:: (c) 2011 by Paweł Wilk
|
4
|
+
# Copyright:: (c) 2011,2012 by Paweł Wilk
|
5
5
|
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:docs/COPYING Ruby License}.
|
6
6
|
#
|
7
7
|
# This file contains class that is used to keep
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
#
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
4
|
-
# Copyright:: (c) 2011 by Paweł Wilk
|
4
|
+
# Copyright:: (c) 2011,2012 by Paweł Wilk
|
5
5
|
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:docs/COPYING Ruby License}.
|
6
6
|
#
|
7
7
|
# This file contains a stub of I18n::Inflector module,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
#
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
4
|
-
# Copyright:: (c) 2011 by Paweł Wilk
|
4
|
+
# Copyright:: (c) 2011,2012 by Paweł Wilk
|
5
5
|
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:docs/COPYING Ruby License}.
|
6
6
|
#
|
7
7
|
# This file contains I18n::Inflector::Interpolate module,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
#
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
4
|
-
# Copyright:: (c) 2011 by Paweł Wilk
|
4
|
+
# Copyright:: (c) 2011,2012 by Paweł Wilk
|
5
5
|
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:docs/COPYING Ruby License}.
|
6
6
|
#
|
7
7
|
# This file contains lazy enumerators.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
#
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
4
|
-
# Copyright:: (c) 2011 by Paweł Wilk
|
4
|
+
# Copyright:: (c) 2011,2012 by Paweł Wilk
|
5
5
|
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:docs/COPYING Ruby License}.
|
6
6
|
#
|
7
7
|
# This file contains inline documentation data
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
#
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
4
|
-
# Copyright:: (c) 2011 by Paweł Wilk
|
4
|
+
# Copyright:: (c) 2011,2012 by Paweł Wilk
|
5
5
|
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:docs/COPYING Ruby License}.
|
6
6
|
#
|
7
7
|
# This file contains a class used to set up some options,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
#
|
3
3
|
# Author:: Paweł Wilk (mailto:pw@gnu.org)
|
4
|
-
# Copyright:: (c) 2011 by Paweł Wilk
|
4
|
+
# Copyright:: (c) 2011,2012 by Paweł Wilk
|
5
5
|
# License:: This program is licensed under the terms of {file:docs/LGPL GNU Lesser General Public License} or {file:docs/COPYING Ruby License}.
|
6
6
|
#
|
7
7
|
# This file contains version information.
|
@@ -14,15 +14,15 @@ module I18n
|
|
14
14
|
# @private
|
15
15
|
EMAIL = 'pw@gnu.org'
|
16
16
|
# @private
|
17
|
-
VERSION = '2.6.
|
17
|
+
VERSION = '2.6.4'
|
18
18
|
# @private
|
19
19
|
NAME = 'i18n-inflector'
|
20
20
|
# @private
|
21
|
-
SUMMARY = '
|
21
|
+
SUMMARY = 'Inflection module for I18n'
|
22
22
|
# @private
|
23
23
|
URL = 'https://rubygems.org/gems/i18n-inflector/'
|
24
24
|
# @private
|
25
|
-
DESCRIPTION = 'Enhances simple I18n backend
|
25
|
+
DESCRIPTION = 'Enhances simple I18n backend in a way that it inflects translation data using pattern interpolation.'
|
26
26
|
|
27
27
|
end
|
28
28
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: i18n-inflector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 2.6.
|
5
|
+
version: 2.6.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- "Pawe\xC5\x82 Wilk"
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
NK3TIZaPCh1S2/ES6wXNvjQ+5EnEEL9j/pSEop9DYEBPaM2WDVR5i0jJTAaRWw==
|
31
31
|
-----END CERTIFICATE-----
|
32
32
|
|
33
|
-
date:
|
33
|
+
date: 2012-03-10 00:00:00 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: i18n
|
@@ -116,11 +116,11 @@ dependencies:
|
|
116
116
|
requirements:
|
117
117
|
- - ~>
|
118
118
|
- !ruby/object:Gem::Version
|
119
|
-
version: "2.
|
119
|
+
version: "2.16"
|
120
120
|
type: :development
|
121
121
|
prerelease: false
|
122
122
|
version_requirements: *id008
|
123
|
-
description: Enhances simple I18n backend
|
123
|
+
description: Enhances simple I18n backend in a way that it inflects translation data using pattern interpolation.
|
124
124
|
email:
|
125
125
|
- pw@gnu.org
|
126
126
|
executables: []
|
@@ -129,6 +129,7 @@ extensions: []
|
|
129
129
|
|
130
130
|
extra_rdoc_files:
|
131
131
|
- Manifest.txt
|
132
|
+
- README.rdoc
|
132
133
|
files:
|
133
134
|
- .yardopts
|
134
135
|
- ChangeLog
|
@@ -182,7 +183,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
182
183
|
requirements:
|
183
184
|
- - ">="
|
184
185
|
- !ruby/object:Gem::Version
|
185
|
-
hash:
|
186
|
+
hash: -3588963737392913761
|
186
187
|
segments:
|
187
188
|
- 0
|
188
189
|
version: "0"
|
@@ -195,9 +196,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
195
196
|
requirements: []
|
196
197
|
|
197
198
|
rubyforge_project: i18n-inflector
|
198
|
-
rubygems_version: 1.8.
|
199
|
+
rubygems_version: 1.8.15
|
199
200
|
signing_key:
|
200
201
|
specification_version: 3
|
201
|
-
summary:
|
202
|
+
summary: Inflection module for I18n
|
202
203
|
test_files:
|
203
204
|
- test/inflector_test.rb
|
metadata.gz.sig
CHANGED
Binary file
|