sage_pay 0.2.8 → 0.2.8.1

Sign up to get free protection for your applications and to get access to all the features.
data/TODO ADDED
@@ -0,0 +1,4 @@
1
+ # TODO
2
+
3
+ * validates_associated to make sure the billing and delivery address are valid.
4
+ * Create a basket class to encapsulate the format of a basket.
@@ -62,6 +62,7 @@ module SagePay
62
62
 
63
63
  def self.refund(attributes = {})
64
64
  defaults = {
65
+ :vendor_tx_code => TransactionCode.random,
65
66
  }.merge(default_options)
66
67
 
67
68
  SagePay::Server::Refund.new(defaults.merge(attributes))
data/lib/sage_pay.rb CHANGED
@@ -7,7 +7,7 @@ require 'md5'
7
7
  require 'uuid'
8
8
 
9
9
  module SagePay
10
- VERSION = '0.2.8'
10
+ VERSION = '0.2.8.1'
11
11
  end
12
12
 
13
13
  require 'validatable-ext'
data/sage_pay.gemspec CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  ## If your rubyforge_project name is different, then edit it and comment out
8
8
  ## the sub! line in the Rakefile
9
9
  s.name = 'sage_pay'
10
- s.version = '0.2.8'
10
+ s.version = '0.2.8.1'
11
11
  s.date = '2010-04-25'
12
12
  s.rubyforge_project = 'sage_pay'
13
13
 
@@ -53,6 +53,7 @@ gateway for accepting credit card payments through your web app.
53
53
  LICENSE
54
54
  README.md
55
55
  Rakefile
56
+ TODO
56
57
  lib/sage_pay.rb
57
58
  lib/sage_pay/server.rb
58
59
  lib/sage_pay/server/abort.rb
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe SagePay do
4
- it "should be version 0.2.8" do
5
- SagePay::VERSION.should == '0.2.8'
4
+ it "should be version 0.2.8.1" do
5
+ SagePay::VERSION.should == '0.2.8.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -6,7 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 2
8
8
  - 8
9
- version: 0.2.8
9
+ - 1
10
+ version: 0.2.8.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Graeme Mathieson
@@ -74,6 +75,7 @@ files:
74
75
  - LICENSE
75
76
  - README.md
76
77
  - Rakefile
78
+ - TODO
77
79
  - lib/sage_pay.rb
78
80
  - lib/sage_pay/server.rb
79
81
  - lib/sage_pay/server/abort.rb