portmone 0.0.7 → 0.0.8

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
  SHA1:
3
- metadata.gz: 3434d99ffbe6b472a16aa590a92d163d0e1db9d9
4
- data.tar.gz: 7e9bf6cbcb2d4925fa778b20562c7102bb281c90
3
+ metadata.gz: 23038c64f8880639aca64c4e752025cad7ad925a
4
+ data.tar.gz: 247215a59bac78eaa85e662ecf5736c6e1bddcf6
5
5
  SHA512:
6
- metadata.gz: 0a9215af9650670ac4e589c55d9b75f8cdef67902c79a4f56ee00060e473bbc854983e3d8f7b100db4d3a96aafafc7e6eb6bf7d47219e2bba995cc16e3a8fc0d
7
- data.tar.gz: 88daac8d69c11fb19f129368186f7a4dba21a22ba3f7dc78d0cd8437dc4e365911f22308dd5ce9372e4a417abe3405ef16ae8dd87f1fca7e52815da00cdc01ef
6
+ metadata.gz: 94c9f01dffce261d68d1f44888c576ed2d3022386575000209dcc1250edd07bd3865716dd2d0864dd8705916f1c0d3269e4e32ffe2f682344c590498e8e8b045
7
+ data.tar.gz: c8d8f71f58f9e39cfdc764c03e005b526d6f2ca3c18d08bb26311eaa062345e66d7042d1a3ee0df40152fbac7540e6c35ed969d393b5db78efe2f25207049bdb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- portmone (0.0.7)
4
+ portmone (0.0.8)
5
5
  activesupport
6
6
  faraday (~> 0.9)
7
7
  money (~> 6.0)
@@ -10,28 +10,28 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (5.1.3)
13
+ activesupport (5.2.2)
14
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
15
- i18n (~> 0.7)
15
+ i18n (>= 0.7, < 2)
16
16
  minitest (~> 5.1)
17
17
  tzinfo (~> 1.1)
18
18
  addressable (2.5.2)
19
19
  public_suffix (>= 2.0.2, < 4.0)
20
20
  ast (2.3.0)
21
21
  coderay (1.1.2)
22
- concurrent-ruby (1.1.3)
22
+ concurrent-ruby (1.1.4)
23
23
  crack (0.4.3)
24
24
  safe_yaml (~> 1.0.0)
25
25
  docile (1.1.5)
26
- faraday (0.13.1)
26
+ faraday (0.15.4)
27
27
  multipart-post (>= 1.2, < 3)
28
28
  hashdiff (0.3.7)
29
- i18n (0.9.5)
29
+ i18n (1.5.3)
30
30
  concurrent-ruby (~> 1.0)
31
31
  json (2.1.0)
32
32
  method_source (0.9.0)
33
33
  minitest (5.11.3)
34
- money (6.13.1)
34
+ money (6.13.2)
35
35
  i18n (>= 0.6.4, <= 2)
36
36
  multi_xml (0.6.0)
37
37
  multipart-post (2.0.0)
@@ -9,6 +9,7 @@ module Portmone
9
9
  password:,
10
10
  locale:,
11
11
  currency:,
12
+ exp_time: nil,
12
13
  timezone: 'Europe/Kiev',
13
14
  logger: nil)
14
15
  @payee_id = payee_id
@@ -18,6 +19,7 @@ module Portmone
18
19
  @currency = currency
19
20
  @timezone = timezone
20
21
  @logger = logger
22
+ @exp_time = exp_time
21
23
  end
22
24
 
23
25
  def generate_url(shop_order_number:, amount:, description:, success_url:, failure_url:, authorize_only: true)
@@ -32,7 +34,8 @@ module Portmone
32
34
  success_url: success_url,
33
35
  failure_url: failure_url,
34
36
  encoding: 'utf-8',
35
- preauth_flag: authorize_only ? 'Y' : 'N'
37
+ preauth_flag: authorize_only ? 'Y' : 'N',
38
+ exp_time: @exp_time
36
39
  )
37
40
  end
38
41
 
@@ -1,3 +1,3 @@
1
1
  module Portmone
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
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.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Sviridov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-28 00:00:00.000000000 Z
11
+ date: 2019-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport