payex 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/payex.rb +1 -1
  2. data/payex.gemspec +1 -1
  3. metadata +2 -2
@@ -53,7 +53,7 @@ def PayEx.complete_transaction! id
53
53
 
54
54
  case status
55
55
  when :sale, :authorize
56
- if response[:already_completed]
56
+ if response[:already_completed] == 'True'
57
57
  error = 'Transaction already completed'
58
58
  end
59
59
  when :initialize
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = 'payex'
5
- gem.version = '0.1.1'
5
+ gem.version = '0.1.2'
6
6
  gem.summary = 'PayEx SOAP API glue'
7
7
  gem.author = 'Daniel Brockman'
8
8
  gem.files = `git ls-files 2>/dev/null`.split($\)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: payex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-05 00:00:00.000000000 Z
12
+ date: 2012-09-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nori