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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c70c3a79e17ab4cc5af32c055728d0a2d5af6a7a
4
- data.tar.gz: d8ca3c3e5f44decdbc49f76d4c48e3157bcd1f1a
3
+ metadata.gz: 4b5067e4483f70b673adc2c10098cc668729dedf
4
+ data.tar.gz: 6de826d9a0bd161fca2c6657d57c7f02d89281b4
5
5
  SHA512:
6
- metadata.gz: b17b7898fcd4f80c350ae9441eba2b48dcfbb2f0d44bb319eeb27146394370e66d8b2dba4a616838301a6c6ca0d8313ffe7ec1c798b4e4d45c28df2b8138f31c
7
- data.tar.gz: 634726bcd248a4babdc6748d030ee6c0a18af5564c79c2447ce185f549b8d38697edf1e45200033cc417a8114344b4f6dfc5277a4d58cfbeaf34f74e912e1dee
6
+ metadata.gz: 8f4211d7f06ddac481fd9a5720e7ac8508680a462f76df1e5f58eff532f5c9e9d86c58cc3cf5a27454b15ec32a0e7c95c76d09abd0992e916fb2f45c66529ace
7
+ data.tar.gz: 38a271195b5a9c8b143f178d8e0f69b478d87fba5941097408d3771be46607c662bd8c7c0ee60211cf1a1ec227bdd25e68c3d75f048c01a103f3637ee8b48d64
@@ -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
@@ -22,7 +22,7 @@
22
22
  require "locale/driver/env"
23
23
  require "locale/driver/win32_table"
24
24
 
25
- require "dl/import"
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 DL::Importer
34
+ extend Fiddle::Importer
35
35
  dlload "kernel32.dll"
36
36
  extern "int GetThreadLocale()"
37
37
  end
@@ -3,11 +3,11 @@
3
3
 
4
4
  Copyright (C) 2008 Masao Mutoh
5
5
  Copyright (C) 2013 Kouhei Sutou <kou@clear-code.com>
6
-
6
+
7
7
  You may redistribute it and/or modify it under the same
8
8
  license terms as Ruby.
9
9
  =end
10
10
  module Locale
11
- VERSION = "2.1.0"
11
+ VERSION = "2.1.1"
12
12
  end
13
13
 
@@ -60,6 +60,6 @@ begin
60
60
  assert_equal "CP1252", Locale::Driver::Win32.charset
61
61
  end
62
62
  end
63
- rescue LoadError, DL::DLError, NameError
63
+ rescue LoadError, Fiddle::DLError, NameError
64
64
  puts "win32 test was skipped."
65
65
  end
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.0
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: 2013-12-15 00:00:00.000000000 Z
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
- - lib/locale/version.rb
122
- - lib/locale/tag.rb
123
- - lib/locale/tag/cldr.rb
124
- - lib/locale/tag/posix.rb
125
- - lib/locale/tag/common.rb
126
- - lib/locale/tag/simple.rb
127
- - lib/locale/tag/irregular.rb
128
- - lib/locale/tag/rfc.rb
129
- - lib/locale/info/language.rb
130
- - lib/locale/info/region.rb
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/data/languages.tab.gz
141
- - lib/locale/data/regions.tab.gz
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/test_taglist.rb
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/test_detect_general.rb
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.0.14
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: