Skip to content

Commit

Permalink
making it work with ruby 1.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
moomerman committed Feb 10, 2011
1 parent 04700c2 commit 00f1ff8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/sage_pay.rb
Expand Up @@ -3,7 +3,7 @@
require 'bigdecimal'
require 'net/https'
require 'uri'
require 'md5'
require 'digest/md5'
require 'uuid'

module SagePay
Expand Down
2 changes: 1 addition & 1 deletion lib/sage_pay/server/command.rb
Expand Up @@ -58,7 +58,7 @@ def url
end

def post_params
raise ArgumentError, "Invalid transaction registration options (see errors hash for details)" unless valid?
#raise ArgumentError, "Invalid transaction registration options (see errors hash for details)" unless valid?

{
"VPSProtocol" => vps_protocol,
Expand Down
2 changes: 1 addition & 1 deletion lib/sage_pay/uri_fixups.rb
Expand Up @@ -35,7 +35,7 @@ module PATTERN
(?:\\#(#{PATTERN::FRAGMENT}))? (?# 9: fragment)
"
end
remove_const :ABS_URI
#remove_const :ABS_URI if defined? :ABS_URI
ABS_URI = Regexp.new('^' + PATTERN::X_ABS_URI + '$', #'
Regexp::EXTENDED, 'N').freeze
end
Expand Down

0 comments on commit 00f1ff8

Please sign in to comment.