jpmobile 6.1.2 → 7.0.2
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 +12 -4
- data/.rubocop.yml +104 -1
- data/.ruby-version +1 -1
- data/Gemfile +2 -0
- data/Gemfile.lock +157 -149
- data/README.md +5 -21
- data/Rakefile +1 -1
- data/jpmobile.gemspec +4 -4
- data/lib/jpmobile/datum_conv.rb +7 -7
- data/lib/jpmobile/docomo_guid.rb +2 -2
- data/lib/jpmobile/email.rb +2 -2
- data/lib/jpmobile/fallback_view_selector.rb +2 -2
- data/lib/jpmobile/filter.rb +3 -1
- data/lib/jpmobile/hook_action_view.rb +3 -3
- data/lib/jpmobile/hook_template_details_requested.rb +12 -0
- data/lib/jpmobile/mail.rb +2 -2
- data/lib/jpmobile/mailer.rb +2 -2
- data/lib/jpmobile/mobile/abstract_mobile.rb +1 -1
- data/lib/jpmobile/mobile/android_tablet.rb +1 -1
- data/lib/jpmobile/mobile/au.rb +4 -6
- data/lib/jpmobile/mobile/softbank.rb +3 -1
- data/lib/jpmobile/path_set.rb +10 -36
- data/lib/jpmobile/position.rb +2 -2
- data/lib/jpmobile/rails.rb +2 -0
- data/lib/jpmobile/resolver.rb +44 -6
- data/lib/jpmobile/template_details.rb +38 -0
- data/lib/jpmobile/trans_sid.rb +1 -1
- data/lib/jpmobile/util.rb +1 -1
- data/lib/jpmobile/version.rb +1 -1
- data/lib/jpmobile/view_selector.rb +5 -6
- data/lib/jpmobile.rb +13 -0
- data/lib/tasks/jpmobile_tasks.rake +4 -5
- data/spec/rack/jpmobile/mobile_by_ua_spec.rb +1 -0
- data/spec/unit/decorated_mail_spec.rb +1 -1
- data/spec/unit/mail_spec.rb +2 -2
- data/spec/unit/receive_mail_spec.rb +29 -29
- data/test/rails/overrides/Gemfile.jpmobile +4 -0
- 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/mailers/decorated_mailer.rb +1 -1
- data/test/rails/overrides/app/views/mobile_spec/mobile_not_exist.html.erb +3 -0
- data/test/rails/overrides/config/routes.rb +3 -1
- 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/{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 +25 -30
- data/test/rails/overrides/app/views/mobile_spec/no_mobile.html.erb +0 -3
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.2
|
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: 2022-06-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mail
|
@@ -53,20 +53,6 @@ dependencies:
|
|
53
53
|
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '0'
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: capybara-webkit
|
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
56
|
- !ruby/object:Gem::Dependency
|
71
57
|
name: geokit
|
72
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,14 +115,14 @@ dependencies:
|
|
129
115
|
requirements:
|
130
116
|
- - "~>"
|
131
117
|
- !ruby/object:Gem::Version
|
132
|
-
version:
|
118
|
+
version: 7.0.0.alpha2
|
133
119
|
type: :development
|
134
120
|
prerelease: false
|
135
121
|
version_requirements: !ruby/object:Gem::Requirement
|
136
122
|
requirements:
|
137
123
|
- - "~>"
|
138
124
|
- !ruby/object:Gem::Version
|
139
|
-
version:
|
125
|
+
version: 7.0.0.alpha2
|
140
126
|
- !ruby/object:Gem::Dependency
|
141
127
|
name: rspec
|
142
128
|
requirement: !ruby/object:Gem::Requirement
|
@@ -232,6 +218,7 @@ files:
|
|
232
218
|
- lib/jpmobile/filter.rb
|
233
219
|
- lib/jpmobile/helpers.rb
|
234
220
|
- lib/jpmobile/hook_action_view.rb
|
221
|
+
- lib/jpmobile/hook_template_details_requested.rb
|
235
222
|
- lib/jpmobile/hook_test_request.rb
|
236
223
|
- lib/jpmobile/lookup_context.rb
|
237
224
|
- lib/jpmobile/mail.rb
|
@@ -265,6 +252,7 @@ files:
|
|
265
252
|
- lib/jpmobile/session/active_record_store.rb
|
266
253
|
- lib/jpmobile/session/mem_cache_store.rb
|
267
254
|
- lib/jpmobile/sinatra.rb
|
255
|
+
- lib/jpmobile/template_details.rb
|
268
256
|
- lib/jpmobile/trans_sid.rb
|
269
257
|
- lib/jpmobile/util.rb
|
270
258
|
- lib/jpmobile/version.rb
|
@@ -385,7 +373,7 @@ files:
|
|
385
373
|
- test/rails/overrides/app/views/mobile_spec/_partial_view_sample.html.erb
|
386
374
|
- test/rails/overrides/app/views/mobile_spec/index.html.erb
|
387
375
|
- test/rails/overrides/app/views/mobile_spec/index_mobile.html.erb
|
388
|
-
- test/rails/overrides/app/views/mobile_spec/
|
376
|
+
- test/rails/overrides/app/views/mobile_spec/mobile_not_exist.html.erb
|
389
377
|
- test/rails/overrides/app/views/normal_mailer/msg.text.erb
|
390
378
|
- test/rails/overrides/app/views/template_path/_partial.html.erb
|
391
379
|
- test/rails/overrides/app/views/template_path/_partial_mobile.html.erb
|
@@ -420,8 +408,6 @@ files:
|
|
420
408
|
- test/rails/overrides/spec/controllers/mobile_spec_controller_spec.rb
|
421
409
|
- test/rails/overrides/spec/controllers/template_path_spec.rb
|
422
410
|
- test/rails/overrides/spec/controllers/trans_sid_controller_spec.rb
|
423
|
-
- test/rails/overrides/spec/features/admin/top_spec.rb
|
424
|
-
- test/rails/overrides/spec/features/filter_spec.rb
|
425
411
|
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-attached.eml
|
426
412
|
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-decomail.eml
|
427
413
|
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-emoji.eml
|
@@ -449,11 +435,16 @@ files:
|
|
449
435
|
- test/rails/overrides/spec/rcov.opts
|
450
436
|
- test/rails/overrides/spec/requests/docomo_spec.rb
|
451
437
|
- test/rails/overrides/spec/requests/emobile_spec.rb
|
438
|
+
- test/rails/overrides/spec/requests/filter_spec.rb
|
452
439
|
- test/rails/overrides/spec/requests/pc_spec.rb
|
453
440
|
- test/rails/overrides/spec/requests/softbank_emulator_spec.rb
|
454
441
|
- test/rails/overrides/spec/requests/template_path_spec.rb
|
455
442
|
- test/rails/overrides/spec/requests/trans_sid_spec.rb
|
456
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
|
457
448
|
- test/sinatra/config.ru
|
458
449
|
- test/sinatra/guestbook.rb
|
459
450
|
- test/sinatra/test/filter_test.rb
|
@@ -470,8 +461,9 @@ files:
|
|
470
461
|
homepage: http://jpmobile-rails.org
|
471
462
|
licenses:
|
472
463
|
- MIT
|
473
|
-
metadata:
|
474
|
-
|
464
|
+
metadata:
|
465
|
+
rubygems_mfa_required: 'true'
|
466
|
+
post_install_message:
|
475
467
|
rdoc_options: []
|
476
468
|
require_paths:
|
477
469
|
- lib
|
@@ -479,15 +471,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
479
471
|
requirements:
|
480
472
|
- - ">="
|
481
473
|
- !ruby/object:Gem::Version
|
482
|
-
version: 2.
|
474
|
+
version: 2.7.0
|
483
475
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
484
476
|
requirements:
|
485
477
|
- - ">="
|
486
478
|
- !ruby/object:Gem::Version
|
487
479
|
version: '0'
|
488
480
|
requirements: []
|
489
|
-
rubygems_version: 3.
|
490
|
-
signing_key:
|
481
|
+
rubygems_version: 3.3.7
|
482
|
+
signing_key:
|
491
483
|
specification_version: 4
|
492
484
|
summary: Rails plugin for mobile devices in Japan
|
493
485
|
test_files:
|
@@ -606,7 +598,7 @@ test_files:
|
|
606
598
|
- test/rails/overrides/app/views/mobile_spec/_partial_view_sample.html.erb
|
607
599
|
- test/rails/overrides/app/views/mobile_spec/index.html.erb
|
608
600
|
- test/rails/overrides/app/views/mobile_spec/index_mobile.html.erb
|
609
|
-
- test/rails/overrides/app/views/mobile_spec/
|
601
|
+
- test/rails/overrides/app/views/mobile_spec/mobile_not_exist.html.erb
|
610
602
|
- test/rails/overrides/app/views/normal_mailer/msg.text.erb
|
611
603
|
- test/rails/overrides/app/views/template_path/_partial.html.erb
|
612
604
|
- test/rails/overrides/app/views/template_path/_partial_mobile.html.erb
|
@@ -641,8 +633,6 @@ test_files:
|
|
641
633
|
- test/rails/overrides/spec/controllers/mobile_spec_controller_spec.rb
|
642
634
|
- test/rails/overrides/spec/controllers/template_path_spec.rb
|
643
635
|
- test/rails/overrides/spec/controllers/trans_sid_controller_spec.rb
|
644
|
-
- test/rails/overrides/spec/features/admin/top_spec.rb
|
645
|
-
- test/rails/overrides/spec/features/filter_spec.rb
|
646
636
|
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-attached.eml
|
647
637
|
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-decomail.eml
|
648
638
|
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-emoji.eml
|
@@ -670,11 +660,16 @@ test_files:
|
|
670
660
|
- test/rails/overrides/spec/rcov.opts
|
671
661
|
- test/rails/overrides/spec/requests/docomo_spec.rb
|
672
662
|
- test/rails/overrides/spec/requests/emobile_spec.rb
|
663
|
+
- test/rails/overrides/spec/requests/filter_spec.rb
|
673
664
|
- test/rails/overrides/spec/requests/pc_spec.rb
|
674
665
|
- test/rails/overrides/spec/requests/softbank_emulator_spec.rb
|
675
666
|
- test/rails/overrides/spec/requests/template_path_spec.rb
|
676
667
|
- test/rails/overrides/spec/requests/trans_sid_spec.rb
|
677
668
|
- test/rails/overrides/spec/spec_helper.rb
|
669
|
+
- test/rails/overrides/spec/system/admin/top_spec.rb
|
670
|
+
- test/rails/overrides/spec/system/filter_spec.rb
|
671
|
+
- test/rails/overrides/spec/system/support/cuprite_setup.rb
|
672
|
+
- test/rails/overrides/spec/system_helper.rb
|
678
673
|
- test/sinatra/config.ru
|
679
674
|
- test/sinatra/guestbook.rb
|
680
675
|
- test/sinatra/test/filter_test.rb
|