gmo 0.5.4 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +39 -0
  3. data/CHANGELOG.md +2 -0
  4. data/Gemfile +3 -4
  5. data/README.md +3 -3
  6. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_cancel_deposit_gets_data_about_a_deposit.yml +2 -2
  7. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_cancel_mail_deposit_gets_data_about_a_mail_deposit.yml +2 -2
  8. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_account_gets_data_about_an_account.yml +2 -2
  9. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_deposit_gets_data_about_a_deposit.yml +2 -2
  10. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_create_mail_deposit_gets_data_about_a_mail_deposit.yml +2 -2
  11. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_delete_account_gets_data_about_an_account.yml +2 -2
  12. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_account_gets_data_about_an_account.yml +2 -2
  13. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_balance_gets_data_about_balance.yml +2 -2
  14. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_deposit_gets_data_about_a_deposit.yml +2 -2
  15. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_search_mail_deposit_gets_data_about_a_mail_deposit.yml +2 -2
  16. data/fixtures/vcr_cassettes/GMO_Payment_RemittanceAPI/_update_account_gets_data_about_an_account.yml +2 -2
  17. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_alter_tran_change_order_auth_to_sale.yml +3 -3
  18. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_alter_tran_gets_data_about_order.yml +3 -3
  19. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_alter_tran_got_error_if_missing_options.yml +1 -1
  20. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_change_tran_brandtoken_gets_data_about_order.yml +6 -6
  21. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_change_tran_gets_data_about_order.yml +3 -3
  22. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_change_tran_got_error_if_missing_options.yml +1 -1
  23. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_cvs_cancel_gets_data_about_a_transaction.yml +2 -2
  24. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_brandtoken_gets_data_about_a_transaction.yml +2 -2
  25. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_cvs_gets_data_about_a_transaction.yml +1 -1
  26. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_cvs_got_error_if_missing_options.yml +1 -1
  27. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_docomo_gets_data_about_a_transaction.yml +2 -2
  28. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_edy_gets_data_about_a_transaction.yml +2 -2
  29. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_gets_data_about_a_transaction.yml +1 -1
  30. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_got_error_if_missing_options.yml +1 -1
  31. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_linepay_gets_data_about_a_transaction.yml +2 -2
  32. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_pay_easy_gets_data_about_a_transaction.yml +2 -2
  33. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_rakuten_id_gets_data_about_a_transaction.yml +2 -2
  34. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_suica_gets_data_about_a_transaction.yml +2 -2
  35. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_entry_tran_virtualaccount_gets_data_about_a_transaction.yml +2 -2
  36. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_brandtoken_gets_data_about_a_transaction.yml +4 -4
  37. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_brandtoken_parameter_contains_Japanese_characters_should_correctly_handle_Japanese.yml +5 -5
  38. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_cvs_gets_data_about_a_transaction.yml +2 -2
  39. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_docomo_gets_data_about_a_transaction.yml +4 -4
  40. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_doesn_t_require_card_info_if_token_is_present.yml +4 -4
  41. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_edy_gets_data_about_a_transaction.yml +4 -4
  42. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_gets_data_about_a_transaction.yml +2 -2
  43. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_got_error_if_missing_options.yml +1 -1
  44. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_linepay_gets_data_about_a_transaction.yml +4 -4
  45. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_parameter_contains_Japanese_characters_should_correctly_handle_Japanese.yml +3 -3
  46. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_pay_easy_gets_data_about_a_transaction.yml +4 -4
  47. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_rakuten_id_gets_data_about_a_transaction.yml +4 -4
  48. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_suica_gets_data_about_a_transaction.yml +4 -4
  49. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_exec_tran_virtualaccount_gets_data_about_a_transaction.yml +3 -3
  50. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_refund_tran_brandtoken_gets_data_about_a_transaction.yml +6 -6
  51. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_sales_tran_brandtoken_gets_data_about_a_transaction.yml +8 -8
  52. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_gets_data_about_order.yml +1 -1
  53. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_got_error_if_missing_options.yml +1 -1
  54. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_multi_gets_data_about_order.yml +1 -1
  55. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_search_trade_multi_got_error_if_missing_options.yml +1 -1
  56. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_secure_tran_gets_data_about_a_transaction.yml +2 -2
  57. data/fixtures/vcr_cassettes/GMO_Payment_ShopAPI/_void_tran_brandtoken_gets_data_about_order.yml +6 -6
  58. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_exec_tran_brandtoken_got_data.yml +4 -4
  59. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_register_recurring_credit_got_data.yml +2 -2
  60. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_trade_brandtoken_got_data.yml +6 -6
  61. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_trade_card_got_data.yml +8 -8
  62. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_trade_card_got_error_if_missing_options.yml +1 -1
  63. data/fixtures/vcr_cassettes/GMO_Payment_ShopAndSiteAPI/_unregister_recurring_success_unregister.yml +4 -4
  64. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_delete_brandtoken_gets_data_about_a_brandtoken.yml +4 -4
  65. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_delete_card_gets_data_about_a_card.yml +1 -1
  66. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_delete_member_gets_data_about_a_member.yml +2 -2
  67. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_save_card_doesn_t_require_card_info_if_token_is_present.yml +2 -2
  68. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_save_card_gets_data_about_a_card.yml +1 -1
  69. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_save_member_gets_data_about_a_transaction.yml +1 -1
  70. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_brandtoken_gets_data_about_a_brandtoken.yml +4 -4
  71. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_card_detail_by_member_id_gets_data_about_card_detail.yml +1 -1
  72. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_card_gets_data_about_a_card.yml +2 -2
  73. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_search_member_gets_data_about_a_member.yml +2 -2
  74. data/fixtures/vcr_cassettes/GMO_Payment_SiteAPI/_update_member_gets_data_about_a_transaction.yml +1 -1
  75. data/lib/gmo/version.rb +1 -1
  76. data/lib/gmo.rb +1 -1
  77. data/spec/gmo/shop_api_spec.rb +4 -5
  78. data/spec/spec_helper.rb +2 -5
  79. metadata +7 -8
  80. data/.travis.yml +0 -21
  81. data/spec/support/encoding.rb +0 -33
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/SecureTran.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: PaRes=eJydVluTokoSfvdXdPR5NGa4ycUJ2o0CSgRBuQu%2BIXfkooKA%2FvqFdk5Px4mN2I0lAq36yPwyKzMr%0D%0Aq9h%2FDWXx<SITE_PASS>kW3Jqurj3fsJ%2Fr%2BFlVBHWZV8vFuW%2BsfzPtb0%2FpV6Bd<SITE_PASS>FX28V%2FX7v<SITE_PASS>asld6iSDCj4H6L%0D%0AVqwaNY2fRG9Z%2BPGu%2BUZ0xShsQVIYTTI0weA0wzAoSdMoNf6iFM0s3lesBoyo%2BdRwyYPMHBQnFnlz%0D%0Aj4cLu3RREcA<SITE_PAS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_ID>&ShopPass=<SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -29,7 +29,7 @@ http_interactions:
29
29
  Connection:
30
30
  - close
31
31
  body:
32
- encoding: UTF-8
32
+ encoding: Windows-31J
33
33
  string: OrderID=Darren-test-202<SITE_PASS>030<SITE_PASS><SITE_PASS>022<SITE_PASS>8&Forward=2a99662&Method=<SITE_PASS>&PayTimes=&Approve=
34
34
  004536&TranID=2<SITE_PASS>030<SITE_PASS><SITE_PASS>003<SITE_PASS><SITE_PASS><SITE_PASS><SITE_PASS><SITE_PASS><SITE_PASS><SITE_PASS><SITE_PASS><SITE_PASS><SITE_PASS><SITE_PASS><SITE_PASS>8<SITE_PASS>075<SITE_PASS>&TranDate=202<SITE_PASS>030<SITE_PASS><SITE_PASS>02444&CheckString=54686df6bad0b4ca3366024c7806ff66
35
35
  recorded_at: Mon, 01 Mar 2021 01:24:44 GMT
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/EntryTranBrandtoken.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: OrderID=<SHOP_PASS>502<SHOP_PASS>89293&JobCd=AUTH&Amount=<SHOP_PASS>00&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -31,7 +31,7 @@ http_interactions:
31
31
  Content-Language:
32
32
  - ja-JP
33
33
  body:
34
- encoding: UTF-8
34
+ encoding: Windows-31J
35
35
  string: AccessID=<SHOP_PASS>da06<SHOP_PASS>87345d6<SHOP_PASS>3ce206f4cd05bc5322&AccessPass=45a2<SHOP_PASS>e63323c3795d26e22338eaa6b7f
36
36
  http_version:
37
37
  recorded_at: Tue, 08 Aug 2017 10:48:14 GMT
@@ -39,7 +39,7 @@ http_interactions:
39
39
  method: post
40
40
  uri: https://<HOST>/payment/ExecTranBrandtoken.idPass
41
41
  body:
42
- encoding: UTF-8
42
+ encoding: Windows-31J
43
43
  string: OrderID=<SHOP_PASS>502<SHOP_PASS>78987&AccessID=<SHOP_PASS>da06<SHOP_PASS>87345d6<SHOP_PASS>3ce206f4cd05bc5322&AccessPass=45a2<SHOP_PASS>e63323c3795d26e22338eaa6b7f&TokenType=APay&Token=base64encodedtoken&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
44
44
  headers:
45
45
  Accept-Encoding:
@@ -66,7 +66,7 @@ http_interactions:
66
66
  Content-Language:
67
67
  - ja-JP
68
68
  body:
69
- encoding: UTF-8
69
+ encoding: Windows-31J
70
70
  string: Status=AUTH&OrderID=597ae8c36<SHOP_PASS>20b23a3c000<SHOP_PASS>4e&Forward=2a99663&Approve=5487394&TranID=<SHOP_PASS>70728<SHOP_PASS>634<SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS>77<SHOP_PASS>2<SHOP_PASS>6&TranDate=20<SHOP_PASS>70728<SHOP_PASS>63453&ClientField<SHOP_PASS>=client_field<SHOP_PASS>&ClientField2=&ClientField3=
71
71
  http_version:
72
72
  recorded_at: Tue, 08 Aug 2017 07:56:28 GMT
@@ -74,7 +74,7 @@ http_interactions:
74
74
  method: post
75
75
  uri: https://<HOST>/payment/VoidTranBrandtoken.idPass
76
76
  body:
77
- encoding: UTF-8
77
+ encoding: Windows-31J
78
78
  string: OrderID=<SHOP_PASS>502<SHOP_PASS>89054&AccessID=<SHOP_PASS>da06<SHOP_PASS>87345d6<SHOP_PASS>3ce206f4cd05bc5322&AccessPass=45a2<SHOP_PASS>e63323c3795d26e22338eaa6b7f&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
79
79
  headers:
80
80
  Accept-Encoding:
@@ -101,7 +101,7 @@ http_interactions:
101
101
  Content-Language:
102
102
  - ja-JP
103
103
  body:
104
- encoding: UTF-8
104
+ encoding: Windows-31J
105
105
  string: AccessID=21170701482c86c3b88ff72b83bfd363&AccessPass=51f36feba120de1e6e29532e5a3a5e3e&Status=CAPTURE&Forward=2a99663&Approve=5538477&TranID=1707311633111111111111771224&TranDate=20170731163343
106
106
  http_version:
107
107
  recorded_at: Tue, 08 Aug 2017 10:44:15 GMT
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/EntryTranBrandtoken.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: OrderID=<SHOP_PASS>502<SHOP_PASS>77398&JobCd=AUTH&Amount=<SHOP_PASS>00&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -31,7 +31,7 @@ http_interactions:
31
31
  Content-Language:
32
32
  - ja-JP
33
33
  body:
34
- encoding: UTF-8
34
+ encoding: Windows-31J
35
35
  string: AccessID=<SHOP_PASS>da06<SHOP_PASS>87345d6<SHOP_PASS>3ce206f4cd05bc5322&AccessPass=45a2<SHOP_PASS>e63323c3795d26e22338eaa6b7f
36
36
  http_version:
37
37
  recorded_at: Tue, 08 Aug 2017 07:29:59 GMT
@@ -39,7 +39,7 @@ http_interactions:
39
39
  method: post
40
40
  uri: https://<HOST>/payment/ExecTranBrandtoken.idPass
41
41
  body:
42
- encoding: UTF-8
42
+ encoding: Windows-31J
43
43
  string: OrderID=<SHOP_PASS>502<SHOP_PASS>77572&AccessID=<SHOP_PASS>da06<SHOP_PASS>87345d6<SHOP_PASS>3ce206f4cd05bc5322&AccessPass=45a2<SHOP_PASS>e63323c3795d26e22338eaa6b7f&TokenType=APay&Token=base64encodedtoken&MemberID=<SHOP_PASS>502<SHOP_PASS>77572&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>&SiteID=<SITE_ID>&SitePass=<SHOP_PASS>
44
44
  headers:
45
45
  Accept-Encoding:
@@ -66,7 +66,7 @@ http_interactions:
66
66
  Content-Language:
67
67
  - ja-JP
68
68
  body:
69
- encoding: UTF-8
69
+ encoding: Windows-31J
70
70
  string: Status=AUTH&OrderID=<SHOP_PASS>502<SHOP_PASS>77572&Forward=2a99663&Approve=5487394&TranID=<SHOP_PASS>70728<SHOP_PASS>634<SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS>77<SHOP_PASS>2<SHOP_PASS>6&TranDate=20<SHOP_PASS>70728<SHOP_PASS>63453&ClientField<SHOP_PASS>=&ClientField2=&ClientField3=
71
71
  http_version:
72
72
  recorded_at: Tue, 08 Aug 2017 07:32:53 GMT
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/RegisterRecurringCredit.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: RecurringID=<TOKEN>53596492<TOKEN>&Amount=<TOKEN>00&ChargeDay=3<TOKEN>&RegistType=<TOKEN>&MemberID=smama_development_user_<TOKEN>&SiteID=<SITE_ID>&SitePass=<SITE_PASS>&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -29,7 +29,7 @@ http_interactions:
29
29
  Connection:
30
30
  - close
31
31
  body:
32
- encoding: UTF-8
32
+ encoding: Windows-31J
33
33
  string: ShopID=<SHOP_ID>&RecurringID=<TOKEN>53596492<TOKEN>&Amount=<TOKEN>00&Tax=0&ChargeDay=3<TOKEN>&ChargeMonth=0<TOKEN>|02|03|04|05|06|07|08|09|<TOKEN>0|<TOKEN><TOKEN>|<TOKEN>2&ChargeStartDate=20<TOKEN>80904&ChargeStopDate=&NextChargeDate=20<TOKEN>80930&Method=RECURRING_CREDIT&CardNo=&Expire=&SiteID=<SITE_ID>&MemberID=smama_development_user_<TOKEN>
34
34
  http_version:
35
35
  recorded_at: Mon, 03 Sep 2018 08:55:22 GMT
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/EntryTranBrandtoken.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: OrderID=<SHOP_PASS>502<SHOP_PASS>77398&JobCd=AUTH&Amount=<SHOP_PASS>00&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -31,7 +31,7 @@ http_interactions:
31
31
  Content-Language:
32
32
  - ja-JP
33
33
  body:
34
- encoding: UTF-8
34
+ encoding: Windows-31J
35
35
  string: AccessID=<SHOP_PASS>da06<SHOP_PASS>87345d6<SHOP_PASS>3ce206f4cd05bc5322&AccessPass=45a2<SHOP_PASS>e63323c3795d26e22338eaa6b7f
36
36
  http_version:
37
37
  recorded_at: Tue, 08 Aug 2017 07:29:59 GMT
@@ -39,7 +39,7 @@ http_interactions:
39
39
  method: post
40
40
  uri: https://<HOST>/payment/ExecTranBrandtoken.idPass
41
41
  body:
42
- encoding: UTF-8
42
+ encoding: Windows-31J
43
43
  string: OrderID=<SHOP_PASS>502<SHOP_PASS>77572&AccessID=<SHOP_PASS>da06<SHOP_PASS>87345d6<SHOP_PASS>3ce206f4cd05bc5322&AccessPass=45a2<SHOP_PASS>e63323c3795d26e22338eaa6b7f&TokenType=APay&Token=base64encodedtoken&MemberID=<SHOP_PASS>502<SHOP_PASS>77572&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>&SiteID=<SITE_ID>&SitePass=<SHOP_PASS>
44
44
  headers:
45
45
  Accept-Encoding:
@@ -66,7 +66,7 @@ http_interactions:
66
66
  Content-Language:
67
67
  - ja-JP
68
68
  body:
69
- encoding: UTF-8
69
+ encoding: Windows-31J
70
70
  string: Status=AUTH&OrderID=<SHOP_PASS>502<SHOP_PASS>77572&Forward=2a99663&Approve=5487394&TranID=<SHOP_PASS>70728<SHOP_PASS>634<SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS><SHOP_PASS>77<SHOP_PASS>2<SHOP_PASS>6&TranDate=20<SHOP_PASS>70728<SHOP_PASS>63453&ClientField<SHOP_PASS>=&ClientField2=&ClientField3=
71
71
  http_version:
72
72
  recorded_at: Tue, 08 Aug 2017 07:32:53 GMT
@@ -74,7 +74,7 @@ http_interactions:
74
74
  method: post
75
75
  uri: https://<HOST>/payment/TradedBrandtoken.idPass
76
76
  body:
77
- encoding: UTF-8
77
+ encoding: Windows-31J
78
78
  string: OrderID=<SHOP_PASS>502<SHOP_PASS>77838&MemberID=<SHOP_PASS>502<SHOP_PASS>77838&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>&SiteID=<SITE_ID>&SitePass=<SHOP_PASS>
79
79
  headers:
80
80
  Accept-Encoding:
@@ -101,7 +101,7 @@ http_interactions:
101
101
  Content-Language:
102
102
  - ja-JP
103
103
  body:
104
- encoding: UTF-8
104
+ encoding: Windows-31J
105
105
  string: TokenSeq=0&CardNoToken=*************111&Forward=2a99663
106
106
  http_version:
107
107
  recorded_at: Tue, 08 Aug 2017 07:37:18 GMT
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/EntryTran.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: OrderID=1371958258&JobCd=AUTH&Amount=100&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -27,7 +27,7 @@ http_interactions:
27
27
  Transfer-Encoding:
28
28
  - chunked
29
29
  body:
30
- encoding: UTF-8
30
+ encoding: Windows-31J
31
31
  string: AccessID=1da06187345d613ce206f4cd05bc5322&AccessPass=45a21e63323c3795d26e22338eaa6b7f
32
32
  http_version:
33
33
  recorded_at: Sun, 23 Jun 2013 03:30:59 GMT
@@ -35,7 +35,7 @@ http_interactions:
35
35
  method: post
36
36
  uri: https://<HOST>/payment/ExecTran.idPass
37
37
  body:
38
- encoding: UTF-8
38
+ encoding: Windows-31J
39
39
  string: OrderID=1371958258&AccessID=1da06187345d613ce206f4cd05bc5322&AccessPass=45a21e63323c3795d26e22338eaa6b7f&Method=1&PayTimes=1&CardNo=4111111111111111&Expire=1405&ClientFieldFlag=0&DeviceCategory=0&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
40
40
  headers:
41
41
  Accept-Encoding:
@@ -58,7 +58,7 @@ http_interactions:
58
58
  Transfer-Encoding:
59
59
  - chunked
60
60
  body:
61
- encoding: UTF-8
61
+ encoding: Windows-31J
62
62
  string: ACS=0&OrderID=1371958258&Forward=2a99662&Method=1&PayTimes=&Approve=7214787&TranID=1306231226111111111111199359&TranDate=20130623123059&CheckString=74f54b788565f291e65f67c606f90ca2
63
63
  http_version:
64
64
  recorded_at: Sun, 23 Jun 2013 03:30:59 GMT
@@ -66,7 +66,7 @@ http_interactions:
66
66
  method: post
67
67
  uri: https://<HOST>/payment/SaveMember.idPass
68
68
  body:
69
- encoding: UTF-8
69
+ encoding: Windows-31J
70
70
  string: MemberID=1371958259&MemberName=John+Smith&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
71
71
  headers:
72
72
  Accept-Encoding:
@@ -89,7 +89,7 @@ http_interactions:
89
89
  Transfer-Encoding:
90
90
  - chunked
91
91
  body:
92
- encoding: UTF-8
92
+ encoding: Windows-31J
93
93
  string: MemberID=1371958259
94
94
  http_version:
95
95
  recorded_at: Sun, 23 Jun 2013 03:30:59 GMT
@@ -97,7 +97,7 @@ http_interactions:
97
97
  method: post
98
98
  uri: https://<HOST>/payment/TradedCard.idPass
99
99
  body:
100
- encoding: UTF-8
100
+ encoding: Windows-31J
101
101
  string: OrderID=1371958258&MemberID=1371958259&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
102
102
  headers:
103
103
  Accept-Encoding:
@@ -120,7 +120,7 @@ http_interactions:
120
120
  Transfer-Encoding:
121
121
  - chunked
122
122
  body:
123
- encoding: UTF-8
123
+ encoding: Windows-31J
124
124
  string: CardSeq=0&CardNo=************1111&Forward=2a99662
125
125
  http_version:
126
126
  recorded_at: Sun, 23 Jun 2013 03:31:00 GMT
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/TradedCard.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: OrderID=null&MemberID=null&SeqMode=0&DefaultFlag=0&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
9
9
  headers:
10
10
  Accept:
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/RegisterRecurringCredit.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: RecurringID=<TOKEN>536039393&Amount=<TOKEN>00&ChargeDay=3<TOKEN>&RegistType=<TOKEN>&MemberID=smama_development_user_<TOKEN>&SiteID=<SITE_ID>&SitePass=<SITE_PASS>&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -29,7 +29,7 @@ http_interactions:
29
29
  Connection:
30
30
  - close
31
31
  body:
32
- encoding: UTF-8
32
+ encoding: Windows-31J
33
33
  string: ShopID=<SHOP_ID>&RecurringID=<TOKEN>536039393&Amount=<TOKEN>00&Tax=0&ChargeDay=3<TOKEN>&ChargeMonth=0<TOKEN>|02|03|04|05|06|07|08|09|<TOKEN>0|<TOKEN><TOKEN>|<TOKEN>2&ChargeStartDate=20<TOKEN>80905&ChargeStopDate=&NextChargeDate=20<TOKEN>80930&Method=RECURRING_CREDIT&CardNo=&Expire=&SiteID=<SITE_ID>&MemberID=smama_development_user_<TOKEN>
34
34
  http_version:
35
35
  recorded_at: Tue, 04 Sep 2018 05:36:34 GMT
@@ -37,7 +37,7 @@ http_interactions:
37
37
  method: post
38
38
  uri: https://<HOST>/payment/UnregisterRecurring.idPass
39
39
  body:
40
- encoding: UTF-8
40
+ encoding: Windows-31J
41
41
  string: RecurringID=<TOKEN>536039393&SiteID=<SITE_ID>&SitePass=<SITE_PASS>&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
42
42
  headers:
43
43
  Accept-Encoding:
@@ -62,7 +62,7 @@ http_interactions:
62
62
  Connection:
63
63
  - close
64
64
  body:
65
- encoding: UTF-8
65
+ encoding: Windows-31J
66
66
  string: ShopID=<SHOP_ID>&RecurringID=<TOKEN>536039393&Amount=<TOKEN>00&Tax=0&ChargeDay=3<TOKEN>&ChargeMonth=0<TOKEN>|02|03|04|05|06|07|08|09|<TOKEN>0|<TOKEN><TOKEN>|<TOKEN>2&ChargeStartDate=20<TOKEN>80905&ChargeStopDate=&NextChargeDate=&Method=RECURRING_CREDIT&CardNo=&Expire=&SiteID=<SITE_ID>&MemberID=smama_development_user_<TOKEN>&PrintStr=
67
67
  http_version:
68
68
  recorded_at: Tue, 04 Sep 2018 05:36:34 GMT
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/TradedBrandtoken.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: OrderID=<SHOP_PASS>502<SHOP_PASS>9<SHOP_PASS>295&MemberID=<SHOP_PASS>502<SHOP_PASS>9<SHOP_PASS>295&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>&SiteID=<SITE_ID>&SitePass=<SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -31,7 +31,7 @@ http_interactions:
31
31
  Content-Language:
32
32
  - ja-JP
33
33
  body:
34
- encoding: UTF-8
34
+ encoding: Windows-31J
35
35
  string: TokenSeq=0&CardNoToken=*************<SHOP_PASS><SHOP_PASS><SHOP_PASS>&Forward=2a99663
36
36
  http_version:
37
37
  recorded_at: Tue, 08 Aug 2017 11:21:35 GMT
@@ -39,7 +39,7 @@ http_interactions:
39
39
  method: post
40
40
  uri: https://<HOST>/payment/DeleteBrandtoken.idPass
41
41
  body:
42
- encoding: UTF-8
42
+ encoding: Windows-31J
43
43
  string: MemberID=<SHOP_PASS>502<SHOP_PASS>9<SHOP_PASS>329&SeqMode=0&TokenSeq=0&SiteID=<SITE_ID>&SitePass=<SHOP_PASS>
44
44
  headers:
45
45
  Accept-Encoding:
@@ -66,7 +66,7 @@ http_interactions:
66
66
  Content-Language:
67
67
  - ja-JP
68
68
  body:
69
- encoding: UTF-8
69
+ encoding: Windows-31J
70
70
  string: TokenSeq=0
71
71
  http_version:
72
72
  recorded_at: Tue, 08 Aug 2017 11:22:09 GMT
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/DeleteCard.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: MemberID=1362106780&CardSeq=0&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
9
9
  headers:
10
10
  Accept:
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/SaveMember.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: MemberID=1362106781&MemberName=John+Smith&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
9
9
  headers:
10
10
  Accept:
@@ -33,7 +33,7 @@ http_interactions:
33
33
  method: post
34
34
  uri: https://<HOST>/payment/DeleteMember.idPass
35
35
  body:
36
- encoding: UTF-8
36
+ encoding: Windows-31J
37
37
  string: MemberID=1362106781&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
38
38
  headers:
39
39
  Accept:
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/SaveCard.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: MemberID=<TOKEN_MEMBER_ID>&Token=<TOKEN>&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -29,7 +29,7 @@ http_interactions:
29
29
  Connection:
30
30
  - close
31
31
  body:
32
- encoding: UTF-8
32
+ encoding: Windows-31J
33
33
  string: CardSeq=0&CardNo=*************111&Forward=2a99662
34
34
  http_version:
35
35
  recorded_at: Fri, 03 Feb 2017 09:42:25 GMT
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/SaveCard.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: MemberID=1362106780&CardNo=4111111111111111&Expire=1405&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
9
9
  headers:
10
10
  Accept:
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/SaveMember.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: MemberID=1362106780&MemberName=John+Smith&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
9
9
  headers:
10
10
  Accept:
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/TradedBrandtoken.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: OrderID=<SHOP_PASS>502<SHOP_PASS>90974&MemberID=<SHOP_PASS>502<SHOP_PASS>90974&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>&SiteID=<SITE_ID>&SitePass=<SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -32,7 +32,7 @@ http_interactions:
32
32
  Content-Language:
33
33
  - ja-JP
34
34
  body:
35
- encoding: UTF-8
35
+ encoding: Windows-31J
36
36
  string: TokenSeq=0&CardNoToken=*************<SHOP_PASS><SHOP_PASS><SHOP_PASS>&Forward=2a99663
37
37
  http_version:
38
38
  recorded_at: Tue, 08 Aug 2017 11:16:15 GMT
@@ -40,7 +40,7 @@ http_interactions:
40
40
  method: post
41
41
  uri: https://<HOST>/payment/SearchBrandtoken.idPass
42
42
  body:
43
- encoding: UTF-8
43
+ encoding: Windows-31J
44
44
  string: MemberID=<SHOP_PASS>502<SHOP_PASS>9<SHOP_PASS><SHOP_PASS><SHOP_PASS>7&SeqMode=0&SiteID=<SITE_ID>&SitePass=<SHOP_PASS>
45
45
  headers:
46
46
  Accept-Encoding:
@@ -67,7 +67,7 @@ http_interactions:
67
67
  Content-Language:
68
68
  - ja-JP
69
69
  body:
70
- encoding: UTF-8
70
+ encoding: Windows-31J
71
71
  string: TokenSeq=0&DefaultFlag=0&CardName=&CardNoToken=*************111&Expire=2212&HolderName=&DeleteFlag=0
72
72
  http_version:
73
73
  recorded_at: Tue, 08 Aug 2017 11:18:38 GMT
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://pt0<SHOP_PASS>.mul-pay.jp/payment/SearchCardDetail.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: MemberID=50292464&SeqMode=0&ShopID=<SHOP_ID>&ShopPass=<SHOP_PASS>
9
9
  headers:
10
10
  Accept-Encoding:
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/SaveCard.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: MemberID=1362106780&CardNo=4111111111111111&Expire=1405&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
9
9
  headers:
10
10
  Accept:
@@ -33,7 +33,7 @@ http_interactions:
33
33
  method: post
34
34
  uri: https://<HOST>/payment/SearchCard.idPass
35
35
  body:
36
- encoding: UTF-8
36
+ encoding: Windows-31J
37
37
  string: MemberID=1362106780&CardSeq=0&SeqMode=0&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
38
38
  headers:
39
39
  Accept:
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/SaveMember.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: MemberID=1362106992&MemberName=John+Smith&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
9
9
  headers:
10
10
  Accept:
@@ -33,7 +33,7 @@ http_interactions:
33
33
  method: post
34
34
  uri: https://<HOST>/payment/SearchMember.idPass
35
35
  body:
36
- encoding: UTF-8
36
+ encoding: Windows-31J
37
37
  string: MemberID=1362106992&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
38
38
  headers:
39
39
  Accept:
@@ -4,7 +4,7 @@ http_interactions:
4
4
  method: post
5
5
  uri: https://<HOST>/payment/UpdateMember.idPass
6
6
  body:
7
- encoding: UTF-8
7
+ encoding: Windows-31J
8
8
  string: MemberID=1362106780&MemberName=John+Smith2&SiteID=<SITE_ID>&SitePass=<SITE_PASS>
9
9
  headers:
10
10
  Accept:
data/lib/gmo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module GMO
2
- VERSION = "0.5.4"
2
+ VERSION = "0.5.5"
3
3
  end
data/lib/gmo.rb CHANGED
@@ -42,7 +42,7 @@ module GMO
42
42
  key_values = result.body.to_s.split('&').map { |str| str.split('=', 2) }.flatten
43
43
  response = Hash[*key_values]
44
44
  # converting to UTF-8
45
- body = response = Hash[response.map { |k,v| [k, NKF.nkf('-w',v)] }]
45
+ body = response = Hash[response.map { |k,v| [k, NKF.nkf('-S -w',v)] }]
46
46
  # Check for errors if provided a error_checking_block
47
47
  yield(body) if error_checking_block
48
48
  # Return result
@@ -653,7 +653,7 @@ describe "GMO::Payment::ShopAPI" do
653
653
  result["Approve"].nil?.should_not be true
654
654
  result["TranID"].nil?.should_not be true
655
655
  result["TranDate"].nil?.should_not be true
656
- (result["ClientField1"] == client_field_1).should be true
656
+ result["ClientField1"].should eq client_field_1
657
657
  result["ClientField2"].nil?.should_not be true
658
658
  result["ClientField3"].nil?.should_not be true
659
659
  end
@@ -669,7 +669,6 @@ describe "GMO::Payment::ShopAPI" do
669
669
 
670
670
  it "should correctly handle Japanese", :vcr do
671
671
  order_id = generate_id
672
- client_field_1 = "〜−¢£¬−‖①ほげほげhogehoge"
673
672
  result = @service.entry_tran_brandtoken({
674
673
  :order_id => order_id,
675
674
  :job_cd => "AUTH",
@@ -683,7 +682,7 @@ describe "GMO::Payment::ShopAPI" do
683
682
  :access_pass => access_pass,
684
683
  :token_type => :apple_pay,
685
684
  :token => 'base64encodedtoken',
686
- :client_field_1 => client_field_1
685
+ :client_field_1 => 'カソウシテン'
687
686
  })
688
687
  result["Status"].nil?.should_not be true
689
688
  result["OrderID"].nil?.should_not be true
@@ -691,8 +690,8 @@ describe "GMO::Payment::ShopAPI" do
691
690
  result["Approve"].nil?.should_not be true
692
691
  result["TranID"].nil?.should_not be true
693
692
  result["TranDate"].nil?.should_not be true
694
- (result["ClientField1"] == client_field_1).should be true
695
- (result["ClientField1"].encoding.to_s == "UTF-8").should be true
693
+ result["ClientField1"].should eq "カソウシテン"
694
+ result["ClientField1"].encoding.name.should eq "UTF-8"
696
695
  result["ClientField2"].nil?.should_not be true
697
696
  result["ClientField3"].nil?.should_not be true
698
697
  end
data/spec/spec_helper.rb CHANGED
@@ -11,17 +11,14 @@ end
11
11
  require 'gmo'
12
12
  require 'rspec'
13
13
  require 'vcr'
14
+ require 'pry'
14
15
  require 'support/config_loader'
15
16
  require 'support/factory'
16
17
  require 'support/vcr'
17
18
 
18
- if RUBY_VERSION < '1.9.0'
19
- require 'support/encoding'
20
- end
21
-
22
19
  RSpec.configure do |config|
23
20
  config.mock_with :rspec
24
21
  config.treat_symbols_as_metadata_keys_with_true_values = true
25
22
  config.filter_run :focus => true
26
23
  config.run_all_when_everything_filtered = true
27
- end
24
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gmo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tatsuo Kaniwa
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-16 00:00:00.000000000 Z
11
+ date: 2023-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -102,8 +102,8 @@ extensions: []
102
102
  extra_rdoc_files:
103
103
  - README.md
104
104
  files:
105
+ - ".github/workflows/ruby.yml"
105
106
  - ".gitignore"
106
- - ".travis.yml"
107
107
  - CHANGELOG.md
108
108
  - Gemfile
109
109
  - LICENSE
@@ -204,14 +204,13 @@ files:
204
204
  - spec/support/config.example.yml
205
205
  - spec/support/config.yml
206
206
  - spec/support/config_loader.rb
207
- - spec/support/encoding.rb
208
207
  - spec/support/factory.rb
209
208
  - spec/support/vcr.rb
210
209
  homepage: https://github.com/t-k/gmo-payment-ruby
211
210
  licenses:
212
211
  - MIT
213
212
  metadata: {}
214
- post_install_message:
213
+ post_install_message:
215
214
  rdoc_options:
216
215
  - "--line-numbers"
217
216
  - "--inline-source"
@@ -230,8 +229,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
230
229
  - !ruby/object:Gem::Version
231
230
  version: '0'
232
231
  requirements: []
233
- rubygems_version: 3.0.3.1
234
- signing_key:
232
+ rubygems_version: 3.4.1
233
+ signing_key:
235
234
  specification_version: 4
236
235
  summary: 'GMO Payment API client: Ruby client library for the GMO Payment Platform.'
237
236
  test_files: []
data/.travis.yml DELETED
@@ -1,21 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - ruby-head
4
- - 2.1
5
- - 2.2
6
- - 2.3
7
- - 2.4
8
- - 2.5
9
- - 2.6
10
- - 2.7
11
- - jruby-18mode
12
- - jruby-19mode
13
- - jruby-head
14
- before_install:
15
- - gem update bundler
16
- matrix:
17
- allow_failures:
18
- - rvm: ruby-head
19
- - rvm: jruby-18mode
20
- - rvm: jruby-19mode
21
- - rvm: jruby-head