jpmobile 7.1.0 → 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +3 -3
- data/.onkcop-config.yml +1 -1
- data/.rubocop.yml +48 -3
- data/.ruby-version +1 -1
- data/Gemfile +1 -5
- data/Gemfile.lock +195 -191
- data/jpmobile.gemspec +2 -3
- data/lib/jpmobile/docomo_guid.rb +1 -0
- data/lib/jpmobile/email.rb +1 -1
- data/lib/jpmobile/emoticon/z_combine.rb +1 -1
- data/lib/jpmobile/emoticon.rb +2 -3
- 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 +9 -9
- data/lib/jpmobile/mobile/android.rb +1 -1
- data/lib/jpmobile/mobile/au.rb +3 -3
- 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 +3 -3
- 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/position.rb +1 -0
- 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/jpmobile.rb +1 -1
- data/lib/tasks/jpmobile_tasks.rake +2 -2
- data/renovate.json +1 -1
- 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 +2 -1
- metadata +6 -26
- 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: eeb63b59e947babb76f23181a1d64a8a80c189ff8dfe688300f9f7ad732f823a
|
|
4
|
+
data.tar.gz: 11918a81e675d738cc128629eb1c8a4396f8745865cf9160484f40c6fc696e45
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7f2f0d4de017c2966312bc421a149d0b2d3e51de1d3301491f95717d9f4f0e9b898bdfc4a6799301c8c2c6c314a2882123ab05e0a55c283f6f510fda279c96e9
|
|
7
|
+
data.tar.gz: 7cfa7d6ae82291d8fac57b4899c6ff49b74639cd47ad871bec7050213d10d995fd00d7533fbf88bd19e5491f6ec620768c92f7b65160f0426346fbde8cc20a22
|
data/.circleci/config.yml
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
version: 2.1
|
|
2
2
|
orbs:
|
|
3
|
-
browser-tools: circleci/browser-tools@
|
|
3
|
+
browser-tools: circleci/browser-tools@2.3.2
|
|
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.4.7-browsers
|
|
9
9
|
environment:
|
|
10
10
|
BUNDLE_JOBS: 3
|
|
11
11
|
BUNDLE_RETRY: 3
|
|
12
12
|
BUNDLE_PATH: vendor/bundle
|
|
13
13
|
RAILS_ENV: test
|
|
14
14
|
steps:
|
|
15
|
-
- browser-tools/
|
|
15
|
+
- browser-tools/install_browser_tools
|
|
16
16
|
- checkout
|
|
17
17
|
|
|
18
18
|
# Install dependent packages
|
data/.onkcop-config.yml
CHANGED
data/.rubocop.yml
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
plugins:
|
|
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.4.7
|
data/Gemfile
CHANGED
|
@@ -5,14 +5,10 @@ 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.1.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
|
-
gem 'sqlite3-ruby'
|
data/Gemfile.lock
CHANGED
|
@@ -1,290 +1,294 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
jpmobile (
|
|
5
|
-
mail (~> 2.
|
|
6
|
-
rexml
|
|
4
|
+
jpmobile (8.0.0)
|
|
5
|
+
mail (~> 2.8.0)
|
|
7
6
|
scanf
|
|
8
7
|
|
|
9
8
|
GEM
|
|
10
9
|
remote: https://rubygems.org/
|
|
11
10
|
specs:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
action_text-trix (2.1.15)
|
|
12
|
+
railties
|
|
13
|
+
actioncable (8.1.1)
|
|
14
|
+
actionpack (= 8.1.1)
|
|
15
|
+
activesupport (= 8.1.1)
|
|
15
16
|
nio4r (~> 2.0)
|
|
16
17
|
websocket-driver (>= 0.6.1)
|
|
17
18
|
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
|
|
19
|
+
actionmailbox (8.1.1)
|
|
20
|
+
actionpack (= 8.1.1)
|
|
21
|
+
activejob (= 8.1.1)
|
|
22
|
+
activerecord (= 8.1.1)
|
|
23
|
+
activestorage (= 8.1.1)
|
|
24
|
+
activesupport (= 8.1.1)
|
|
25
|
+
mail (>= 2.8.0)
|
|
26
|
+
actionmailer (8.1.1)
|
|
27
|
+
actionpack (= 8.1.1)
|
|
28
|
+
actionview (= 8.1.1)
|
|
29
|
+
activejob (= 8.1.1)
|
|
30
|
+
activesupport (= 8.1.1)
|
|
31
|
+
mail (>= 2.8.0)
|
|
37
32
|
rails-dom-testing (~> 2.2)
|
|
38
|
-
actionpack (
|
|
39
|
-
actionview (=
|
|
40
|
-
activesupport (=
|
|
33
|
+
actionpack (8.1.1)
|
|
34
|
+
actionview (= 8.1.1)
|
|
35
|
+
activesupport (= 8.1.1)
|
|
41
36
|
nokogiri (>= 1.8.5)
|
|
42
37
|
rack (>= 2.2.4)
|
|
43
38
|
rack-session (>= 1.0.1)
|
|
44
39
|
rack-test (>= 0.6.3)
|
|
45
40
|
rails-dom-testing (~> 2.2)
|
|
46
41
|
rails-html-sanitizer (~> 1.6)
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
42
|
+
useragent (~> 0.16)
|
|
43
|
+
actiontext (8.1.1)
|
|
44
|
+
action_text-trix (~> 2.1.15)
|
|
45
|
+
actionpack (= 8.1.1)
|
|
46
|
+
activerecord (= 8.1.1)
|
|
47
|
+
activestorage (= 8.1.1)
|
|
48
|
+
activesupport (= 8.1.1)
|
|
52
49
|
globalid (>= 0.6.0)
|
|
53
50
|
nokogiri (>= 1.8.5)
|
|
54
|
-
actionview (
|
|
55
|
-
activesupport (=
|
|
51
|
+
actionview (8.1.1)
|
|
52
|
+
activesupport (= 8.1.1)
|
|
56
53
|
builder (~> 3.1)
|
|
57
54
|
erubi (~> 1.11)
|
|
58
55
|
rails-dom-testing (~> 2.2)
|
|
59
56
|
rails-html-sanitizer (~> 1.6)
|
|
60
|
-
activejob (
|
|
61
|
-
activesupport (=
|
|
57
|
+
activejob (8.1.1)
|
|
58
|
+
activesupport (= 8.1.1)
|
|
62
59
|
globalid (>= 0.3.6)
|
|
63
|
-
activemodel (
|
|
64
|
-
activesupport (=
|
|
65
|
-
activerecord (
|
|
66
|
-
activemodel (=
|
|
67
|
-
activesupport (=
|
|
60
|
+
activemodel (8.1.1)
|
|
61
|
+
activesupport (= 8.1.1)
|
|
62
|
+
activerecord (8.1.1)
|
|
63
|
+
activemodel (= 8.1.1)
|
|
64
|
+
activesupport (= 8.1.1)
|
|
68
65
|
timeout (>= 0.4.0)
|
|
69
|
-
activestorage (
|
|
70
|
-
actionpack (=
|
|
71
|
-
activejob (=
|
|
72
|
-
activerecord (=
|
|
73
|
-
activesupport (=
|
|
66
|
+
activestorage (8.1.1)
|
|
67
|
+
actionpack (= 8.1.1)
|
|
68
|
+
activejob (= 8.1.1)
|
|
69
|
+
activerecord (= 8.1.1)
|
|
70
|
+
activesupport (= 8.1.1)
|
|
74
71
|
marcel (~> 1.0)
|
|
75
|
-
activesupport (
|
|
72
|
+
activesupport (8.1.1)
|
|
76
73
|
base64
|
|
77
74
|
bigdecimal
|
|
78
|
-
concurrent-ruby (~> 1.0, >= 1.
|
|
75
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
79
76
|
connection_pool (>= 2.2.5)
|
|
80
77
|
drb
|
|
81
78
|
i18n (>= 1.6, < 2)
|
|
79
|
+
json
|
|
80
|
+
logger (>= 1.4.2)
|
|
82
81
|
minitest (>= 5.1)
|
|
83
|
-
|
|
84
|
-
tzinfo (~> 2.0)
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
82
|
+
securerandom (>= 0.3)
|
|
83
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
|
84
|
+
uri (>= 0.13.1)
|
|
85
|
+
addressable (2.8.7)
|
|
86
|
+
public_suffix (>= 2.0.2, < 7.0)
|
|
87
|
+
ast (2.4.3)
|
|
88
|
+
base64 (0.3.0)
|
|
89
|
+
bigdecimal (3.3.1)
|
|
90
|
+
builder (3.3.0)
|
|
91
91
|
coderay (1.1.3)
|
|
92
|
-
concurrent-ruby (1.
|
|
93
|
-
connection_pool (2.4
|
|
92
|
+
concurrent-ruby (1.3.5)
|
|
93
|
+
connection_pool (2.5.4)
|
|
94
94
|
crass (1.0.6)
|
|
95
|
-
date (3.
|
|
96
|
-
diff-lcs (1.
|
|
97
|
-
drb (2.
|
|
98
|
-
|
|
99
|
-
erubi (1.
|
|
95
|
+
date (3.4.1)
|
|
96
|
+
diff-lcs (1.6.2)
|
|
97
|
+
drb (2.2.3)
|
|
98
|
+
erb (5.1.3)
|
|
99
|
+
erubi (1.13.1)
|
|
100
100
|
geokit (1.14.0)
|
|
101
|
-
git (
|
|
101
|
+
git (4.0.5)
|
|
102
|
+
activesupport (>= 5.0)
|
|
102
103
|
addressable (~> 2.8)
|
|
103
|
-
|
|
104
|
-
|
|
104
|
+
process_executer (~> 4.0)
|
|
105
|
+
rchardet (~> 1.9)
|
|
106
|
+
globalid (1.3.0)
|
|
105
107
|
activesupport (>= 6.1)
|
|
106
|
-
|
|
107
|
-
i18n (1.14.1)
|
|
108
|
+
i18n (1.14.7)
|
|
108
109
|
concurrent-ruby (~> 1.0)
|
|
109
|
-
io-console (0.
|
|
110
|
-
irb (1.
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
110
|
+
io-console (0.8.1)
|
|
111
|
+
irb (1.15.2)
|
|
112
|
+
pp (>= 0.6.0)
|
|
113
|
+
rdoc (>= 4.0.0)
|
|
114
|
+
reline (>= 0.4.2)
|
|
115
|
+
json (2.15.2)
|
|
116
|
+
language_server-protocol (3.17.0.5)
|
|
117
|
+
lint_roller (1.1.0)
|
|
118
|
+
logger (1.7.0)
|
|
119
|
+
loofah (2.24.1)
|
|
116
120
|
crass (~> 1.0.2)
|
|
117
121
|
nokogiri (>= 1.12.0)
|
|
118
|
-
mail (2.
|
|
122
|
+
mail (2.8.1)
|
|
119
123
|
mini_mime (>= 0.1.1)
|
|
120
|
-
|
|
121
|
-
|
|
124
|
+
net-imap
|
|
125
|
+
net-pop
|
|
126
|
+
net-smtp
|
|
127
|
+
marcel (1.1.0)
|
|
128
|
+
method_source (1.1.0)
|
|
122
129
|
mini_mime (1.1.5)
|
|
123
|
-
minitest (5.
|
|
124
|
-
|
|
125
|
-
net-imap (0.4.0)
|
|
130
|
+
minitest (5.26.0)
|
|
131
|
+
net-imap (0.5.12)
|
|
126
132
|
date
|
|
127
133
|
net-protocol
|
|
128
134
|
net-pop (0.1.2)
|
|
129
135
|
net-protocol
|
|
130
|
-
net-protocol (0.2.
|
|
136
|
+
net-protocol (0.2.2)
|
|
131
137
|
timeout
|
|
132
|
-
net-smtp (0.
|
|
138
|
+
net-smtp (0.5.1)
|
|
133
139
|
net-protocol
|
|
134
|
-
nio4r (2.
|
|
135
|
-
nokogiri (1.
|
|
140
|
+
nio4r (2.7.4)
|
|
141
|
+
nokogiri (1.18.10-arm64-darwin)
|
|
136
142
|
racc (~> 1.4)
|
|
137
|
-
nokogiri (1.
|
|
143
|
+
nokogiri (1.18.10-x86_64-linux-gnu)
|
|
138
144
|
racc (~> 1.4)
|
|
139
|
-
parallel (1.
|
|
140
|
-
parser (3.
|
|
145
|
+
parallel (1.27.0)
|
|
146
|
+
parser (3.3.10.0)
|
|
141
147
|
ast (~> 2.4.1)
|
|
142
148
|
racc
|
|
143
|
-
|
|
149
|
+
pp (0.6.3)
|
|
150
|
+
prettyprint
|
|
151
|
+
prettyprint (0.2.0)
|
|
152
|
+
prism (1.6.0)
|
|
153
|
+
process_executer (4.0.0)
|
|
154
|
+
track_open_instances (~> 0.1)
|
|
155
|
+
pry (0.15.2)
|
|
144
156
|
coderay (~> 1.1)
|
|
145
157
|
method_source (~> 1.0)
|
|
146
|
-
psych (5.
|
|
158
|
+
psych (5.2.6)
|
|
159
|
+
date
|
|
147
160
|
stringio
|
|
148
|
-
public_suffix (
|
|
149
|
-
racc (1.
|
|
150
|
-
rack (
|
|
151
|
-
rack-session (1.
|
|
152
|
-
|
|
153
|
-
|
|
161
|
+
public_suffix (6.0.2)
|
|
162
|
+
racc (1.8.1)
|
|
163
|
+
rack (3.2.3)
|
|
164
|
+
rack-session (2.1.1)
|
|
165
|
+
base64 (>= 0.1.0)
|
|
166
|
+
rack (>= 3.0.0)
|
|
167
|
+
rack-test (2.2.0)
|
|
154
168
|
rack (>= 1.3)
|
|
155
|
-
rackup (
|
|
156
|
-
rack (
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
activesupport (= 7.1.0)
|
|
169
|
+
rackup (2.2.1)
|
|
170
|
+
rack (>= 3)
|
|
171
|
+
rails (8.1.1)
|
|
172
|
+
actioncable (= 8.1.1)
|
|
173
|
+
actionmailbox (= 8.1.1)
|
|
174
|
+
actionmailer (= 8.1.1)
|
|
175
|
+
actionpack (= 8.1.1)
|
|
176
|
+
actiontext (= 8.1.1)
|
|
177
|
+
actionview (= 8.1.1)
|
|
178
|
+
activejob (= 8.1.1)
|
|
179
|
+
activemodel (= 8.1.1)
|
|
180
|
+
activerecord (= 8.1.1)
|
|
181
|
+
activestorage (= 8.1.1)
|
|
182
|
+
activesupport (= 8.1.1)
|
|
170
183
|
bundler (>= 1.15.0)
|
|
171
|
-
railties (=
|
|
172
|
-
rails-dom-testing (2.
|
|
184
|
+
railties (= 8.1.1)
|
|
185
|
+
rails-dom-testing (2.3.0)
|
|
173
186
|
activesupport (>= 5.0.0)
|
|
174
187
|
minitest
|
|
175
188
|
nokogiri (>= 1.6)
|
|
176
|
-
rails-html-sanitizer (1.6.
|
|
189
|
+
rails-html-sanitizer (1.6.2)
|
|
177
190
|
loofah (~> 2.21)
|
|
178
|
-
nokogiri (
|
|
179
|
-
railties (
|
|
180
|
-
actionpack (=
|
|
181
|
-
activesupport (=
|
|
182
|
-
irb
|
|
191
|
+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
|
192
|
+
railties (8.1.1)
|
|
193
|
+
actionpack (= 8.1.1)
|
|
194
|
+
activesupport (= 8.1.1)
|
|
195
|
+
irb (~> 1.13)
|
|
183
196
|
rackup (>= 1.0.0)
|
|
184
197
|
rake (>= 12.2)
|
|
185
198
|
thor (~> 1.0, >= 1.2.2)
|
|
199
|
+
tsort (>= 0.2)
|
|
186
200
|
zeitwerk (~> 2.6)
|
|
187
201
|
rainbow (3.1.1)
|
|
188
|
-
rake (13.0
|
|
189
|
-
rchardet (1.
|
|
190
|
-
rdoc (6.
|
|
202
|
+
rake (13.3.0)
|
|
203
|
+
rchardet (1.9.0)
|
|
204
|
+
rdoc (6.15.0)
|
|
205
|
+
erb
|
|
191
206
|
psych (>= 4.0.0)
|
|
192
|
-
|
|
193
|
-
|
|
207
|
+
tsort
|
|
208
|
+
regexp_parser (2.11.3)
|
|
209
|
+
reline (0.6.2)
|
|
194
210
|
io-console (~> 0.5)
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
rspec-
|
|
198
|
-
rspec-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
rspec-expectations (3.12.3)
|
|
211
|
+
rspec (3.13.2)
|
|
212
|
+
rspec-core (~> 3.13.0)
|
|
213
|
+
rspec-expectations (~> 3.13.0)
|
|
214
|
+
rspec-mocks (~> 3.13.0)
|
|
215
|
+
rspec-core (3.13.6)
|
|
216
|
+
rspec-support (~> 3.13.0)
|
|
217
|
+
rspec-expectations (3.13.5)
|
|
203
218
|
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.
|
|
219
|
+
rspec-support (~> 3.13.0)
|
|
220
|
+
rspec-its (2.0.0)
|
|
221
|
+
rspec-core (>= 3.13.0)
|
|
222
|
+
rspec-expectations (>= 3.13.0)
|
|
223
|
+
rspec-mocks (3.13.6)
|
|
209
224
|
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)
|
|
225
|
+
rspec-support (~> 3.13.0)
|
|
226
|
+
rspec-rails (8.0.2)
|
|
227
|
+
actionpack (>= 7.2)
|
|
228
|
+
activesupport (>= 7.2)
|
|
229
|
+
railties (>= 7.2)
|
|
230
|
+
rspec-core (~> 3.13)
|
|
231
|
+
rspec-expectations (~> 3.13)
|
|
232
|
+
rspec-mocks (~> 3.13)
|
|
233
|
+
rspec-support (~> 3.13)
|
|
234
|
+
rspec-support (3.13.6)
|
|
235
|
+
rubocop (1.81.7)
|
|
222
236
|
json (~> 2.3)
|
|
223
|
-
language_server-protocol (
|
|
237
|
+
language_server-protocol (~> 3.17.0.2)
|
|
238
|
+
lint_roller (~> 1.1.0)
|
|
224
239
|
parallel (~> 1.10)
|
|
225
|
-
parser (>= 3.
|
|
240
|
+
parser (>= 3.3.0.2)
|
|
226
241
|
rainbow (>= 2.2.2, < 4.0)
|
|
227
|
-
regexp_parser (>=
|
|
228
|
-
|
|
229
|
-
rubocop-ast (>= 1.28.1, < 2.0)
|
|
242
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
243
|
+
rubocop-ast (>= 1.47.1, < 2.0)
|
|
230
244
|
ruby-progressbar (~> 1.7)
|
|
231
|
-
unicode-display_width (>= 2.4.0, <
|
|
232
|
-
rubocop-ast (1.
|
|
233
|
-
parser (>= 3.
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
rubocop (
|
|
238
|
-
|
|
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)
|
|
245
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
246
|
+
rubocop-ast (1.47.1)
|
|
247
|
+
parser (>= 3.3.7.2)
|
|
248
|
+
prism (~> 1.4)
|
|
249
|
+
rubocop-performance (1.26.1)
|
|
250
|
+
lint_roller (~> 1.1)
|
|
251
|
+
rubocop (>= 1.75.0, < 2.0)
|
|
252
|
+
rubocop-ast (>= 1.47.1, < 2.0)
|
|
249
253
|
ruby-progressbar (1.13.0)
|
|
250
|
-
ruby2_keywords (0.0.5)
|
|
251
254
|
scanf (1.0.0)
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
timeout (0.4.0)
|
|
255
|
+
securerandom (0.4.1)
|
|
256
|
+
stringio (3.1.7)
|
|
257
|
+
thor (1.4.0)
|
|
258
|
+
timeout (0.4.3)
|
|
259
|
+
track_open_instances (0.1.15)
|
|
260
|
+
tsort (0.2.0)
|
|
259
261
|
tzinfo (2.0.6)
|
|
260
262
|
concurrent-ruby (~> 1.0)
|
|
261
|
-
unicode-display_width (2.
|
|
262
|
-
|
|
263
|
-
|
|
263
|
+
unicode-display_width (3.2.0)
|
|
264
|
+
unicode-emoji (~> 4.1)
|
|
265
|
+
unicode-emoji (4.1.0)
|
|
266
|
+
uri (1.0.4)
|
|
267
|
+
useragent (0.16.11)
|
|
268
|
+
websocket-driver (0.8.0)
|
|
269
|
+
base64
|
|
264
270
|
websocket-extensions (>= 0.1.0)
|
|
265
271
|
websocket-extensions (0.1.5)
|
|
266
|
-
zeitwerk (2.
|
|
272
|
+
zeitwerk (2.7.3)
|
|
267
273
|
|
|
268
274
|
PLATFORMS
|
|
269
275
|
arm64-darwin-20
|
|
270
276
|
arm64-darwin-21
|
|
277
|
+
arm64-darwin-23
|
|
278
|
+
arm64-darwin-24
|
|
271
279
|
x86_64-linux
|
|
272
280
|
|
|
273
281
|
DEPENDENCIES
|
|
274
282
|
geokit
|
|
275
283
|
git
|
|
276
|
-
hpricot
|
|
277
284
|
jpmobile!
|
|
278
285
|
pry
|
|
279
|
-
rails (~>
|
|
286
|
+
rails (~> 8.1.0)
|
|
280
287
|
rspec
|
|
281
288
|
rspec-its
|
|
282
289
|
rspec-rails
|
|
283
290
|
rubocop
|
|
284
291
|
rubocop-performance
|
|
285
|
-
rubocop-rails
|
|
286
|
-
rubocop-rspec
|
|
287
|
-
sqlite3-ruby
|
|
288
292
|
|
|
289
293
|
BUNDLED WITH
|
|
290
|
-
2.
|
|
294
|
+
2.6.2
|
data/jpmobile.gemspec
CHANGED
|
@@ -18,10 +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.
|
|
24
|
-
gem.add_dependency 'rexml'
|
|
23
|
+
gem.add_dependency 'mail', '~> 2.8.0'
|
|
25
24
|
gem.add_dependency 'scanf'
|
|
26
25
|
gem.metadata['rubygems_mfa_required'] = 'true'
|
|
27
26
|
end
|
data/lib/jpmobile/docomo_guid.rb
CHANGED
data/lib/jpmobile/email.rb
CHANGED
|
@@ -20,7 +20,7 @@ module Jpmobile
|
|
|
20
20
|
UTF8_REGEXP = Regexp.union(*EMOTICON_UNICODES.map {|x| [x].pack('U') }).freeze
|
|
21
21
|
|
|
22
22
|
# for PC conversion "GETA"
|
|
23
|
-
CONVERSION_TABLE_TO_PC_EMAIL = Hash[*(CONVERSION_TABLE_TO_SOFTBANK.keys | CONVERSION_TABLE_TO_DOCOMO.keys | CONVERSION_TABLE_TO_AU.keys).map {|k| [k, GETA] }.flatten]
|
|
23
|
+
CONVERSION_TABLE_TO_PC_EMAIL = Hash[*(CONVERSION_TABLE_TO_SOFTBANK.keys | CONVERSION_TABLE_TO_DOCOMO.keys | CONVERSION_TABLE_TO_AU.keys).map {|k| [k, GETA] }.flatten!]
|
|
24
24
|
|
|
25
25
|
SOFTBANK_SJIS_REGEXP = Regexp.union(*SOFTBANK_SJIS_TO_UNICODE.keys.map {|s| Jpmobile::Util.sjis_regexp(s) }).freeze
|
|
26
26
|
AU_EMAILJIS_REGEXP = Regexp.union(*AU_EMAILJIS_TO_UNICODE.keys.map {|s| Jpmobile::Util.jis_regexp(s) })
|