locale 2.0.6 → 2.0.7
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/doc/text/news.md +52 -0
- data/lib/locale/version.rb +1 -1
- data/locale.gemspec +1 -0
- metadata +39 -39
data/doc/text/news.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# News
|
|
2
|
+
|
|
3
|
+
## <a id="2-0-7">2.0.7</a>: 2012-08-29
|
|
4
|
+
|
|
5
|
+
Package fix release.
|
|
6
|
+
|
|
7
|
+
### Fixes
|
|
8
|
+
|
|
9
|
+
* Added missing this file. [Reported by Takahiro Kambe]
|
|
10
|
+
|
|
11
|
+
### Thanks
|
|
12
|
+
|
|
13
|
+
* Takahiro Kambe
|
|
14
|
+
|
|
15
|
+
## <a id="2-0-6">2.0.6</a>: 2012-08-29
|
|
16
|
+
|
|
17
|
+
Ruby 1.9 on Windows support release.
|
|
18
|
+
|
|
19
|
+
### Improvements
|
|
20
|
+
|
|
21
|
+
* Worked with invalid LANGUAGE variable value. It's just
|
|
22
|
+
ignored. [Patch by Alexey l.Froloff] [Reported by Friedrich, Axel]
|
|
23
|
+
* Added workaround for Ruby 1.8.6.
|
|
24
|
+
* Supported multiple `Locale.init` call in the same process.
|
|
25
|
+
* Supportd Ruby 1.9 on Windows.
|
|
26
|
+
* Supported `Locale.current = Locale.current`.
|
|
27
|
+
[GitHub#mutoh/locale#5] [Debian#600713]
|
|
28
|
+
[Reported by Martin Hradil and Hleb Valoshka]
|
|
29
|
+
* Supported `Locale.init` on `$SAFE > 0`.
|
|
30
|
+
[GitHub#mutoh/locale#5] [Reported by Hleb Valoshka]
|
|
31
|
+
* Added a Rack middleware `Locale::Middleware` that initializes locale by
|
|
32
|
+
client request.
|
|
33
|
+
|
|
34
|
+
### Tests
|
|
35
|
+
|
|
36
|
+
* Fixed a problem that tests for Windows break other tests on non
|
|
37
|
+
Windows platform. [Patch by J. Pablo Fernández]
|
|
38
|
+
* [jruby] Fixed wrong variant format.
|
|
39
|
+
[GitHub#mutoh/locale#5] [Patch by Hleb Valoshka.]
|
|
40
|
+
* Fixed wrong environment variable check. `LC_CTYPES` is checked
|
|
41
|
+
instead of `LC_MESSAGES`.
|
|
42
|
+
[GitHub#mutoh/locale#5] [Debian#520181]
|
|
43
|
+
[Reported by Adeodato Simó] [Patch by Hleb Valoshka]
|
|
44
|
+
|
|
45
|
+
### Thanks
|
|
46
|
+
|
|
47
|
+
* Masao Mutoh
|
|
48
|
+
* Alexey l.Froloff
|
|
49
|
+
* Friedrich, Axel
|
|
50
|
+
* J. Pablo Fernández
|
|
51
|
+
* Martin Hradil
|
|
52
|
+
* Hleb Valoshka
|
data/lib/locale/version.rb
CHANGED
data/locale.gemspec
CHANGED
|
@@ -39,6 +39,7 @@ Ruby-Locale is the pure ruby library which provides basic APIs for localization.
|
|
|
39
39
|
end
|
|
40
40
|
s.files += ["COPYING", "ChangeLog", "README.rdoc", "Rakefile"]
|
|
41
41
|
s.files += ["Gemfile", "#{s.name}.gemspec"]
|
|
42
|
+
s.files += Dir.glob("doc/text/*.*")
|
|
42
43
|
s.test_files = Dir.glob("test/test_*.rb")
|
|
43
44
|
end
|
|
44
45
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: locale
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.7
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2012-08-
|
|
13
|
+
date: 2012-08-29 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rake
|
|
@@ -135,57 +135,58 @@ executables: []
|
|
|
135
135
|
extensions: []
|
|
136
136
|
extra_rdoc_files: []
|
|
137
137
|
files:
|
|
138
|
-
- lib/locale/
|
|
139
|
-
- lib/locale/
|
|
140
|
-
- lib/locale/
|
|
141
|
-
- lib/locale/tag/posix.rb
|
|
142
|
-
- lib/locale/tag/common.rb
|
|
143
|
-
- lib/locale/tag/simple.rb
|
|
144
|
-
- lib/locale/tag/irregular.rb
|
|
145
|
-
- lib/locale/tag/rfc.rb
|
|
146
|
-
- lib/locale/info/language.rb
|
|
138
|
+
- lib/locale/data/languages.tab.gz
|
|
139
|
+
- lib/locale/data/regions.tab.gz
|
|
140
|
+
- lib/locale/middleware.rb
|
|
147
141
|
- lib/locale/info/region.rb
|
|
148
|
-
- lib/locale/
|
|
149
|
-
- lib/locale/driver/cgi.rb
|
|
150
|
-
- lib/locale/driver/posix.rb
|
|
151
|
-
- lib/locale/driver/env.rb
|
|
142
|
+
- lib/locale/info/language.rb
|
|
152
143
|
- lib/locale/driver/win32.rb
|
|
153
144
|
- lib/locale/driver/win32_table.rb
|
|
154
145
|
- lib/locale/driver/jruby.rb
|
|
155
|
-
- lib/locale/
|
|
156
|
-
- lib/locale/
|
|
157
|
-
- lib/locale/
|
|
158
|
-
- lib/locale/
|
|
146
|
+
- lib/locale/driver/posix.rb
|
|
147
|
+
- lib/locale/driver/env.rb
|
|
148
|
+
- lib/locale/driver/cgi.rb
|
|
149
|
+
- lib/locale/tag/cldr.rb
|
|
150
|
+
- lib/locale/tag/simple.rb
|
|
151
|
+
- lib/locale/tag/common.rb
|
|
152
|
+
- lib/locale/tag/posix.rb
|
|
153
|
+
- lib/locale/tag/rfc.rb
|
|
154
|
+
- lib/locale/tag/irregular.rb
|
|
155
|
+
- lib/locale/version.rb
|
|
159
156
|
- lib/locale/util/memoizable.rb
|
|
157
|
+
- lib/locale/tag.rb
|
|
158
|
+
- lib/locale/info.rb
|
|
159
|
+
- lib/locale/driver.rb
|
|
160
160
|
- lib/locale/taglist.rb
|
|
161
161
|
- lib/locale.rb
|
|
162
|
-
- samples/
|
|
163
|
-
- samples/cgi/index.cgi
|
|
164
|
-
- samples/cgi/locale.css
|
|
165
|
-
- samples/cgi/http.rb
|
|
166
|
-
- samples/cgi/cookie.cgi
|
|
162
|
+
- samples/sample_1.rb
|
|
167
163
|
- samples/rack/README
|
|
164
|
+
- samples/rack/hello_rack.ru
|
|
168
165
|
- samples/rack/locale_rack.rb
|
|
169
166
|
- samples/rack/hello_rack.rb
|
|
170
|
-
- samples/rack/hello_rack.ru
|
|
171
|
-
- samples/sample_1.rb
|
|
172
167
|
- samples/sample_info.rb
|
|
168
|
+
- samples/cgi/README
|
|
169
|
+
- samples/cgi/http.rb
|
|
170
|
+
- samples/cgi/cookie.cgi
|
|
171
|
+
- samples/cgi/index.cgi
|
|
172
|
+
- samples/cgi/locale.css
|
|
173
173
|
- COPYING
|
|
174
174
|
- ChangeLog
|
|
175
175
|
- README.rdoc
|
|
176
176
|
- Rakefile
|
|
177
177
|
- Gemfile
|
|
178
178
|
- locale.gemspec
|
|
179
|
-
-
|
|
180
|
-
- test/test_detect_cgi.rb
|
|
181
|
-
- test/test_taglist.rb
|
|
182
|
-
- test/test_locale.rb
|
|
179
|
+
- doc/text/news.md
|
|
183
180
|
- test/test_thread.rb
|
|
184
181
|
- test/test_info.rb
|
|
185
|
-
- test/
|
|
186
|
-
- test/test_driver_jruby.rb
|
|
182
|
+
- test/test_taglist.rb
|
|
187
183
|
- test/test_driver_win32.rb
|
|
188
184
|
- test/test_detect_general.rb
|
|
185
|
+
- test/test_locale.rb
|
|
186
|
+
- test/test_memoizable.rb
|
|
187
|
+
- test/test_detect_cgi.rb
|
|
188
|
+
- test/test_tag.rb
|
|
189
|
+
- test/test_driver_jruby.rb
|
|
189
190
|
homepage: https://github.com/ruby-gettext/locale
|
|
190
191
|
licenses: []
|
|
191
192
|
post_install_message:
|
|
@@ -211,14 +212,13 @@ signing_key:
|
|
|
211
212
|
specification_version: 3
|
|
212
213
|
summary: Ruby-Locale is the pure ruby library which provides basic APIs for localization.
|
|
213
214
|
test_files:
|
|
214
|
-
- test/test_tag.rb
|
|
215
|
-
- test/test_detect_cgi.rb
|
|
216
|
-
- test/test_taglist.rb
|
|
217
|
-
- test/test_locale.rb
|
|
218
215
|
- test/test_thread.rb
|
|
219
216
|
- test/test_info.rb
|
|
220
|
-
- test/
|
|
221
|
-
- test/test_driver_jruby.rb
|
|
217
|
+
- test/test_taglist.rb
|
|
222
218
|
- test/test_driver_win32.rb
|
|
223
219
|
- test/test_detect_general.rb
|
|
224
|
-
|
|
220
|
+
- test/test_locale.rb
|
|
221
|
+
- test/test_memoizable.rb
|
|
222
|
+
- test/test_detect_cgi.rb
|
|
223
|
+
- test/test_tag.rb
|
|
224
|
+
- test/test_driver_jruby.rb
|