buckaruby 2.1.0 → 2.1.1

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: eb62e5b46cdbddcd59de1c2c52928fde3c62cbd33b5957d6d762640f0646f4a5
4
- data.tar.gz: 8c2555701120e08f42f360b5d3a9ea3292022712a0e2f306fa9a9e03b1dd489a
3
+ metadata.gz: 999b6cb27ab479a14f6f11fe0cce0692cc7b9f73026e46c61ff9e061acfab71d
4
+ data.tar.gz: f571d647ee4166f6f5eb1abcfa806dd3807d6790b8823d564807d3c013f963ad
5
5
  SHA512:
6
- metadata.gz: 67d2f19eee9556d9f6929cdbc0487a190a731955a333f0f99eee5d7e9bd21152766cb713fe920b8100caf18df2a993b4644575356c42c7476844794e96256180
7
- data.tar.gz: 80f1d0eeb818781d44d7675c01c77ae8009564384096e1fb7d54030b363e24f19d0114ac2aeeb15933f09ed672c9d9affcbe19741deb05886941c55403638d33
6
+ metadata.gz: 376b94f44ac00d239b2da91b36e1a8de4642e0a6f46e4ed891d9609423166908ad320d7354a436412b3b1569bcada08e1809abedb57f9e83e8e4105ab29201e9
7
+ data.tar.gz: 81d9650be0ab685f877e73ac5856f546cb5617461218ec4212ad9d72ddc8bf665c717b3db7961ad5435b60533ebb5e613e39fd3212e8fdf73a68acf900dbdaba
@@ -10,7 +10,7 @@ module Buckaruby
10
10
 
11
11
  module_function
12
12
 
13
- # See https://docs.buckaroo.io/v1/docs/en/transaction-type-overview
13
+ # See https://docs.buckaroo.io/docs/integration-transaction-type-overview
14
14
  def parse(brq_transaction_type, brq_recurring)
15
15
  if brq_transaction_type && !brq_transaction_type.empty?
16
16
  case brq_transaction_type
@@ -37,7 +37,7 @@ module Buckaruby
37
37
  'C812', 'C872', 'C972', 'V034', 'V040', 'V046',
38
38
  'V094', 'V245', 'V288', 'V308', 'V333', 'V705', # Maestro
39
39
 
40
- 'V003', 'V030', 'V036', 'V042' # American Express
40
+ 'V003', 'V030', 'V036', 'V042', 'C990' # American Express
41
41
 
42
42
  # Check the recurring flag to detect a normal or recurring transaction.
43
43
  if brq_recurring&.casecmp('true')&.zero?
@@ -67,7 +67,7 @@ module Buckaruby
67
67
  'C873', 'C970', 'V070', 'V076', 'V082', 'V246',
68
68
  'V286', 'V305', 'V330', 'V703', # Maestro
69
69
 
70
- 'V066', 'V072', 'V078', 'V103' # American Express
70
+ 'V066', 'V072', 'V078', 'V103', 'C992' # American Express
71
71
  TransactionType::REFUND
72
72
  when 'C501', 'C502', 'C562', # (SEPA) Direct Debit
73
73
  'V111', # PayPal
@@ -82,7 +82,7 @@ module Buckaruby
82
82
  'C546', 'C551', 'C814', 'C874', 'V134', 'V140',
83
83
  'V146', 'V545', 'V546', # Maestro
84
84
 
85
- 'V130', 'V136', 'V142' # American Express
85
+ 'V130', 'V136', 'V142', 'C993' # American Express
86
86
  TransactionType::REVERSAL
87
87
  end
88
88
  else
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Buckaruby
4
- VERSION = '2.1.0'
4
+ VERSION = '2.1.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buckaruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kentaa
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-08 00:00:00.000000000 Z
11
+ date: 2025-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -136,14 +136,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - ">="
138
138
  - !ruby/object:Gem::Version
139
- version: 2.7.0
139
+ version: 3.0.0
140
140
  required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - ">="
143
143
  - !ruby/object:Gem::Version
144
144
  version: '0'
145
145
  requirements: []
146
- rubygems_version: 3.2.3
146
+ rubygems_version: 3.5.3
147
147
  signing_key:
148
148
  specification_version: 4
149
149
  summary: Ruby library for communicating with the Buckaroo Payment Engine 3.0.