jpmobile 5.2.5 → 6.0.0.beta
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 +1 -1
- data/.ruby-version +1 -1
- data/Gemfile.lock +111 -93
- data/jpmobile.gemspec +1 -1
- data/lib/jpmobile/hook_action_view.rb +4 -10
- data/lib/jpmobile/rails.rb +2 -0
- data/lib/jpmobile/resolver.rb +2 -36
- data/lib/jpmobile/version.rb +1 -1
- data/lib/tasks/jpmobile_tasks.rake +2 -2
- data/spec/unit/receive_mail_spec.rb +9 -9
- data/test/rails/overrides/Gemfile.jpmobile +6 -1
- data/test/rails/overrides/app/controllers/mobile_spec_controller.rb +1 -1
- data/test/rails/overrides/app/mailboxes/application_mailbox.rb +3 -0
- data/test/rails/overrides/app/mailboxes/mobile_mailer_mailbox.rb +5 -0
- data/test/rails/overrides/app/mailers/decorated_mailer.rb +1 -1
- data/test/rails/overrides/db/migrate/20190419005447_create_active_storage_tables.active_storage.rb +27 -0
- data/test/rails/overrides/db/migrate/20190419005448_create_action_mailbox_tables.action_mailbox.rb +14 -0
- data/test/rails/overrides/spec/controllers/hankaku_filter_controller_spec.rb +1 -1
- data/test/rails/overrides/spec/fixtures/{mobile_mailer → files/mobile_mailer}/au-attached.eml +0 -0
- data/test/rails/overrides/spec/fixtures/{mobile_mailer → files/mobile_mailer}/au-decomail.eml +0 -0
- data/test/rails/overrides/spec/fixtures/{mobile_mailer → files/mobile_mailer}/au-emoji.eml +0 -0
- data/test/rails/overrides/spec/fixtures/{mobile_mailer → files/mobile_mailer}/au-emoji2.eml +0 -0
- data/test/rails/overrides/spec/fixtures/{mobile_mailer → files/mobile_mailer}/au-emoji5.eml +0 -0
- data/test/rails/overrides/spec/fixtures/{mobile_mailer → files/mobile_mailer}/bounced-jp.eml +0 -0
- data/test/rails/overrides/spec/fixtures/{mobile_mailer → files/mobile_mailer}/docomo-emoji.eml +0 -0
- data/test/rails/overrides/spec/fixtures/{mobile_mailer → files/mobile_mailer}/docomo-gmail-sjis.eml +0 -0
- data/test/rails/overrides/spec/fixtures/{mobile_mailer → files/mobile_mailer}/docomo-jis.eml +0 -0
- data/{spec/unit/email-fixtures → test/rails/overrides/spec/fixtures/files/mobile_mailer}/iphone-message.eml +0 -0
- data/test/rails/overrides/spec/fixtures/{mobile_mailer → files/mobile_mailer}/no-from.eml +0 -0
- data/test/rails/overrides/spec/fixtures/{mobile_mailer → files/mobile_mailer}/non-jp.eml +0 -0
- data/test/rails/overrides/spec/fixtures/{mobile_mailer → files/mobile_mailer}/photo.jpg +0 -0
- data/test/rails/overrides/spec/fixtures/{mobile_mailer → files/mobile_mailer}/softbank-blank.eml +0 -0
- data/test/rails/overrides/spec/fixtures/{mobile_mailer → files/mobile_mailer}/softbank-emoji-utf8.eml +0 -0
- data/test/rails/overrides/spec/fixtures/{mobile_mailer → files/mobile_mailer}/softbank-emoji.eml +0 -0
- data/test/rails/overrides/spec/fixtures/{mobile_mailer → files/mobile_mailer}/softbank-gmail-sjis.eml +0 -0
- data/test/rails/overrides/spec/fixtures/{mobile_mailer → files/mobile_mailer}/softbank-gmail-utf8.eml +0 -0
- data/test/rails/overrides/spec/mailboxes/mobile_mailer_mailbox_spec.rb +265 -0
- data/test/rails/overrides/spec/mailers/mobile_mailer_spec.rb +0 -305
- metadata +53 -44
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jpmobile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 6.0.0.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shin-ichiro OGAWA
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-05-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mail
|
@@ -101,14 +101,14 @@ dependencies:
|
|
101
101
|
requirements:
|
102
102
|
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version:
|
104
|
+
version: 6.0.0.rc1
|
105
105
|
type: :development
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
109
|
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version:
|
111
|
+
version: 6.0.0.rc1
|
112
112
|
- !ruby/object:Gem::Dependency
|
113
113
|
name: rspec
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|
@@ -272,7 +272,6 @@ files:
|
|
272
272
|
- spec/unit/email-fixtures/iphone-cp932.eml
|
273
273
|
- spec/unit/email-fixtures/iphone-jis.eml
|
274
274
|
- spec/unit/email-fixtures/iphone-mail3.eml
|
275
|
-
- spec/unit/email-fixtures/iphone-message.eml
|
276
275
|
- spec/unit/email-fixtures/iphone-unicode-emoji.eml
|
277
276
|
- spec/unit/email-fixtures/pc-mail-attached-without-subject.eml
|
278
277
|
- spec/unit/email-fixtures/pc-mail-multi.eml
|
@@ -315,6 +314,8 @@ files:
|
|
315
314
|
- test/rails/overrides/app/controllers/trans_sid_metal_controller.rb
|
316
315
|
- test/rails/overrides/app/controllers/trans_sid_mobile_controller.rb
|
317
316
|
- test/rails/overrides/app/controllers/trans_sid_none_controller.rb
|
317
|
+
- test/rails/overrides/app/mailboxes/application_mailbox.rb
|
318
|
+
- test/rails/overrides/app/mailboxes/mobile_mailer_mailbox.rb
|
318
319
|
- test/rails/overrides/app/mailers/decorated_mailer.rb
|
319
320
|
- test/rails/overrides/app/mailers/mobile_mailer.rb
|
320
321
|
- test/rails/overrides/app/mailers/normal_mailer.rb
|
@@ -381,6 +382,8 @@ files:
|
|
381
382
|
- test/rails/overrides/config/routes.rb
|
382
383
|
- test/rails/overrides/db/migrate/001_add_sessions_table.rb
|
383
384
|
- test/rails/overrides/db/migrate/20100824062306_create_users.rb
|
385
|
+
- test/rails/overrides/db/migrate/20190419005447_create_active_storage_tables.active_storage.rb
|
386
|
+
- test/rails/overrides/db/migrate/20190419005448_create_action_mailbox_tables.action_mailbox.rb
|
384
387
|
- test/rails/overrides/spec/controllers/docomo_guid_spec.rb
|
385
388
|
- test/rails/overrides/spec/controllers/hankaku_filter_controller_spec.rb
|
386
389
|
- test/rails/overrides/spec/controllers/helpers_spec.rb
|
@@ -389,24 +392,26 @@ files:
|
|
389
392
|
- test/rails/overrides/spec/controllers/trans_sid_controller_spec.rb
|
390
393
|
- test/rails/overrides/spec/features/admin/top_spec.rb
|
391
394
|
- test/rails/overrides/spec/features/filter_spec.rb
|
392
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/au-attached.eml
|
393
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/au-decomail.eml
|
394
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/au-emoji.eml
|
395
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/au-emoji2.eml
|
396
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/au-emoji5.eml
|
397
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/bounced-jp.eml
|
398
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/docomo-emoji.eml
|
399
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/docomo-gmail-sjis.eml
|
400
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/docomo-jis.eml
|
401
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/
|
402
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/
|
403
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/
|
404
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/
|
405
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/softbank-
|
406
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/softbank-emoji.eml
|
407
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/softbank-
|
408
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/softbank-gmail-
|
395
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-attached.eml
|
396
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-decomail.eml
|
397
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-emoji.eml
|
398
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-emoji2.eml
|
399
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-emoji5.eml
|
400
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/bounced-jp.eml
|
401
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/docomo-emoji.eml
|
402
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/docomo-gmail-sjis.eml
|
403
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/docomo-jis.eml
|
404
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/iphone-message.eml
|
405
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/no-from.eml
|
406
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/non-jp.eml
|
407
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/photo.jpg
|
408
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/softbank-blank.eml
|
409
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/softbank-emoji-utf8.eml
|
410
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/softbank-emoji.eml
|
411
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/softbank-gmail-sjis.eml
|
412
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/softbank-gmail-utf8.eml
|
409
413
|
- test/rails/overrides/spec/helpers/helpers_spec.rb
|
414
|
+
- test/rails/overrides/spec/mailboxes/mobile_mailer_mailbox_spec.rb
|
410
415
|
- test/rails/overrides/spec/mailers/decorated_mailer_spec.rb
|
411
416
|
- test/rails/overrides/spec/mailers/mobile_mailer_spec.rb
|
412
417
|
- test/rails/overrides/spec/mailers/normal_mailer_spec.rb
|
@@ -447,12 +452,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
447
452
|
version: '0'
|
448
453
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
449
454
|
requirements:
|
450
|
-
- - "
|
455
|
+
- - ">"
|
451
456
|
- !ruby/object:Gem::Version
|
452
|
-
version:
|
457
|
+
version: 1.3.1
|
453
458
|
requirements: []
|
454
|
-
|
455
|
-
rubygems_version: 2.7.6
|
459
|
+
rubygems_version: 3.0.3
|
456
460
|
signing_key:
|
457
461
|
specification_version: 4
|
458
462
|
summary: Rails plugin for mobile devices in Japan
|
@@ -489,7 +493,6 @@ test_files:
|
|
489
493
|
- spec/unit/email-fixtures/iphone-cp932.eml
|
490
494
|
- spec/unit/email-fixtures/iphone-jis.eml
|
491
495
|
- spec/unit/email-fixtures/iphone-mail3.eml
|
492
|
-
- spec/unit/email-fixtures/iphone-message.eml
|
493
496
|
- spec/unit/email-fixtures/iphone-unicode-emoji.eml
|
494
497
|
- spec/unit/email-fixtures/pc-mail-attached-without-subject.eml
|
495
498
|
- spec/unit/email-fixtures/pc-mail-multi.eml
|
@@ -532,6 +535,8 @@ test_files:
|
|
532
535
|
- test/rails/overrides/app/controllers/trans_sid_metal_controller.rb
|
533
536
|
- test/rails/overrides/app/controllers/trans_sid_mobile_controller.rb
|
534
537
|
- test/rails/overrides/app/controllers/trans_sid_none_controller.rb
|
538
|
+
- test/rails/overrides/app/mailboxes/application_mailbox.rb
|
539
|
+
- test/rails/overrides/app/mailboxes/mobile_mailer_mailbox.rb
|
535
540
|
- test/rails/overrides/app/mailers/decorated_mailer.rb
|
536
541
|
- test/rails/overrides/app/mailers/mobile_mailer.rb
|
537
542
|
- test/rails/overrides/app/mailers/normal_mailer.rb
|
@@ -598,6 +603,8 @@ test_files:
|
|
598
603
|
- test/rails/overrides/config/routes.rb
|
599
604
|
- test/rails/overrides/db/migrate/001_add_sessions_table.rb
|
600
605
|
- test/rails/overrides/db/migrate/20100824062306_create_users.rb
|
606
|
+
- test/rails/overrides/db/migrate/20190419005447_create_active_storage_tables.active_storage.rb
|
607
|
+
- test/rails/overrides/db/migrate/20190419005448_create_action_mailbox_tables.action_mailbox.rb
|
601
608
|
- test/rails/overrides/spec/controllers/docomo_guid_spec.rb
|
602
609
|
- test/rails/overrides/spec/controllers/hankaku_filter_controller_spec.rb
|
603
610
|
- test/rails/overrides/spec/controllers/helpers_spec.rb
|
@@ -606,24 +613,26 @@ test_files:
|
|
606
613
|
- test/rails/overrides/spec/controllers/trans_sid_controller_spec.rb
|
607
614
|
- test/rails/overrides/spec/features/admin/top_spec.rb
|
608
615
|
- test/rails/overrides/spec/features/filter_spec.rb
|
609
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/au-attached.eml
|
610
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/au-decomail.eml
|
611
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/au-emoji.eml
|
612
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/au-emoji2.eml
|
613
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/au-emoji5.eml
|
614
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/bounced-jp.eml
|
615
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/docomo-emoji.eml
|
616
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/docomo-gmail-sjis.eml
|
617
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/docomo-jis.eml
|
618
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/
|
619
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/
|
620
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/
|
621
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/
|
622
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/softbank-
|
623
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/softbank-emoji.eml
|
624
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/softbank-
|
625
|
-
- test/rails/overrides/spec/fixtures/mobile_mailer/softbank-gmail-
|
616
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-attached.eml
|
617
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-decomail.eml
|
618
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-emoji.eml
|
619
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-emoji2.eml
|
620
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/au-emoji5.eml
|
621
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/bounced-jp.eml
|
622
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/docomo-emoji.eml
|
623
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/docomo-gmail-sjis.eml
|
624
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/docomo-jis.eml
|
625
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/iphone-message.eml
|
626
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/no-from.eml
|
627
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/non-jp.eml
|
628
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/photo.jpg
|
629
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/softbank-blank.eml
|
630
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/softbank-emoji-utf8.eml
|
631
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/softbank-emoji.eml
|
632
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/softbank-gmail-sjis.eml
|
633
|
+
- test/rails/overrides/spec/fixtures/files/mobile_mailer/softbank-gmail-utf8.eml
|
626
634
|
- test/rails/overrides/spec/helpers/helpers_spec.rb
|
635
|
+
- test/rails/overrides/spec/mailboxes/mobile_mailer_mailbox_spec.rb
|
627
636
|
- test/rails/overrides/spec/mailers/decorated_mailer_spec.rb
|
628
637
|
- test/rails/overrides/spec/mailers/mobile_mailer_spec.rb
|
629
638
|
- test/rails/overrides/spec/mailers/normal_mailer_spec.rb
|