jpmobile 7.0.3 → 7.1.0

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: d1bf5ac7b8990ee2a93e32ae73d0c17e4d885a6a54ab638afdbfa00702a3ff92
4
+ data.tar.gz: edeffe639d9688089207d519641fe3ee1ee64009f5be1599ac1e4f98f055c870
5
5
  SHA512:
6
- metadata.gz: 4f418fba357ce7cd534817f4a398b0308d9baa720196ff6eecdb459806f5c998a1408db386ce9917bf74e62857406dd91f8f6757319b35d95f571a763b2f5ad1
7
- data.tar.gz: 8067721a16ed607f3074326ebf340be90e6991bdc186a4e9d8f251a8b857b67789d235489d6bf75511f3b7b66923c8a6f1f62ba84df95f2e041143d3b307aa80
6
+ metadata.gz: 6ce5bad75caf0768608ca2c1ff7e82a2acac24ed986c2bca3a7e06e3dddc14b59b3d3fcb140c308c0951e6e7fbd7b93b93bfc53c7519e90dcedf60184b7fb7d0
7
+ data.tar.gz: a4ee5011bd2eb575e0fc1bc3d7cf502ac5abe6aeeb8f2c2d1101b0f73c3bd3ddaccaa55d82afbe790e37b50b2fa91f6ccfbe8e44282d3f4c2f919775de1d9095
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.6
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.2
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.1.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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jpmobile (7.0.3)
4
+ jpmobile (7.0.4)
5
5
  mail (~> 2.7.0)
6
6
  rexml
7
7
  scanf
@@ -9,215 +9,261 @@ 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.1.0)
13
+ actionpack (= 7.1.0)
14
+ activesupport (= 7.1.0)
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
+ zeitwerk (~> 2.6)
18
+ actionmailbox (7.1.0)
19
+ actionpack (= 7.1.0)
20
+ activejob (= 7.1.0)
21
+ activerecord (= 7.1.0)
22
+ activestorage (= 7.1.0)
23
+ activesupport (= 7.1.0)
23
24
  mail (>= 2.7.1)
24
25
  net-imap
25
26
  net-pop
26
27
  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)
28
+ actionmailer (7.1.0)
29
+ actionpack (= 7.1.0)
30
+ actionview (= 7.1.0)
31
+ activejob (= 7.1.0)
32
+ activesupport (= 7.1.0)
32
33
  mail (~> 2.5, >= 2.5.4)
33
34
  net-imap
34
35
  net-pop
35
36
  net-smtp
36
- rails-dom-testing (~> 2.0)
37
- actionpack (7.0.3)
38
- actionview (= 7.0.3)
39
- activesupport (= 7.0.3)
40
- rack (~> 2.0, >= 2.2.0)
37
+ rails-dom-testing (~> 2.2)
38
+ actionpack (7.1.0)
39
+ actionview (= 7.1.0)
40
+ activesupport (= 7.1.0)
41
+ nokogiri (>= 1.8.5)
42
+ rack (>= 2.2.4)
43
+ rack-session (>= 1.0.1)
41
44
  rack-test (>= 0.6.3)
42
- rails-dom-testing (~> 2.0)
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)
45
+ rails-dom-testing (~> 2.2)
46
+ rails-html-sanitizer (~> 1.6)
47
+ actiontext (7.1.0)
48
+ actionpack (= 7.1.0)
49
+ activerecord (= 7.1.0)
50
+ activestorage (= 7.1.0)
51
+ activesupport (= 7.1.0)
49
52
  globalid (>= 0.6.0)
50
53
  nokogiri (>= 1.8.5)
51
- actionview (7.0.3)
52
- activesupport (= 7.0.3)
54
+ actionview (7.1.0)
55
+ activesupport (= 7.1.0)
53
56
  builder (~> 3.1)
54
- erubi (~> 1.4)
55
- rails-dom-testing (~> 2.0)
56
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
57
- activejob (7.0.3)
58
- activesupport (= 7.0.3)
57
+ erubi (~> 1.11)
58
+ rails-dom-testing (~> 2.2)
59
+ rails-html-sanitizer (~> 1.6)
60
+ activejob (7.1.0)
61
+ activesupport (= 7.1.0)
59
62
  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)
63
+ activemodel (7.1.0)
64
+ activesupport (= 7.1.0)
65
+ activerecord (7.1.0)
66
+ activemodel (= 7.1.0)
67
+ activesupport (= 7.1.0)
68
+ timeout (>= 0.4.0)
69
+ activestorage (7.1.0)
70
+ actionpack (= 7.1.0)
71
+ activejob (= 7.1.0)
72
+ activerecord (= 7.1.0)
73
+ activesupport (= 7.1.0)
70
74
  marcel (~> 1.0)
71
- mini_mime (>= 1.1.0)
72
- activesupport (7.0.3)
75
+ activesupport (7.1.0)
76
+ base64
77
+ bigdecimal
73
78
  concurrent-ruby (~> 1.0, >= 1.0.2)
79
+ connection_pool (>= 2.2.5)
80
+ drb
74
81
  i18n (>= 1.6, < 2)
75
82
  minitest (>= 5.1)
83
+ mutex_m
76
84
  tzinfo (~> 2.0)
85
+ addressable (2.8.1)
86
+ public_suffix (>= 2.0.2, < 6.0)
77
87
  ast (2.4.2)
88
+ base64 (0.1.1)
89
+ bigdecimal (3.1.4)
78
90
  builder (3.2.4)
79
91
  coderay (1.1.3)
80
- concurrent-ruby (1.1.10)
92
+ concurrent-ruby (1.2.2)
93
+ connection_pool (2.4.1)
81
94
  crass (1.0.6)
95
+ date (3.3.3)
82
96
  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)
97
+ drb (2.1.1)
98
+ ruby2_keywords
99
+ erubi (1.12.0)
100
+ geokit (1.14.0)
101
+ git (1.18.0)
102
+ addressable (~> 2.8)
87
103
  rchardet (~> 1.8)
88
- globalid (1.0.0)
89
- activesupport (>= 5.0)
104
+ globalid (1.2.1)
105
+ activesupport (>= 6.1)
90
106
  hpricot (0.8.6)
91
- i18n (1.10.0)
107
+ i18n (1.14.1)
92
108
  concurrent-ruby (~> 1.0)
93
- loofah (2.18.0)
109
+ io-console (0.6.0)
110
+ irb (1.8.1)
111
+ rdoc
112
+ reline (>= 0.3.8)
113
+ json (2.6.3)
114
+ language_server-protocol (3.17.0.3)
115
+ loofah (2.21.3)
94
116
  crass (~> 1.0.2)
95
- nokogiri (>= 1.5.9)
117
+ nokogiri (>= 1.12.0)
96
118
  mail (2.7.1)
97
119
  mini_mime (>= 0.1.1)
98
120
  marcel (1.0.2)
99
121
  method_source (1.0.0)
100
- mini_mime (1.1.2)
101
- minitest (5.15.0)
102
- net-imap (0.2.3)
103
- digest
122
+ mini_mime (1.1.5)
123
+ minitest (5.20.0)
124
+ mutex_m (0.1.2)
125
+ net-imap (0.4.0)
126
+ date
104
127
  net-protocol
105
- strscan
106
- net-pop (0.1.1)
107
- digest
128
+ net-pop (0.1.2)
108
129
  net-protocol
130
+ net-protocol (0.2.1)
109
131
  timeout
110
- net-protocol (0.1.3)
111
- timeout
112
- net-smtp (0.3.1)
113
- digest
132
+ net-smtp (0.4.0)
114
133
  net-protocol
115
- timeout
116
- nio4r (2.5.8)
117
- nokogiri (1.13.6-arm64-darwin)
134
+ nio4r (2.5.9)
135
+ nokogiri (1.14.5-arm64-darwin)
118
136
  racc (~> 1.4)
119
- nokogiri (1.13.6-x86_64-linux)
137
+ nokogiri (1.14.5-x86_64-linux)
120
138
  racc (~> 1.4)
121
- parallel (1.22.1)
122
- parser (3.1.2.0)
139
+ parallel (1.23.0)
140
+ parser (3.2.2.3)
123
141
  ast (~> 2.4.1)
124
- pry (0.14.1)
142
+ racc
143
+ pry (0.14.2)
125
144
  coderay (~> 1.1)
126
145
  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)
146
+ psych (5.1.0)
147
+ stringio
148
+ public_suffix (5.0.1)
149
+ racc (1.7.1)
150
+ rack (2.2.8)
151
+ rack-session (1.0.1)
152
+ rack (< 3)
153
+ rack-test (2.1.0)
154
+ rack (>= 1.3)
155
+ rackup (1.0.0)
156
+ rack (< 3)
157
+ webrick
158
+ rails (7.1.0)
159
+ actioncable (= 7.1.0)
160
+ actionmailbox (= 7.1.0)
161
+ actionmailer (= 7.1.0)
162
+ actionpack (= 7.1.0)
163
+ actiontext (= 7.1.0)
164
+ actionview (= 7.1.0)
165
+ activejob (= 7.1.0)
166
+ activemodel (= 7.1.0)
167
+ activerecord (= 7.1.0)
168
+ activestorage (= 7.1.0)
169
+ activesupport (= 7.1.0)
143
170
  bundler (>= 1.15.0)
144
- railties (= 7.0.3)
145
- rails-dom-testing (2.0.3)
146
- activesupport (>= 4.2.0)
171
+ railties (= 7.1.0)
172
+ rails-dom-testing (2.2.0)
173
+ activesupport (>= 5.0.0)
174
+ minitest
147
175
  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)
153
- method_source
176
+ rails-html-sanitizer (1.6.0)
177
+ loofah (~> 2.21)
178
+ nokogiri (~> 1.14)
179
+ railties (7.1.0)
180
+ actionpack (= 7.1.0)
181
+ activesupport (= 7.1.0)
182
+ irb
183
+ rackup (>= 1.0.0)
154
184
  rake (>= 12.2)
155
- thor (~> 1.0)
156
- zeitwerk (~> 2.5)
185
+ thor (~> 1.0, >= 1.2.2)
186
+ zeitwerk (~> 2.6)
157
187
  rainbow (3.1.1)
158
188
  rake (13.0.6)
159
189
  rchardet (1.8.0)
160
- regexp_parser (2.5.0)
161
- 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)
190
+ rdoc (6.5.0)
191
+ psych (>= 4.0.0)
192
+ regexp_parser (2.8.1)
193
+ reline (0.3.9)
194
+ io-console (~> 0.5)
195
+ rexml (3.2.6)
196
+ rspec (3.12.0)
197
+ rspec-core (~> 3.12.0)
198
+ rspec-expectations (~> 3.12.0)
199
+ rspec-mocks (~> 3.12.0)
200
+ rspec-core (3.12.2)
201
+ rspec-support (~> 3.12.0)
202
+ rspec-expectations (3.12.3)
169
203
  diff-lcs (>= 1.2.0, < 2.0)
170
- rspec-support (~> 3.11.0)
204
+ rspec-support (~> 3.12.0)
171
205
  rspec-its (1.3.0)
172
206
  rspec-core (>= 3.0.0)
173
207
  rspec-expectations (>= 3.0.0)
174
- rspec-mocks (3.11.1)
208
+ rspec-mocks (3.12.5)
175
209
  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)
210
+ rspec-support (~> 3.12.0)
211
+ rspec-rails (6.0.3)
212
+ actionpack (>= 6.1)
213
+ activesupport (>= 6.1)
214
+ railties (>= 6.1)
215
+ rspec-core (~> 3.12)
216
+ rspec-expectations (~> 3.12)
217
+ rspec-mocks (~> 3.12)
218
+ rspec-support (~> 3.12)
219
+ rspec-support (3.12.1)
220
+ rubocop (1.56.4)
221
+ base64 (~> 0.1.1)
222
+ json (~> 2.3)
223
+ language_server-protocol (>= 3.17.0)
187
224
  parallel (~> 1.10)
188
- parser (>= 3.1.0.0)
225
+ parser (>= 3.2.2.3)
189
226
  rainbow (>= 2.2.2, < 4.0)
190
227
  regexp_parser (>= 1.8, < 3.0)
191
228
  rexml (>= 3.2.5, < 4.0)
192
- rubocop-ast (>= 1.18.0, < 2.0)
229
+ rubocop-ast (>= 1.28.1, < 2.0)
193
230
  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)
231
+ unicode-display_width (>= 2.4.0, < 3.0)
232
+ rubocop-ast (1.29.0)
233
+ parser (>= 3.2.1.0)
234
+ rubocop-capybara (2.19.0)
235
+ rubocop (~> 1.41)
236
+ rubocop-factory_bot (2.24.0)
237
+ rubocop (~> 1.33)
238
+ rubocop-performance (1.19.1)
198
239
  rubocop (>= 1.7.0, < 2.0)
199
240
  rubocop-ast (>= 0.4.0)
200
- rubocop-rails (2.14.2)
241
+ rubocop-rails (2.21.2)
201
242
  activesupport (>= 4.2.0)
202
243
  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)
244
+ rubocop (>= 1.33.0, < 2.0)
245
+ rubocop-rspec (2.24.1)
246
+ rubocop (~> 1.33)
247
+ rubocop-capybara (~> 2.17)
248
+ rubocop-factory_bot (~> 2.22)
249
+ ruby-progressbar (1.13.0)
250
+ ruby2_keywords (0.0.5)
207
251
  scanf (1.0.0)
208
- sqlite3 (1.4.2)
252
+ sqlite3 (1.6.1-arm64-darwin)
253
+ sqlite3 (1.6.1-x86_64-linux)
209
254
  sqlite3-ruby (1.3.3)
210
255
  sqlite3 (>= 1.3.3)
211
- strscan (3.0.3)
212
- thor (1.2.1)
213
- timeout (0.3.0)
214
- tzinfo (2.0.4)
256
+ stringio (3.0.8)
257
+ thor (1.2.2)
258
+ timeout (0.4.0)
259
+ tzinfo (2.0.6)
215
260
  concurrent-ruby (~> 1.0)
216
- unicode-display_width (2.1.0)
217
- websocket-driver (0.7.5)
261
+ unicode-display_width (2.4.2)
262
+ webrick (1.8.1)
263
+ websocket-driver (0.7.6)
218
264
  websocket-extensions (>= 0.1.0)
219
265
  websocket-extensions (0.1.5)
220
- zeitwerk (2.5.4)
266
+ zeitwerk (2.6.11)
221
267
 
222
268
  PLATFORMS
223
269
  arm64-darwin-20
@@ -230,7 +276,7 @@ DEPENDENCIES
230
276
  hpricot
231
277
  jpmobile!
232
278
  pry
233
- rails (~> 7.0.0.alpha2)
279
+ rails (~> 7.1.0)
234
280
  rspec
235
281
  rspec-its
236
282
  rspec-rails
@@ -241,4 +287,4 @@ DEPENDENCIES
241
287
  sqlite3-ruby
242
288
 
243
289
  BUNDLED WITH
244
- 2.3.15
290
+ 2.4.19
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)
data/lib/jpmobile/mail.rb CHANGED
@@ -202,7 +202,7 @@ module Mail
202
202
  end
203
203
 
204
204
  unless self.header['Content-Type'].sub_type == 'mixed'
205
- self.header['Content-Type'] = self.content_type.gsub(/#{self.header['Content-Type'].sub_type}/, 'mixed')
205
+ self.header['Content-Type'] = self.content_type.gsub(/#{self.header["Content-Type"].sub_type}/, 'mixed')
206
206
  end
207
207
  self.parts.clear
208
208
  self.body = nil
@@ -1,13 +1,12 @@
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
8
8
  class Base < ActionMailer::Base
9
- self._view_paths = self._view_paths.dup
10
- self.view_paths.unshift(Jpmobile::Resolver.new(File.join(::Rails.root, 'app/views')))
9
+ self.prepend_view_path(Jpmobile::Resolver.new(File.join(::Rails.root, 'app/views')))
11
10
 
12
11
  def mail(headers = {}, &block)
13
12
  tos = headers[:to] || self.default_params[:to]
@@ -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
@@ -14,10 +14,13 @@ module Jpmobile
14
14
 
15
15
  class PathParser < ::ActionView::Resolver::PathParser
16
16
  def build_path_regex
17
- handlers = ::ActionView::Template::Handlers.extensions.map {|x| Regexp.escape(x) }.join('|')
18
- formats = ::ActionView::Template::Types.symbols.map {|x| Regexp.escape(x) }.join('|')
19
- locales = '[a-z]{2}(?:-[A-Z]{2})?'
17
+ handlers = Regexp.union(::ActionView::Template::Handlers.extensions.map(&:to_s))
18
+ formats = Regexp.union(::ActionView::Template::Types.symbols.map(&:to_s))
19
+ available_locales = I18n.available_locales.map(&:to_s)
20
+ regular_locales = [/[a-z]{2}(?:[-_][A-Z]{2})?/]
21
+ locales = Regexp.union(available_locales + regular_locales)
20
22
  variants = '[^.]*'
23
+
21
24
  mobile = Jpmobile::Mobile.all_variants.map {|x| Regexp.escape(x) }.join('|')
22
25
 
23
26
  %r{
@@ -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.1.0'.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
@@ -21,8 +21,9 @@ describe 'Method-less mobile template only action', type: :request do
21
21
  end
22
22
 
23
23
  context 'when accessed with non-mobile User-Agent' do
24
- it 'raises AbstractController::ActionNotFound' do
25
- expect { subject }.to raise_error(AbstractController::ActionNotFound)
24
+ it 'retuens 404 status' do
25
+ subject
26
+ expect(response).to have_http_status(404)
26
27
  end
27
28
  end
28
29
  end
@@ -19,8 +19,9 @@ describe 'PCからのアクセスの場合', type: :request do
19
19
  end
20
20
 
21
21
  context 'routesが存在しない場合' do
22
- it 'ActionController::RoutingErrorをraiseする' do
23
- expect { get '/not_exist', params: {}, env: @headers }.to raise_error ActionController::RoutingError
22
+ it '404を返す' do
23
+ get '/not_exist', params: {}, env: @headers
24
+ expect(response).to have_http_status(404)
24
25
  end
25
26
  end
26
27
  end
@@ -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.1.0
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-10-06 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.10
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: []