jpmobile 6.1.2 → 7.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 +8 -3
- data/.rubocop.yml +1 -1
- data/.ruby-version +1 -1
- data/Gemfile +2 -0
- data/Gemfile.lock +119 -138
- data/README.md +3 -18
- data/jpmobile.gemspec +3 -4
- data/lib/jpmobile/docomo_guid.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/mailer.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 +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 +10 -36
- 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 +2 -1
- data/spec/rack/jpmobile/mobile_by_ua_spec.rb +1 -0
- 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/views/mobile_spec/mobile_not_exist.html.erb +3 -0
- data/test/rails/overrides/config/routes.rb +1 -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 +23 -29
- 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.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: 2021-
|
12
|
+
date: 2021-12-17 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
|
@@ -471,7 +462,7 @@ homepage: http://jpmobile-rails.org
|
|
471
462
|
licenses:
|
472
463
|
- MIT
|
473
464
|
metadata: {}
|
474
|
-
post_install_message:
|
465
|
+
post_install_message:
|
475
466
|
rdoc_options: []
|
476
467
|
require_paths:
|
477
468
|
- lib
|
@@ -479,15 +470,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
479
470
|
requirements:
|
480
471
|
- - ">="
|
481
472
|
- !ruby/object:Gem::Version
|
482
|
-
version:
|
473
|
+
version: 3.0.0
|
483
474
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
484
475
|
requirements:
|
485
476
|
- - ">="
|
486
477
|
- !ruby/object:Gem::Version
|
487
478
|
version: '0'
|
488
479
|
requirements: []
|
489
|
-
rubygems_version: 3.
|
490
|
-
signing_key:
|
480
|
+
rubygems_version: 3.2.32
|
481
|
+
signing_key:
|
491
482
|
specification_version: 4
|
492
483
|
summary: Rails plugin for mobile devices in Japan
|
493
484
|
test_files:
|
@@ -606,7 +597,7 @@ test_files:
|
|
606
597
|
- test/rails/overrides/app/views/mobile_spec/_partial_view_sample.html.erb
|
607
598
|
- test/rails/overrides/app/views/mobile_spec/index.html.erb
|
608
599
|
- test/rails/overrides/app/views/mobile_spec/index_mobile.html.erb
|
609
|
-
- test/rails/overrides/app/views/mobile_spec/
|
600
|
+
- test/rails/overrides/app/views/mobile_spec/mobile_not_exist.html.erb
|
610
601
|
- test/rails/overrides/app/views/normal_mailer/msg.text.erb
|
611
602
|
- test/rails/overrides/app/views/template_path/_partial.html.erb
|
612
603
|
- test/rails/overrides/app/views/template_path/_partial_mobile.html.erb
|
@@ -641,8 +632,6 @@ test_files:
|
|
641
632
|
- test/rails/overrides/spec/controllers/mobile_spec_controller_spec.rb
|
642
633
|
- test/rails/overrides/spec/controllers/template_path_spec.rb
|
643
634
|
- 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
635
|
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-attached.eml
|
647
636
|
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-decomail.eml
|
648
637
|
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-emoji.eml
|
@@ -670,11 +659,16 @@ test_files:
|
|
670
659
|
- test/rails/overrides/spec/rcov.opts
|
671
660
|
- test/rails/overrides/spec/requests/docomo_spec.rb
|
672
661
|
- test/rails/overrides/spec/requests/emobile_spec.rb
|
662
|
+
- test/rails/overrides/spec/requests/filter_spec.rb
|
673
663
|
- test/rails/overrides/spec/requests/pc_spec.rb
|
674
664
|
- test/rails/overrides/spec/requests/softbank_emulator_spec.rb
|
675
665
|
- test/rails/overrides/spec/requests/template_path_spec.rb
|
676
666
|
- test/rails/overrides/spec/requests/trans_sid_spec.rb
|
677
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
|
678
672
|
- test/sinatra/config.ru
|
679
673
|
- test/sinatra/guestbook.rb
|
680
674
|
- test/sinatra/test/filter_test.rb
|