solon 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/solon/sagepay_response.rb +1 -1
- data/lib/solon/solon_gateway.rb +2 -2
- data/solon.gemspec +1 -1
- metadata +4 -4
@@ -2,7 +2,7 @@ require 'cgi'
|
|
2
2
|
module Solon
|
3
3
|
class SagepayResponse
|
4
4
|
def initialize(response)
|
5
|
-
|
5
|
+
::Rails.logger.debug "Sagepay response: #{response}"
|
6
6
|
@response = response
|
7
7
|
if @response.is_a?(String)
|
8
8
|
response.split("\r\n").each do |line|
|
data/lib/solon/solon_gateway.rb
CHANGED
@@ -298,7 +298,7 @@ private
|
|
298
298
|
end
|
299
299
|
|
300
300
|
def commit!(action)
|
301
|
-
|
301
|
+
::Rails.logger.debug "Sending Sagepay post to #{url_for(action)}:\n" +
|
302
302
|
"Post: #{@post.inspect}\n" +
|
303
303
|
"Post data: #{@post.to_post_data}"
|
304
304
|
response = Solon::Net::HttpsGateway.new(url_for(action), true, debug?).send({}, @post.to_post_data)
|
@@ -377,7 +377,7 @@ private
|
|
377
377
|
end
|
378
378
|
|
379
379
|
def log(method, options)
|
380
|
-
|
380
|
+
::Rails.logger.debug "Called #{method} with options #{options.inspect}"
|
381
381
|
end
|
382
382
|
|
383
383
|
def requires!(hash, *params)
|
data/solon.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alastair Brunton
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-08-
|
18
|
+
date: 2011-08-19 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|