jpmobile 7.1.0 → 8.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +2 -2
- data/.rubocop.yml +48 -3
- data/.ruby-version +1 -1
- data/Gemfile +1 -4
- data/Gemfile.lock +164 -172
- data/jpmobile.gemspec +2 -2
- data/lib/jpmobile/email.rb +1 -1
- data/lib/jpmobile/emoticon.rb +1 -2
- data/lib/jpmobile/fallback_view_selector.rb +2 -2
- data/lib/jpmobile/filter.rb +1 -1
- data/lib/jpmobile/helpers.rb +1 -1
- data/lib/jpmobile/hook_template_details_requested.rb +1 -1
- data/lib/jpmobile/mail.rb +22 -24
- data/lib/jpmobile/mailer.rb +4 -4
- data/lib/jpmobile/method_less_action_support.rb +3 -3
- data/lib/jpmobile/mobile/abstract_mobile.rb +8 -8
- data/lib/jpmobile/mobile/android.rb +1 -1
- data/lib/jpmobile/mobile/au.rb +2 -2
- data/lib/jpmobile/mobile/black_berry.rb +1 -1
- data/lib/jpmobile/mobile/ddipocket.rb +1 -1
- data/lib/jpmobile/mobile/docomo.rb +2 -2
- data/lib/jpmobile/mobile/emobile.rb +2 -2
- data/lib/jpmobile/mobile/ipad.rb +1 -1
- data/lib/jpmobile/mobile/iphone.rb +1 -1
- data/lib/jpmobile/mobile/softbank.rb +2 -2
- data/lib/jpmobile/mobile/vodafone.rb +2 -2
- data/lib/jpmobile/mobile/willcom.rb +2 -2
- data/lib/jpmobile/mobile/windows_phone.rb +1 -1
- data/lib/jpmobile/path_set.rb +1 -1
- data/lib/jpmobile/rack/filter.rb +2 -0
- data/lib/jpmobile/request_with_mobile.rb +1 -1
- data/lib/jpmobile/resolver.rb +1 -1
- data/lib/jpmobile/session/active_record_store.rb +1 -1
- data/lib/jpmobile/session/mem_cache_store.rb +1 -1
- data/lib/jpmobile/template_details.rb +1 -1
- data/lib/jpmobile/trans_sid.rb +1 -1
- data/lib/jpmobile/version.rb +1 -1
- data/lib/jpmobile/view_selector.rb +2 -2
- data/lib/tasks/jpmobile_tasks.rake +2 -2
- data/spec/rack_helper.rb +0 -1
- data/spec/unit/email_spec.rb +2 -2
- data/spec/unit/is_carrier_spec.rb +1 -1
- data/spec/unit/receive_mail_spec.rb +1 -1
- data/spec/unit/util_spec.rb +0 -1
- data/test/rails/overrides/Gemfile.jpmobile +1 -1
- data/test/rails/overrides/spec/controllers/hankaku_filter_controller_spec.rb +1 -1
- data/test/rails/overrides/spec/controllers/helpers_spec.rb +1 -1
- data/test/rails/overrides/spec/rails_helper.rb +3 -1
- data/test/rails/overrides/spec/requests/method_less_action_support_spec.rb +1 -1
- data/test/rails/overrides/spec/system/filter_spec.rb +8 -8
- data/test/rails/overrides/spec/system_helper.rb +5 -1
- data/test/sinatra/guestbook.rb +1 -1
- metadata +6 -9
- data/tools/generate_au_emoticon_table.rb +0 -34
- data/tools/generate_docomo_emoticon_table.rb +0 -33
- data/tools/generate_softbank_emoticon_table.rb +0 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7734464f89c44e577fb2285001c50878a641db1fd6d2a2950fab678fbe3739eb
|
4
|
+
data.tar.gz: 0cbc7800fa81bb2981e595c4ab57a8081a39653b2682b2948edda737321ea2bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 155f14390fe363425eb798aaafa8f686b30b9cc1fb9c8a4b358b45975199b490ac50bdb02742d4cc1a4773f7f76dcb997492803a43bb97afaf17bfc8f4298259
|
7
|
+
data.tar.gz: 7bd15aa282c7e4a0e4ceba3794895f44898186f49866e4eb0d8b5390a39576953f7de0c5f856c76c7e3af676d28aa7284d15f591e511e63bed4cf4fde4e9ceec
|
data/.circleci/config.yml
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
version: 2.1
|
2
2
|
orbs:
|
3
|
-
browser-tools: circleci/browser-tools@1.4.
|
3
|
+
browser-tools: circleci/browser-tools@1.4.8
|
4
4
|
jobs:
|
5
5
|
test-job:
|
6
6
|
working_directory: ~/jpmobile
|
7
7
|
docker:
|
8
|
-
- image: cimg/ruby:3.
|
8
|
+
- image: cimg/ruby:3.3-browsers
|
9
9
|
environment:
|
10
10
|
BUNDLE_JOBS: 3
|
11
11
|
BUNDLE_RETRY: 3
|
data/.rubocop.yml
CHANGED
@@ -1,9 +1,10 @@
|
|
1
|
-
require:
|
1
|
+
require:
|
2
|
+
- rubocop-performance
|
2
3
|
|
3
4
|
inherit_from: './.onkcop-config.yml'
|
4
5
|
|
5
6
|
AllCops:
|
6
|
-
TargetRubyVersion: 2
|
7
|
+
TargetRubyVersion: 3.2
|
7
8
|
Exclude:
|
8
9
|
- 'tmp/**/*'
|
9
10
|
- 'bin/*'
|
@@ -12,6 +13,7 @@ AllCops:
|
|
12
13
|
- 'tools/**/*'
|
13
14
|
- 'test/rails/rails_root/**/*'
|
14
15
|
- 'vendor/**/*'
|
16
|
+
NewCops: enable
|
15
17
|
|
16
18
|
Style/StringLiterals:
|
17
19
|
EnforcedStyle: single_quotes
|
@@ -366,4 +368,47 @@ Style/MinMaxComparison: # new in 1.42
|
|
366
368
|
Style/OperatorMethodCall: # new in 1.37
|
367
369
|
Enabled: true
|
368
370
|
Style/RedundantConstantBase: # new in 1.40
|
369
|
-
Enabled: true
|
371
|
+
Enabled: true
|
372
|
+
|
373
|
+
Lint/DuplicateMatchPattern: # new in 1.50
|
374
|
+
Enabled: true
|
375
|
+
Lint/ItWithoutArgumentsInBlock: # new in 1.59
|
376
|
+
Enabled: true
|
377
|
+
Lint/LiteralAssignmentInCondition: # new in 1.58
|
378
|
+
Enabled: true
|
379
|
+
Lint/MixedCaseRange: # new in 1.53
|
380
|
+
Enabled: true
|
381
|
+
Lint/RedundantRegexpQuantifiers: # new in 1.53
|
382
|
+
Enabled: true
|
383
|
+
Style/DataInheritance: # new in 1.49
|
384
|
+
Enabled: true
|
385
|
+
Style/ExactRegexpMatch: # new in 1.51
|
386
|
+
Enabled: true
|
387
|
+
Style/MapIntoArray: # new in 1.63
|
388
|
+
Enabled: true
|
389
|
+
Style/RedundantArrayConstructor: # new in 1.52
|
390
|
+
Enabled: true
|
391
|
+
Style/RedundantCurrentDirectoryInPath: # new in 1.53
|
392
|
+
Enabled: true
|
393
|
+
Style/RedundantFilterChain: # new in 1.52
|
394
|
+
Enabled: true
|
395
|
+
Style/RedundantLineContinuation: # new in 1.49
|
396
|
+
Enabled: true
|
397
|
+
Style/RedundantRegexpArgument: # new in 1.53
|
398
|
+
Enabled: true
|
399
|
+
Style/RedundantRegexpConstructor: # new in 1.52
|
400
|
+
Enabled: true
|
401
|
+
Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
|
402
|
+
Enabled: true
|
403
|
+
Style/SendWithLiteralMethodName: # new in 1.64
|
404
|
+
Enabled: true
|
405
|
+
Style/SingleLineDoEndBlock: # new in 1.57
|
406
|
+
Enabled: true
|
407
|
+
Style/SuperArguments: # new in 1.64
|
408
|
+
Enabled: true
|
409
|
+
Style/SuperWithArgsParentheses: # new in 1.58
|
410
|
+
Enabled: true
|
411
|
+
Style/YAMLFileRead: # new in 1.53
|
412
|
+
Enabled: true
|
413
|
+
Performance/MapMethodChain: # new in 1.19
|
414
|
+
Enabled: true
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.3.6
|
data/Gemfile
CHANGED
@@ -5,14 +5,11 @@ gemspec
|
|
5
5
|
|
6
6
|
gem 'geokit'
|
7
7
|
gem 'git'
|
8
|
-
gem 'hpricot'
|
9
8
|
gem 'pry'
|
10
|
-
gem 'rails', '~>
|
9
|
+
gem 'rails', '~> 8.0.0'
|
11
10
|
gem 'rspec'
|
12
11
|
gem 'rspec-its'
|
13
12
|
gem 'rspec-rails'
|
14
13
|
gem 'rubocop', require: false
|
15
14
|
gem 'rubocop-performance', require: false
|
16
|
-
gem 'rubocop-rails', require: false
|
17
|
-
gem 'rubocop-rspec', require: false
|
18
15
|
gem 'sqlite3-ruby'
|
data/Gemfile.lock
CHANGED
@@ -1,174 +1,178 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
jpmobile (7.0
|
5
|
-
mail (~> 2.
|
4
|
+
jpmobile (7.2.0)
|
5
|
+
mail (~> 2.8.0)
|
6
6
|
rexml
|
7
7
|
scanf
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actioncable (
|
13
|
-
actionpack (=
|
14
|
-
activesupport (=
|
12
|
+
actioncable (8.0.0)
|
13
|
+
actionpack (= 8.0.0)
|
14
|
+
activesupport (= 8.0.0)
|
15
15
|
nio4r (~> 2.0)
|
16
16
|
websocket-driver (>= 0.6.1)
|
17
17
|
zeitwerk (~> 2.6)
|
18
|
-
actionmailbox (
|
19
|
-
actionpack (=
|
20
|
-
activejob (=
|
21
|
-
activerecord (=
|
22
|
-
activestorage (=
|
23
|
-
activesupport (=
|
24
|
-
mail (>= 2.
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
activejob (= 7.1.0)
|
32
|
-
activesupport (= 7.1.0)
|
33
|
-
mail (~> 2.5, >= 2.5.4)
|
34
|
-
net-imap
|
35
|
-
net-pop
|
36
|
-
net-smtp
|
18
|
+
actionmailbox (8.0.0)
|
19
|
+
actionpack (= 8.0.0)
|
20
|
+
activejob (= 8.0.0)
|
21
|
+
activerecord (= 8.0.0)
|
22
|
+
activestorage (= 8.0.0)
|
23
|
+
activesupport (= 8.0.0)
|
24
|
+
mail (>= 2.8.0)
|
25
|
+
actionmailer (8.0.0)
|
26
|
+
actionpack (= 8.0.0)
|
27
|
+
actionview (= 8.0.0)
|
28
|
+
activejob (= 8.0.0)
|
29
|
+
activesupport (= 8.0.0)
|
30
|
+
mail (>= 2.8.0)
|
37
31
|
rails-dom-testing (~> 2.2)
|
38
|
-
actionpack (
|
39
|
-
actionview (=
|
40
|
-
activesupport (=
|
32
|
+
actionpack (8.0.0)
|
33
|
+
actionview (= 8.0.0)
|
34
|
+
activesupport (= 8.0.0)
|
41
35
|
nokogiri (>= 1.8.5)
|
42
36
|
rack (>= 2.2.4)
|
43
37
|
rack-session (>= 1.0.1)
|
44
38
|
rack-test (>= 0.6.3)
|
45
39
|
rails-dom-testing (~> 2.2)
|
46
40
|
rails-html-sanitizer (~> 1.6)
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
41
|
+
useragent (~> 0.16)
|
42
|
+
actiontext (8.0.0)
|
43
|
+
actionpack (= 8.0.0)
|
44
|
+
activerecord (= 8.0.0)
|
45
|
+
activestorage (= 8.0.0)
|
46
|
+
activesupport (= 8.0.0)
|
52
47
|
globalid (>= 0.6.0)
|
53
48
|
nokogiri (>= 1.8.5)
|
54
|
-
actionview (
|
55
|
-
activesupport (=
|
49
|
+
actionview (8.0.0)
|
50
|
+
activesupport (= 8.0.0)
|
56
51
|
builder (~> 3.1)
|
57
52
|
erubi (~> 1.11)
|
58
53
|
rails-dom-testing (~> 2.2)
|
59
54
|
rails-html-sanitizer (~> 1.6)
|
60
|
-
activejob (
|
61
|
-
activesupport (=
|
55
|
+
activejob (8.0.0)
|
56
|
+
activesupport (= 8.0.0)
|
62
57
|
globalid (>= 0.3.6)
|
63
|
-
activemodel (
|
64
|
-
activesupport (=
|
65
|
-
activerecord (
|
66
|
-
activemodel (=
|
67
|
-
activesupport (=
|
58
|
+
activemodel (8.0.0)
|
59
|
+
activesupport (= 8.0.0)
|
60
|
+
activerecord (8.0.0)
|
61
|
+
activemodel (= 8.0.0)
|
62
|
+
activesupport (= 8.0.0)
|
68
63
|
timeout (>= 0.4.0)
|
69
|
-
activestorage (
|
70
|
-
actionpack (=
|
71
|
-
activejob (=
|
72
|
-
activerecord (=
|
73
|
-
activesupport (=
|
64
|
+
activestorage (8.0.0)
|
65
|
+
actionpack (= 8.0.0)
|
66
|
+
activejob (= 8.0.0)
|
67
|
+
activerecord (= 8.0.0)
|
68
|
+
activesupport (= 8.0.0)
|
74
69
|
marcel (~> 1.0)
|
75
|
-
activesupport (
|
70
|
+
activesupport (8.0.0)
|
76
71
|
base64
|
72
|
+
benchmark (>= 0.3)
|
77
73
|
bigdecimal
|
78
|
-
concurrent-ruby (~> 1.0, >= 1.
|
74
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
79
75
|
connection_pool (>= 2.2.5)
|
80
76
|
drb
|
81
77
|
i18n (>= 1.6, < 2)
|
78
|
+
logger (>= 1.4.2)
|
82
79
|
minitest (>= 5.1)
|
83
|
-
|
84
|
-
tzinfo (~> 2.0)
|
85
|
-
|
86
|
-
|
80
|
+
securerandom (>= 0.3)
|
81
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
82
|
+
uri (>= 0.13.1)
|
83
|
+
addressable (2.8.7)
|
84
|
+
public_suffix (>= 2.0.2, < 7.0)
|
87
85
|
ast (2.4.2)
|
88
|
-
base64 (0.
|
89
|
-
|
90
|
-
|
86
|
+
base64 (0.2.0)
|
87
|
+
benchmark (0.3.0)
|
88
|
+
bigdecimal (3.1.8)
|
89
|
+
builder (3.3.0)
|
91
90
|
coderay (1.1.3)
|
92
|
-
concurrent-ruby (1.
|
91
|
+
concurrent-ruby (1.3.4)
|
93
92
|
connection_pool (2.4.1)
|
94
93
|
crass (1.0.6)
|
95
|
-
date (3.3.
|
96
|
-
diff-lcs (1.5.
|
97
|
-
drb (2.
|
98
|
-
|
99
|
-
erubi (1.12.0)
|
94
|
+
date (3.3.4)
|
95
|
+
diff-lcs (1.5.1)
|
96
|
+
drb (2.2.1)
|
97
|
+
erubi (1.13.0)
|
100
98
|
geokit (1.14.0)
|
101
|
-
git (
|
99
|
+
git (2.3.1)
|
100
|
+
activesupport (>= 5.0)
|
102
101
|
addressable (~> 2.8)
|
102
|
+
process_executer (~> 1.1)
|
103
103
|
rchardet (~> 1.8)
|
104
104
|
globalid (1.2.1)
|
105
105
|
activesupport (>= 6.1)
|
106
|
-
|
107
|
-
i18n (1.14.1)
|
106
|
+
i18n (1.14.6)
|
108
107
|
concurrent-ruby (~> 1.0)
|
109
|
-
io-console (0.
|
110
|
-
irb (1.
|
111
|
-
rdoc
|
112
|
-
reline (>= 0.
|
113
|
-
json (2.6
|
108
|
+
io-console (0.7.2)
|
109
|
+
irb (1.14.1)
|
110
|
+
rdoc (>= 4.0.0)
|
111
|
+
reline (>= 0.4.2)
|
112
|
+
json (2.7.6)
|
114
113
|
language_server-protocol (3.17.0.3)
|
115
|
-
|
114
|
+
logger (1.6.1)
|
115
|
+
loofah (2.22.0)
|
116
116
|
crass (~> 1.0.2)
|
117
117
|
nokogiri (>= 1.12.0)
|
118
|
-
mail (2.
|
118
|
+
mail (2.8.1)
|
119
119
|
mini_mime (>= 0.1.1)
|
120
|
-
|
120
|
+
net-imap
|
121
|
+
net-pop
|
122
|
+
net-smtp
|
123
|
+
marcel (1.0.4)
|
121
124
|
method_source (1.0.0)
|
122
125
|
mini_mime (1.1.5)
|
123
|
-
|
124
|
-
|
125
|
-
net-imap (0.4.
|
126
|
+
mini_portile2 (2.8.7)
|
127
|
+
minitest (5.25.1)
|
128
|
+
net-imap (0.4.17)
|
126
129
|
date
|
127
130
|
net-protocol
|
128
131
|
net-pop (0.1.2)
|
129
132
|
net-protocol
|
130
|
-
net-protocol (0.2.
|
133
|
+
net-protocol (0.2.2)
|
131
134
|
timeout
|
132
|
-
net-smtp (0.4.0)
|
135
|
+
net-smtp (0.4.0.1)
|
133
136
|
net-protocol
|
134
|
-
nio4r (2.
|
135
|
-
nokogiri (1.
|
137
|
+
nio4r (2.7.4)
|
138
|
+
nokogiri (1.16.7-arm64-darwin)
|
136
139
|
racc (~> 1.4)
|
137
|
-
nokogiri (1.
|
140
|
+
nokogiri (1.16.7-x86_64-linux)
|
138
141
|
racc (~> 1.4)
|
139
|
-
parallel (1.
|
140
|
-
parser (3.
|
142
|
+
parallel (1.26.3)
|
143
|
+
parser (3.3.5.1)
|
141
144
|
ast (~> 2.4.1)
|
142
145
|
racc
|
146
|
+
process_executer (1.1.2)
|
143
147
|
pry (0.14.2)
|
144
148
|
coderay (~> 1.1)
|
145
149
|
method_source (~> 1.0)
|
146
|
-
psych (5.1.
|
150
|
+
psych (5.1.2)
|
147
151
|
stringio
|
148
|
-
public_suffix (5.
|
149
|
-
racc (1.
|
150
|
-
rack (
|
151
|
-
rack-session (
|
152
|
-
rack (
|
152
|
+
public_suffix (5.1.1)
|
153
|
+
racc (1.8.1)
|
154
|
+
rack (3.1.8)
|
155
|
+
rack-session (2.0.0)
|
156
|
+
rack (>= 3.0.0)
|
153
157
|
rack-test (2.1.0)
|
154
158
|
rack (>= 1.3)
|
155
|
-
rackup (1.0
|
156
|
-
rack (
|
157
|
-
webrick
|
158
|
-
rails (
|
159
|
-
actioncable (=
|
160
|
-
actionmailbox (=
|
161
|
-
actionmailer (=
|
162
|
-
actionpack (=
|
163
|
-
actiontext (=
|
164
|
-
actionview (=
|
165
|
-
activejob (=
|
166
|
-
activemodel (=
|
167
|
-
activerecord (=
|
168
|
-
activestorage (=
|
169
|
-
activesupport (=
|
159
|
+
rackup (2.1.0)
|
160
|
+
rack (>= 3)
|
161
|
+
webrick (~> 1.8)
|
162
|
+
rails (8.0.0)
|
163
|
+
actioncable (= 8.0.0)
|
164
|
+
actionmailbox (= 8.0.0)
|
165
|
+
actionmailer (= 8.0.0)
|
166
|
+
actionpack (= 8.0.0)
|
167
|
+
actiontext (= 8.0.0)
|
168
|
+
actionview (= 8.0.0)
|
169
|
+
activejob (= 8.0.0)
|
170
|
+
activemodel (= 8.0.0)
|
171
|
+
activerecord (= 8.0.0)
|
172
|
+
activestorage (= 8.0.0)
|
173
|
+
activesupport (= 8.0.0)
|
170
174
|
bundler (>= 1.15.0)
|
171
|
-
railties (=
|
175
|
+
railties (= 8.0.0)
|
172
176
|
rails-dom-testing (2.2.0)
|
173
177
|
activesupport (>= 5.0.0)
|
174
178
|
minitest
|
@@ -176,115 +180,103 @@ GEM
|
|
176
180
|
rails-html-sanitizer (1.6.0)
|
177
181
|
loofah (~> 2.21)
|
178
182
|
nokogiri (~> 1.14)
|
179
|
-
railties (
|
180
|
-
actionpack (=
|
181
|
-
activesupport (=
|
182
|
-
irb
|
183
|
+
railties (8.0.0)
|
184
|
+
actionpack (= 8.0.0)
|
185
|
+
activesupport (= 8.0.0)
|
186
|
+
irb (~> 1.13)
|
183
187
|
rackup (>= 1.0.0)
|
184
188
|
rake (>= 12.2)
|
185
189
|
thor (~> 1.0, >= 1.2.2)
|
186
190
|
zeitwerk (~> 2.6)
|
187
191
|
rainbow (3.1.1)
|
188
|
-
rake (13.
|
192
|
+
rake (13.2.1)
|
189
193
|
rchardet (1.8.0)
|
190
|
-
rdoc (6.
|
194
|
+
rdoc (6.7.0)
|
191
195
|
psych (>= 4.0.0)
|
192
|
-
regexp_parser (2.
|
193
|
-
reline (0.
|
196
|
+
regexp_parser (2.9.2)
|
197
|
+
reline (0.5.10)
|
194
198
|
io-console (~> 0.5)
|
195
|
-
rexml (3.
|
196
|
-
|
197
|
-
|
198
|
-
rspec-
|
199
|
-
rspec-
|
200
|
-
|
201
|
-
|
202
|
-
|
199
|
+
rexml (3.3.6)
|
200
|
+
strscan
|
201
|
+
rspec (3.13.0)
|
202
|
+
rspec-core (~> 3.13.0)
|
203
|
+
rspec-expectations (~> 3.13.0)
|
204
|
+
rspec-mocks (~> 3.13.0)
|
205
|
+
rspec-core (3.13.2)
|
206
|
+
rspec-support (~> 3.13.0)
|
207
|
+
rspec-expectations (3.13.3)
|
203
208
|
diff-lcs (>= 1.2.0, < 2.0)
|
204
|
-
rspec-support (~> 3.
|
205
|
-
rspec-its (
|
206
|
-
rspec-core (>= 3.
|
207
|
-
rspec-expectations (>= 3.
|
208
|
-
rspec-mocks (3.
|
209
|
+
rspec-support (~> 3.13.0)
|
210
|
+
rspec-its (2.0.0)
|
211
|
+
rspec-core (>= 3.13.0)
|
212
|
+
rspec-expectations (>= 3.13.0)
|
213
|
+
rspec-mocks (3.13.1)
|
209
214
|
diff-lcs (>= 1.2.0, < 2.0)
|
210
|
-
rspec-support (~> 3.
|
211
|
-
rspec-rails (
|
212
|
-
actionpack (>=
|
213
|
-
activesupport (>=
|
214
|
-
railties (>=
|
215
|
-
rspec-core (~> 3.
|
216
|
-
rspec-expectations (~> 3.
|
217
|
-
rspec-mocks (~> 3.
|
218
|
-
rspec-support (~> 3.
|
219
|
-
rspec-support (3.
|
220
|
-
rubocop (1.
|
221
|
-
base64 (~> 0.1.1)
|
215
|
+
rspec-support (~> 3.13.0)
|
216
|
+
rspec-rails (7.0.1)
|
217
|
+
actionpack (>= 7.0)
|
218
|
+
activesupport (>= 7.0)
|
219
|
+
railties (>= 7.0)
|
220
|
+
rspec-core (~> 3.13)
|
221
|
+
rspec-expectations (~> 3.13)
|
222
|
+
rspec-mocks (~> 3.13)
|
223
|
+
rspec-support (~> 3.13)
|
224
|
+
rspec-support (3.13.1)
|
225
|
+
rubocop (1.68.0)
|
222
226
|
json (~> 2.3)
|
223
227
|
language_server-protocol (>= 3.17.0)
|
224
228
|
parallel (~> 1.10)
|
225
|
-
parser (>= 3.
|
229
|
+
parser (>= 3.3.0.2)
|
226
230
|
rainbow (>= 2.2.2, < 4.0)
|
227
|
-
regexp_parser (>=
|
228
|
-
|
229
|
-
rubocop-ast (>= 1.28.1, < 2.0)
|
231
|
+
regexp_parser (>= 2.4, < 3.0)
|
232
|
+
rubocop-ast (>= 1.32.2, < 2.0)
|
230
233
|
ruby-progressbar (~> 1.7)
|
231
234
|
unicode-display_width (>= 2.4.0, < 3.0)
|
232
|
-
rubocop-ast (1.
|
233
|
-
parser (>= 3.
|
234
|
-
rubocop-
|
235
|
-
rubocop (
|
236
|
-
|
237
|
-
rubocop (~> 1.33)
|
238
|
-
rubocop-performance (1.19.1)
|
239
|
-
rubocop (>= 1.7.0, < 2.0)
|
240
|
-
rubocop-ast (>= 0.4.0)
|
241
|
-
rubocop-rails (2.21.2)
|
242
|
-
activesupport (>= 4.2.0)
|
243
|
-
rack (>= 1.1)
|
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)
|
235
|
+
rubocop-ast (1.34.0)
|
236
|
+
parser (>= 3.3.1.0)
|
237
|
+
rubocop-performance (1.22.1)
|
238
|
+
rubocop (>= 1.48.1, < 2.0)
|
239
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
249
240
|
ruby-progressbar (1.13.0)
|
250
|
-
ruby2_keywords (0.0.5)
|
251
241
|
scanf (1.0.0)
|
252
|
-
|
253
|
-
sqlite3 (1.6.1
|
242
|
+
securerandom (0.3.1)
|
243
|
+
sqlite3 (1.6.1)
|
244
|
+
mini_portile2 (~> 2.8.0)
|
254
245
|
sqlite3-ruby (1.3.3)
|
255
246
|
sqlite3 (>= 1.3.3)
|
256
|
-
stringio (3.
|
257
|
-
|
258
|
-
|
247
|
+
stringio (3.1.1)
|
248
|
+
strscan (3.1.0)
|
249
|
+
thor (1.3.2)
|
250
|
+
timeout (0.4.1)
|
259
251
|
tzinfo (2.0.6)
|
260
252
|
concurrent-ruby (~> 1.0)
|
261
|
-
unicode-display_width (2.
|
262
|
-
|
253
|
+
unicode-display_width (2.6.0)
|
254
|
+
uri (0.13.1)
|
255
|
+
useragent (0.16.10)
|
256
|
+
webrick (1.8.2)
|
263
257
|
websocket-driver (0.7.6)
|
264
258
|
websocket-extensions (>= 0.1.0)
|
265
259
|
websocket-extensions (0.1.5)
|
266
|
-
zeitwerk (2.6.
|
260
|
+
zeitwerk (2.6.18)
|
267
261
|
|
268
262
|
PLATFORMS
|
269
263
|
arm64-darwin-20
|
270
264
|
arm64-darwin-21
|
265
|
+
arm64-darwin-23
|
271
266
|
x86_64-linux
|
272
267
|
|
273
268
|
DEPENDENCIES
|
274
269
|
geokit
|
275
270
|
git
|
276
|
-
hpricot
|
277
271
|
jpmobile!
|
278
272
|
pry
|
279
|
-
rails (~>
|
273
|
+
rails (~> 8.0.0)
|
280
274
|
rspec
|
281
275
|
rspec-its
|
282
276
|
rspec-rails
|
283
277
|
rubocop
|
284
278
|
rubocop-performance
|
285
|
-
rubocop-rails
|
286
|
-
rubocop-rspec
|
287
279
|
sqlite3-ruby
|
288
280
|
|
289
281
|
BUNDLED WITH
|
290
|
-
2.
|
282
|
+
2.5.17
|
data/jpmobile.gemspec
CHANGED
@@ -18,9 +18,9 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
19
19
|
gem.require_paths = ['lib']
|
20
20
|
|
21
|
-
gem.required_ruby_version = '>= 2.
|
21
|
+
gem.required_ruby_version = '>= 3.2.0'
|
22
22
|
|
23
|
-
gem.add_dependency 'mail', '~> 2.
|
23
|
+
gem.add_dependency 'mail', '~> 2.8.0'
|
24
24
|
gem.add_dependency 'rexml'
|
25
25
|
gem.add_dependency 'scanf'
|
26
26
|
gem.metadata['rubygems_mfa_required'] = 'true'
|
data/lib/jpmobile/email.rb
CHANGED
data/lib/jpmobile/emoticon.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'scanf'
|
2
|
-
require 'nkf'
|
3
2
|
|
4
3
|
module Jpmobile
|
5
4
|
# 絵文字関連処理
|
@@ -288,7 +287,7 @@ module Jpmobile
|
|
288
287
|
begin
|
289
288
|
yaml_hash = YAML.load_file(@pc_emoticon_yaml)
|
290
289
|
@pc_emoticon_hash = Hash[*(yaml_hash.values.inject([]) {|r, v| r += v.to_a.flatten; r })]
|
291
|
-
@pc_emoticon_image_path.chop if @pc_emoticon_image_path.match?(%r{/$})
|
290
|
+
@pc_emoticon_image_path.chop! if @pc_emoticon_image_path.match?(%r{/$})
|
292
291
|
|
293
292
|
return true
|
294
293
|
rescue
|
@@ -2,7 +2,7 @@ require 'jpmobile/lookup_context'
|
|
2
2
|
|
3
3
|
module Jpmobile
|
4
4
|
module FallbackViewSelector
|
5
|
-
def
|
5
|
+
def _render_template(options)
|
6
6
|
if Jpmobile.config.fallback_view_selector &&
|
7
7
|
lookup_context.mobile.present? && !lookup_context.mobile.empty?
|
8
8
|
begin
|
@@ -20,7 +20,7 @@ module Jpmobile
|
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
23
|
-
super
|
23
|
+
super
|
24
24
|
end
|
25
25
|
end
|
26
26
|
end
|
data/lib/jpmobile/filter.rb
CHANGED
data/lib/jpmobile/helpers.rb
CHANGED
@@ -3,7 +3,7 @@ module Jpmobile
|
|
3
3
|
attr_reader :mobile, :mobile_idx
|
4
4
|
|
5
5
|
def initialize(locale:, handlers:, formats:, variants:, mobile:)
|
6
|
-
super(locale
|
6
|
+
super(locale:, handlers:, formats:, variants:)
|
7
7
|
|
8
8
|
@mobile = mobile.map(&:to_sym)
|
9
9
|
@mobile_idx = build_idx_hash(@mobile)
|