nexio_activemerchant 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8267f1055cb04161ae87bca490199fbaf4ab95a67eb0232b956590fa87cfb0e0
4
- data.tar.gz: 24984f56bd8933454549c8eadacfc1df478e72beeb083d2f0ea542fc2076b59d
3
+ metadata.gz: 59dd2e649d9d7366b3b117a7f1b4848a0aed17af38054059c165a85131e64b5e
4
+ data.tar.gz: a2ef3247bc366edc6ff6be8e18a1cc2ce1a09d4943ebdcf9cb9d850778ea4efc
5
5
  SHA512:
6
- metadata.gz: b888126145cc8f56083f141b46c11b4a865722a713e655381c06205268559783facc7f78f62df2098ff9cb9bc7ca41c3fc668742aeaab94635265e746c6680d4
7
- data.tar.gz: 89a14ea14571922157ec962c845ae9c0b254e63085fd4ab4763c5d0d98a20970789901c226c444935b82eb89b835e74f6175e005910d7f3c38df5e7efba95d94
6
+ metadata.gz: aba0211afbdb40d68e3d169e6e1249cbc6fa4435da040a4dbb30783fc93f20bc43c1f436631e35ae03b33ac633d4e8507e9467846638eac2553c71a7b835aa90
7
+ data.tar.gz: 88c3f83b39acb2e7cbe1092bbdb79a21d879e9591d0215ece284343cba89c84240496eca13421dac89ed5f2c89650ea9dc1840dac3b3d141f4b81f017da1c88e
data/.gitignore CHANGED
@@ -7,3 +7,6 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
  /Gemfile.lock
10
+
11
+ # RubyMine files
12
+ .idea/
@@ -9,7 +9,7 @@ module ActiveMerchant
9
9
  self.base_path = '/apm/v3'
10
10
  self.abstract_class = false
11
11
 
12
- OneTimeToken = Struct.new(:token, :iframe_url, :redirect_urls, :button_urls)
12
+ OneTimeToken = Struct.new(:token, :iframe_url, :script_url, :redirect_urls, :button_urls)
13
13
 
14
14
  def generate_token(money, options = {})
15
15
  post = build_payload(options)
@@ -25,6 +25,7 @@ module ActiveMerchant
25
25
  OneTimeToken.new(
26
26
  resp.params['token'],
27
27
  resp.params['expressIFrameUrl'],
28
+ resp.params['scriptUrl'],
28
29
  map_urls(resp.params['redirectUrls']),
29
30
  map_urls(resp.params['buttonIFrameUrls'])
30
31
  )
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NexioActivemerchant
4
- VERSION = '0.4.1'
4
+ VERSION = '0.4.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexio_activemerchant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Whitespectre
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-15 00:00:00.000000000 Z
11
+ date: 2023-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemerchant
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  - !ruby/object:Gem::Version
87
87
  version: '0'
88
88
  requirements: []
89
- rubygems_version: 3.1.2
89
+ rubygems_version: 3.1.6
90
90
  signing_key:
91
91
  specification_version: 4
92
92
  summary: ActiveMechant gateway for Nexio