Skip to content

Commit eed45fe

Browse files
author
Pierre Nespo
authored
Add rexml as a gem dependency (#4768)
* Add rexml as a gem dependency Rexml is no longer included with Ruby 3+, we therefore need to add the dependency explicitely. * Remove garbage character from test file
1 parent cd91dde commit eed45fe

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

activemerchant.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Gem::Specification.new do |s|
2626
s.add_dependency('builder', '>= 2.1.2', '< 4.0.0')
2727
s.add_dependency('i18n', '>= 0.6.9')
2828
s.add_dependency('nokogiri', '~> 1.4')
29+
s.add_dependency('rexml', '~> 3.2.5')
2930

3031
s.add_development_dependency('mocha', '~> 1')
3132
s.add_development_dependency('pry')

test/unit/gateways/payflow_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@ def xpath_prefix_for_transaction_type(tx_type)
11441144

11451145
def threeds_xpath_for_extdata(attr_name, tx_type: 'Authorization')
11461146
xpath_prefix = xpath_prefix_for_transaction_type(tx_type)
1147-
%(string(#{xpath_prefix}/PayData/ExtData[@Name='#{attr_name}']/@Value)")
1147+
%(string(#{xpath_prefix}/PayData/ExtData[@Name='#{attr_name}']/@Value))
11481148
end
11491149

11501150
def authorize_buyer_auth_result_path

0 commit comments

Comments
 (0)