jpmobile 3.0.2 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 3
3
3
  :minor: 0
4
- :patch: 2
4
+ :patch: 3
5
5
  :build:
data/jpmobile.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{jpmobile}
8
- s.version = "3.0.1"
8
+ s.version = "3.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Yoji Shidara", "Shin-ichiro OGAWA"]
@@ -16,320 +16,29 @@ Gem::Specification.new do |s|
16
16
  "README",
17
17
  "README.rdoc"
18
18
  ]
19
- s.files = [
20
- "CHANGELOG",
21
- "Gemfile",
22
- "MIT-LICENSE",
23
- "README",
24
- "README.rdoc",
25
- "Rakefile",
26
- "VERSION.yml",
27
- "init.rb",
28
- "install.rb",
29
- "lib/jpmobile.rb",
30
- "lib/jpmobile/datum_conv.rb",
31
- "lib/jpmobile/docomo_guid.rb",
32
- "lib/jpmobile/email.rb",
33
- "lib/jpmobile/emoticon.rb",
34
- "lib/jpmobile/emoticon/au.rb",
35
- "lib/jpmobile/emoticon/conversion_table.rb",
36
- "lib/jpmobile/emoticon/docomo.rb",
37
- "lib/jpmobile/emoticon/softbank.rb",
38
- "lib/jpmobile/emoticon/z_combine.rb",
39
- "lib/jpmobile/encoding.rb",
40
- "lib/jpmobile/filter.rb",
41
- "lib/jpmobile/helpers.rb",
42
- "lib/jpmobile/hook_action_controller.rb",
43
- "lib/jpmobile/hook_action_view.rb",
44
- "lib/jpmobile/mail.rb",
45
- "lib/jpmobile/mailer.rb",
46
- "lib/jpmobile/mobile/abstract_mobile.rb",
47
- "lib/jpmobile/mobile/android.rb",
48
- "lib/jpmobile/mobile/au.rb",
49
- "lib/jpmobile/mobile/ddipocket.rb",
50
- "lib/jpmobile/mobile/docomo.rb",
51
- "lib/jpmobile/mobile/emobile.rb",
52
- "lib/jpmobile/mobile/iphone.rb",
53
- "lib/jpmobile/mobile/smart_phone.rb",
54
- "lib/jpmobile/mobile/softbank.rb",
55
- "lib/jpmobile/mobile/vodafone.rb",
56
- "lib/jpmobile/mobile/willcom.rb",
57
- "lib/jpmobile/mobile/windows_phone.rb",
58
- "lib/jpmobile/path_set.rb",
59
- "lib/jpmobile/position.rb",
60
- "lib/jpmobile/rack.rb",
61
- "lib/jpmobile/rack/filter.rb",
62
- "lib/jpmobile/rack/mobile_carrier.rb",
63
- "lib/jpmobile/rack/params_filter.rb",
64
- "lib/jpmobile/rails.rb",
65
- "lib/jpmobile/request_with_mobile.rb",
66
- "lib/jpmobile/resolver.rb",
67
- "lib/jpmobile/trans_sid.rb",
68
- "lib/jpmobile/util.rb",
69
- "lib/tasks/jpmobile_tasks.rake",
70
- "tools/emoji/genregexp.rb",
71
- "tools/generate_au_emoticon_table.rb",
72
- "tools/generate_docomo_emoticon_table.rb",
73
- "tools/generate_emoticon_conversion_table.rb",
74
- "tools/generate_softbank_emoticon_table.rb",
75
- "tools/list_gps_unsupported_au.rb"
76
- ]
19
+ s.files = Dir['CHANGELOG', 'MIT-LICENSE', 'README', 'README.rdoc', 'init.rb', 'install.rb', 'lib/**/*.*', 'tools/**/*.*']
77
20
  s.homepage = %q{http://jpmobile-rails.org}
78
21
  s.require_paths = ["lib"]
79
22
  s.rubygems_version = %q{1.3.7}
80
23
  s.summary = %q{A Rails plugin for Japanese mobile-phones}
81
- s.test_files = [
82
- "spec/rack/jpmobile/android_spec.rb",
83
- "spec/rack/jpmobile/au_spec.rb",
84
- "spec/rack/jpmobile/docomo_spec.rb",
85
- "spec/rack/jpmobile/emoticon_spec.rb",
86
- "spec/rack/jpmobile/filter_spec.rb",
87
- "spec/rack/jpmobile/iphone_spec.rb",
88
- "spec/rack/jpmobile/mobile_by_ua_spec.rb",
89
- "spec/rack/jpmobile/params_filter_spec.rb",
90
- "spec/rack/jpmobile/softbank_spec.rb",
91
- "spec/rack/jpmobile/willcom_spec.rb",
92
- "spec/rack/jpmobile/windows_phone.rb",
93
- "spec/rack_helper.rb",
94
- "spec/spec_helper.rb",
95
- "spec/unit/detect_by_email_spec.rb",
96
- "spec/unit/emoticon_spec.rb",
97
- "spec/unit/encoding_spec.rb",
98
- "spec/unit/is_carrier_spec.rb",
99
- "spec/unit/mail_spec.rb",
100
- "spec/unit/receive_mail_spec.rb",
101
- "spec/unit/spec_helper.rb",
102
- "spec/unit/util_spec.rb",
103
- "spec/unit/valid_ip_spec.rb",
104
- "test/rails/overrides/app/controllers/application_controller.rb",
105
- "test/rails/overrides/app/controllers/docomo_guid_always_controller.rb",
106
- "test/rails/overrides/app/controllers/docomo_guid_base_controller.rb",
107
- "test/rails/overrides/app/controllers/docomo_guid_docomo_controller.rb",
108
- "test/rails/overrides/app/controllers/filter_controller.rb",
109
- "test/rails/overrides/app/controllers/filter_controller_base.rb",
110
- "test/rails/overrides/app/controllers/hankaku_filter_controller.rb",
111
- "test/rails/overrides/app/controllers/hankaku_input_filter_controller.rb",
112
- "test/rails/overrides/app/controllers/links_controller.rb",
113
- "test/rails/overrides/app/controllers/mobile_spec_controller.rb",
114
- "test/rails/overrides/app/controllers/template_path_controller.rb",
115
- "test/rails/overrides/app/controllers/trans_sid_always_and_session_off_controller.rb",
116
- "test/rails/overrides/app/controllers/trans_sid_always_controller.rb",
117
- "test/rails/overrides/app/controllers/trans_sid_base_controller.rb",
118
- "test/rails/overrides/app/controllers/trans_sid_metal_controller.rb",
119
- "test/rails/overrides/app/controllers/trans_sid_mobile_controller.rb",
120
- "test/rails/overrides/app/controllers/trans_sid_none_controller.rb",
121
- "test/rails/overrides/app/models/mobile_mailer.rb",
122
- "test/rails/overrides/app/models/normal_mailer.rb",
123
- "test/rails/overrides/app/models/user.rb",
124
- "test/rails/overrides/autotest/discover.rb",
125
- "test/rails/overrides/config/initializers/jpmobile_generator.rb",
126
- "test/rails/overrides/config/routes.rb",
127
- "test/rails/overrides/db/migrate/001_add_sessions_table.rb",
128
- "test/rails/overrides/db/migrate/20100824062306_create_users.rb",
129
- "test/rails/overrides/spec/helpers/helpers_spec.rb",
130
- "test/rails/overrides/spec/models/mobile_mailer_spec.rb",
131
- "test/rails/overrides/spec/models/normal_mailer_spec.rb",
132
- "test/rails/overrides/spec/requests/docomo_guid_spec.rb",
133
- "test/rails/overrides/spec/requests/docomo_spec.rb",
134
- "test/rails/overrides/spec/requests/emobile_spec.rb",
135
- "test/rails/overrides/spec/requests/filter_spec.rb",
136
- "test/rails/overrides/spec/requests/helpers_spec.rb",
137
- "test/rails/overrides/spec/requests/pc_spec.rb",
138
- "test/rails/overrides/spec/requests/softbank_emulator_spec.rb",
139
- "test/rails/overrides/spec/requests/template_path_spec.rb",
140
- "test/rails/overrides/spec/requests/trans_sid_spec.rb",
141
- "test/rails/overrides/spec/spec_helper.rb",
142
- "test/rails/rails_root/app/controllers/application_controller.rb",
143
- "test/rails/rails_root/app/controllers/docomo_guid_always_controller.rb",
144
- "test/rails/rails_root/app/controllers/docomo_guid_base_controller.rb",
145
- "test/rails/rails_root/app/controllers/docomo_guid_docomo_controller.rb",
146
- "test/rails/rails_root/app/controllers/filter_controller.rb",
147
- "test/rails/rails_root/app/controllers/filter_controller_base.rb",
148
- "test/rails/rails_root/app/controllers/hankaku_filter_controller.rb",
149
- "test/rails/rails_root/app/controllers/hankaku_input_filter_controller.rb",
150
- "test/rails/rails_root/app/controllers/links_controller.rb",
151
- "test/rails/rails_root/app/controllers/mobile_spec_controller.rb",
152
- "test/rails/rails_root/app/controllers/template_path_controller.rb",
153
- "test/rails/rails_root/app/controllers/trans_sid_always_and_session_off_controller.rb",
154
- "test/rails/rails_root/app/controllers/trans_sid_always_controller.rb",
155
- "test/rails/rails_root/app/controllers/trans_sid_base_controller.rb",
156
- "test/rails/rails_root/app/controllers/trans_sid_metal_controller.rb",
157
- "test/rails/rails_root/app/controllers/trans_sid_mobile_controller.rb",
158
- "test/rails/rails_root/app/controllers/trans_sid_none_controller.rb",
159
- "test/rails/rails_root/app/helpers/application_helper.rb",
160
- "test/rails/rails_root/app/models/mobile_mailer.rb",
161
- "test/rails/rails_root/app/models/normal_mailer.rb",
162
- "test/rails/rails_root/app/models/user.rb",
163
- "test/rails/rails_root/autotest/discover.rb",
164
- "test/rails/rails_root/config/application.rb",
165
- "test/rails/rails_root/config/boot.rb",
166
- "test/rails/rails_root/config/environment.rb",
167
- "test/rails/rails_root/config/environments/development.rb",
168
- "test/rails/rails_root/config/environments/production.rb",
169
- "test/rails/rails_root/config/environments/test.rb",
170
- "test/rails/rails_root/config/initializers/backtrace_silencers.rb",
171
- "test/rails/rails_root/config/initializers/inflections.rb",
172
- "test/rails/rails_root/config/initializers/jpmobile_generator.rb",
173
- "test/rails/rails_root/config/initializers/mime_types.rb",
174
- "test/rails/rails_root/config/initializers/secret_token.rb",
175
- "test/rails/rails_root/config/initializers/session_store.rb",
176
- "test/rails/rails_root/config/routes.rb",
177
- "test/rails/rails_root/db/migrate/001_add_sessions_table.rb",
178
- "test/rails/rails_root/db/migrate/20100824062306_create_users.rb",
179
- "test/rails/rails_root/db/schema.rb",
180
- "test/rails/rails_root/db/seeds.rb",
181
- "test/rails/rails_root/spec/helpers/helpers_spec.rb",
182
- "test/rails/rails_root/spec/models/mobile_mailer_spec.rb",
183
- "test/rails/rails_root/spec/models/normal_mailer_spec.rb",
184
- "test/rails/rails_root/spec/requests/docomo_guid_spec.rb",
185
- "test/rails/rails_root/spec/requests/docomo_spec.rb",
186
- "test/rails/rails_root/spec/requests/emobile_spec.rb",
187
- "test/rails/rails_root/spec/requests/filter_spec.rb",
188
- "test/rails/rails_root/spec/requests/helpers_spec.rb",
189
- "test/rails/rails_root/spec/requests/pc_spec.rb",
190
- "test/rails/rails_root/spec/requests/softbank_emulator_spec.rb",
191
- "test/rails/rails_root/spec/requests/template_path_spec.rb",
192
- "test/rails/rails_root/spec/requests/trans_sid_spec.rb",
193
- "test/rails/rails_root/spec/spec_helper.rb",
194
- "test/rails/rails_root/test/performance/browsing_test.rb",
195
- "test/rails/rails_root/test/test_helper.rb",
196
- "test/rails/rails_root/vendor/plugins/jpmobile-ipaddresses/lib/jpmobile-ipaddresses.rb",
197
- "test/rails/rails_root/vendor/plugins/jpmobile-ipaddresses/lib/jpmobile/mobile/ip_addresses/abstract_ip_addresses.rb",
198
- "test/rails/rails_root/vendor/plugins/jpmobile-ipaddresses/lib/jpmobile/mobile/ip_addresses/au.rb",
199
- "test/rails/rails_root/vendor/plugins/jpmobile-ipaddresses/lib/jpmobile/mobile/ip_addresses/docomo.rb",
200
- "test/rails/rails_root/vendor/plugins/jpmobile-ipaddresses/lib/jpmobile/mobile/ip_addresses/emobile.rb",
201
- "test/rails/rails_root/vendor/plugins/jpmobile-ipaddresses/lib/jpmobile/mobile/ip_addresses/softbank.rb",
202
- "test/rails/rails_root/vendor/plugins/jpmobile-ipaddresses/lib/jpmobile/mobile/ip_addresses/willcom.rb",
203
- "test/rails/rails_root/vendor/plugins/jpmobile-terminfo/lib/jpmobile-terminfo.rb",
204
- "test/rails/rails_root/vendor/plugins/jpmobile-terminfo/lib/jpmobile/mobile/terminfo.rb",
205
- "test/rails/rails_root/vendor/plugins/jpmobile-terminfo/lib/jpmobile/mobile/terminfo/docomo.rb",
206
- "test/rails/rails_root/vendor/plugins/jpmobile-terminfo/spec/spec_helper.rb",
207
- "test/rails/rails_root/vendor/plugins/jpmobile-terminfo/spec/terminfo_spec.rb",
208
- "test/rails/rails_root/vendor/plugins/jpmobile/init.rb",
209
- "test/rails/rails_root/vendor/plugins/jpmobile/install.rb",
210
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile.rb",
211
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/datum_conv.rb",
212
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/docomo_guid.rb",
213
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/email.rb",
214
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon.rb",
215
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/au.rb",
216
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/conversion_table.rb",
217
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/docomo.rb",
218
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/softbank.rb",
219
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/emoticon/z_combine.rb",
220
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/encoding.rb",
221
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/filter.rb",
222
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/helpers.rb",
223
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/hook_action_controller.rb",
224
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/hook_action_view.rb",
225
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mail.rb",
226
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mailer.rb",
227
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/abstract_mobile.rb",
228
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/android.rb",
229
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/au.rb",
230
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/ddipocket.rb",
231
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/docomo.rb",
232
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/emobile.rb",
233
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/iphone.rb",
234
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/smart_phone.rb",
235
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/softbank.rb",
236
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/vodafone.rb",
237
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/willcom.rb",
238
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/mobile/windows_phone.rb",
239
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/path_set.rb",
240
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/position.rb",
241
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rack.rb",
242
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rack/filter.rb",
243
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rack/mobile_carrier.rb",
244
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rack/params_filter.rb",
245
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/rails.rb",
246
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/request_with_mobile.rb",
247
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/resolver.rb",
248
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/trans_sid.rb",
249
- "test/rails/rails_root/vendor/plugins/jpmobile/lib/jpmobile/util.rb",
250
- "test/rails/rails_root/vendor/plugins/jpmobile/tmp/conversion-table.rb",
251
- "test/rails/rails_root/vendor/plugins/jpmobile/tmp/utf8_to_image.rb",
252
- "test/rails/rails_root/vendor/plugins/jpmobile/tools/emoji/genregexp.rb",
253
- "test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_au_emoticon_table.rb",
254
- "test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_docomo_emoticon_table.rb",
255
- "test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_emoticon_conversion_table.rb",
256
- "test/rails/rails_root/vendor/plugins/jpmobile/tools/generate_softbank_emoticon_table.rb",
257
- "test/rails/rails_root/vendor/plugins/jpmobile/tools/list_gps_unsupported_au.rb",
258
- "test/rails/rails_root/vendor/plugins/jpmobile/vendor/jpmobile-ipaddresses/lib/jpmobile-ipaddresses.rb",
259
- "test/rails/rails_root/vendor/plugins/jpmobile/vendor/jpmobile-ipaddresses/lib/jpmobile/mobile/ip_addresses/abstract_ip_addresses.rb",
260
- "test/rails/rails_root/vendor/plugins/jpmobile/vendor/jpmobile-ipaddresses/lib/jpmobile/mobile/ip_addresses/au.rb",
261
- "test/rails/rails_root/vendor/plugins/jpmobile/vendor/jpmobile-ipaddresses/lib/jpmobile/mobile/ip_addresses/docomo.rb",
262
- "test/rails/rails_root/vendor/plugins/jpmobile/vendor/jpmobile-ipaddresses/lib/jpmobile/mobile/ip_addresses/emobile.rb",
263
- "test/rails/rails_root/vendor/plugins/jpmobile/vendor/jpmobile-ipaddresses/lib/jpmobile/mobile/ip_addresses/softbank.rb",
264
- "test/rails/rails_root/vendor/plugins/jpmobile/vendor/jpmobile-ipaddresses/lib/jpmobile/mobile/ip_addresses/willcom.rb",
265
- "test/rails/rails_root/vendor/plugins/jpmobile/vendor/jpmobile-terminfo/lib/jpmobile-terminfo.rb",
266
- "test/rails/rails_root/vendor/plugins/jpmobile/vendor/jpmobile-terminfo/lib/jpmobile/mobile/terminfo.rb",
267
- "test/rails/rails_root/vendor/plugins/jpmobile/vendor/jpmobile-terminfo/lib/jpmobile/mobile/terminfo/docomo.rb",
268
- "test/rails/rails_root/vendor/plugins/jpmobile/vendor/jpmobile-terminfo/spec/spec_helper.rb",
269
- "test/rails/rails_root/vendor/plugins/jpmobile/vendor/jpmobile-terminfo/spec/terminfo_spec.rb",
270
- "test/sinatra/guestbook.rb",
271
- "test/sinatra/test/filter_test.rb"
272
- ]
273
-
274
- if s.respond_to? :specification_version then
275
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
276
- s.specification_version = 3
24
+ s.test_files = Dir['spec/**/*.*', 'test/**/"."' 'tmp/**/*.*']
277
25
 
278
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
279
- s.add_development_dependency(%q<jeweler>, [">= 0"])
280
- s.add_development_dependency(%q<rails>, [">= 3.0.3"])
281
- s.add_development_dependency(%q<rspec>, [">= 2.3.0"])
282
- s.add_development_dependency(%q<rspec-rails>, [">= 2.3.0"])
283
- s.add_development_dependency(%q<webrat>, [">= 0"])
284
- s.add_development_dependency(%q<geokit>, [">= 0"])
285
- s.add_development_dependency(%q<sqlite3-ruby>, [">= 0"])
286
- s.add_development_dependency(%q<hpricot>, [">= 0"])
287
- s.add_development_dependency(%q<jeweler>, [">= 1.5.1"])
288
- s.add_development_dependency(%q<rspec>, [">= 2.3.0"])
289
- s.add_development_dependency(%q<rspec-rails>, [">= 2.3.0"])
290
- s.add_development_dependency(%q<webrat>, [">= 0.7.2"])
291
- s.add_development_dependency(%q<geokit>, [">= 1.5.0"])
292
- s.add_development_dependency(%q<sqlite3-ruby>, [">= 1.3.2"])
293
- s.add_development_dependency(%q<hpricot>, [">= 0.8.3"])
294
- s.add_development_dependency(%q<git>, [">= 1.2.5"])
295
- s.add_development_dependency(%q<rails>, [">= 3.0.3"])
296
- else
297
- s.add_dependency(%q<jeweler>, [">= 0"])
298
- s.add_dependency(%q<rails>, [">= 3.0.3"])
299
- s.add_dependency(%q<rspec>, [">= 2.3.0"])
300
- s.add_dependency(%q<rspec-rails>, [">= 2.3.0"])
301
- s.add_dependency(%q<webrat>, [">= 0"])
302
- s.add_dependency(%q<geokit>, [">= 0"])
303
- s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
304
- s.add_dependency(%q<hpricot>, [">= 0"])
305
- s.add_dependency(%q<jeweler>, [">= 1.5.1"])
306
- s.add_dependency(%q<rspec>, [">= 2.3.0"])
307
- s.add_dependency(%q<rspec-rails>, [">= 2.3.0"])
308
- s.add_dependency(%q<webrat>, [">= 0.7.2"])
309
- s.add_dependency(%q<geokit>, [">= 1.5.0"])
310
- s.add_dependency(%q<sqlite3-ruby>, [">= 1.3.2"])
311
- s.add_dependency(%q<hpricot>, [">= 0.8.3"])
312
- s.add_dependency(%q<git>, [">= 1.2.5"])
313
- s.add_dependency(%q<rails>, [">= 3.0.3"])
314
- end
315
- else
316
- s.add_dependency(%q<jeweler>, [">= 0"])
317
- s.add_dependency(%q<rails>, [">= 3.0.3"])
318
- s.add_dependency(%q<rspec>, [">= 2.3.0"])
319
- s.add_dependency(%q<rspec-rails>, [">= 2.3.0"])
320
- s.add_dependency(%q<webrat>, [">= 0"])
321
- s.add_dependency(%q<geokit>, [">= 0"])
322
- s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
323
- s.add_dependency(%q<hpricot>, [">= 0"])
324
- s.add_dependency(%q<jeweler>, [">= 1.5.1"])
325
- s.add_dependency(%q<rspec>, [">= 2.3.0"])
326
- s.add_dependency(%q<rspec-rails>, [">= 2.3.0"])
327
- s.add_dependency(%q<webrat>, [">= 0.7.2"])
328
- s.add_dependency(%q<geokit>, [">= 1.5.0"])
329
- s.add_dependency(%q<sqlite3-ruby>, [">= 1.3.2"])
330
- s.add_dependency(%q<hpricot>, [">= 0.8.3"])
331
- s.add_dependency(%q<git>, [">= 1.2.5"])
332
- s.add_dependency(%q<rails>, [">= 3.0.3"])
333
- end
26
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
27
+ s.add_development_dependency(%q<rails>, [">= 3.0.3"])
28
+ s.add_development_dependency(%q<rspec>, [">= 2.3.0"])
29
+ s.add_development_dependency(%q<rspec-rails>, [">= 2.3.0"])
30
+ s.add_development_dependency(%q<webrat>, [">= 0"])
31
+ s.add_development_dependency(%q<geokit>, [">= 0"])
32
+ s.add_development_dependency(%q<sqlite3-ruby>, [">= 0"])
33
+ s.add_development_dependency(%q<hpricot>, [">= 0"])
34
+ s.add_development_dependency(%q<jeweler>, [">= 1.5.1"])
35
+ s.add_development_dependency(%q<rspec>, [">= 2.3.0"])
36
+ s.add_development_dependency(%q<rspec-rails>, [">= 2.3.0"])
37
+ s.add_development_dependency(%q<webrat>, [">= 0.7.2"])
38
+ s.add_development_dependency(%q<geokit>, [">= 1.5.0"])
39
+ s.add_development_dependency(%q<sqlite3-ruby>, [">= 1.3.2"])
40
+ s.add_development_dependency(%q<hpricot>, [">= 0.8.3"])
41
+ s.add_development_dependency(%q<git>, [">= 1.2.5"])
42
+ s.add_development_dependency(%q<rails>, [">= 3.0.3"])
334
43
  end
335
44
 
data/lib/jpmobile/mail.rb CHANGED
@@ -82,7 +82,8 @@ module Mail
82
82
  buffer << "\r\n"
83
83
  buffer = @mobile.utf8_to_mail_encode(buffer)
84
84
  buffer << body.encoded(content_transfer_encoding)
85
- buffer
85
+
86
+ ascii_compatible!(buffer)
86
87
  else
87
88
  encoded_without_jpmobile
88
89
  end
@@ -260,8 +261,9 @@ module Mail
260
261
  self.header[:subject].charset = subject_charset unless subject_charset.blank?
261
262
 
262
263
  if @mobile
263
- v = @mobile.to_mail_internal(
264
- Encodings.value_decode(self.header[:subject].value), subject_charset)
264
+ subject_value = Encodings.value_decode(self.header[:subject].value)
265
+ subject_converting_encoding = Jpmobile::Util.detect_encoding(subject_value)
266
+ v = @mobile.to_mail_internal(subject_value, subject_converting_encoding)
265
267
  if @charset == subject_charset and @mobile.mail_charset != @charset
266
268
  self.header[:subject].value = Jpmobile::Util.force_encode(v, @charset, Jpmobile::Util::UTF8)
267
269
  else
@@ -274,6 +276,10 @@ module Mail
274
276
  @body_part_jpmobile = @mobile.decode_transfer_encoding(@body_part_jpmobile, @charset)
275
277
  end
276
278
  end
279
+
280
+ def ascii_compatible!(str)
281
+ Jpmobile::Util.ascii_compatible!(str)
282
+ end
277
283
  end
278
284
 
279
285
  class Part
@@ -301,6 +307,11 @@ module Mail
301
307
 
302
308
  alias_method :parse_message_without_jpmobile, :parse_message
303
309
  alias_method :parse_message, :parse_message_with_jpmobile
310
+
311
+ private
312
+ def ascii_compatible!(str)
313
+ str
314
+ end
304
315
  end
305
316
 
306
317
  class Body
@@ -11,6 +11,27 @@ module Jpmobile
11
11
 
12
12
  private
13
13
 
14
+ # Helper for building query glob string based on resolver's pattern.
15
+ def build_query(path, details)
16
+ if path.prefix.match(/^\//) and !File.exists?(path.prefix)
17
+ path = Path.build(path.name, File.join(@path, path.prefix), path.partial)
18
+ end
19
+
20
+ query = @pattern.dup
21
+
22
+ prefix = path.prefix.empty? ? "" : "#{escape_entry(path.prefix)}\\1"
23
+ query.gsub!(/\:prefix(\/)?/, prefix)
24
+
25
+ partial = escape_entry(path.partial? ? "_#{path.name}" : path.name)
26
+ query.gsub!(/\:action/, partial)
27
+
28
+ details.each do |ext, variants|
29
+ query.gsub!(/\:#{ext}/, "{#{variants.compact.uniq.join(',')}}")
30
+ end
31
+
32
+ File.expand_path(query, @path)
33
+ end
34
+
14
35
  def query(path, details, formats)
15
36
  query = build_query(path, details)
16
37
 
data/lib/jpmobile/util.rb CHANGED
@@ -91,6 +91,13 @@ module Jpmobile
91
91
  str
92
92
  end
93
93
 
94
+ def ascii_compatible!(str)
95
+ if str.respond_to?(:encoding) and !str.encoding.ascii_compatible?
96
+ str.force_encoding(BINARY)
97
+ end
98
+ str
99
+ end
100
+
94
101
  def utf8_to_sjis(utf8_str)
95
102
  # 波ダッシュ対策
96
103
  utf8_str = wavedash_to_fullwidth_tilde(utf8_str)
@@ -0,0 +1,19 @@
1
+ From ogawa.jpmobile@ezweb.ne.jp Tue Dec 22 15:13:14 2009
2
+ Return-Path: <ogawa.jpmobile@ezweb.ne.jp>
3
+ X-Original-To: ogawa@jpmobile-rails.org
4
+ Delivered-To: ogawa@jpmobile-rails.org
5
+ Received: from localhost.localdomain (localhost [127.0.0.1])
6
+ by debian-server.jpmobile-rails.org (Postfix) with ESMTP id 1258D9D20A6
7
+ for <ogawa@jpmobile-rails.org>; Tue, 22 Dec 2009 15:13:14 +0900 (JST)
8
+ Date: Tue, 22 Dec 2009 15:13:14 +0900
9
+ From: ogawa.jpmobile@ezweb.ne.jp
10
+ To: ogawa@jpmobile-rails.org
11
+ Message-Id: <4b30637a2b50_7aed8b6eb0160@debian-server.tmail>
12
+ Subject: =?iso-2022-jp?B?GyRCIihLXEo4JE8kMyROJF4kXiRHQXc/LiQ3JEYkTRsoQg==?=
13
+ Mime-Version: 1.0
14
+ Content-Type: text/plain; charset=iso-2022-jp
15
+ Status: RO
16
+
17
+ $BK\J8(B$Bv}(B
18
+ For au
19
+
@@ -300,4 +300,21 @@ describe "Jpmobile::Mail" do
300
300
  ascii_8bit(@mail.to_s).should match(Regexp.compile(Regexp.escape(ascii_8bit("\x31\x30\x3a\x30\x30\x1b\x24\x42\x21\x41\x1b\x28\x42\x31\x32\x3a\x30\x30"))))
301
301
  end
302
302
  end
303
+
304
+ context "delivering" do
305
+ before(:each) do
306
+ @mobile = Jpmobile::Mobile::AbstractMobile.new(nil, nil)
307
+ @mail.mobile = @mobile
308
+ @mail.to = "むすめふさほせ <info+to@jpmobile-rails.org>"
309
+ end
310
+
311
+ it "delivers through SMTP" do
312
+ @mail.delivery_method :smtp, {:enable_starttls_auto => false}
313
+ lambda {
314
+ @mail.deliver
315
+ }.should_not raise_error
316
+
317
+ Mail::TestMailer.deliveries.size
318
+ end
319
+ end
303
320
  end
@@ -220,6 +220,12 @@ describe "Jpmobile::Mail#receive" do
220
220
  ascii_8bit(@mail.to_s).should match(Regexp.compile(Regexp.escape(ascii_8bit("\x1b\x24\x42\x32\x71\x35\x44\x24\x2C\x33\x2B\x3A\x45\x75\x48\x1b\x28\x42"))))
221
221
  end
222
222
  end
223
+
224
+ it "should not be raised when parsing incoming email #41" do
225
+ lambda {
226
+ @mail = Mail.new(open(File.join(File.expand_path(File.dirname(__FILE__)), "email-fixtures/au-email.eml")).read)
227
+ }.should_not raise_error
228
+ end
223
229
  end
224
230
 
225
231
  describe "Softbank" do
@@ -0,0 +1,5 @@
1
+ class Admin::TopController < ApplicationController
2
+ def full_path
3
+ render "/template_path/full_path_partial"
4
+ end
5
+ end
@@ -13,5 +13,8 @@ class TemplatePathController < ApplicationController
13
13
  def optioned_index
14
14
  render :action => "index"
15
15
  end
16
+
17
+ def full_path_partial
18
+ end
16
19
  end
17
20
 
@@ -1,2 +1,3 @@
1
1
  class User < ActiveRecord::Base
2
+ attr_accessible :name
2
3
  end
@@ -0,0 +1,2 @@
1
+ <h1>partial.html.erb</h1>
2
+ <%= render :partial => '/template_path/partial' %>
@@ -2,6 +2,10 @@ RailsRoot::Application.routes.draw do
2
2
  resources :users
3
3
  namespace :admin do
4
4
  resources :users
5
+
6
+ controller :top do
7
+ match 'top/:action'
8
+ end
5
9
  end
6
10
  match ':controller(/:action(/:id(.:format)))'
7
11
  end
@@ -0,0 +1,28 @@
1
+ # -*- coding: utf-8 -*-
2
+ require File.expand_path(File.join(File.dirname(__FILE__), '/../../spec_helper'))
3
+
4
+ describe Admin::TopController do
5
+ describe "GET 'full_path'" do
6
+ context "PCからのアクセスの場合" do
7
+ before do
8
+ @user_agent = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322)"
9
+ end
10
+ it '_partial.html.erbが使用されること' do
11
+ get '/admin/top/full_path', {}, { "HTTP_USER_AGENT" => @user_agent}
12
+
13
+ response.should have_tag("h2", :content => "_partial.html.erb")
14
+ end
15
+ end
16
+
17
+ context "DoCoMoからのアクセスの場合" do
18
+ before do
19
+ @user_agent = "DoCoMo/2.0 SH902i(c100;TB;W24H12)"
20
+ end
21
+ it '_partial_mobile_docomo.html.erbが使用されること' do
22
+ get '/admin/top/full_path', {}, { "HTTP_USER_AGENT" => @user_agent}
23
+
24
+ response.should have_tag("h2", :content => "_partial_mobile_docomo.html.erb")
25
+ end
26
+ end
27
+ end
28
+ end
@@ -236,4 +236,28 @@ describe TemplatePathController, "integrated_views" do
236
236
  end
237
237
  end
238
238
  end
239
+
240
+ context "full_path_partial" do
241
+ context "PCからのアクセスの場合" do
242
+ before do
243
+ @user_agent = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322)"
244
+ end
245
+ it '_partial.html.erbが使用されること' do
246
+ get "/template_path/full_path_partial", {}, { "HTTP_USER_AGENT" => @user_agent}
247
+
248
+ response.should have_tag("h2", :content => "_partial.html.erb")
249
+ end
250
+ end
251
+
252
+ context "DoCoMoからのアクセスの場合" do
253
+ before do
254
+ @user_agent = "DoCoMo/2.0 SH902i(c100;TB;W24H12)"
255
+ end
256
+ it '_partial_mobile_docomo.html.erbが使用されること' do
257
+ get "/template_path/full_path_partial", {}, { "HTTP_USER_AGENT" => @user_agent}
258
+
259
+ response.should have_tag("h2", :content => "_partial_mobile_docomo.html.erb")
260
+ end
261
+ end
262
+ end
239
263
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jpmobile
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-03-13 00:00:00.000000000 Z
13
+ date: 2012-04-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: jeweler
17
- requirement: &23136360 !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,15 @@ dependencies:
22
22
  version: '0'
23
23
  type: :development
24
24
  prerelease: false
25
- version_requirements: *23136360
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: '0'
26
31
  - !ruby/object:Gem::Dependency
27
32
  name: rails
28
- requirement: &23135360 !ruby/object:Gem::Requirement
33
+ requirement: !ruby/object:Gem::Requirement
29
34
  none: false
30
35
  requirements:
31
36
  - - ~>
@@ -33,10 +38,15 @@ dependencies:
33
38
  version: 3.2.1
34
39
  type: :development
35
40
  prerelease: false
36
- version_requirements: *23135360
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ~>
45
+ - !ruby/object:Gem::Version
46
+ version: 3.2.1
37
47
  - !ruby/object:Gem::Dependency
38
48
  name: rspec
39
- requirement: &23134360 !ruby/object:Gem::Requirement
49
+ requirement: !ruby/object:Gem::Requirement
40
50
  none: false
41
51
  requirements:
42
52
  - - ! '>='
@@ -44,10 +54,15 @@ dependencies:
44
54
  version: '0'
45
55
  type: :development
46
56
  prerelease: false
47
- version_requirements: *23134360
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
48
63
  - !ruby/object:Gem::Dependency
49
64
  name: rspec-rails
50
- requirement: &23192600 !ruby/object:Gem::Requirement
65
+ requirement: !ruby/object:Gem::Requirement
51
66
  none: false
52
67
  requirements:
53
68
  - - ! '>='
@@ -55,10 +70,15 @@ dependencies:
55
70
  version: '0'
56
71
  type: :development
57
72
  prerelease: false
58
- version_requirements: *23192600
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ! '>='
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
59
79
  - !ruby/object:Gem::Dependency
60
80
  name: webrat
61
- requirement: &23191360 !ruby/object:Gem::Requirement
81
+ requirement: !ruby/object:Gem::Requirement
62
82
  none: false
63
83
  requirements:
64
84
  - - ! '>='
@@ -66,10 +86,15 @@ dependencies:
66
86
  version: '0'
67
87
  type: :development
68
88
  prerelease: false
69
- version_requirements: *23191360
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ! '>='
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
70
95
  - !ruby/object:Gem::Dependency
71
96
  name: geokit
72
- requirement: &23190320 !ruby/object:Gem::Requirement
97
+ requirement: !ruby/object:Gem::Requirement
73
98
  none: false
74
99
  requirements:
75
100
  - - ! '>='
@@ -77,10 +102,15 @@ dependencies:
77
102
  version: '0'
78
103
  type: :development
79
104
  prerelease: false
80
- version_requirements: *23190320
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
81
111
  - !ruby/object:Gem::Dependency
82
112
  name: sqlite3-ruby
83
- requirement: &23189320 !ruby/object:Gem::Requirement
113
+ requirement: !ruby/object:Gem::Requirement
84
114
  none: false
85
115
  requirements:
86
116
  - - ! '>='
@@ -88,10 +118,15 @@ dependencies:
88
118
  version: '0'
89
119
  type: :development
90
120
  prerelease: false
91
- version_requirements: *23189320
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - ! '>='
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
92
127
  - !ruby/object:Gem::Dependency
93
128
  name: hpricot
94
- requirement: &23188420 !ruby/object:Gem::Requirement
129
+ requirement: !ruby/object:Gem::Requirement
95
130
  none: false
96
131
  requirements:
97
132
  - - ! '>='
@@ -99,10 +134,15 @@ dependencies:
99
134
  version: '0'
100
135
  type: :development
101
136
  prerelease: false
102
- version_requirements: *23188420
137
+ version_requirements: !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
103
143
  - !ruby/object:Gem::Dependency
104
144
  name: rails
105
- requirement: &23187500 !ruby/object:Gem::Requirement
145
+ requirement: !ruby/object:Gem::Requirement
106
146
  none: false
107
147
  requirements:
108
148
  - - ! '>='
@@ -110,10 +150,15 @@ dependencies:
110
150
  version: 3.2.0
111
151
  type: :development
112
152
  prerelease: false
113
- version_requirements: *23187500
153
+ version_requirements: !ruby/object:Gem::Requirement
154
+ none: false
155
+ requirements:
156
+ - - ! '>='
157
+ - !ruby/object:Gem::Version
158
+ version: 3.2.0
114
159
  - !ruby/object:Gem::Dependency
115
160
  name: jeweler
116
- requirement: &23185580 !ruby/object:Gem::Requirement
161
+ requirement: !ruby/object:Gem::Requirement
117
162
  none: false
118
163
  requirements:
119
164
  - - ! '>='
@@ -121,10 +166,15 @@ dependencies:
121
166
  version: 1.5.1
122
167
  type: :development
123
168
  prerelease: false
124
- version_requirements: *23185580
169
+ version_requirements: !ruby/object:Gem::Requirement
170
+ none: false
171
+ requirements:
172
+ - - ! '>='
173
+ - !ruby/object:Gem::Version
174
+ version: 1.5.1
125
175
  - !ruby/object:Gem::Dependency
126
176
  name: rspec
127
- requirement: &23291240 !ruby/object:Gem::Requirement
177
+ requirement: !ruby/object:Gem::Requirement
128
178
  none: false
129
179
  requirements:
130
180
  - - ! '>='
@@ -132,10 +182,15 @@ dependencies:
132
182
  version: 2.6.0
133
183
  type: :development
134
184
  prerelease: false
135
- version_requirements: *23291240
185
+ version_requirements: !ruby/object:Gem::Requirement
186
+ none: false
187
+ requirements:
188
+ - - ! '>='
189
+ - !ruby/object:Gem::Version
190
+ version: 2.6.0
136
191
  - !ruby/object:Gem::Dependency
137
192
  name: rspec-rails
138
- requirement: &23290400 !ruby/object:Gem::Requirement
193
+ requirement: !ruby/object:Gem::Requirement
139
194
  none: false
140
195
  requirements:
141
196
  - - ! '>='
@@ -143,10 +198,15 @@ dependencies:
143
198
  version: 2.6.0
144
199
  type: :development
145
200
  prerelease: false
146
- version_requirements: *23290400
201
+ version_requirements: !ruby/object:Gem::Requirement
202
+ none: false
203
+ requirements:
204
+ - - ! '>='
205
+ - !ruby/object:Gem::Version
206
+ version: 2.6.0
147
207
  - !ruby/object:Gem::Dependency
148
208
  name: webrat
149
- requirement: &23289620 !ruby/object:Gem::Requirement
209
+ requirement: !ruby/object:Gem::Requirement
150
210
  none: false
151
211
  requirements:
152
212
  - - ! '>='
@@ -154,10 +214,15 @@ dependencies:
154
214
  version: 0.7.2
155
215
  type: :development
156
216
  prerelease: false
157
- version_requirements: *23289620
217
+ version_requirements: !ruby/object:Gem::Requirement
218
+ none: false
219
+ requirements:
220
+ - - ! '>='
221
+ - !ruby/object:Gem::Version
222
+ version: 0.7.2
158
223
  - !ruby/object:Gem::Dependency
159
224
  name: geokit
160
- requirement: &23288680 !ruby/object:Gem::Requirement
225
+ requirement: !ruby/object:Gem::Requirement
161
226
  none: false
162
227
  requirements:
163
228
  - - ! '>='
@@ -165,10 +230,15 @@ dependencies:
165
230
  version: 1.5.0
166
231
  type: :development
167
232
  prerelease: false
168
- version_requirements: *23288680
233
+ version_requirements: !ruby/object:Gem::Requirement
234
+ none: false
235
+ requirements:
236
+ - - ! '>='
237
+ - !ruby/object:Gem::Version
238
+ version: 1.5.0
169
239
  - !ruby/object:Gem::Dependency
170
240
  name: sqlite3-ruby
171
- requirement: &23287860 !ruby/object:Gem::Requirement
241
+ requirement: !ruby/object:Gem::Requirement
172
242
  none: false
173
243
  requirements:
174
244
  - - ! '>='
@@ -176,10 +246,15 @@ dependencies:
176
246
  version: 1.3.2
177
247
  type: :development
178
248
  prerelease: false
179
- version_requirements: *23287860
249
+ version_requirements: !ruby/object:Gem::Requirement
250
+ none: false
251
+ requirements:
252
+ - - ! '>='
253
+ - !ruby/object:Gem::Version
254
+ version: 1.3.2
180
255
  - !ruby/object:Gem::Dependency
181
256
  name: hpricot
182
- requirement: &23286840 !ruby/object:Gem::Requirement
257
+ requirement: !ruby/object:Gem::Requirement
183
258
  none: false
184
259
  requirements:
185
260
  - - ! '>='
@@ -187,10 +262,15 @@ dependencies:
187
262
  version: 0.8.3
188
263
  type: :development
189
264
  prerelease: false
190
- version_requirements: *23286840
265
+ version_requirements: !ruby/object:Gem::Requirement
266
+ none: false
267
+ requirements:
268
+ - - ! '>='
269
+ - !ruby/object:Gem::Version
270
+ version: 0.8.3
191
271
  - !ruby/object:Gem::Dependency
192
272
  name: git
193
- requirement: &23285160 !ruby/object:Gem::Requirement
273
+ requirement: !ruby/object:Gem::Requirement
194
274
  none: false
195
275
  requirements:
196
276
  - - ! '>='
@@ -198,7 +278,12 @@ dependencies:
198
278
  version: 1.2.5
199
279
  type: :development
200
280
  prerelease: false
201
- version_requirements: *23285160
281
+ version_requirements: !ruby/object:Gem::Requirement
282
+ none: false
283
+ requirements:
284
+ - - ! '>='
285
+ - !ruby/object:Gem::Version
286
+ version: 1.2.5
202
287
  description: A Rails plugin for Japanese mobile-phones
203
288
  email: dara@shidara.net
204
289
  executables: []
@@ -281,6 +366,7 @@ files:
281
366
  - spec/unit/decorated_mail_spec.rb
282
367
  - spec/unit/email-fixtures/au-attached.eml
283
368
  - spec/unit/email-fixtures/au-decomail.eml
369
+ - spec/unit/email-fixtures/au-email.eml
284
370
  - spec/unit/email-fixtures/au-emoji.eml
285
371
  - spec/unit/email-fixtures/au-emoji2.eml
286
372
  - spec/unit/email-fixtures/au-emoji5.eml
@@ -307,6 +393,7 @@ files:
307
393
  - test/rails/.gitignore
308
394
  - test/rails/overrides/.rspec
309
395
  - test/rails/overrides/Gemfile
396
+ - test/rails/overrides/app/controllers/admin/top_controller.rb
310
397
  - test/rails/overrides/app/controllers/application_controller.rb
311
398
  - test/rails/overrides/app/controllers/docomo_guid_always_controller.rb
312
399
  - test/rails/overrides/app/controllers/docomo_guid_base_controller.rb
@@ -365,6 +452,7 @@ files:
365
452
  - test/rails/overrides/app/views/template_path/_partial_mobile_docomo.html.erb
366
453
  - test/rails/overrides/app/views/template_path/_partial_smart_phone.html.erb
367
454
  - test/rails/overrides/app/views/template_path/_partial_smart_phone_iphone.html.erb
455
+ - test/rails/overrides/app/views/template_path/full_path_partial.html.erb
368
456
  - test/rails/overrides/app/views/template_path/index.html.erb
369
457
  - test/rails/overrides/app/views/template_path/index_mobile.html.erb
370
458
  - test/rails/overrides/app/views/template_path/index_mobile_docomo.html.erb
@@ -401,6 +489,7 @@ files:
401
489
  - test/rails/overrides/spec/mailers/mobile_mailer_spec.rb
402
490
  - test/rails/overrides/spec/mailers/normal_mailer_spec.rb
403
491
  - test/rails/overrides/spec/rcov.opts
492
+ - test/rails/overrides/spec/requests/admin/top_spec.rb
404
493
  - test/rails/overrides/spec/requests/docomo_guid_spec.rb
405
494
  - test/rails/overrides/spec/requests/docomo_spec.rb
406
495
  - test/rails/overrides/spec/requests/emobile_spec.rb
@@ -442,7 +531,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
442
531
  version: '0'
443
532
  requirements: []
444
533
  rubyforge_project:
445
- rubygems_version: 1.8.17
534
+ rubygems_version: 1.8.21
446
535
  signing_key:
447
536
  specification_version: 3
448
537
  summary: A Rails plugin for Japanese mobile-phones