portmone 0.0.14 → 0.0.15

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8818edf063728138b8c7c48f64b799f1261ad67d3b54fd95fd06e97f468c19e3
4
- data.tar.gz: 923949fab616f4fc91c6af64189b09b2efad64bb9140d8eaa828928d3fa6f309
3
+ metadata.gz: d7ee6edc1358a4e1eaa145f9cb23efb37d5d63e80b359bfb3171233c1d1ed212
4
+ data.tar.gz: 81b67530362627c8afcc3aa7483fb1f80bcb6f5f771906c39895bc4c5f984114
5
5
  SHA512:
6
- metadata.gz: 8b5c35e4e8f75304a944f4eca261ac323e5fcf9d877c5a6eba4329573eca7a8e27df9b9cde25a8c06b928a8b6c0958c14e1e5aacfb4c2b03a0e94688aee035ce
7
- data.tar.gz: 1de69301a2f56cc3076e348849b96c37d9a0f743da931f76c20d33940feca51cbbb2b42e8cda744a89fe8e797eb9c3d7505665a110262fca08056b8e2dbf1d06
6
+ metadata.gz: c7200ed25f7ee0e97545b69a39943cabf0cd9bed2326b016e34da09f760457382d6b7f249fb659586c9b6e71d8346368147ca004d3db2a61b3bca99dcc5a6e56
7
+ data.tar.gz: 7dbacbf95d0ae2a5f3b25fca110dc9ff567d0dbc123323dbc711e85d153f6f3fbfe87e541aff77f127710faf223bc82874f6865b5114a9291f2e221c237f9583
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- portmone (0.0.13)
4
+ portmone (0.0.15)
5
5
  activesupport
6
6
  faraday (~> 0.9)
7
7
  faraday-detailed_logger
@@ -11,30 +11,31 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- activesupport (5.2.3)
14
+ activesupport (6.0.2.1)
15
15
  concurrent-ruby (~> 1.0, >= 1.0.2)
16
16
  i18n (>= 0.7, < 2)
17
17
  minitest (~> 5.1)
18
18
  tzinfo (~> 1.1)
19
+ zeitwerk (~> 2.2)
19
20
  addressable (2.5.2)
20
21
  public_suffix (>= 2.0.2, < 4.0)
21
22
  ast (2.3.0)
22
23
  coderay (1.1.2)
23
- concurrent-ruby (1.1.5)
24
+ concurrent-ruby (1.1.6)
24
25
  crack (0.4.3)
25
26
  safe_yaml (~> 1.0.0)
26
27
  docile (1.1.5)
27
- faraday (0.15.4)
28
+ faraday (0.17.3)
28
29
  multipart-post (>= 1.2, < 3)
29
- faraday-detailed_logger (2.1.3)
30
- faraday (~> 0.8)
30
+ faraday-detailed_logger (2.3.0)
31
+ faraday (>= 0.8, < 2)
31
32
  hashdiff (0.3.7)
32
- i18n (1.6.0)
33
+ i18n (1.8.2)
33
34
  concurrent-ruby (~> 1.0)
34
35
  json (2.1.0)
35
36
  method_source (0.9.0)
36
37
  minitest (5.11.3)
37
- money (6.13.4)
38
+ money (6.13.7)
38
39
  i18n (>= 0.6.4, <= 2)
39
40
  multi_xml (0.6.0)
40
41
  multipart-post (2.1.1)
@@ -64,7 +65,7 @@ GEM
64
65
  simplecov-html (~> 0.10.0)
65
66
  simplecov-html (0.10.2)
66
67
  thread_safe (0.3.6)
67
- tzinfo (1.2.5)
68
+ tzinfo (1.2.6)
68
69
  thread_safe (~> 0.1)
69
70
  unicode-display_width (1.3.0)
70
71
  vcr (2.9.3)
@@ -72,6 +73,7 @@ GEM
72
73
  addressable (>= 2.3.6)
73
74
  crack (>= 0.3.2)
74
75
  hashdiff
76
+ zeitwerk (2.2.2)
75
77
 
76
78
  PLATFORMS
77
79
  ruby
@@ -84,10 +84,11 @@ module Portmone
84
84
  mobile_pay('APay', apple_pay_params, amount: amount, order_id: order_id, currency: currency)
85
85
  end
86
86
 
87
- def finish_3ds(md:, pa_res:, order_id:)
87
+ def finish_3ds(md:, pa_res:, shop_bill_id:)
88
88
  params = {
89
- params: { data: { 'MD': md.to_s, 'PaRes': pa_res.to_s, 'shopBillId': order_id }, id: 1 },
90
89
  method: 'confirmMpi',
90
+ params: { data: { 'MD': md.to_s, 'PaRes': pa_res.to_s, 'shopBillId': shop_bill_id.to_s } },
91
+ id: '1',
91
92
  }
92
93
  make_json_request(MOBILE_API_URL, params, Portmone::Responses::Finish3DS)
93
94
  end
@@ -1,3 +1,3 @@
1
1
  module Portmone
2
- VERSION = '0.0.14'
2
+ VERSION = '0.0.15'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: portmone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Sviridov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-14 00:00:00.000000000 Z
11
+ date: 2020-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport