veritrans 2.0.2 → 2.0.3

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
  SHA1:
3
- metadata.gz: 931d9054ff90cd1ba889f74542f676b54d6fd46b
4
- data.tar.gz: df6815a8f4c46a28feb241a7ddc0c335aeecdcf9
3
+ metadata.gz: 475b7547ae66a6a1fc61a1a702ee15fba0c2e8a9
4
+ data.tar.gz: 15500b497283f54efe37798f4d31b404e1bdcbd4
5
5
  SHA512:
6
- metadata.gz: db0a441e12e6a7c4ccf3a89481503007337ef5577c520413dca0f4ed327b55269f86becaa80a32c33578471aabfa24174537e804cbdac88473287b9aa5b2efa2
7
- data.tar.gz: 179e13bdcaae50bfc3b8e1723ba87fe347033d84eedb8ab6d505e5cbae336df28c515004e2fbc888a3d4c4660f9d11e43f555d4028d8cf6fc52c3286673949ce
6
+ metadata.gz: 0abfa400ffdbe8f3369d07bd0e52c2ab53ffff2db76b22e98d26466e8121001d6c4c0370a7e8e978e13ac280c03bc155749c18ca3460e7568d1fb0ebe5eff6c5
7
+ data.tar.gz: e40f6d85251bf6b73d03d1437eda9a03990e2dce871a0618d33924e54e16a2cd95aa05ffe53f7fbf3fd598bec72cb244074e21c713f418ebd2b2d51257088fad
data/CHANGELOG.md CHANGED
@@ -1,9 +1,14 @@
1
- ### Version 2.0.2 (date: 20 Feb 2014)
1
+ ### Version 2.0.3 (date: 19 Jun 2015)
2
+
3
+ * Implement expire api call
4
+ * Fix broken links
5
+
6
+ ### Version 2.0.2 (date: 20 Feb 2015)
2
7
 
3
8
  * Add feature to add default http options, via Veritrans.config.http_options
4
9
  * Start writing documentation in RDoc format
5
10
 
6
- ### Version 2.0.1 (date: 20 Jan 2014)
11
+ ### Version 2.0.1 (date: 20 Jan 2015)
7
12
 
8
13
  * Fix confusing json format, we don't have it anymore.
9
14
  * Add testing for rails generator
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- veritrans (2.0.2)
4
+ veritrans (2.0.3)
5
5
  excon (~> 0.20)
6
6
 
7
7
  GEM
@@ -54,17 +54,9 @@ GEM
54
54
  cliver (0.3.2)
55
55
  crack (0.4.2)
56
56
  safe_yaml (~> 1.0.0)
57
- cucumber (1.3.19)
58
- builder (>= 2.1.2)
59
- diff-lcs (>= 1.1.3)
60
- gherkin (~> 2.12)
61
- multi_json (>= 1.7.5, < 2.0)
62
- multi_test (>= 0.1.2)
63
57
  diff-lcs (1.2.5)
64
58
  erubis (2.7.0)
65
- excon (0.44.2)
66
- gherkin (2.12.2)
67
- multi_json (~> 1.3)
59
+ excon (0.45.3)
68
60
  globalid (0.3.3)
69
61
  activesupport (>= 4.1.0)
70
62
  hike (1.2.3)
@@ -78,7 +70,6 @@ GEM
78
70
  mini_portile (0.6.2)
79
71
  minitest (5.5.1)
80
72
  multi_json (1.10.1)
81
- multi_test (0.1.2)
82
73
  nokogiri (1.6.6.2)
83
74
  mini_portile (~> 0.6.0)
84
75
  poltergeist (1.6.0)
@@ -114,19 +105,14 @@ GEM
114
105
  rake (>= 0.8.7)
115
106
  thor (>= 0.18.1, < 2.0)
116
107
  rake (10.4.2)
117
- rspec (3.2.0)
118
- rspec-core (~> 3.2.0)
119
- rspec-expectations (~> 3.2.0)
120
- rspec-mocks (~> 3.2.0)
121
- rspec-core (3.2.0)
122
- rspec-support (~> 3.2.0)
123
- rspec-expectations (3.2.0)
124
- diff-lcs (>= 1.2.0, < 2.0)
125
- rspec-support (~> 3.2.0)
126
- rspec-mocks (3.2.0)
127
- diff-lcs (>= 1.2.0, < 2.0)
128
- rspec-support (~> 3.2.0)
129
- rspec-support (3.2.1)
108
+ rspec (2.14.1)
109
+ rspec-core (~> 2.14.0)
110
+ rspec-expectations (~> 2.14.0)
111
+ rspec-mocks (~> 2.14.0)
112
+ rspec-core (2.14.8)
113
+ rspec-expectations (2.14.5)
114
+ diff-lcs (>= 1.1.3, < 2.0)
115
+ rspec-mocks (2.14.6)
130
116
  safe_yaml (1.0.4)
131
117
  sprockets (2.12.3)
132
118
  hike (~> 1.2)
@@ -156,10 +142,9 @@ PLATFORMS
156
142
  ruby
157
143
 
158
144
  DEPENDENCIES
159
- cucumber
160
- poltergeist
161
- rails
162
- rspec (>= 2.9.0)
163
- vcr
145
+ poltergeist (~> 1.6)
146
+ rails (~> 4.2)
147
+ rspec (~> 2.9, >= 2.9.0)
148
+ vcr (~> 2.9)
164
149
  veritrans!
165
- webmock
150
+ webmock (~> 1.20)
data/README.md CHANGED
@@ -67,7 +67,30 @@ File: "app/views/shared/_veritrans_include.erb"
67
67
  </script>
68
68
  ```
69
69
 
70
- Payment form:
70
+ Payment form: (same as if you use `rails g veritrans:payment_form`)
71
+
72
+ ```erb
73
+ <%= form_tag "/charge_vtdirect", id: "card_form" do %>
74
+ <%= hidden_field_tag :token_id, nil, id: "card_token" %>
75
+ <%= hidden_field_tag :gross_amount, 30000 %>
76
+ <p>
77
+ <%= label_tag "card_number", "Card number" %>
78
+ <%= text_field_tag :card_number, "4811 1111 1111 1114", name: nil, style: "width: 150px" %>
79
+ </p>
80
+ <p>
81
+ <%= label_tag "card_cvc", "Security Code" %>
82
+ <%= text_field_tag :card_cvc, "123", name: nil, style: "width: 30px", placeholder: "cvc" %>
83
+ </p>
84
+ <p>
85
+ <%= label_tag "card_exp", "Expiration date" %>
86
+ <%= text_field_tag :card_exp, "12 / 16", name: nil, placeholder: "MM / YY" %>
87
+ </p>
88
+ <%= submit_tag "Make payment", id: "submit_btn" %>
89
+ <% end %>
90
+ <iframe id="3d-secure-iframe" style="display: none; width: 500px; height: 600px"></iframe>
91
+ ```
92
+
93
+ For sinatra:
71
94
 
72
95
  ```html
73
96
  <form action="/charge_vtdirect" method="post" id="card_form">
@@ -85,6 +108,10 @@ Payment form:
85
108
  <label for="card_exp">Expiration date</label>
86
109
  <input type="text" id="card_exp" placeholder="MM / YY" value="12 / 16">
87
110
  </p>
111
+ <p>
112
+ <label for="card_secure">3D-secure</label>
113
+ <input id="card_secure" name="card_secure" type="checkbox" value="1" />
114
+ </p>
88
115
  <input id="submit_btn" type="submit">
89
116
  </form>
90
117
  <iframe id="3d-secure-iframe" style="display: none; width: 500px; height: 600px"></iframe>
@@ -102,7 +129,7 @@ $(document).ready(function () {
102
129
  card_exp_month: $('#card_exp').val().match(/(\d+) \//)[1],
103
130
  card_exp_year: '20' + $('#card_exp').val().match(/\/ (\d+)/)[1],
104
131
  gross_amount: $('#gross_amount').val(),
105
- secure: true
132
+ secure: $('#card_secure')[0].checked
106
133
  };
107
134
  }
108
135
  // Add custom event for form submition
@@ -177,7 +204,7 @@ For every transaction success and failed we will send you HTTP POST notification
177
204
 
178
205
  First you should set callback url in our dashboard https://my.sandbox.veritrans.co.id/settings/vtweb_configuration
179
206
 
180
- For testing in development phase please read our [Testing webhooks tutorial](https://github.com/Paxa/veritrans-ruby/blob/new_api/testing_webhooks.md) and [command line tool](#command-line-tool)
207
+ For testing in development phase please read our [Testing webhooks tutorial](https://github.com/veritrans/veritrans-ruby/blob/new_api/testing_webhooks.md) and [command line tool](#command-line-tool)
181
208
 
182
209
 
183
210
  For rails:
@@ -271,9 +298,8 @@ Testing http notification:
271
298
 
272
299
  #### Get help
273
300
 
274
- * [Veritrans gem reference](https://github.com/Paxa/veritrans-ruby/blob/new_api/api_reference.md)
275
- * [Veritrans sandbox login](https://my.sandbox.veritrans.co.id/register)
301
+ * [Veritrans gem reference](https://github.com/veritrans/veritrans-ruby/blob/new_api/api_reference.md)
302
+ * [Veritrans sandbox login](https://my.sandbox.veritrans.co.id/login)
276
303
  * [Veritrans sandbox registration](https://my.sandbox.veritrans.co.id/register)
277
- * [Veritrans registration](https://my.veritrans.co.id/register)
278
304
  * [Veritrans documentation](http://docs.veritrans.co.id)
279
305
  * Technical support [support@veritrans.co.id](mailto:support@veritrans.co.id)
data/api_reference.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # API Reference
2
2
 
3
3
  Here is only reference for API of this gem, to see complete information
4
- please use our [documentation](http://docs.veritrans.co.id/sandbox/introduction.html)
4
+ please use our [documentation](http://docs.veritrans.co.id/en/api/introduction.htmlu)
5
5
 
6
6
 
7
7
  <table>
@@ -45,6 +45,12 @@ please use our [documentation](http://docs.veritrans.co.id/sandbox/introduction.
45
45
  <td>POST</td>
46
46
  <td>api.veritrans.co.id/v2/{id}/capture</td>
47
47
  </tr>
48
+ <tr>
49
+ <td><a href="#expire">Veritrans.expire(id)</a></td>
50
+ <td>Expire Pending Transaction</td>
51
+ <td>POST</td>
52
+ <td>api.veritrans.co.id/v2/{id}/expire</td>
53
+ </tr>
48
54
  </tbody>
49
55
  </table>
50
56
 
@@ -222,3 +228,15 @@ This API method is only for merchants who have pre-authorise feature (can be req
222
228
  q = Veritrans.capture("testing-0.2072-1415086078", 101_000)
223
229
  q.success? # => true
224
230
  ```
231
+
232
+ <a name="expire"></a>
233
+ ### Expire
234
+
235
+ You can expire pedning transactions. For examople if merchant choose to pay via ATM,
236
+ then user change mind and want to pay with credit card.
237
+ In this situation you better expire previous transaction, and you can use same order_id again
238
+
239
+ ```ruby
240
+ q = Veritrans.expire("testing-0.2072-1415086078")
241
+ q.success? # => true
242
+ ```
data/lib/veritrans/api.rb CHANGED
@@ -47,19 +47,19 @@ module Veritrans
47
47
  end
48
48
 
49
49
  # POST /v2/{id}/cancel
50
- # Docs http://docs.veritrans.co.id/sandbox/other_commands.html
50
+ # Docs http://docs.veritrans.co.id/en/api/methods.html#Cancel
51
51
  def cancel(payment_id, options = {})
52
52
  request_with_logging(:post, config.api_host + "/v2/#{URI.escape(payment_id)}/cancel", options)
53
53
  end
54
54
 
55
55
  # POST /v2/{id}/approve
56
- # Docs http://docs.veritrans.co.id/sandbox/other_commands.html
56
+ # Docs http://docs.veritrans.co.id/en/api/methods.html#Approve
57
57
  def approve(payment_id, options = {})
58
58
  request_with_logging(:post, config.api_host + "/v2/#{URI.escape(payment_id)}/approve", options)
59
59
  end
60
60
 
61
61
  # GET /v2/{id}/status
62
- # Docs http://docs.veritrans.co.id/sandbox/other_commands.html
62
+ # Docs http://docs.veritrans.co.id/en/api/methods.html#Status
63
63
  def status(payment_id)
64
64
  if !payment_id || payment_id == ""
65
65
  raise ArgumentError, "parameter payment_id can not be bank"
@@ -69,11 +69,16 @@ module Veritrans
69
69
  end
70
70
 
71
71
  # POST /v2/capture
72
- # Docs http://docs.veritrans.co.id/sandbox/other_features.html
72
+ # Docs http://docs.veritrans.co.id/en/api/methods.html#Capture
73
73
  def capture(payment_id, gross_amount, options = {})
74
74
  post(config.api_host + "/v2/capture", options.merge(transaction_id: payment_id, gross_amount: gross_amount))
75
75
  end
76
76
 
77
+ # POST /v2/{id}/expire
78
+ def expire(id)
79
+ request_with_logging(:post, config.api_host + "/v2/#{URI.escape(id)}/expire", nil)
80
+ end
81
+
77
82
  # POST /v2/charge { payment_type: "vtlink" }
78
83
  def create_vtlink(data)
79
84
  data = data.dup
@@ -31,7 +31,7 @@ module Veritrans
31
31
  end
32
32
 
33
33
  def success?
34
- @data[:status_code] == '200' || @data[:status_code] == '201'
34
+ @data[:status_code] == '200' || @data[:status_code] == '201' || @data[:status_code] == '407'
35
35
  end
36
36
 
37
37
  # for VT-Link
@@ -1,3 +1,3 @@
1
1
  module Veritrans
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.3"
3
3
  end
@@ -0,0 +1,4 @@
1
+ # merchant_id: M000937
2
+
3
+ client_key: VT-client-NArmatJZqzsmTmzR
4
+ server_key: VT-server-9Htb-RxXkg7-7hznSCCjxvoY
@@ -0,0 +1,50 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.sandbox.veritrans.co.id/v2/not-exists/expire
6
+ body:
7
+ encoding: UTF-8
8
+ string: "{}"
9
+ headers:
10
+ User-Agent:
11
+ - Veritrans ruby gem 2.0.2
12
+ Authorization:
13
+ - Basic VlQtc2VydmVyLW9iQWdUTms0NW9jYUpWUGlGTXRRLXFmNjo=
14
+ Accept:
15
+ - application/json
16
+ Content-Type:
17
+ - application/json
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: ''
22
+ headers:
23
+ Server:
24
+ - nginx
25
+ Date:
26
+ - Fri, 19 Jun 2015 05:29:53 GMT
27
+ Content-Type:
28
+ - application/json
29
+ Content-Length:
30
+ - '87'
31
+ Connection:
32
+ - keep-alive
33
+ Cache-Control:
34
+ - no-cache
35
+ Pragma:
36
+ - no-cache
37
+ Expires:
38
+ - Wed, 31 Dec 1969 17:00:00 GMT
39
+ Strict-Transport-Security:
40
+ - max-age=31536000; includeSubdomains;
41
+ body:
42
+ encoding: UTF-8
43
+ string: |-
44
+ {
45
+ "status_code" : "404",
46
+ "status_message" : "The requested resource is not found"
47
+ }
48
+ http_version:
49
+ recorded_at: Fri, 19 Jun 2015 05:23:02 GMT
50
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,56 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.sandbox.veritrans.co.id/v2/af3fb136-c405-4103-9a36-5a6a9e2855a9/expire
6
+ body:
7
+ encoding: UTF-8
8
+ string: 'null'
9
+ headers:
10
+ User-Agent:
11
+ - Veritrans ruby gem 2.0.2
12
+ Authorization:
13
+ - Basic NjJiMTVhN2QtZTVmOC00YjNjLTllYWItY2E4MjdjYTM3ZjU1Og==
14
+ Accept:
15
+ - application/json
16
+ Content-Type:
17
+ - application/json
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: ''
22
+ headers:
23
+ Server:
24
+ - nginx
25
+ Date:
26
+ - Fri, 19 Jun 2015 06:21:11 GMT
27
+ Content-Type:
28
+ - application/json
29
+ Content-Length:
30
+ - '339'
31
+ Connection:
32
+ - keep-alive
33
+ Cache-Control:
34
+ - no-cache
35
+ Pragma:
36
+ - no-cache
37
+ Expires:
38
+ - Wed, 31 Dec 1969 17:00:00 GMT
39
+ Strict-Transport-Security:
40
+ - max-age=31536000; includeSubdomains;
41
+ body:
42
+ encoding: UTF-8
43
+ string: |-
44
+ {
45
+ "status_code" : "407",
46
+ "status_message" : "Success, transaction has expired",
47
+ "transaction_id" : "af3fb136-c405-4103-9a36-5a6a9e2855a9",
48
+ "order_id" : "e15dd6fa56-190615060748696",
49
+ "payment_type" : "bank_transfer",
50
+ "transaction_time" : "2015-06-19 13:09:05",
51
+ "transaction_status" : "expire",
52
+ "gross_amount" : "231231.00"
53
+ }
54
+ http_version:
55
+ recorded_at: Fri, 19 Jun 2015 06:15:19 GMT
56
+ recorded_with: VCR 2.9.3
@@ -4,7 +4,7 @@ describe Veritrans do
4
4
  hide_const("Rails")
5
5
  Veritrans.logger = Logger.new("/dev/null")
6
6
  Veritrans.setup do
7
- config.load_config "./example/veritrans.yml#development"
7
+ config.load_config "./spec/configs/real_key.yml"
8
8
  end
9
9
  end
10
10
 
@@ -112,4 +112,19 @@ describe Veritrans do
112
112
  end
113
113
  end
114
114
 
115
+ it "should send expire request" do
116
+ VCR.use_cassette('expire_success', record: :once) do
117
+ result = Veritrans.expire("af3fb136-c405-4103-9a36-5a6a9e2855a9")
118
+ result.success?.should == true
119
+ result.status_message.should == "Success, transaction has expired"
120
+ end
121
+ end
122
+
123
+ it "should send expire request" do
124
+ VCR.use_cassette('expire_failed', record: :once) do
125
+ result = Veritrans.expire("not-exists")
126
+ result.success?.should == false
127
+ result.status_message.should == "The requested resource is not found"
128
+ end
129
+ end
115
130
  end
data/veritrans.gemspec CHANGED
@@ -5,9 +5,11 @@ Gem::Specification.new do |s|
5
5
  s.name = "veritrans"
6
6
  s.version = Veritrans::VERSION
7
7
  s.author = ["Veritrans Dev Team"]
8
+ s.description= "Veritrans ruby client"
8
9
  s.email = ["dev@veritrans.co.id"]
9
10
  s.homepage = "https://github.com/veritrans/veritrans-ruby"
10
11
  s.summary = %q{Veritrans ruby library}
12
+ s.license = 'MIT'
11
13
 
12
14
  s.files = `git ls-files`.split("\n")
13
15
  s.test_files = []
@@ -17,10 +19,10 @@ Gem::Specification.new do |s|
17
19
 
18
20
  s.add_runtime_dependency "excon", "~> 0.20"
19
21
 
20
- s.add_development_dependency "rspec", ">= 2.9.0"
21
- s.add_development_dependency "rails"
22
- s.add_development_dependency 'webmock'
23
- s.add_development_dependency 'vcr'
24
- s.add_development_dependency 'cucumber'
25
- s.add_development_dependency "poltergeist"
22
+ s.add_development_dependency "rspec", '~> 2.9', '>= 2.9.0'
23
+ s.add_development_dependency "rails", '~> 4.2'
24
+ s.add_development_dependency 'webmock', '~> 1.20'
25
+ s.add_development_dependency 'vcr', '~> 2.9'
26
+ s.add_development_dependency "poltergeist", '~> 1.6'
26
27
  end
28
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: veritrans
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Veritrans Dev Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-20 00:00:00.000000000 Z
11
+ date: 2015-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon
@@ -28,6 +28,9 @@ dependencies:
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.9'
31
34
  - - ">="
32
35
  - !ruby/object:Gem::Version
33
36
  version: 2.9.0
@@ -35,6 +38,9 @@ dependencies:
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: '2.9'
38
44
  - - ">="
39
45
  - !ruby/object:Gem::Version
40
46
  version: 2.9.0
@@ -42,73 +48,59 @@ dependencies:
42
48
  name: rails
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
- - - ">="
51
+ - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '0'
53
+ version: '4.2'
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
- - - ">="
58
+ - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '0'
60
+ version: '4.2'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: webmock
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
- - - ">="
65
+ - - "~>"
60
66
  - !ruby/object:Gem::Version
61
- version: '0'
67
+ version: '1.20'
62
68
  type: :development
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
- - - ">="
72
+ - - "~>"
67
73
  - !ruby/object:Gem::Version
68
- version: '0'
74
+ version: '1.20'
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: vcr
71
77
  requirement: !ruby/object:Gem::Requirement
72
78
  requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: cucumber
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
79
+ - - "~>"
88
80
  - !ruby/object:Gem::Version
89
- version: '0'
81
+ version: '2.9'
90
82
  type: :development
91
83
  prerelease: false
92
84
  version_requirements: !ruby/object:Gem::Requirement
93
85
  requirements:
94
- - - ">="
86
+ - - "~>"
95
87
  - !ruby/object:Gem::Version
96
- version: '0'
88
+ version: '2.9'
97
89
  - !ruby/object:Gem::Dependency
98
90
  name: poltergeist
99
91
  requirement: !ruby/object:Gem::Requirement
100
92
  requirements:
101
- - - ">="
93
+ - - "~>"
102
94
  - !ruby/object:Gem::Version
103
- version: '0'
95
+ version: '1.6'
104
96
  type: :development
105
97
  prerelease: false
106
98
  version_requirements: !ruby/object:Gem::Requirement
107
99
  requirements:
108
- - - ">="
100
+ - - "~>"
109
101
  - !ruby/object:Gem::Version
110
- version: '0'
111
- description:
102
+ version: '1.6'
103
+ description: Veritrans ruby client
112
104
  email:
113
105
  - dev@veritrans.co.id
114
106
  executables:
@@ -152,6 +144,7 @@ files:
152
144
  - lib/veritrans/version.rb
153
145
  - license.txt
154
146
  - spec/cli_spec.rb
147
+ - spec/configs/real_key.yml
155
148
  - spec/configs/veritrans.yml
156
149
  - spec/configs/veritrans_flat.yml
157
150
  - spec/fixtures/approve_failed.yml
@@ -166,6 +159,8 @@ files:
166
159
  - spec/fixtures/cli_test_real_txn.yml
167
160
  - spec/fixtures/cli_test_unauthorized.yml
168
161
  - spec/fixtures/events_test_real_txn.yml
162
+ - spec/fixtures/expire_failed.yml
163
+ - spec/fixtures/expire_success.yml
169
164
  - spec/fixtures/status_fail.yml
170
165
  - spec/fixtures/status_success.yml
171
166
  - spec/rails_plugin_spec.rb
@@ -177,7 +172,8 @@ files:
177
172
  - testing_webhooks.md
178
173
  - veritrans.gemspec
179
174
  homepage: https://github.com/veritrans/veritrans-ruby
180
- licenses: []
175
+ licenses:
176
+ - MIT
181
177
  metadata: {}
182
178
  post_install_message:
183
179
  rdoc_options: []