realex 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -2
- data/lib/real_ex/response.rb +3 -1
- data/realex.gemspec +6 -6
- metadata +24 -25
data/Rakefile
CHANGED
@@ -25,8 +25,8 @@ begin
|
|
25
25
|
gemspec.email = "paul@rslw.com"
|
26
26
|
gemspec.homepage = "http://github.com/paulca/realex"
|
27
27
|
gemspec.authors = ["Paul Campbell"]
|
28
|
-
gemspec.version = "0.3.
|
29
|
-
gemspec.add_dependency 'nokogiri', '1.4
|
28
|
+
gemspec.version = "0.3.3"
|
29
|
+
gemspec.add_dependency 'nokogiri', '~> 1.4'
|
30
30
|
end
|
31
31
|
rescue LoadError
|
32
32
|
puts "Jeweler not available. Install it with: gem install jeweler"
|
data/lib/real_ex/response.rb
CHANGED
@@ -7,7 +7,9 @@ module RealEx
|
|
7
7
|
|
8
8
|
include Initializer
|
9
9
|
|
10
|
-
attributes :timestamp, :result, :message, :orderid, :merchantid, :account,
|
10
|
+
attributes :timestamp, :result, :message, :orderid, :merchantid, :account,
|
11
|
+
:cvnresult, :avspostcoderesponse, :pasref, :timetaken,
|
12
|
+
:authtimetaken, :batchid, :avsaddressresponse, :cardissuer
|
11
13
|
|
12
14
|
def self.new_from_xml(xml)
|
13
15
|
parsed_xml = xml.kind_of?(String) ? Nokogiri.XML(xml) : xml
|
data/realex.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{realex}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Paul Campbell"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-03-10}
|
13
13
|
s.description = %q{A Ruby library to make use of the payments API at http://realexpayments.com}
|
14
14
|
s.email = %q{paul@rslw.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -41,7 +41,7 @@ Gem::Specification.new do |s|
|
|
41
41
|
]
|
42
42
|
s.homepage = %q{http://github.com/paulca/realex}
|
43
43
|
s.require_paths = ["lib"]
|
44
|
-
s.rubygems_version = %q{1.
|
44
|
+
s.rubygems_version = %q{1.5.0}
|
45
45
|
s.summary = %q{Ruby interface to http://realexpayments.com}
|
46
46
|
s.test_files = [
|
47
47
|
"spec/address_spec.rb",
|
@@ -61,18 +61,18 @@ Gem::Specification.new do |s|
|
|
61
61
|
s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
|
62
62
|
s.add_runtime_dependency(%q<builder>, [">= 0"])
|
63
63
|
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
64
|
-
s.add_runtime_dependency(%q<nokogiri>, ["
|
64
|
+
s.add_runtime_dependency(%q<nokogiri>, ["~> 1.4"])
|
65
65
|
else
|
66
66
|
s.add_dependency(%q<nokogiri>, [">= 0"])
|
67
67
|
s.add_dependency(%q<builder>, [">= 0"])
|
68
68
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
69
|
-
s.add_dependency(%q<nokogiri>, ["
|
69
|
+
s.add_dependency(%q<nokogiri>, ["~> 1.4"])
|
70
70
|
end
|
71
71
|
else
|
72
72
|
s.add_dependency(%q<nokogiri>, [">= 0"])
|
73
73
|
s.add_dependency(%q<builder>, [">= 0"])
|
74
74
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
75
|
-
s.add_dependency(%q<nokogiri>, ["
|
75
|
+
s.add_dependency(%q<nokogiri>, ["~> 1.4"])
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: realex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 3
|
10
|
+
version: 0.3.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Paul Campbell
|
@@ -15,14 +15,12 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-03-10 00:00:00 +00:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
prerelease: false
|
23
|
-
name: nokogiri
|
24
22
|
type: :runtime
|
25
|
-
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
24
|
none: false
|
27
25
|
requirements:
|
28
26
|
- - ">="
|
@@ -31,12 +29,12 @@ dependencies:
|
|
31
29
|
segments:
|
32
30
|
- 0
|
33
31
|
version: "0"
|
34
|
-
|
35
|
-
|
32
|
+
name: nokogiri
|
33
|
+
version_requirements: *id001
|
36
34
|
prerelease: false
|
37
|
-
|
35
|
+
- !ruby/object:Gem::Dependency
|
38
36
|
type: :runtime
|
39
|
-
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
38
|
none: false
|
41
39
|
requirements:
|
42
40
|
- - ">="
|
@@ -45,12 +43,12 @@ dependencies:
|
|
45
43
|
segments:
|
46
44
|
- 0
|
47
45
|
version: "0"
|
48
|
-
|
49
|
-
|
46
|
+
name: builder
|
47
|
+
version_requirements: *id002
|
50
48
|
prerelease: false
|
51
|
-
|
49
|
+
- !ruby/object:Gem::Dependency
|
52
50
|
type: :development
|
53
|
-
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
54
52
|
none: false
|
55
53
|
requirements:
|
56
54
|
- - ">="
|
@@ -59,23 +57,24 @@ dependencies:
|
|
59
57
|
segments:
|
60
58
|
- 0
|
61
59
|
version: "0"
|
62
|
-
|
63
|
-
|
60
|
+
name: jeweler
|
61
|
+
version_requirements: *id003
|
64
62
|
prerelease: false
|
65
|
-
|
63
|
+
- !ruby/object:Gem::Dependency
|
66
64
|
type: :runtime
|
67
|
-
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
68
66
|
none: false
|
69
67
|
requirements:
|
70
|
-
- -
|
68
|
+
- - ~>
|
71
69
|
- !ruby/object:Gem::Version
|
72
|
-
hash:
|
70
|
+
hash: 7
|
73
71
|
segments:
|
74
72
|
- 1
|
75
73
|
- 4
|
76
|
-
|
77
|
-
|
78
|
-
|
74
|
+
version: "1.4"
|
75
|
+
name: nokogiri
|
76
|
+
version_requirements: *id004
|
77
|
+
prerelease: false
|
79
78
|
description: A Ruby library to make use of the payments API at http://realexpayments.com
|
80
79
|
email: paul@rslw.com
|
81
80
|
executables: []
|
@@ -137,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
136
|
requirements: []
|
138
137
|
|
139
138
|
rubyforge_project:
|
140
|
-
rubygems_version: 1.
|
139
|
+
rubygems_version: 1.5.0
|
141
140
|
signing_key:
|
142
141
|
specification_version: 3
|
143
142
|
summary: Ruby interface to http://realexpayments.com
|