pxpay 0.1.3 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/pxpay/request.rb +1 -1
- data/pxpay.gemspec +6 -7
- metadata +37 -81
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
data/lib/pxpay/request.rb
CHANGED
@@ -19,7 +19,7 @@ module Pxpay
|
|
19
19
|
def url
|
20
20
|
require 'rest_client'
|
21
21
|
require 'nokogiri'
|
22
|
-
response = ::RestClient.post("https://
|
22
|
+
response = ::RestClient.post("https://sec.paymentexpress.com/pxpay/pxaccess.aspx", post )
|
23
23
|
url = ::Nokogiri::XML(response).at_css("URI").inner_html
|
24
24
|
return URI::extract(url).first.gsub("&", "&")
|
25
25
|
end
|
data/pxpay.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{pxpay}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date = %q{2011-
|
11
|
+
s.authors = [%q{Bradley Priest}]
|
12
|
+
s.date = %q{2011-06-15}
|
13
13
|
s.description = %q{A Ruby wrapper around the DPS-hosted PxPay service}
|
14
14
|
s.email = %q{bradleypriest@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -40,9 +40,9 @@ Gem::Specification.new do |s|
|
|
40
40
|
"test/test_pxpay.rb"
|
41
41
|
]
|
42
42
|
s.homepage = %q{http://github.com/bradleypriest/pxpay}
|
43
|
-
s.licenses = [
|
44
|
-
s.require_paths = [
|
45
|
-
s.rubygems_version = %q{1.
|
43
|
+
s.licenses = [%q{MIT}]
|
44
|
+
s.require_paths = [%q{lib}]
|
45
|
+
s.rubygems_version = %q{1.8.5}
|
46
46
|
s.summary = %q{Ruby wrapper for the Payment Express' PxPay API}
|
47
47
|
s.test_files = [
|
48
48
|
"test/helper.rb",
|
@@ -50,7 +50,6 @@ Gem::Specification.new do |s|
|
|
50
50
|
]
|
51
51
|
|
52
52
|
if s.respond_to? :specification_version then
|
53
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
54
53
|
s.specification_version = 3
|
55
54
|
|
56
55
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pxpay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 3
|
10
|
-
version: 0.1.3
|
4
|
+
prerelease:
|
5
|
+
version: 0.1.5
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Bradley Priest
|
@@ -15,153 +10,118 @@ autorequire:
|
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
12
|
|
18
|
-
date: 2011-
|
19
|
-
default_executable:
|
13
|
+
date: 2011-06-15 00:00:00 Z
|
20
14
|
dependencies:
|
21
15
|
- !ruby/object:Gem::Dependency
|
22
|
-
type: :development
|
23
|
-
prerelease: false
|
24
16
|
name: shoulda
|
25
|
-
|
17
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
18
|
none: false
|
27
19
|
requirements:
|
28
20
|
- - ">="
|
29
21
|
- !ruby/object:Gem::Version
|
30
|
-
hash: 3
|
31
|
-
segments:
|
32
|
-
- 0
|
33
22
|
version: "0"
|
34
|
-
requirement: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
23
|
type: :development
|
37
24
|
prerelease: false
|
25
|
+
version_requirements: *id001
|
26
|
+
- !ruby/object:Gem::Dependency
|
38
27
|
name: bundler
|
39
|
-
|
28
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
29
|
none: false
|
41
30
|
requirements:
|
42
31
|
- - ~>
|
43
32
|
- !ruby/object:Gem::Version
|
44
|
-
hash: 23
|
45
|
-
segments:
|
46
|
-
- 1
|
47
|
-
- 0
|
48
|
-
- 0
|
49
33
|
version: 1.0.0
|
50
|
-
requirement: *id002
|
51
|
-
- !ruby/object:Gem::Dependency
|
52
34
|
type: :development
|
53
35
|
prerelease: false
|
36
|
+
version_requirements: *id002
|
37
|
+
- !ruby/object:Gem::Dependency
|
54
38
|
name: jeweler
|
55
|
-
|
39
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
56
40
|
none: false
|
57
41
|
requirements:
|
58
42
|
- - ~>
|
59
43
|
- !ruby/object:Gem::Version
|
60
|
-
hash: 7
|
61
|
-
segments:
|
62
|
-
- 1
|
63
|
-
- 5
|
64
|
-
- 2
|
65
44
|
version: 1.5.2
|
66
|
-
requirement: *id003
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
45
|
type: :development
|
69
46
|
prerelease: false
|
47
|
+
version_requirements: *id003
|
48
|
+
- !ruby/object:Gem::Dependency
|
70
49
|
name: rcov
|
71
|
-
|
50
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
72
51
|
none: false
|
73
52
|
requirements:
|
74
53
|
- - ">="
|
75
54
|
- !ruby/object:Gem::Version
|
76
|
-
hash: 3
|
77
|
-
segments:
|
78
|
-
- 0
|
79
55
|
version: "0"
|
80
|
-
requirement: *id004
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
56
|
type: :development
|
83
57
|
prerelease: false
|
58
|
+
version_requirements: *id004
|
59
|
+
- !ruby/object:Gem::Dependency
|
84
60
|
name: builder
|
85
|
-
|
61
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
86
62
|
none: false
|
87
63
|
requirements:
|
88
64
|
- - ">="
|
89
65
|
- !ruby/object:Gem::Version
|
90
|
-
hash: 3
|
91
|
-
segments:
|
92
|
-
- 0
|
93
66
|
version: "0"
|
94
|
-
requirement: *id005
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
67
|
type: :development
|
97
68
|
prerelease: false
|
69
|
+
version_requirements: *id005
|
70
|
+
- !ruby/object:Gem::Dependency
|
98
71
|
name: nokogiri
|
99
|
-
|
72
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
100
73
|
none: false
|
101
74
|
requirements:
|
102
75
|
- - ">="
|
103
76
|
- !ruby/object:Gem::Version
|
104
|
-
hash: 3
|
105
|
-
segments:
|
106
|
-
- 0
|
107
77
|
version: "0"
|
108
|
-
requirement: *id006
|
109
|
-
- !ruby/object:Gem::Dependency
|
110
78
|
type: :development
|
111
79
|
prerelease: false
|
80
|
+
version_requirements: *id006
|
81
|
+
- !ruby/object:Gem::Dependency
|
112
82
|
name: rest-client
|
113
|
-
|
83
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
114
84
|
none: false
|
115
85
|
requirements:
|
116
86
|
- - ">="
|
117
87
|
- !ruby/object:Gem::Version
|
118
|
-
hash: 3
|
119
|
-
segments:
|
120
|
-
- 0
|
121
88
|
version: "0"
|
122
|
-
|
123
|
-
- !ruby/object:Gem::Dependency
|
124
|
-
type: :runtime
|
89
|
+
type: :development
|
125
90
|
prerelease: false
|
91
|
+
version_requirements: *id007
|
92
|
+
- !ruby/object:Gem::Dependency
|
126
93
|
name: nokogiri
|
127
|
-
|
94
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
128
95
|
none: false
|
129
96
|
requirements:
|
130
97
|
- - ">="
|
131
98
|
- !ruby/object:Gem::Version
|
132
|
-
hash: 3
|
133
|
-
segments:
|
134
|
-
- 0
|
135
99
|
version: "0"
|
136
|
-
requirement: *id008
|
137
|
-
- !ruby/object:Gem::Dependency
|
138
100
|
type: :runtime
|
139
101
|
prerelease: false
|
102
|
+
version_requirements: *id008
|
103
|
+
- !ruby/object:Gem::Dependency
|
140
104
|
name: rest-client
|
141
|
-
|
105
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
142
106
|
none: false
|
143
107
|
requirements:
|
144
108
|
- - ">="
|
145
109
|
- !ruby/object:Gem::Version
|
146
|
-
hash: 3
|
147
|
-
segments:
|
148
|
-
- 0
|
149
110
|
version: "0"
|
150
|
-
requirement: *id009
|
151
|
-
- !ruby/object:Gem::Dependency
|
152
111
|
type: :runtime
|
153
112
|
prerelease: false
|
113
|
+
version_requirements: *id009
|
114
|
+
- !ruby/object:Gem::Dependency
|
154
115
|
name: builder
|
155
|
-
|
116
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
156
117
|
none: false
|
157
118
|
requirements:
|
158
119
|
- - ">="
|
159
120
|
- !ruby/object:Gem::Version
|
160
|
-
hash: 3
|
161
|
-
segments:
|
162
|
-
- 0
|
163
121
|
version: "0"
|
164
|
-
|
122
|
+
type: :runtime
|
123
|
+
prerelease: false
|
124
|
+
version_requirements: *id010
|
165
125
|
description: A Ruby wrapper around the DPS-hosted PxPay service
|
166
126
|
email: bradleypriest@gmail.com
|
167
127
|
executables: []
|
@@ -193,7 +153,6 @@ files:
|
|
193
153
|
- test/pxpay.yml
|
194
154
|
- test/response.xml
|
195
155
|
- test/test_pxpay.rb
|
196
|
-
has_rdoc: true
|
197
156
|
homepage: http://github.com/bradleypriest/pxpay
|
198
157
|
licenses:
|
199
158
|
- MIT
|
@@ -207,7 +166,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
207
166
|
requirements:
|
208
167
|
- - ">="
|
209
168
|
- !ruby/object:Gem::Version
|
210
|
-
hash:
|
169
|
+
hash: 3241203709650298010
|
211
170
|
segments:
|
212
171
|
- 0
|
213
172
|
version: "0"
|
@@ -216,14 +175,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
216
175
|
requirements:
|
217
176
|
- - ">="
|
218
177
|
- !ruby/object:Gem::Version
|
219
|
-
hash: 3
|
220
|
-
segments:
|
221
|
-
- 0
|
222
178
|
version: "0"
|
223
179
|
requirements: []
|
224
180
|
|
225
181
|
rubyforge_project:
|
226
|
-
rubygems_version: 1.
|
182
|
+
rubygems_version: 1.8.5
|
227
183
|
signing_key:
|
228
184
|
specification_version: 3
|
229
185
|
summary: Ruby wrapper for the Payment Express' PxPay API
|