jpmobile 6.0.0 → 7.0.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 +8 -3
- data/.onkcop-config.yml +4 -31
- data/.rubocop.yml +67 -3
- data/.ruby-version +1 -1
- data/Gemfile +2 -0
- data/Gemfile.lock +152 -158
- data/README.md +5 -20
- data/jpmobile.gemspec +6 -3
- data/lib/jpmobile/configuration.rb +7 -3
- data/lib/jpmobile/docomo_guid.rb +4 -4
- data/lib/jpmobile/email.rb +2 -4
- data/lib/jpmobile/emoticon.rb +10 -17
- data/lib/jpmobile/filter.rb +2 -2
- data/lib/jpmobile/hook_action_view.rb +3 -3
- data/lib/jpmobile/hook_template_details_requested.rb +12 -0
- data/lib/jpmobile/hook_test_request.rb +1 -1
- data/lib/jpmobile/mail.rb +4 -4
- data/lib/jpmobile/mailer.rb +2 -2
- data/lib/jpmobile/mobile/abstract_mobile.rb +1 -1
- data/lib/jpmobile/mobile/android.rb +1 -1
- data/lib/jpmobile/mobile/android_tablet.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 +6 -8
- 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 +10 -36
- data/lib/jpmobile/rack/params_filter.rb +5 -4
- data/lib/jpmobile/rails.rb +9 -41
- data/lib/jpmobile/resolver.rb +44 -6
- 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 +38 -0
- data/lib/jpmobile/trans_sid.rb +2 -2
- data/lib/jpmobile/util.rb +3 -4
- data/lib/jpmobile/version.rb +1 -1
- data/lib/jpmobile/view_selector.rb +25 -0
- data/lib/jpmobile.rb +14 -0
- data/lib/tasks/jpmobile_tasks.rake +4 -3
- data/spec/rack/jpmobile/emoticon_spec.rb +48 -48
- data/spec/rack/jpmobile/mobile_by_ua_spec.rb +1 -0
- data/spec/rack_helper.rb +1 -5
- data/spec/unit/email_spec.rb +1 -1
- data/spec/unit/receive_mail_spec.rb +1 -1
- data/test/rails/overrides/Gemfile.jpmobile +5 -1
- data/test/rails/overrides/app/controllers/mobile_spec_controller.rb +1 -1
- data/test/rails/overrides/app/controllers/template_path_controller.rb +3 -0
- data/test/rails/overrides/app/views/mobile_spec/mobile_not_exist.html.erb +3 -0
- data/test/rails/overrides/config/routes.rb +1 -1
- data/test/rails/overrides/db/migrate/{20190419005447_create_active_storage_tables.active_storage.rb → 20201111033056_create_active_storage_tables.active_storage.rb} +14 -5
- data/test/rails/overrides/db/migrate/{20190419005448_create_action_mailbox_tables.action_mailbox.rb → 20201111033057_create_action_mailbox_tables.action_mailbox.rb} +0 -0
- data/test/rails/overrides/spec/controllers/docomo_guid_spec.rb +2 -2
- data/test/rails/overrides/spec/controllers/mobile_spec_controller_spec.rb +3 -3
- data/test/rails/overrides/spec/rails_helper.rb +1 -1
- data/test/rails/overrides/spec/requests/filter_spec.rb +106 -0
- data/test/rails/overrides/spec/requests/template_path_spec.rb +1 -1
- data/test/rails/overrides/spec/requests/trans_sid_spec.rb +9 -9
- data/test/rails/overrides/spec/{features → system}/admin/top_spec.rb +2 -2
- data/test/rails/overrides/spec/{features → system}/filter_spec.rb +2 -7
- data/test/rails/overrides/spec/system/support/cuprite_setup.rb +14 -0
- data/test/rails/overrides/spec/system_helper.rb +3 -0
- metadata +44 -21
- data/test/rails/overrides/app/views/mobile_spec/no_mobile.html.erb +0 -3
@@ -0,0 +1,106 @@
|
|
1
|
+
require 'system_helper'
|
2
|
+
|
3
|
+
describe 'jpmobile integration spec', type: :request do
|
4
|
+
include Jpmobile::Util
|
5
|
+
|
6
|
+
before do
|
7
|
+
page.driver.headers = { 'User-Agent' => user_agent }
|
8
|
+
end
|
9
|
+
|
10
|
+
shared_examples_for '文字コードフィルタが動作しているとき' do
|
11
|
+
it 'はhtml以外は変換しないこと' do
|
12
|
+
get "/#{controller}/rawdata", env: { 'HTTP_USER_AGENT' => user_agent }
|
13
|
+
expect(response.body.encode('UTF-8')).to eq('アブラカダブラ')
|
14
|
+
expect(response.headers['Content-Type']).not_to match(/charset/i)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
#
|
19
|
+
# PCからのアクセス
|
20
|
+
#
|
21
|
+
describe FilterController do
|
22
|
+
let(:controller) { 'filter' }
|
23
|
+
|
24
|
+
describe 'PCからのアクセス' do
|
25
|
+
let(:user_agent) do
|
26
|
+
'Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)'
|
27
|
+
end
|
28
|
+
it_should_behave_like '文字コードフィルタが動作しているとき'
|
29
|
+
end
|
30
|
+
|
31
|
+
describe 'DoCoMo SH902i からのアクセス' do
|
32
|
+
let(:user_agent) do
|
33
|
+
'DoCoMo/2.0 SH902i(c100;TB;W24H12)'
|
34
|
+
end
|
35
|
+
it_should_behave_like '文字コードフィルタが動作しているとき'
|
36
|
+
end
|
37
|
+
|
38
|
+
describe 'au CA32 からのアクセス' do
|
39
|
+
let(:user_agent) do
|
40
|
+
'KDDI-CA32 UP.Browser/6.2.0.7.3.129 (GUI) MMP/2.0'
|
41
|
+
end
|
42
|
+
it_should_behave_like '文字コードフィルタが動作しているとき'
|
43
|
+
end
|
44
|
+
|
45
|
+
describe 'Vodafone V903T からのアクセス' do
|
46
|
+
let(:user_agent) do
|
47
|
+
'Vodafone/1.0/V903T/TJ001 Browser/VF-Browser/1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 Ext-J-Profile/JSCL-1.2.2 Ext-V-Profile/VSCL-2.0.0'
|
48
|
+
end
|
49
|
+
it_should_behave_like '文字コードフィルタが動作しているとき'
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'SoftBank 910T からのアクセス' do
|
53
|
+
let(:user_agent) do
|
54
|
+
'SoftBank/1.0/910T/TJ001/SN000000000000000 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1'
|
55
|
+
end
|
56
|
+
it_should_behave_like '文字コードフィルタが動作しているとき'
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
describe HankakuFilterController do
|
61
|
+
let(:controller) { 'hankaku_filter' }
|
62
|
+
|
63
|
+
describe 'PCからのアクセス' do
|
64
|
+
let(:user_agent) do
|
65
|
+
'Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)'
|
66
|
+
end
|
67
|
+
it_should_behave_like '文字コードフィルタが動作しているとき'
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'DoCoMo SH902i からのアクセス' do
|
71
|
+
let(:user_agent) do
|
72
|
+
'DoCoMo/2.0 SH902i(c100;TB;W24H12)'
|
73
|
+
end
|
74
|
+
|
75
|
+
it_should_behave_like '文字コードフィルタが動作しているとき'
|
76
|
+
end
|
77
|
+
|
78
|
+
describe 'SoftBank 910T からのアクセス' do
|
79
|
+
let(:user_agent) do
|
80
|
+
'SoftBank/1.0/910T/TJ001/SN000000000000000 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1'
|
81
|
+
end
|
82
|
+
|
83
|
+
it_should_behave_like '文字コードフィルタが動作しているとき'
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
describe HankakuInputFilterController do
|
88
|
+
let(:controller) { 'hankaku_input_filter' }
|
89
|
+
|
90
|
+
describe 'DoCoMo SH902i からのアクセス' do
|
91
|
+
let(:user_agent) do
|
92
|
+
'DoCoMo/2.0 SH902i(c100;TB;W24H12)'
|
93
|
+
end
|
94
|
+
|
95
|
+
it_should_behave_like '文字コードフィルタが動作しているとき'
|
96
|
+
end
|
97
|
+
|
98
|
+
describe 'SoftBank 910T からのアクセス' do
|
99
|
+
let(:user_agent) do
|
100
|
+
'SoftBank/1.0/910T/TJ001/SN000000000000000 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1'
|
101
|
+
end
|
102
|
+
|
103
|
+
it_should_behave_like '文字コードフィルタが動作しているとき'
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
@@ -27,12 +27,12 @@ describe 'trans_sid functional', type: :request do
|
|
27
27
|
it 'で link_to の自動書き換えが行われない' do
|
28
28
|
res = get_with_session(@controller, 'link', @user_agent)
|
29
29
|
|
30
|
-
expect(res.response.body).to match(%r{<a href
|
30
|
+
expect(res.response.body).to match(%r{<a href="/.+?/link">linkto</a>})
|
31
31
|
end
|
32
32
|
it 'で form の自動書き換えが行われない' do
|
33
33
|
res = get_with_session(@controller, 'form', @user_agent)
|
34
34
|
|
35
|
-
expect(res.response.body).to match(%r{<form.*action
|
35
|
+
expect(res.response.body).to match(%r{<form.*action="/.+?/form".*accept-charset="#{@charset}"})
|
36
36
|
end
|
37
37
|
it 'で redirect の自動書き換えが行われない' do
|
38
38
|
res = get_with_session(@controller, 'redirect', @user_agent)
|
@@ -45,16 +45,16 @@ describe 'trans_sid functional', type: :request do
|
|
45
45
|
it 'で link_to の自動書き換えが行われる' do
|
46
46
|
res = get_with_session(@controller, 'link', @user_agent)
|
47
47
|
|
48
|
-
expect(res.response.body).to match(%r{<a href
|
48
|
+
expect(res.response.body).to match(%r{<a href="/.+?/link\?_session_id=[a-zA-Z0-9]{32}">linkto</a>})
|
49
49
|
end
|
50
50
|
it 'で form内にhiddenが差し込まれる' do
|
51
51
|
res = get_with_session(@controller, 'form', @user_agent)
|
52
|
-
expect(res.response.body).to match(/<input type
|
52
|
+
expect(res.response.body).to match(/<input type="hidden" name=".+" value="[a-zA-Z0-9]{32}"/)
|
53
53
|
end
|
54
54
|
it 'で form の自動書き換えが行われる' do
|
55
55
|
res = get_with_session(@controller, 'form', @user_agent)
|
56
56
|
|
57
|
-
expect(res.response.body).to match(%r{<form.*action
|
57
|
+
expect(res.response.body).to match(%r{<form.*action="/.+?/form\?_session_id=[a-zA-Z0-9]{32}".*accept-charset="#{@charset}"})
|
58
58
|
end
|
59
59
|
it 'で redirect の自動書き換えが行われる' do
|
60
60
|
res = get_with_session(@controller, 'redirect', @user_agent)
|
@@ -66,12 +66,12 @@ describe 'trans_sid functional', type: :request do
|
|
66
66
|
it 'で @user の link_to の自動書き換えが行われる' do
|
67
67
|
res = get_with_session(@controller, 'link_path', @user_agent)
|
68
68
|
|
69
|
-
expect(res.response.body).to match(%r{<a href
|
69
|
+
expect(res.response.body).to match(%r{<a href="/users/1\?_session_id=[a-zA-Z0-9]{32}">linkto</a>})
|
70
70
|
end
|
71
71
|
it 'で @user の form の自動書き換えが行われる' do
|
72
72
|
res = get_with_session(@controller, 'form_path', @user_agent)
|
73
73
|
|
74
|
-
expect(res.response.body).to match(%r{<form.*action
|
74
|
+
expect(res.response.body).to match(%r{<form.*action="/users/1\?_session_id=[a-zA-Z0-9]{32}".*accept-charset="#{@charset}"})
|
75
75
|
end
|
76
76
|
it 'で @path の redirect の自動書き換えが行われる' do
|
77
77
|
res = get_with_session(@controller, 'redirect_path', @user_agent)
|
@@ -83,12 +83,12 @@ describe 'trans_sid functional', type: :request do
|
|
83
83
|
it 'で [:admin, @user] の link_to の自動書き換えが行われる' do
|
84
84
|
res = get_with_session(@controller, 'link_path_admin', @user_agent)
|
85
85
|
|
86
|
-
expect(res.response.body).to match(%r{<a href
|
86
|
+
expect(res.response.body).to match(%r{<a href="/admin/users/1\?_session_id=[a-zA-Z0-9]{32}">linkto</a>})
|
87
87
|
end
|
88
88
|
it 'で [:admin, @user] の form の自動書き換えが行われる' do
|
89
89
|
res = get_with_session(@controller, 'form_path_admin', @user_agent)
|
90
90
|
|
91
|
-
expect(res.response.body).to match(%r{<form.*action
|
91
|
+
expect(res.response.body).to match(%r{<form.*action="/admin/users/1\?_session_id=[a-zA-Z0-9]{32}".* accept-charset="#{@charset}"})
|
92
92
|
end
|
93
93
|
it 'で [:admin, @path] の redirect の自動書き換えが行われる' do
|
94
94
|
res = get_with_session(@controller, 'redirect_path_admin', @user_agent)
|
@@ -1,9 +1,9 @@
|
|
1
|
-
require '
|
1
|
+
require 'system_helper'
|
2
2
|
|
3
3
|
describe Admin::TopController, type: :feature do
|
4
4
|
describe "GET 'full_path'" do
|
5
5
|
before do
|
6
|
-
page.driver.
|
6
|
+
page.driver.headers = { 'User-Agent' => user_agent }
|
7
7
|
end
|
8
8
|
|
9
9
|
context 'PCからのアクセスの場合' do
|
@@ -1,10 +1,10 @@
|
|
1
|
-
require '
|
1
|
+
require 'system_helper'
|
2
2
|
|
3
3
|
describe 'jpmobile integration spec', type: :feature do
|
4
4
|
include Jpmobile::Util
|
5
5
|
|
6
6
|
before do
|
7
|
-
page.driver.
|
7
|
+
page.driver.headers = { 'User-Agent' => user_agent }
|
8
8
|
end
|
9
9
|
|
10
10
|
shared_examples_for 'hankaku_filter input: true のとき' do
|
@@ -38,11 +38,6 @@ describe 'jpmobile integration spec', type: :feature do
|
|
38
38
|
end
|
39
39
|
|
40
40
|
shared_examples_for '文字コードフィルタが動作しているとき' do
|
41
|
-
it 'はhtml以外は変換しないこと' do
|
42
|
-
visit "/#{controller}/rawdata"
|
43
|
-
expect(page.body.encode('UTF-8')).to have_content('アブラカダブラ')
|
44
|
-
expect(page.response_headers['Content-Type']).not_to match(/charset/i)
|
45
|
-
end
|
46
41
|
it 'response.bodyが空のときは文字コードを変更しないこと' do
|
47
42
|
visit "/#{controller}/empty"
|
48
43
|
expect(page.response_headers['Content-Type']).to match(/utf-8/i)
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'capybara/cuprite'
|
2
|
+
|
3
|
+
Capybara.register_driver(:cuprite) do |app|
|
4
|
+
Capybara::Cuprite::Driver.new(
|
5
|
+
app,
|
6
|
+
**{
|
7
|
+
window_size: [1200, 800],
|
8
|
+
browser_options: {},
|
9
|
+
inspector: true,
|
10
|
+
},
|
11
|
+
)
|
12
|
+
end
|
13
|
+
|
14
|
+
Capybara.default_driver = Capybara.javascript_driver = :cuprite
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jpmobile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 7.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shin-ichiro OGAWA
|
8
8
|
- Yoji Shidara
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-12-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mail
|
@@ -26,13 +26,27 @@ dependencies:
|
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: 2.7.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
|
-
name:
|
29
|
+
name: rexml
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '0'
|
35
|
-
type: :
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: scanf
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
49
|
+
type: :runtime
|
36
50
|
prerelease: false
|
37
51
|
version_requirements: !ruby/object:Gem::Requirement
|
38
52
|
requirements:
|
@@ -101,14 +115,14 @@ dependencies:
|
|
101
115
|
requirements:
|
102
116
|
- - "~>"
|
103
117
|
- !ruby/object:Gem::Version
|
104
|
-
version:
|
118
|
+
version: 7.0.0.alpha2
|
105
119
|
type: :development
|
106
120
|
prerelease: false
|
107
121
|
version_requirements: !ruby/object:Gem::Requirement
|
108
122
|
requirements:
|
109
123
|
- - "~>"
|
110
124
|
- !ruby/object:Gem::Version
|
111
|
-
version:
|
125
|
+
version: 7.0.0.alpha2
|
112
126
|
- !ruby/object:Gem::Dependency
|
113
127
|
name: rspec
|
114
128
|
requirement: !ruby/object:Gem::Requirement
|
@@ -204,6 +218,7 @@ files:
|
|
204
218
|
- lib/jpmobile/filter.rb
|
205
219
|
- lib/jpmobile/helpers.rb
|
206
220
|
- lib/jpmobile/hook_action_view.rb
|
221
|
+
- lib/jpmobile/hook_template_details_requested.rb
|
207
222
|
- lib/jpmobile/hook_test_request.rb
|
208
223
|
- lib/jpmobile/lookup_context.rb
|
209
224
|
- lib/jpmobile/mail.rb
|
@@ -237,9 +252,11 @@ files:
|
|
237
252
|
- lib/jpmobile/session/active_record_store.rb
|
238
253
|
- lib/jpmobile/session/mem_cache_store.rb
|
239
254
|
- lib/jpmobile/sinatra.rb
|
255
|
+
- lib/jpmobile/template_details.rb
|
240
256
|
- lib/jpmobile/trans_sid.rb
|
241
257
|
- lib/jpmobile/util.rb
|
242
258
|
- lib/jpmobile/version.rb
|
259
|
+
- lib/jpmobile/view_selector.rb
|
243
260
|
- lib/tasks/jpmobile_tasks.rake
|
244
261
|
- spec/rack/jpmobile/android_spec.rb
|
245
262
|
- spec/rack/jpmobile/au_spec.rb
|
@@ -356,7 +373,7 @@ files:
|
|
356
373
|
- test/rails/overrides/app/views/mobile_spec/_partial_view_sample.html.erb
|
357
374
|
- test/rails/overrides/app/views/mobile_spec/index.html.erb
|
358
375
|
- test/rails/overrides/app/views/mobile_spec/index_mobile.html.erb
|
359
|
-
- test/rails/overrides/app/views/mobile_spec/
|
376
|
+
- test/rails/overrides/app/views/mobile_spec/mobile_not_exist.html.erb
|
360
377
|
- test/rails/overrides/app/views/normal_mailer/msg.text.erb
|
361
378
|
- test/rails/overrides/app/views/template_path/_partial.html.erb
|
362
379
|
- test/rails/overrides/app/views/template_path/_partial_mobile.html.erb
|
@@ -383,16 +400,14 @@ files:
|
|
383
400
|
- test/rails/overrides/config/routes.rb
|
384
401
|
- test/rails/overrides/db/migrate/001_add_sessions_table.rb
|
385
402
|
- test/rails/overrides/db/migrate/20100824062306_create_users.rb
|
386
|
-
- test/rails/overrides/db/migrate/
|
387
|
-
- test/rails/overrides/db/migrate/
|
403
|
+
- test/rails/overrides/db/migrate/20201111033056_create_active_storage_tables.active_storage.rb
|
404
|
+
- test/rails/overrides/db/migrate/20201111033057_create_action_mailbox_tables.action_mailbox.rb
|
388
405
|
- test/rails/overrides/spec/controllers/docomo_guid_spec.rb
|
389
406
|
- test/rails/overrides/spec/controllers/hankaku_filter_controller_spec.rb
|
390
407
|
- test/rails/overrides/spec/controllers/helpers_spec.rb
|
391
408
|
- test/rails/overrides/spec/controllers/mobile_spec_controller_spec.rb
|
392
409
|
- test/rails/overrides/spec/controllers/template_path_spec.rb
|
393
410
|
- test/rails/overrides/spec/controllers/trans_sid_controller_spec.rb
|
394
|
-
- test/rails/overrides/spec/features/admin/top_spec.rb
|
395
|
-
- test/rails/overrides/spec/features/filter_spec.rb
|
396
411
|
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-attached.eml
|
397
412
|
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-decomail.eml
|
398
413
|
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-emoji.eml
|
@@ -420,11 +435,16 @@ files:
|
|
420
435
|
- test/rails/overrides/spec/rcov.opts
|
421
436
|
- test/rails/overrides/spec/requests/docomo_spec.rb
|
422
437
|
- test/rails/overrides/spec/requests/emobile_spec.rb
|
438
|
+
- test/rails/overrides/spec/requests/filter_spec.rb
|
423
439
|
- test/rails/overrides/spec/requests/pc_spec.rb
|
424
440
|
- test/rails/overrides/spec/requests/softbank_emulator_spec.rb
|
425
441
|
- test/rails/overrides/spec/requests/template_path_spec.rb
|
426
442
|
- test/rails/overrides/spec/requests/trans_sid_spec.rb
|
427
443
|
- test/rails/overrides/spec/spec_helper.rb
|
444
|
+
- test/rails/overrides/spec/system/admin/top_spec.rb
|
445
|
+
- test/rails/overrides/spec/system/filter_spec.rb
|
446
|
+
- test/rails/overrides/spec/system/support/cuprite_setup.rb
|
447
|
+
- test/rails/overrides/spec/system_helper.rb
|
428
448
|
- test/sinatra/config.ru
|
429
449
|
- test/sinatra/guestbook.rb
|
430
450
|
- test/sinatra/test/filter_test.rb
|
@@ -442,7 +462,7 @@ homepage: http://jpmobile-rails.org
|
|
442
462
|
licenses:
|
443
463
|
- MIT
|
444
464
|
metadata: {}
|
445
|
-
post_install_message:
|
465
|
+
post_install_message:
|
446
466
|
rdoc_options: []
|
447
467
|
require_paths:
|
448
468
|
- lib
|
@@ -450,15 +470,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
450
470
|
requirements:
|
451
471
|
- - ">="
|
452
472
|
- !ruby/object:Gem::Version
|
453
|
-
version:
|
473
|
+
version: 3.0.0
|
454
474
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
455
475
|
requirements:
|
456
476
|
- - ">="
|
457
477
|
- !ruby/object:Gem::Version
|
458
478
|
version: '0'
|
459
479
|
requirements: []
|
460
|
-
rubygems_version: 3.
|
461
|
-
signing_key:
|
480
|
+
rubygems_version: 3.2.32
|
481
|
+
signing_key:
|
462
482
|
specification_version: 4
|
463
483
|
summary: Rails plugin for mobile devices in Japan
|
464
484
|
test_files:
|
@@ -577,7 +597,7 @@ test_files:
|
|
577
597
|
- test/rails/overrides/app/views/mobile_spec/_partial_view_sample.html.erb
|
578
598
|
- test/rails/overrides/app/views/mobile_spec/index.html.erb
|
579
599
|
- test/rails/overrides/app/views/mobile_spec/index_mobile.html.erb
|
580
|
-
- test/rails/overrides/app/views/mobile_spec/
|
600
|
+
- test/rails/overrides/app/views/mobile_spec/mobile_not_exist.html.erb
|
581
601
|
- test/rails/overrides/app/views/normal_mailer/msg.text.erb
|
582
602
|
- test/rails/overrides/app/views/template_path/_partial.html.erb
|
583
603
|
- test/rails/overrides/app/views/template_path/_partial_mobile.html.erb
|
@@ -604,16 +624,14 @@ test_files:
|
|
604
624
|
- test/rails/overrides/config/routes.rb
|
605
625
|
- test/rails/overrides/db/migrate/001_add_sessions_table.rb
|
606
626
|
- test/rails/overrides/db/migrate/20100824062306_create_users.rb
|
607
|
-
- test/rails/overrides/db/migrate/
|
608
|
-
- test/rails/overrides/db/migrate/
|
627
|
+
- test/rails/overrides/db/migrate/20201111033056_create_active_storage_tables.active_storage.rb
|
628
|
+
- test/rails/overrides/db/migrate/20201111033057_create_action_mailbox_tables.action_mailbox.rb
|
609
629
|
- test/rails/overrides/spec/controllers/docomo_guid_spec.rb
|
610
630
|
- test/rails/overrides/spec/controllers/hankaku_filter_controller_spec.rb
|
611
631
|
- test/rails/overrides/spec/controllers/helpers_spec.rb
|
612
632
|
- test/rails/overrides/spec/controllers/mobile_spec_controller_spec.rb
|
613
633
|
- test/rails/overrides/spec/controllers/template_path_spec.rb
|
614
634
|
- test/rails/overrides/spec/controllers/trans_sid_controller_spec.rb
|
615
|
-
- test/rails/overrides/spec/features/admin/top_spec.rb
|
616
|
-
- test/rails/overrides/spec/features/filter_spec.rb
|
617
635
|
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-attached.eml
|
618
636
|
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-decomail.eml
|
619
637
|
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-emoji.eml
|
@@ -641,11 +659,16 @@ test_files:
|
|
641
659
|
- test/rails/overrides/spec/rcov.opts
|
642
660
|
- test/rails/overrides/spec/requests/docomo_spec.rb
|
643
661
|
- test/rails/overrides/spec/requests/emobile_spec.rb
|
662
|
+
- test/rails/overrides/spec/requests/filter_spec.rb
|
644
663
|
- test/rails/overrides/spec/requests/pc_spec.rb
|
645
664
|
- test/rails/overrides/spec/requests/softbank_emulator_spec.rb
|
646
665
|
- test/rails/overrides/spec/requests/template_path_spec.rb
|
647
666
|
- test/rails/overrides/spec/requests/trans_sid_spec.rb
|
648
667
|
- test/rails/overrides/spec/spec_helper.rb
|
668
|
+
- test/rails/overrides/spec/system/admin/top_spec.rb
|
669
|
+
- test/rails/overrides/spec/system/filter_spec.rb
|
670
|
+
- test/rails/overrides/spec/system/support/cuprite_setup.rb
|
671
|
+
- test/rails/overrides/spec/system_helper.rb
|
649
672
|
- test/sinatra/config.ru
|
650
673
|
- test/sinatra/guestbook.rb
|
651
674
|
- test/sinatra/test/filter_test.rb
|