smulube-activemerchant 1.7.0.3 → 1.7.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,5 +1,7 @@
1
1
  = ActiveMerchant CHANGELOG
2
2
 
3
+ == Version 1.7.1 (July 28, 2010)
4
+
3
5
  * Pull in only the necessary components of Active Support. Enables use of ActiveMerchant with Rails 3 [railsjedi]
4
6
 
5
7
  == Version 1.7.0 (July 9, 2010)
@@ -302,8 +302,7 @@ module ActiveMerchant #:nodoc:
302
302
  post[:acct] = creditcard.number
303
303
  post[:cvv2] = creditcard.verification_value
304
304
  post[:expdate] = expdate(creditcard)
305
- post[:firstname] = creditcard.first_name
306
- post[:lastname] = creditcard.last_name
305
+ post[:name] = creditcard.name
307
306
  end
308
307
  end
309
308
 
@@ -325,8 +324,8 @@ module ActiveMerchant #:nodoc:
325
324
  post[:maxfailpayments] = options[:max_failed_payments] unless options[:max_failed_payments].nil?
326
325
  post[:profilename] = (options[:name] || creditcard.name).to_s.slice(0,128) unless options[:name].nil? && creditcard.nil?
327
326
  post[:desc] = options[:description] unless options[:description].nil?
328
- post[:optionaltrxamount] = options[:optionaltrxamount] unless options[:optionaltrxamount].nil?
329
- post[:failedinitamountaction] = options[:failedinitamountaction] unless options[:failedinitamountaction].nil?
327
+ post[:optionaltrxamt] = options[:optionaltrxamt] unless options[:optionaltrxamt].nil?
328
+ post[:failedinitamtaction] = options[:failedinitamtaction] unless options[:failedinitamtaction].nil?
330
329
  end
331
330
 
332
331
  def format_date(time)
@@ -364,8 +363,8 @@ module ActiveMerchant #:nodoc:
364
363
  post[:tender] = "C"
365
364
  post[:verbosity] = "MEDIUM"
366
365
 
367
- #request = post.merge(parameters).sort.map { |kv_pair| "#{kv_pair[0].to_s.upcase}=#{CGI.escape(kv_pair[1].to_s)}" }.join("&")
368
366
  request = post.merge(parameters).sort { |a, b| a[0].to_s <=> b[0].to_s }.map { |pair| "#{pair[0].to_s.upcase}=#{CGI.escape(pair[1].to_s)}" }.join("&") #.map { |kv_pair| "#{kv_pair[0].to_s.upcase}=#{CGI.escape(kv_pair[1].to_s)}" }.join("&")
367
+
369
368
  request
370
369
  end
371
370
 
@@ -1,3 +1,3 @@
1
1
  module ActiveMerchant
2
- VERSION = "1.7.0.3"
2
+ VERSION = "1.7.1"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  module ActiveMerchant
2
2
  <<<<<<< HEAD
3
- VERSION = "1.5.1.5"
3
+ VERSION = "1.7.0.3"
4
4
  =======
5
- VERSION = "1.7.0"
6
- >>>>>>> 35e7918d222ad541a7e4a0c49627acd6d65a532c
5
+ VERSION = "1.7.1"
6
+ >>>>>>> 94b61ae527c8ce0c9b2e4c12417d8c2014ec62eb
7
7
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smulube-activemerchant
3
3
  version: !ruby/object:Gem::Version
4
- hash: 97
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 7
9
- - 0
10
- - 3
11
- version: 1.7.0.3
9
+ - 1
10
+ version: 1.7.1
12
11
  platform: ruby
13
12
  authors:
14
13
  - Tobias Luetke
@@ -37,7 +36,7 @@ cert_chain:
37
36
  RGv1VYD5jSaHiQ==
38
37
  -----END CERTIFICATE-----
39
38
 
40
- date: 2010-07-29 00:00:00 +01:00
39
+ date: 2010-08-02 00:00:00 +01:00
41
40
  default_executable:
42
41
  dependencies:
43
42
  - !ruby/object:Gem::Dependency
metadata.gz.sig CHANGED
Binary file