locale 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +11 -0
- data/lib/locale/driver/win32.rb +2 -2
- data/lib/locale/version.rb +2 -2
- data/test/test_driver_win32.rb +1 -1
- metadata +54 -54
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b5067e4483f70b673adc2c10098cc668729dedf
|
4
|
+
data.tar.gz: 6de826d9a0bd161fca2c6657d57c7f02d89281b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f4211d7f06ddac481fd9a5720e7ac8508680a462f76df1e5f58eff532f5c9e9d86c58cc3cf5a27454b15ec32a0e7c95c76d09abd0992e916fb2f45c66529ace
|
7
|
+
data.tar.gz: 38a271195b5a9c8b143f178d8e0f69b478d87fba5941097408d3771be46607c662bd8c7c0ee60211cf1a1ec227bdd25e68c3d75f048c01a103f3637ee8b48d64
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## <a id="2-1-1">2.1.1</a>: 2015-05-16
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* Migrated to Fiddle from DL. Because DL is deprecated.
|
8
|
+
[GitHub#5] [Patch by moguno]
|
9
|
+
|
10
|
+
### Thanks
|
11
|
+
|
12
|
+
* moguno
|
13
|
+
|
3
14
|
## <a id="2-1-0">2.1.0</a>: 2013-12-15
|
4
15
|
|
5
16
|
### Fixes
|
data/lib/locale/driver/win32.rb
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
require "locale/driver/env"
|
23
23
|
require "locale/driver/win32_table"
|
24
24
|
|
25
|
-
require "
|
25
|
+
require "fiddle/import"
|
26
26
|
|
27
27
|
module Locale
|
28
28
|
# Locale::Driver::Win32 module for win32.
|
@@ -31,7 +31,7 @@ module Locale
|
|
31
31
|
module Driver
|
32
32
|
module Win32
|
33
33
|
module Kernel32
|
34
|
-
extend
|
34
|
+
extend Fiddle::Importer
|
35
35
|
dlload "kernel32.dll"
|
36
36
|
extern "int GetThreadLocale()"
|
37
37
|
end
|
data/lib/locale/version.rb
CHANGED
data/test/test_driver_win32.rb
CHANGED
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.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
@@ -9,104 +9,104 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-05-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '0'
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: bundler
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- -
|
32
|
+
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '0'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- -
|
39
|
+
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: yard
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '0'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- -
|
53
|
+
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '0'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: redcarpet
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- -
|
60
|
+
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: test-unit
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- -
|
81
|
+
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: test-unit-notify
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- -
|
88
|
+
- - ">="
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '0'
|
91
91
|
type: :development
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
|
-
- -
|
95
|
+
- - ">="
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: '0'
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: test-unit-rr
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
|
-
- -
|
102
|
+
- - ">="
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '0'
|
105
105
|
type: :development
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
|
-
- -
|
109
|
+
- - ">="
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '0'
|
112
112
|
description: |
|
@@ -118,57 +118,57 @@ executables: []
|
|
118
118
|
extensions: []
|
119
119
|
extra_rdoc_files: []
|
120
120
|
files:
|
121
|
-
-
|
122
|
-
-
|
123
|
-
-
|
124
|
-
-
|
125
|
-
-
|
126
|
-
-
|
127
|
-
-
|
128
|
-
- lib/locale
|
129
|
-
- lib/locale/
|
130
|
-
- lib/locale/
|
121
|
+
- ".yardopts"
|
122
|
+
- COPYING
|
123
|
+
- ChangeLog
|
124
|
+
- Gemfile
|
125
|
+
- README.rdoc
|
126
|
+
- Rakefile
|
127
|
+
- doc/text/news.md
|
128
|
+
- lib/locale.rb
|
129
|
+
- lib/locale/data/languages.tab.gz
|
130
|
+
- lib/locale/data/regions.tab.gz
|
131
131
|
- lib/locale/driver.rb
|
132
132
|
- lib/locale/driver/cgi.rb
|
133
|
-
- lib/locale/driver/posix.rb
|
134
133
|
- lib/locale/driver/env.rb
|
134
|
+
- lib/locale/driver/jruby.rb
|
135
|
+
- lib/locale/driver/posix.rb
|
135
136
|
- lib/locale/driver/win32.rb
|
136
137
|
- lib/locale/driver/win32_table.rb
|
137
|
-
- lib/locale/driver/jruby.rb
|
138
138
|
- lib/locale/info.rb
|
139
|
+
- lib/locale/info/language.rb
|
140
|
+
- lib/locale/info/region.rb
|
139
141
|
- lib/locale/middleware.rb
|
140
|
-
- lib/locale/
|
141
|
-
- lib/locale/
|
142
|
+
- lib/locale/tag.rb
|
143
|
+
- lib/locale/tag/cldr.rb
|
144
|
+
- lib/locale/tag/common.rb
|
145
|
+
- lib/locale/tag/irregular.rb
|
146
|
+
- lib/locale/tag/posix.rb
|
147
|
+
- lib/locale/tag/rfc.rb
|
148
|
+
- lib/locale/tag/simple.rb
|
142
149
|
- lib/locale/taglist.rb
|
143
|
-
- lib/locale.rb
|
150
|
+
- lib/locale/version.rb
|
151
|
+
- locale.gemspec
|
144
152
|
- samples/cgi/README
|
153
|
+
- samples/cgi/cookie.cgi
|
154
|
+
- samples/cgi/http.rb
|
145
155
|
- samples/cgi/index.cgi
|
146
156
|
- samples/cgi/locale.css
|
147
|
-
- samples/cgi/http.rb
|
148
|
-
- samples/cgi/cookie.cgi
|
149
157
|
- samples/rack/README
|
150
|
-
- samples/rack/locale_rack.rb
|
151
158
|
- samples/rack/hello_rack.rb
|
152
159
|
- samples/rack/hello_rack.ru
|
160
|
+
- samples/rack/locale_rack.rb
|
153
161
|
- samples/sample_1.rb
|
154
162
|
- samples/sample_info.rb
|
155
|
-
- COPYING
|
156
|
-
- ChangeLog
|
157
|
-
- README.rdoc
|
158
|
-
- Rakefile
|
159
|
-
- Gemfile
|
160
|
-
- locale.gemspec
|
161
|
-
- .yardopts
|
162
|
-
- doc/text/news.md
|
163
|
-
- test/test_tag.rb
|
164
163
|
- test/test_detect_cgi.rb
|
165
|
-
- test/
|
166
|
-
- test/test_locale.rb
|
167
|
-
- test/test_thread.rb
|
168
|
-
- test/test_info.rb
|
164
|
+
- test/test_detect_general.rb
|
169
165
|
- test/test_driver_jruby.rb
|
170
166
|
- test/test_driver_win32.rb
|
171
|
-
- test/
|
167
|
+
- test/test_info.rb
|
168
|
+
- test/test_locale.rb
|
169
|
+
- test/test_tag.rb
|
170
|
+
- test/test_taglist.rb
|
171
|
+
- test/test_thread.rb
|
172
172
|
homepage: https://github.com/ruby-gettext/locale
|
173
173
|
licenses:
|
174
174
|
- Ruby
|
@@ -180,28 +180,28 @@ require_paths:
|
|
180
180
|
- lib
|
181
181
|
required_ruby_version: !ruby/object:Gem::Requirement
|
182
182
|
requirements:
|
183
|
-
- -
|
183
|
+
- - ">="
|
184
184
|
- !ruby/object:Gem::Version
|
185
185
|
version: '0'
|
186
186
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
187
187
|
requirements:
|
188
|
-
- -
|
188
|
+
- - ">="
|
189
189
|
- !ruby/object:Gem::Version
|
190
190
|
version: '0'
|
191
191
|
requirements: []
|
192
192
|
rubyforge_project:
|
193
|
-
rubygems_version: 2.
|
193
|
+
rubygems_version: 2.2.2
|
194
194
|
signing_key:
|
195
195
|
specification_version: 4
|
196
196
|
summary: Ruby-Locale is the pure ruby library which provides basic APIs for localization.
|
197
197
|
test_files:
|
198
198
|
- test/test_tag.rb
|
199
199
|
- test/test_detect_cgi.rb
|
200
|
-
- test/test_taglist.rb
|
201
|
-
- test/test_locale.rb
|
202
|
-
- test/test_thread.rb
|
203
200
|
- test/test_info.rb
|
201
|
+
- test/test_thread.rb
|
204
202
|
- test/test_driver_jruby.rb
|
203
|
+
- test/test_taglist.rb
|
205
204
|
- test/test_driver_win32.rb
|
206
205
|
- test/test_detect_general.rb
|
206
|
+
- test/test_locale.rb
|
207
207
|
has_rdoc:
|