jpmobile 7.0.3 → 7.0.4

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
  SHA256:
3
- metadata.gz: b00599e53c71e6bf45f9d8b953b4e7256d3a0f32f1e7f905006467e4a2dd8095
4
- data.tar.gz: 935af37ae804e50db7cccf3fa979abddde111ba5f9e9fe61fea57a1420a567d8
3
+ metadata.gz: 8acb3fe12055999174dfcc30d0921aa35a248e22d9fb64540114e41bded0672e
4
+ data.tar.gz: dba26d765bb314423d84acbad508f79ba7b2d0169a5c58c2e5b2613231ae50b2
5
5
  SHA512:
6
- metadata.gz: 4f418fba357ce7cd534817f4a398b0308d9baa720196ff6eecdb459806f5c998a1408db386ce9917bf74e62857406dd91f8f6757319b35d95f571a763b2f5ad1
7
- data.tar.gz: 8067721a16ed607f3074326ebf340be90e6991bdc186a4e9d8f251a8b857b67789d235489d6bf75511f3b7b66923c8a6f1f62ba84df95f2e041143d3b307aa80
6
+ metadata.gz: c466981bb59f0bbae858d9c798d6f9376ba55a3d7c614619b9ac8741480f7518c5e6690ba905c7db032d8ed9ee915fdf0ee54ac09211c037517f4b99f022ec43
7
+ data.tar.gz: 0b20fa2cccb7cdd57c5505029c8300bc8d1e0f0851da5e0251dea95dc34e7c0b6aaf6af4e4f20f7e452888f5f1dd4ecff392469301df644133cc000f83a55daa
data/.circleci/config.yml CHANGED
@@ -1,11 +1,11 @@
1
1
  version: 2.1
2
2
  orbs:
3
- browser-tools: circleci/browser-tools@1.1
3
+ browser-tools: circleci/browser-tools@1.4.1
4
4
  jobs:
5
5
  test-job:
6
6
  working_directory: ~/jpmobile
7
7
  docker:
8
- - image: cimg/ruby:3.1-browsers
8
+ - image: cimg/ruby:3.2-browsers
9
9
  environment:
10
10
  BUNDLE_JOBS: 3
11
11
  BUNDLE_RETRY: 3
data/.rubocop.yml CHANGED
@@ -107,6 +107,7 @@ Metrics/ModuleLength:
107
107
  Metrics/BlockLength:
108
108
  Exclude:
109
109
  - '**/*_spec.rb'
110
+ - 'jpmobile.gemspec'
110
111
  - 'lib/jpmobile/emoticon.rb'
111
112
  - 'lib/tasks/jpmobile_tasks.rake'
112
113
  - 'test/rails/overrides/config/routes.rb'
@@ -140,6 +141,7 @@ Lint/SuppressedException:
140
141
  Lint/Void:
141
142
  Exclude:
142
143
  - 'lib/jpmobile/filter.rb'
144
+ - 'lib/jpmobile/util.rb'
143
145
 
144
146
  Style/StringConcatenation:
145
147
  Enabled: false
@@ -195,7 +197,7 @@ Metrics/ParameterLists:
195
197
  Exclude:
196
198
  - 'lib/jpmobile/path_set.rb'
197
199
 
198
- Gemspec/DateAssignment: # new in 1.10
200
+ Gemspec/DeprecatedAttributeAssignment: # new in 1.10
199
201
  Enabled: true
200
202
  Gemspec/RequireMFA: # new in 1.23
201
203
  Enabled: true
@@ -297,3 +299,71 @@ Performance/StringInclude: # new in 1.7
297
299
  Enabled: false
298
300
  Performance/Sum: # new in 1.8
299
301
  Enabled: true
302
+
303
+ Layout/LineContinuationLeadingSpace: # new in 1.31
304
+ Enabled: true
305
+ Layout/LineContinuationSpacing: # new in 1.31
306
+ Enabled: true
307
+ Lint/ConstantOverwrittenInRescue: # new in 1.31
308
+ Enabled: true
309
+ Lint/NonAtomicFileOperation: # new in 1.31
310
+ Enabled: true
311
+ Lint/RefinementImportMethods: # new in 1.27
312
+ Enabled: true
313
+ Lint/RequireRangeParentheses: # new in 1.32
314
+ Enabled: true
315
+ Security/CompoundHash: # new in 1.28
316
+ Enabled: true
317
+ Style/EmptyHeredoc: # new in 1.32
318
+ Enabled: true
319
+ Style/EnvHome: # new in 1.29
320
+ Enabled: true
321
+ Style/FetchEnvVar: # new in 1.28
322
+ Enabled: true
323
+ Style/MagicCommentFormat: # new in 1.35
324
+ Enabled: true
325
+ Style/MapCompactWithConditionalBlock: # new in 1.30
326
+ Enabled: true
327
+ Style/NestedFileDirname: # new in 1.26
328
+ Enabled: true
329
+ Style/ObjectThen: # new in 1.28
330
+ Enabled: true
331
+ Style/RedundantInitialize: # new in 1.27
332
+ Enabled: true
333
+
334
+ Gemspec/DevelopmentDependencies: # new in 1.44
335
+ Enabled: true
336
+ Lint/DuplicateMagicComment: # new in 1.37
337
+ Enabled: true
338
+ Lint/UselessRescue: # new in 1.43
339
+ Enabled: true
340
+ Metrics/CollectionLiteralLength: # new in 1.47
341
+ Enabled: true
342
+ Exclude:
343
+ - 'lib/jpmobile/emoticon/*.rb'
344
+ Style/ArrayIntersect: # new in 1.40
345
+ Enabled: true
346
+ Style/ComparableClamp: # new in 1.44
347
+ Enabled: true
348
+ Style/ConcatArrayLiterals: # new in 1.41
349
+ Enabled: true
350
+ Style/RedundantDoubleSplatHashBraces: # new in 1.41
351
+ Enabled: true
352
+ Style/RedundantEach: # new in 1.38
353
+ Enabled: true
354
+ Style/RedundantHeredocDelimiterQuotes: # new in 1.45
355
+ Enabled: true
356
+ Style/RedundantStringEscape: # new in 1.37
357
+ Enabled: true
358
+ Style/DirEmpty: # new in 1.48
359
+ Enabled: true
360
+ Style/FileEmpty: # new in 1.48
361
+ Enabled: true
362
+ Style/MapToSet: # new in 1.42
363
+ Enabled: true
364
+ Style/MinMaxComparison: # new in 1.42
365
+ Enabled: true
366
+ Style/OperatorMethodCall: # new in 1.37
367
+ Enabled: true
368
+ Style/RedundantConstantBase: # new in 1.40
369
+ Enabled: true
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.1.2
1
+ 3.2.1
data/Gemfile CHANGED
@@ -3,7 +3,16 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in jpmobile.gemspec
4
4
  gemspec
5
5
 
6
+ gem 'geokit'
7
+ gem 'git'
8
+ gem 'hpricot'
9
+ gem 'pry'
10
+ gem 'rails', '~> 7.0.0'
11
+ gem 'rspec'
12
+ gem 'rspec-its'
13
+ gem 'rspec-rails'
6
14
  gem 'rubocop', require: false
7
15
  gem 'rubocop-performance', require: false
8
16
  gem 'rubocop-rails', require: false
9
17
  gem 'rubocop-rspec', require: false
18
+ gem 'sqlite3-ruby'
data/Gemfile.lock CHANGED
@@ -9,88 +9,92 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actioncable (7.0.3)
13
- actionpack (= 7.0.3)
14
- activesupport (= 7.0.3)
12
+ actioncable (7.0.4.3)
13
+ actionpack (= 7.0.4.3)
14
+ activesupport (= 7.0.4.3)
15
15
  nio4r (~> 2.0)
16
16
  websocket-driver (>= 0.6.1)
17
- actionmailbox (7.0.3)
18
- actionpack (= 7.0.3)
19
- activejob (= 7.0.3)
20
- activerecord (= 7.0.3)
21
- activestorage (= 7.0.3)
22
- activesupport (= 7.0.3)
17
+ actionmailbox (7.0.4.3)
18
+ actionpack (= 7.0.4.3)
19
+ activejob (= 7.0.4.3)
20
+ activerecord (= 7.0.4.3)
21
+ activestorage (= 7.0.4.3)
22
+ activesupport (= 7.0.4.3)
23
23
  mail (>= 2.7.1)
24
24
  net-imap
25
25
  net-pop
26
26
  net-smtp
27
- actionmailer (7.0.3)
28
- actionpack (= 7.0.3)
29
- actionview (= 7.0.3)
30
- activejob (= 7.0.3)
31
- activesupport (= 7.0.3)
27
+ actionmailer (7.0.4.3)
28
+ actionpack (= 7.0.4.3)
29
+ actionview (= 7.0.4.3)
30
+ activejob (= 7.0.4.3)
31
+ activesupport (= 7.0.4.3)
32
32
  mail (~> 2.5, >= 2.5.4)
33
33
  net-imap
34
34
  net-pop
35
35
  net-smtp
36
36
  rails-dom-testing (~> 2.0)
37
- actionpack (7.0.3)
38
- actionview (= 7.0.3)
39
- activesupport (= 7.0.3)
37
+ actionpack (7.0.4.3)
38
+ actionview (= 7.0.4.3)
39
+ activesupport (= 7.0.4.3)
40
40
  rack (~> 2.0, >= 2.2.0)
41
41
  rack-test (>= 0.6.3)
42
42
  rails-dom-testing (~> 2.0)
43
43
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
44
- actiontext (7.0.3)
45
- actionpack (= 7.0.3)
46
- activerecord (= 7.0.3)
47
- activestorage (= 7.0.3)
48
- activesupport (= 7.0.3)
44
+ actiontext (7.0.4.3)
45
+ actionpack (= 7.0.4.3)
46
+ activerecord (= 7.0.4.3)
47
+ activestorage (= 7.0.4.3)
48
+ activesupport (= 7.0.4.3)
49
49
  globalid (>= 0.6.0)
50
50
  nokogiri (>= 1.8.5)
51
- actionview (7.0.3)
52
- activesupport (= 7.0.3)
51
+ actionview (7.0.4.3)
52
+ activesupport (= 7.0.4.3)
53
53
  builder (~> 3.1)
54
54
  erubi (~> 1.4)
55
55
  rails-dom-testing (~> 2.0)
56
56
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
57
- activejob (7.0.3)
58
- activesupport (= 7.0.3)
57
+ activejob (7.0.4.3)
58
+ activesupport (= 7.0.4.3)
59
59
  globalid (>= 0.3.6)
60
- activemodel (7.0.3)
61
- activesupport (= 7.0.3)
62
- activerecord (7.0.3)
63
- activemodel (= 7.0.3)
64
- activesupport (= 7.0.3)
65
- activestorage (7.0.3)
66
- actionpack (= 7.0.3)
67
- activejob (= 7.0.3)
68
- activerecord (= 7.0.3)
69
- activesupport (= 7.0.3)
60
+ activemodel (7.0.4.3)
61
+ activesupport (= 7.0.4.3)
62
+ activerecord (7.0.4.3)
63
+ activemodel (= 7.0.4.3)
64
+ activesupport (= 7.0.4.3)
65
+ activestorage (7.0.4.3)
66
+ actionpack (= 7.0.4.3)
67
+ activejob (= 7.0.4.3)
68
+ activerecord (= 7.0.4.3)
69
+ activesupport (= 7.0.4.3)
70
70
  marcel (~> 1.0)
71
71
  mini_mime (>= 1.1.0)
72
- activesupport (7.0.3)
72
+ activesupport (7.0.4.3)
73
73
  concurrent-ruby (~> 1.0, >= 1.0.2)
74
74
  i18n (>= 1.6, < 2)
75
75
  minitest (>= 5.1)
76
76
  tzinfo (~> 2.0)
77
+ addressable (2.8.1)
78
+ public_suffix (>= 2.0.2, < 6.0)
77
79
  ast (2.4.2)
78
80
  builder (3.2.4)
79
81
  coderay (1.1.3)
80
- concurrent-ruby (1.1.10)
82
+ concurrent-ruby (1.2.2)
81
83
  crass (1.0.6)
82
84
  diff-lcs (1.5.0)
83
- digest (3.1.0)
84
- erubi (1.10.0)
85
- geokit (1.13.1)
86
- git (1.11.0)
85
+ digest (3.1.1)
86
+ erubi (1.12.0)
87
+ geokit (1.14.0)
88
+ git (1.18.0)
89
+ addressable (~> 2.8)
87
90
  rchardet (~> 1.8)
88
- globalid (1.0.0)
91
+ globalid (1.0.1)
89
92
  activesupport (>= 5.0)
90
93
  hpricot (0.8.6)
91
- i18n (1.10.0)
94
+ i18n (1.12.0)
92
95
  concurrent-ruby (~> 1.0)
93
- loofah (2.18.0)
96
+ json (2.6.3)
97
+ loofah (2.19.1)
94
98
  crass (~> 1.0.2)
95
99
  nokogiri (>= 1.5.9)
96
100
  mail (2.7.1)
@@ -98,58 +102,55 @@ GEM
98
102
  marcel (1.0.2)
99
103
  method_source (1.0.0)
100
104
  mini_mime (1.1.2)
101
- minitest (5.15.0)
105
+ minitest (5.18.0)
102
106
  net-imap (0.2.3)
103
107
  digest
104
108
  net-protocol
105
109
  strscan
106
- net-pop (0.1.1)
107
- digest
110
+ net-pop (0.1.2)
108
111
  net-protocol
109
- timeout
110
112
  net-protocol (0.1.3)
111
113
  timeout
112
- net-smtp (0.3.1)
113
- digest
114
+ net-smtp (0.3.3)
114
115
  net-protocol
115
- timeout
116
116
  nio4r (2.5.8)
117
- nokogiri (1.13.6-arm64-darwin)
117
+ nokogiri (1.14.2-arm64-darwin)
118
118
  racc (~> 1.4)
119
- nokogiri (1.13.6-x86_64-linux)
119
+ nokogiri (1.14.2-x86_64-linux)
120
120
  racc (~> 1.4)
121
121
  parallel (1.22.1)
122
- parser (3.1.2.0)
122
+ parser (3.2.1.1)
123
123
  ast (~> 2.4.1)
124
- pry (0.14.1)
124
+ pry (0.14.2)
125
125
  coderay (~> 1.1)
126
126
  method_source (~> 1.0)
127
- racc (1.6.0)
128
- rack (2.2.3.1)
129
- rack-test (1.1.0)
130
- rack (>= 1.0, < 3)
131
- rails (7.0.3)
132
- actioncable (= 7.0.3)
133
- actionmailbox (= 7.0.3)
134
- actionmailer (= 7.0.3)
135
- actionpack (= 7.0.3)
136
- actiontext (= 7.0.3)
137
- actionview (= 7.0.3)
138
- activejob (= 7.0.3)
139
- activemodel (= 7.0.3)
140
- activerecord (= 7.0.3)
141
- activestorage (= 7.0.3)
142
- activesupport (= 7.0.3)
127
+ public_suffix (5.0.1)
128
+ racc (1.6.2)
129
+ rack (2.2.6.4)
130
+ rack-test (2.1.0)
131
+ rack (>= 1.3)
132
+ rails (7.0.4.3)
133
+ actioncable (= 7.0.4.3)
134
+ actionmailbox (= 7.0.4.3)
135
+ actionmailer (= 7.0.4.3)
136
+ actionpack (= 7.0.4.3)
137
+ actiontext (= 7.0.4.3)
138
+ actionview (= 7.0.4.3)
139
+ activejob (= 7.0.4.3)
140
+ activemodel (= 7.0.4.3)
141
+ activerecord (= 7.0.4.3)
142
+ activestorage (= 7.0.4.3)
143
+ activesupport (= 7.0.4.3)
143
144
  bundler (>= 1.15.0)
144
- railties (= 7.0.3)
145
+ railties (= 7.0.4.3)
145
146
  rails-dom-testing (2.0.3)
146
147
  activesupport (>= 4.2.0)
147
148
  nokogiri (>= 1.6)
148
- rails-html-sanitizer (1.4.2)
149
- loofah (~> 2.3)
150
- railties (7.0.3)
151
- actionpack (= 7.0.3)
152
- activesupport (= 7.0.3)
149
+ rails-html-sanitizer (1.5.0)
150
+ loofah (~> 2.19, >= 2.19.1)
151
+ railties (7.0.4.3)
152
+ actionpack (= 7.0.4.3)
153
+ activesupport (= 7.0.4.3)
153
154
  method_source
154
155
  rake (>= 12.2)
155
156
  thor (~> 1.0)
@@ -157,67 +158,72 @@ GEM
157
158
  rainbow (3.1.1)
158
159
  rake (13.0.6)
159
160
  rchardet (1.8.0)
160
- regexp_parser (2.5.0)
161
+ regexp_parser (2.7.0)
161
162
  rexml (3.2.5)
162
- rspec (3.11.0)
163
- rspec-core (~> 3.11.0)
164
- rspec-expectations (~> 3.11.0)
165
- rspec-mocks (~> 3.11.0)
166
- rspec-core (3.11.0)
167
- rspec-support (~> 3.11.0)
168
- rspec-expectations (3.11.0)
163
+ rspec (3.12.0)
164
+ rspec-core (~> 3.12.0)
165
+ rspec-expectations (~> 3.12.0)
166
+ rspec-mocks (~> 3.12.0)
167
+ rspec-core (3.12.1)
168
+ rspec-support (~> 3.12.0)
169
+ rspec-expectations (3.12.2)
169
170
  diff-lcs (>= 1.2.0, < 2.0)
170
- rspec-support (~> 3.11.0)
171
+ rspec-support (~> 3.12.0)
171
172
  rspec-its (1.3.0)
172
173
  rspec-core (>= 3.0.0)
173
174
  rspec-expectations (>= 3.0.0)
174
- rspec-mocks (3.11.1)
175
+ rspec-mocks (3.12.4)
175
176
  diff-lcs (>= 1.2.0, < 2.0)
176
- rspec-support (~> 3.11.0)
177
- rspec-rails (5.1.2)
178
- actionpack (>= 5.2)
179
- activesupport (>= 5.2)
180
- railties (>= 5.2)
181
- rspec-core (~> 3.10)
182
- rspec-expectations (~> 3.10)
183
- rspec-mocks (~> 3.10)
184
- rspec-support (~> 3.10)
185
- rspec-support (3.11.0)
186
- rubocop (1.30.0)
177
+ rspec-support (~> 3.12.0)
178
+ rspec-rails (6.0.1)
179
+ actionpack (>= 6.1)
180
+ activesupport (>= 6.1)
181
+ railties (>= 6.1)
182
+ rspec-core (~> 3.11)
183
+ rspec-expectations (~> 3.11)
184
+ rspec-mocks (~> 3.11)
185
+ rspec-support (~> 3.11)
186
+ rspec-support (3.12.0)
187
+ rubocop (1.48.1)
188
+ json (~> 2.3)
187
189
  parallel (~> 1.10)
188
- parser (>= 3.1.0.0)
190
+ parser (>= 3.2.0.0)
189
191
  rainbow (>= 2.2.2, < 4.0)
190
192
  regexp_parser (>= 1.8, < 3.0)
191
193
  rexml (>= 3.2.5, < 4.0)
192
- rubocop-ast (>= 1.18.0, < 2.0)
194
+ rubocop-ast (>= 1.26.0, < 2.0)
193
195
  ruby-progressbar (~> 1.7)
194
- unicode-display_width (>= 1.4.0, < 3.0)
195
- rubocop-ast (1.18.0)
196
- parser (>= 3.1.1.0)
197
- rubocop-performance (1.14.0)
196
+ unicode-display_width (>= 2.4.0, < 3.0)
197
+ rubocop-ast (1.27.0)
198
+ parser (>= 3.2.1.0)
199
+ rubocop-capybara (2.17.1)
200
+ rubocop (~> 1.41)
201
+ rubocop-performance (1.16.0)
198
202
  rubocop (>= 1.7.0, < 2.0)
199
203
  rubocop-ast (>= 0.4.0)
200
- rubocop-rails (2.14.2)
204
+ rubocop-rails (2.18.0)
201
205
  activesupport (>= 4.2.0)
202
206
  rack (>= 1.1)
203
- rubocop (>= 1.7.0, < 2.0)
204
- rubocop-rspec (2.11.1)
205
- rubocop (~> 1.19)
206
- ruby-progressbar (1.11.0)
207
+ rubocop (>= 1.33.0, < 2.0)
208
+ rubocop-rspec (2.19.0)
209
+ rubocop (~> 1.33)
210
+ rubocop-capybara (~> 2.17)
211
+ ruby-progressbar (1.13.0)
207
212
  scanf (1.0.0)
208
- sqlite3 (1.4.2)
213
+ sqlite3 (1.6.1-arm64-darwin)
214
+ sqlite3 (1.6.1-x86_64-linux)
209
215
  sqlite3-ruby (1.3.3)
210
216
  sqlite3 (>= 1.3.3)
211
- strscan (3.0.3)
217
+ strscan (3.0.6)
212
218
  thor (1.2.1)
213
- timeout (0.3.0)
214
- tzinfo (2.0.4)
219
+ timeout (0.3.2)
220
+ tzinfo (2.0.6)
215
221
  concurrent-ruby (~> 1.0)
216
- unicode-display_width (2.1.0)
222
+ unicode-display_width (2.4.2)
217
223
  websocket-driver (0.7.5)
218
224
  websocket-extensions (>= 0.1.0)
219
225
  websocket-extensions (0.1.5)
220
- zeitwerk (2.5.4)
226
+ zeitwerk (2.6.7)
221
227
 
222
228
  PLATFORMS
223
229
  arm64-darwin-20
@@ -230,7 +236,7 @@ DEPENDENCIES
230
236
  hpricot
231
237
  jpmobile!
232
238
  pry
233
- rails (~> 7.0.0.alpha2)
239
+ rails (~> 7.0.0)
234
240
  rspec
235
241
  rspec-its
236
242
  rspec-rails
data/jpmobile.gemspec CHANGED
@@ -9,11 +9,13 @@ Gem::Specification.new do |gem|
9
9
  gem.email = ['rust.stnard@gmail.com']
10
10
  gem.description = 'A Rails plugin for mobile devices in Japan'
11
11
  gem.summary = 'Rails plugin for mobile devices in Japan'
12
- gem.homepage = 'http://jpmobile-rails.org'
12
+ gem.homepage = 'https://jpmobile-rails.org'
13
13
  gem.license = 'MIT'
14
14
 
15
+ gem.metadata['source_code_uri'] = 'https://github.com/jpmobile/jpmobile'
16
+ gem.metadata['documentation_uri'] = gem.metadata['source_code_uri']
17
+
15
18
  gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
16
- gem.test_files = gem.files.grep(%r{^(test|spec|system)/})
17
19
  gem.require_paths = ['lib']
18
20
 
19
21
  gem.required_ruby_version = '>= 2.7.0'
@@ -21,14 +23,5 @@ Gem::Specification.new do |gem|
21
23
  gem.add_dependency 'mail', '~> 2.7.0'
22
24
  gem.add_dependency 'rexml'
23
25
  gem.add_dependency 'scanf'
24
- gem.add_development_dependency 'geokit'
25
- gem.add_development_dependency 'git'
26
- gem.add_development_dependency 'hpricot'
27
- gem.add_development_dependency 'pry'
28
- gem.add_development_dependency 'rails', '~> 7.0.0.alpha2'
29
- gem.add_development_dependency 'rspec'
30
- gem.add_development_dependency 'rspec-its'
31
- gem.add_development_dependency 'rspec-rails'
32
- gem.add_development_dependency 'sqlite3-ruby'
33
26
  gem.metadata['rubygems_mfa_required'] = 'true'
34
27
  end
@@ -119,7 +119,7 @@ module Jpmobile
119
119
  doc = convert_text_content(doc)
120
120
 
121
121
  html = doc.to_html.gsub("\xc2\xa0", '&nbsp;')
122
- html = html.gsub(/charset=[a-z0-9\-]+/i, "charset=#{default_charset}") if default_charset
122
+ html = html.gsub(/charset=[a-z0-9-]+/i, "charset=#{default_charset}") if default_charset
123
123
  html
124
124
  else
125
125
  filter(:hankaku, str)
@@ -1,7 +1,7 @@
1
1
  require 'jpmobile/mail'
2
2
  require 'jpmobile/lookup_context'
3
3
 
4
- Jpmobile::Email.japanese_mail_address_regexp = Regexp.new(/\.jp(?:[^a-zA-Z.\-]|$)/)
4
+ Jpmobile::Email.japanese_mail_address_regexp = Regexp.new(/\.jp(?:[^a-zA-Z.-]|$)/)
5
5
 
6
6
  module Jpmobile
7
7
  module Mailer
@@ -27,17 +27,17 @@ module Jpmobile
27
27
  :lng
28
28
  end
29
29
  end
30
+ # 度分秒を度に変換する。
31
+ def self.dms2deg(d, m, s)
32
+ d.to_i + (m.to_i.to_f / 60) + (s.to_f / 3600)
33
+ end
34
+
30
35
  def initialize
31
36
  @lat = nil
32
37
  @lon = nil
33
38
  @options = {}
34
39
  end
35
40
 
36
- # 度分秒を度に変換する。
37
- def self.dms2deg(d, m, s)
38
- d.to_i + (m.to_i.to_f / 60) + (s.to_f / 3600)
39
- end
40
-
41
41
  # 日本測地系から世界測地系に変換する。
42
42
  def tokyo2wgs84!
43
43
  @lat, @lon = DatumConv.tky2jgd(@lat, @lon)
@@ -4,11 +4,14 @@ ActiveSupport.on_load(:action_controller) do
4
4
  require 'jpmobile/helpers'
5
5
  require 'jpmobile/method_less_action_support'
6
6
  require 'jpmobile/trans_sid'
7
- require 'jpmobile/hook_test_request'
8
7
  ActionDispatch::Request.prepend Jpmobile::Encoding
9
8
  ActionDispatch::Request.include Jpmobile::RequestWithMobile
10
9
  ActionController::Base.prepend Jpmobile::FallbackViewSelector
11
10
  ActionController::Base.prepend Jpmobile::TransSidRedirecting
11
+
12
+ if Rails.env.test?
13
+ require 'jpmobile/hook_test_request'
14
+ end
12
15
  end
13
16
 
14
17
  ActiveSupport.on_load(:action_view) do
@@ -34,7 +37,7 @@ end
34
37
 
35
38
  ActiveSupport.on_load(:before_configuration) do
36
39
  # MobileCarrierのみデフォルトで有効
37
- config.middleware.insert_after ActionDispatch::Flash, ::Jpmobile::MobileCarrier
40
+ config.middleware.insert_after ActionDispatch::Flash, Jpmobile::MobileCarrier
38
41
 
39
42
  Rails::Application::Configuration.include Jpmobile::Configuration::RailsConfiguration
40
43
  end
@@ -66,7 +66,7 @@ module Jpmobile
66
66
 
67
67
  module TransSidRedirecting
68
68
  def redirect_to(options = {}, response_status = {})
69
- if apply_trans_sid? && jpmobile_session_id && options != :back && options !~ /^\w[\w+.-]*:.*/
69
+ if apply_trans_sid? && jpmobile_session_id
70
70
  case options
71
71
  when String
72
72
  unless options.match?(/#{session_key}/)
@@ -1,3 +1,3 @@
1
1
  module Jpmobile
2
- VERSION = '7.0.3'.freeze
2
+ VERSION = '7.0.4'.freeze
3
3
  end
data/renovate.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
+ "extends": [
4
+ "config:base"
5
+ ]
6
+ }
@@ -20,7 +20,7 @@ describe Jpmobile::ParamsFilter do
20
20
  context 'Shift_JIS 変換の ' do
21
21
  before(:each) do
22
22
  @query_string = @query_params.map {|k, v|
23
- '%s=%s' % [::Rack::Utils.escape(utf8_to_sjis(k)), ::Rack::Utils.escape(utf8_to_sjis(v))]
23
+ '%s=%s' % [Rack::Utils.escape(utf8_to_sjis(k)), Rack::Utils.escape(utf8_to_sjis(v))]
24
24
  }.join('&')
25
25
  @form_string = @form_params.map {|k, v|
26
26
  '%s=%s' % [utf8_to_sjis(k), utf8_to_sjis(v)]
@@ -75,7 +75,7 @@ describe Jpmobile::ParamsFilter do
75
75
  context 'UTF-8 の' do
76
76
  before(:each) do
77
77
  @query_string = @query_params.map {|k, v|
78
- '%s=%s' % [::Rack::Utils.escape(k), ::Rack::Utils.escape(v)]
78
+ '%s=%s' % [Rack::Utils.escape(k), Rack::Utils.escape(v)]
79
79
  }.join('&')
80
80
  @form_string = @form_params.map {|k, v|
81
81
  '%s=%s' % [k, v]
@@ -109,7 +109,7 @@ describe Jpmobile::ParamsFilter do
109
109
  context '絵文字変換' do
110
110
  context 'docomo の場合' do
111
111
  it 'Shift_JIS 絵文字がUTF-8に変換されること' do
112
- query_string = 'hoge=' + ::Rack::Utils.escape(sjis("\xf8\x9f"))
112
+ query_string = 'hoge=' + Rack::Utils.escape(sjis("\xf8\x9f"))
113
113
  form_string = 'foo=' + sjis("\xf8\xa1")
114
114
 
115
115
  res = Rack::MockRequest.env_for(
@@ -131,7 +131,7 @@ describe Jpmobile::ParamsFilter do
131
131
 
132
132
  context 'au の場合' do
133
133
  it 'Shift_JIS 絵文字がUTF-8に変換されること' do
134
- query_string = 'hoge=' + ::Rack::Utils.escape(sjis("\xf6\x59"))
134
+ query_string = 'hoge=' + Rack::Utils.escape(sjis("\xf6\x59"))
135
135
  form_string = 'foo=' + sjis("\xf6\xfb")
136
136
 
137
137
  res = Rack::MockRequest.env_for(
@@ -153,7 +153,7 @@ describe Jpmobile::ParamsFilter do
153
153
 
154
154
  context 'Softbank の場合' do
155
155
  it 'UTF-8 絵文字がUTF-8に変換されること' do
156
- query_string = ascii_8bit('hoge=' + ::Rack::Utils.escape([0xe001].pack('U')))
156
+ query_string = ascii_8bit('hoge=' + Rack::Utils.escape([0xe001].pack('U')))
157
157
  form_string = ascii_8bit('foo=' + [0xe21c].pack('U'))
158
158
 
159
159
  res = Rack::MockRequest.env_for(
@@ -178,7 +178,7 @@ describe Jpmobile::ParamsFilter do
178
178
  context '値として' do
179
179
  it '+ が入ってるものが正確に取得できること(token)' do
180
180
  token = 'lm/3Pu6RrY+kp8hsnEWp2xygYLInZIxwsB3UWeksaHQ='
181
- form_string = ascii_8bit("foo=#{::Rack::Utils.escape(token)}")
181
+ form_string = ascii_8bit("foo=#{Rack::Utils.escape(token)}")
182
182
 
183
183
  res = Rack::MockRequest.env_for(
184
184
  '/',
@@ -56,7 +56,7 @@ describe 'Jpmobile::Email' do
56
56
 
57
57
  describe 'japanese_mail_address_regexp' do
58
58
  before do
59
- Jpmobile::Email.japanese_mail_address_regexp = Regexp.new(/\.jp(?:[^a-zA-Z.\-]|$)/)
59
+ Jpmobile::Email.japanese_mail_address_regexp = Regexp.new(/\.jp(?:[^a-zA-Z.-]|$)/)
60
60
  end
61
61
 
62
62
  it '#detect_from_mail_header should return Jpmobile::Mobile::AbstractMobile when the header contains .jp address' do
@@ -345,8 +345,8 @@ describe 'Jpmobile::Mail' do
345
345
  @mail.delivery_method :smtp,
346
346
  {
347
347
  enable_starttls_auto: false,
348
- user_name: ENV['MAILTRAP_USERNAME'],
349
- password: ENV['MAILTRAP_PASSWORD'],
348
+ user_name: ENV.fetch('MAILTRAP_USERNAME', nil),
349
+ password: ENV.fetch('MAILTRAP_PASSWORD', nil),
350
350
  address: 'smtp.mailtrap.io',
351
351
  domain: 'smtp.mailtrap.io',
352
352
  port: '2525',
@@ -7,7 +7,7 @@ describe 'Jpmobile::Mail#receive' do
7
7
 
8
8
  before(:each) do
9
9
  @to = 'info@jpmobile-rails.org'
10
- Jpmobile::Email.japanese_mail_address_regexp = Regexp.new(/\.jp[^a-zA-Z.\-]/)
10
+ Jpmobile::Email.japanese_mail_address_regexp = Regexp.new(/\.jp[^a-zA-Z.-]/)
11
11
  end
12
12
 
13
13
  describe 'PC mail' do
@@ -86,7 +86,7 @@ describe Jpmobile::Util do
86
86
  end
87
87
 
88
88
  it 'does not enter infinite loop on retry' do
89
- expect { force_encode("\e\x28\x49\x9a\x43\x3D\x44\e\x28\x42".force_encoding('ISO-2022-JP'), 'iso-2022-jp', 'UTF-8') }.to raise_error ::Encoding::InvalidByteSequenceError
89
+ expect { force_encode("\e\x28\x49\x9a\x43\x3D\x44\e\x28\x42".force_encoding('ISO-2022-JP'), 'iso-2022-jp', 'UTF-8') }.to raise_error Encoding::InvalidByteSequenceError
90
90
  end
91
91
 
92
92
  it 'frozenでも通過すること' do
@@ -28,7 +28,7 @@ ActiveRecord::Migration.maintain_test_schema!
28
28
 
29
29
  RSpec.configure do |config|
30
30
  # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
31
- config.fixture_path = "#{::Rails.root}/spec/fixtures"
31
+ config.fixture_path = "#{Rails.root}/spec/fixtures"
32
32
 
33
33
  # If you're not using ActiveRecord, or you'd prefer not to run each of your
34
34
  # examples within a transaction, remove the following line or assign false
@@ -3,11 +3,9 @@ require 'capybara/cuprite'
3
3
  Capybara.register_driver(:cuprite) do |app|
4
4
  Capybara::Cuprite::Driver.new(
5
5
  app,
6
- **{
7
- window_size: [1200, 800],
8
- browser_options: {},
9
- inspector: true,
10
- },
6
+ window_size: [1200, 800],
7
+ browser_options: {},
8
+ inspector: true,
11
9
  )
12
10
  end
13
11
 
@@ -3,7 +3,6 @@ require 'sinatra'
3
3
  require File.join(File.dirname(__FILE__), '../../lib/jpmobile')
4
4
  require 'jpmobile/rack'
5
5
  require 'singleton'
6
- require 'pp'
7
6
 
8
7
  require 'jpmobile/sinatra'
9
8
 
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: 7.0.3
4
+ version: 7.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shin-ichiro OGAWA
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-06-08 00:00:00.000000000 Z
12
+ date: 2023-05-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mail
@@ -53,132 +53,6 @@ dependencies:
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
- - !ruby/object:Gem::Dependency
57
- name: geokit
58
- requirement: !ruby/object:Gem::Requirement
59
- requirements:
60
- - - ">="
61
- - !ruby/object:Gem::Version
62
- version: '0'
63
- type: :development
64
- prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- version: '0'
70
- - !ruby/object:Gem::Dependency
71
- name: git
72
- requirement: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- version: '0'
77
- type: :development
78
- prerelease: false
79
- version_requirements: !ruby/object:Gem::Requirement
80
- requirements:
81
- - - ">="
82
- - !ruby/object:Gem::Version
83
- version: '0'
84
- - !ruby/object:Gem::Dependency
85
- name: hpricot
86
- requirement: !ruby/object:Gem::Requirement
87
- requirements:
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- version: '0'
91
- type: :development
92
- prerelease: false
93
- version_requirements: !ruby/object:Gem::Requirement
94
- requirements:
95
- - - ">="
96
- - !ruby/object:Gem::Version
97
- version: '0'
98
- - !ruby/object:Gem::Dependency
99
- name: pry
100
- requirement: !ruby/object:Gem::Requirement
101
- requirements:
102
- - - ">="
103
- - !ruby/object:Gem::Version
104
- version: '0'
105
- type: :development
106
- prerelease: false
107
- version_requirements: !ruby/object:Gem::Requirement
108
- requirements:
109
- - - ">="
110
- - !ruby/object:Gem::Version
111
- version: '0'
112
- - !ruby/object:Gem::Dependency
113
- name: rails
114
- requirement: !ruby/object:Gem::Requirement
115
- requirements:
116
- - - "~>"
117
- - !ruby/object:Gem::Version
118
- version: 7.0.0.alpha2
119
- type: :development
120
- prerelease: false
121
- version_requirements: !ruby/object:Gem::Requirement
122
- requirements:
123
- - - "~>"
124
- - !ruby/object:Gem::Version
125
- version: 7.0.0.alpha2
126
- - !ruby/object:Gem::Dependency
127
- name: rspec
128
- requirement: !ruby/object:Gem::Requirement
129
- requirements:
130
- - - ">="
131
- - !ruby/object:Gem::Version
132
- version: '0'
133
- type: :development
134
- prerelease: false
135
- version_requirements: !ruby/object:Gem::Requirement
136
- requirements:
137
- - - ">="
138
- - !ruby/object:Gem::Version
139
- version: '0'
140
- - !ruby/object:Gem::Dependency
141
- name: rspec-its
142
- requirement: !ruby/object:Gem::Requirement
143
- requirements:
144
- - - ">="
145
- - !ruby/object:Gem::Version
146
- version: '0'
147
- type: :development
148
- prerelease: false
149
- version_requirements: !ruby/object:Gem::Requirement
150
- requirements:
151
- - - ">="
152
- - !ruby/object:Gem::Version
153
- version: '0'
154
- - !ruby/object:Gem::Dependency
155
- name: rspec-rails
156
- requirement: !ruby/object:Gem::Requirement
157
- requirements:
158
- - - ">="
159
- - !ruby/object:Gem::Version
160
- version: '0'
161
- type: :development
162
- prerelease: false
163
- version_requirements: !ruby/object:Gem::Requirement
164
- requirements:
165
- - - ">="
166
- - !ruby/object:Gem::Version
167
- version: '0'
168
- - !ruby/object:Gem::Dependency
169
- name: sqlite3-ruby
170
- requirement: !ruby/object:Gem::Requirement
171
- requirements:
172
- - - ">="
173
- - !ruby/object:Gem::Version
174
- version: '0'
175
- type: :development
176
- prerelease: false
177
- version_requirements: !ruby/object:Gem::Requirement
178
- requirements:
179
- - - ">="
180
- - !ruby/object:Gem::Version
181
- version: '0'
182
56
  description: A Rails plugin for mobile devices in Japan
183
57
  email:
184
58
  - rust.stnard@gmail.com
@@ -259,6 +133,7 @@ files:
259
133
  - lib/jpmobile/version.rb
260
134
  - lib/jpmobile/view_selector.rb
261
135
  - lib/tasks/jpmobile_tasks.rake
136
+ - renovate.json
262
137
  - spec/rack/jpmobile/android_spec.rb
263
138
  - spec/rack/jpmobile/au_spec.rb
264
139
  - spec/rack/jpmobile/black_berry_spec.rb
@@ -462,10 +337,12 @@ files:
462
337
  - tools/generate_emoticon_conversion_table.rb
463
338
  - tools/generate_softbank_emoticon_table.rb
464
339
  - tools/list_gps_unsupported_au.rb
465
- homepage: http://jpmobile-rails.org
340
+ homepage: https://jpmobile-rails.org
466
341
  licenses:
467
342
  - MIT
468
343
  metadata:
344
+ source_code_uri: https://github.com/jpmobile/jpmobile
345
+ documentation_uri: https://github.com/jpmobile/jpmobile
469
346
  rubygems_mfa_required: 'true'
470
347
  post_install_message:
471
348
  rdoc_options: []
@@ -482,203 +359,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
482
359
  - !ruby/object:Gem::Version
483
360
  version: '0'
484
361
  requirements: []
485
- rubygems_version: 3.3.7
362
+ rubygems_version: 3.4.6
486
363
  signing_key:
487
364
  specification_version: 4
488
365
  summary: Rails plugin for mobile devices in Japan
489
- test_files:
490
- - spec/rack/jpmobile/android_spec.rb
491
- - spec/rack/jpmobile/au_spec.rb
492
- - spec/rack/jpmobile/black_berry_spec.rb
493
- - spec/rack/jpmobile/docomo_spec.rb
494
- - spec/rack/jpmobile/emoticon_spec.rb
495
- - spec/rack/jpmobile/filter_spec.rb
496
- - spec/rack/jpmobile/iphone_spec.rb
497
- - spec/rack/jpmobile/mobile_by_ua_spec.rb
498
- - spec/rack/jpmobile/params_filter_spec.rb
499
- - spec/rack/jpmobile/softbank_spec.rb
500
- - spec/rack/jpmobile/willcom_spec.rb
501
- - spec/rack/jpmobile/windows_phone.rb
502
- - spec/rack_helper.rb
503
- - spec/spec_helper.rb
504
- - spec/unit/decorated_mail_spec.rb
505
- - spec/unit/email-fixtures/au-attached.eml
506
- - spec/unit/email-fixtures/au-decomail.eml
507
- - spec/unit/email-fixtures/au-decomail2.eml
508
- - spec/unit/email-fixtures/au-email.eml
509
- - spec/unit/email-fixtures/au-emoji.eml
510
- - spec/unit/email-fixtures/au-emoji2.eml
511
- - spec/unit/email-fixtures/au-emoji5.eml
512
- - spec/unit/email-fixtures/au-kigou.eml
513
- - spec/unit/email-fixtures/bounce_with_utf8_part.eml
514
- - spec/unit/email-fixtures/docomo-decomail.eml
515
- - spec/unit/email-fixtures/docomo-emoji.eml
516
- - spec/unit/email-fixtures/docomo-gmail-sjis.eml
517
- - spec/unit/email-fixtures/docomo-jis.eml
518
- - spec/unit/email-fixtures/iphone-circled-numbers-in-jis.eml
519
- - spec/unit/email-fixtures/iphone-cp932.eml
520
- - spec/unit/email-fixtures/iphone-jis.eml
521
- - spec/unit/email-fixtures/iphone-mail3.eml
522
- - spec/unit/email-fixtures/iphone-unicode-emoji.eml
523
- - spec/unit/email-fixtures/pc-mail-attached-without-subject.eml
524
- - spec/unit/email-fixtures/pc-mail-multi.eml
525
- - spec/unit/email-fixtures/pc-mail-single.eml
526
- - spec/unit/email-fixtures/photo.jpg
527
- - spec/unit/email-fixtures/softbank-blank.eml
528
- - spec/unit/email-fixtures/softbank-emoji-utf8.eml
529
- - spec/unit/email-fixtures/softbank-emoji.eml
530
- - spec/unit/email-fixtures/softbank-gmail-sjis.eml
531
- - spec/unit/email-fixtures/softbank-gmail-utf8.eml
532
- - spec/unit/email_spec.rb
533
- - spec/unit/emoticon_spec.rb
534
- - spec/unit/encoding_spec.rb
535
- - spec/unit/is_carrier_spec.rb
536
- - spec/unit/mail_spec.rb
537
- - spec/unit/mobile/iphone_spec.rb
538
- - spec/unit/receive_mail_spec.rb
539
- - spec/unit/spec_helper.rb
540
- - spec/unit/util_spec.rb
541
- - spec/unit/valid_ip_spec.rb
542
- - spec/unit/variants_spec.rb
543
- - test/rails/.gitignore
544
- - test/rails/overrides/.rspec
545
- - test/rails/overrides/Gemfile.jpmobile
546
- - test/rails/overrides/app/controllers/admin/top_controller.rb
547
- - test/rails/overrides/app/controllers/application_controller.rb
548
- - test/rails/overrides/app/controllers/docomo_guid_always_controller.rb
549
- - test/rails/overrides/app/controllers/docomo_guid_base_controller.rb
550
- - test/rails/overrides/app/controllers/docomo_guid_docomo_controller.rb
551
- - test/rails/overrides/app/controllers/filter_controller.rb
552
- - test/rails/overrides/app/controllers/filter_controller_base.rb
553
- - test/rails/overrides/app/controllers/hankaku_filter_controller.rb
554
- - test/rails/overrides/app/controllers/hankaku_input_filter_controller.rb
555
- - test/rails/overrides/app/controllers/links_controller.rb
556
- - test/rails/overrides/app/controllers/method_less_action_support_controller.rb
557
- - test/rails/overrides/app/controllers/mobile_spec_controller.rb
558
- - test/rails/overrides/app/controllers/template_path_controller.rb
559
- - test/rails/overrides/app/controllers/trans_sid_always_and_session_off_controller.rb
560
- - test/rails/overrides/app/controllers/trans_sid_always_controller.rb
561
- - test/rails/overrides/app/controllers/trans_sid_base_controller.rb
562
- - test/rails/overrides/app/controllers/trans_sid_metal_controller.rb
563
- - test/rails/overrides/app/controllers/trans_sid_mobile_controller.rb
564
- - test/rails/overrides/app/controllers/trans_sid_none_controller.rb
565
- - test/rails/overrides/app/mailboxes/application_mailbox.rb
566
- - test/rails/overrides/app/mailboxes/mobile_mailer_mailbox.rb
567
- - test/rails/overrides/app/mailers/decorated_mailer.rb
568
- - test/rails/overrides/app/mailers/mobile_mailer.rb
569
- - test/rails/overrides/app/mailers/normal_mailer.rb
570
- - test/rails/overrides/app/models/user.rb
571
- - test/rails/overrides/app/views/decorated_mailer/deco_mail.html.erb
572
- - test/rails/overrides/app/views/decorated_mailer/deco_mail.text.erb
573
- - test/rails/overrides/app/views/filter/index.html.erb
574
- - test/rails/overrides/app/views/filter/text_template.html.erb
575
- - test/rails/overrides/app/views/hankaku_filter/index.html.erb
576
- - test/rails/overrides/app/views/hankaku_input_filter/index.html.erb
577
- - test/rails/overrides/app/views/hankaku_input_filter/index_xhtml.html.erb
578
- - test/rails/overrides/app/views/hankaku_input_filter/with_charset.html.erb
579
- - test/rails/overrides/app/views/layouts/application.html.erb
580
- - test/rails/overrides/app/views/layouts/application_mobile.html.erb
581
- - test/rails/overrides/app/views/layouts/with_charset.html.erb
582
- - test/rails/overrides/app/views/layouts/xhtml.html.erb
583
- - test/rails/overrides/app/views/links/au_gps.html.erb
584
- - test/rails/overrides/app/views/links/au_location.html.erb
585
- - test/rails/overrides/app/views/links/docomo_foma_gps.html.erb
586
- - test/rails/overrides/app/views/links/docomo_openiarea.html.erb
587
- - test/rails/overrides/app/views/links/docomo_utn.html.erb
588
- - test/rails/overrides/app/views/links/link.html.erb
589
- - test/rails/overrides/app/views/links/show_all.html.erb
590
- - test/rails/overrides/app/views/links/softbank_location.html.erb
591
- - test/rails/overrides/app/views/links/willcom_location.html.erb
592
- - test/rails/overrides/app/views/method_less_action_support/index_smart_phone.html.erb
593
- - test/rails/overrides/app/views/mobile_mailer/default_to_mail.text.erb
594
- - test/rails/overrides/app/views/mobile_mailer/multi_message.html.erb
595
- - test/rails/overrides/app/views/mobile_mailer/multi_message.text.erb
596
- - test/rails/overrides/app/views/mobile_mailer/view_selection.html.erb
597
- - test/rails/overrides/app/views/mobile_mailer/view_selection_mobile.html.erb
598
- - test/rails/overrides/app/views/mobile_mailer/view_selection_mobile_au.html.erb
599
- - test/rails/overrides/app/views/mobile_mailer/view_selection_mobile_docomo.html.erb
600
- - test/rails/overrides/app/views/mobile_mailer/view_selection_mobile_emobile.html.erb
601
- - test/rails/overrides/app/views/mobile_mailer/view_selection_mobile_softbank.html.erb
602
- - test/rails/overrides/app/views/mobile_mailer/view_selection_mobile_vodafone.html.erb
603
- - test/rails/overrides/app/views/mobile_mailer/view_selection_mobile_willcom.html.erb
604
- - test/rails/overrides/app/views/mobile_spec/_partial_view_sample.html.erb
605
- - test/rails/overrides/app/views/mobile_spec/index.html.erb
606
- - test/rails/overrides/app/views/mobile_spec/index_mobile.html.erb
607
- - test/rails/overrides/app/views/mobile_spec/mobile_not_exist.html.erb
608
- - test/rails/overrides/app/views/normal_mailer/msg.text.erb
609
- - test/rails/overrides/app/views/template_path/_partial.html.erb
610
- - test/rails/overrides/app/views/template_path/_partial_mobile.html.erb
611
- - test/rails/overrides/app/views/template_path/_partial_mobile_docomo.html.erb
612
- - test/rails/overrides/app/views/template_path/_partial_smart_phone.html.erb
613
- - test/rails/overrides/app/views/template_path/_partial_smart_phone_iphone.html.erb
614
- - test/rails/overrides/app/views/template_path/full_path_partial.html.erb
615
- - test/rails/overrides/app/views/template_path/index.html.erb
616
- - test/rails/overrides/app/views/template_path/index_mobile.html.erb
617
- - test/rails/overrides/app/views/template_path/index_mobile_docomo.html.erb
618
- - test/rails/overrides/app/views/template_path/index_smart_phone.html.erb
619
- - test/rails/overrides/app/views/template_path/index_smart_phone_iphone.html.erb
620
- - test/rails/overrides/app/views/template_path/partial.html.erb
621
- - test/rails/overrides/app/views/template_path/show_mobile.html.erb
622
- - test/rails/overrides/app/views/template_path/show_mobile_docomo.html.erb
623
- - test/rails/overrides/app/views/template_path/smart_phone_only.html.erb
624
- - test/rails/overrides/app/views/template_path/smart_phone_only_smart_phone.html.erb
625
- - test/rails/overrides/app/views/template_path/with_ipd.html.erb
626
- - test/rails/overrides/app/views/template_path/with_ipd_tablet_ipad.html.erb
627
- - test/rails/overrides/app/views/template_path/with_tblt.html.erb
628
- - test/rails/overrides/app/views/template_path/with_tblt_tablet.html.erb
629
- - test/rails/overrides/autotest/discover.rb
630
- - test/rails/overrides/config/initializers/jpmobile_generator.rb
631
- - test/rails/overrides/config/routes.rb
632
- - test/rails/overrides/db/migrate/001_add_sessions_table.rb
633
- - test/rails/overrides/db/migrate/20100824062306_create_users.rb
634
- - test/rails/overrides/db/migrate/20201111033056_create_active_storage_tables.active_storage.rb
635
- - test/rails/overrides/db/migrate/20201111033057_create_action_mailbox_tables.action_mailbox.rb
636
- - test/rails/overrides/spec/controllers/docomo_guid_spec.rb
637
- - test/rails/overrides/spec/controllers/hankaku_filter_controller_spec.rb
638
- - test/rails/overrides/spec/controllers/helpers_spec.rb
639
- - test/rails/overrides/spec/controllers/mobile_spec_controller_spec.rb
640
- - test/rails/overrides/spec/controllers/template_path_spec.rb
641
- - test/rails/overrides/spec/controllers/trans_sid_controller_spec.rb
642
- - test/rails/overrides/spec/fixtures/files/mobile_mailer/au-attached.eml
643
- - test/rails/overrides/spec/fixtures/files/mobile_mailer/au-decomail.eml
644
- - test/rails/overrides/spec/fixtures/files/mobile_mailer/au-emoji.eml
645
- - test/rails/overrides/spec/fixtures/files/mobile_mailer/au-emoji2.eml
646
- - test/rails/overrides/spec/fixtures/files/mobile_mailer/au-emoji5.eml
647
- - test/rails/overrides/spec/fixtures/files/mobile_mailer/bounced-jp.eml
648
- - test/rails/overrides/spec/fixtures/files/mobile_mailer/docomo-emoji.eml
649
- - test/rails/overrides/spec/fixtures/files/mobile_mailer/docomo-gmail-sjis.eml
650
- - test/rails/overrides/spec/fixtures/files/mobile_mailer/docomo-jis.eml
651
- - test/rails/overrides/spec/fixtures/files/mobile_mailer/iphone-message.eml
652
- - test/rails/overrides/spec/fixtures/files/mobile_mailer/no-from.eml
653
- - test/rails/overrides/spec/fixtures/files/mobile_mailer/non-jp.eml
654
- - test/rails/overrides/spec/fixtures/files/mobile_mailer/photo.jpg
655
- - test/rails/overrides/spec/fixtures/files/mobile_mailer/softbank-blank.eml
656
- - test/rails/overrides/spec/fixtures/files/mobile_mailer/softbank-emoji-utf8.eml
657
- - test/rails/overrides/spec/fixtures/files/mobile_mailer/softbank-emoji.eml
658
- - test/rails/overrides/spec/fixtures/files/mobile_mailer/softbank-gmail-sjis.eml
659
- - test/rails/overrides/spec/fixtures/files/mobile_mailer/softbank-gmail-utf8.eml
660
- - test/rails/overrides/spec/helpers/helpers_spec.rb
661
- - test/rails/overrides/spec/mailboxes/mobile_mailer_mailbox_spec.rb
662
- - test/rails/overrides/spec/mailers/decorated_mailer_spec.rb
663
- - test/rails/overrides/spec/mailers/mobile_mailer_spec.rb
664
- - test/rails/overrides/spec/mailers/normal_mailer_spec.rb
665
- - test/rails/overrides/spec/rails_helper.rb
666
- - test/rails/overrides/spec/rcov.opts
667
- - test/rails/overrides/spec/requests/docomo_spec.rb
668
- - test/rails/overrides/spec/requests/emobile_spec.rb
669
- - test/rails/overrides/spec/requests/filter_spec.rb
670
- - test/rails/overrides/spec/requests/method_less_action_support_spec.rb
671
- - test/rails/overrides/spec/requests/pc_spec.rb
672
- - test/rails/overrides/spec/requests/softbank_emulator_spec.rb
673
- - test/rails/overrides/spec/requests/template_path_spec.rb
674
- - test/rails/overrides/spec/requests/trans_sid_spec.rb
675
- - test/rails/overrides/spec/spec_helper.rb
676
- - test/rails/overrides/spec/system/admin/top_spec.rb
677
- - test/rails/overrides/spec/system/filter_spec.rb
678
- - test/rails/overrides/spec/system/support/cuprite_setup.rb
679
- - test/rails/overrides/spec/system_helper.rb
680
- - test/sinatra/config.ru
681
- - test/sinatra/guestbook.rb
682
- - test/sinatra/test/filter_test.rb
683
- - test/sinatra/views/index.erb
684
- - test/sinatra/views/index_mobile.erb
366
+ test_files: []