lib/active_merchant/billing/gateways/webpay.rb in activemerchant-1.41.0 vs lib/active_merchant/billing/gateways/webpay.rb in activemerchant-1.42.0

- old
+ new

@@ -66,11 +66,10 @@ @@ua ||= JSON.dump({ :bindings_version => ActiveMerchant::VERSION, :lang => 'ruby', :lang_version => "#{RUBY_VERSION} p#{RUBY_PATCHLEVEL} (#{RUBY_RELEASE_DATE})", :platform => RUBY_PLATFORM, - :publisher => 'active_merchant', - :uname => (RUBY_PLATFORM =~ /linux|darwin/i ? `uname -a 2>/dev/null`.strip : nil) + :publisher => 'active_merchant' }) { "Authorization" => "Basic " + Base64.encode64(@api_key.to_s + ":").strip, "User-Agent" => "Webpay/v1 ActiveMerchantBindings/#{ActiveMerchant::VERSION}",