global_collect 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
1
  /pkg
2
- /doc
2
+ /doc
3
+ /rdoc
data/Rakefile CHANGED
@@ -6,11 +6,9 @@ task :gem => [ :gemspec, :build ]
6
6
 
7
7
  desc "Run specs"
8
8
  task :spec do
9
- exec "spec spec/global_collect_spec.rb"
9
+ exec "spec spec/"
10
10
  end
11
11
 
12
-
13
-
14
12
  begin
15
13
  require 'jeweler'
16
14
  Jeweler::Tasks.new do |gemspec|
@@ -24,7 +22,7 @@ END
24
22
  gemspec.email = "timon.karnezos@gmail.com"
25
23
  gemspec.homepage = "http://github.com/timonk/global_collect"
26
24
  gemspec.authors = ["Timon Karnezos"]
27
- gemspec.version = "0.1.2"
25
+ gemspec.version = "0.1.3"
28
26
  gemspec.add_dependency('httparty', '>= 0.5.2')
29
27
  gemspec.add_dependency('builder', '>= 2.0')
30
28
 
@@ -33,4 +31,19 @@ END
33
31
  rescue LoadError
34
32
  warn "Jeweler not available. Install it with:"
35
33
  warn "gem install jeweler"
34
+ end
35
+
36
+ require 'rake/rdoctask'
37
+ Rake::RDocTask.new do |rdoc|
38
+ if File.exist?('VERSION')
39
+ version = File.read('VERSION')
40
+ else
41
+ version = ""
42
+ end
43
+
44
+ rdoc.rdoc_dir = 'rdoc'
45
+ rdoc.title = "rprince #{version}"
46
+ rdoc.options << '--line-numbers' << '--inline-source'
47
+ rdoc.rdoc_files.include('README*')
48
+ rdoc.rdoc_files.include('lib/**/*.rb')
36
49
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{global_collect}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Timon Karnezos"]
@@ -103,6 +103,7 @@ extensibility in mind.
103
103
  "spec/responses/succcess_row_spec.rb",
104
104
  "spec/spec_helper.rb",
105
105
  "spec/support/challenged_iowp_v1_response.xml",
106
+ "spec/support/successful_cancel_payment_v1_response.xml",
106
107
  "spec/support/successful_convert_amount_v1_response.xml",
107
108
  "spec/support/successful_do_refund_v1_response.xml",
108
109
  "spec/support/successful_get_order_status_v1_response.xml",
@@ -110,6 +111,7 @@ extensibility in mind.
110
111
  "spec/support/successful_hosted_iowp_v1_response.xml",
111
112
  "spec/support/successful_iowp_v1_response.xml",
112
113
  "spec/support/successful_process_challenged_response.xml",
114
+ "spec/support/successful_set_payment_v1_response.xml",
113
115
  "spec/support/support_helper.rb",
114
116
  "spec/support/unsuccessful_do_refund_v1_response.xml",
115
117
  "spec/support/unsuccessful_iowp_v1_response.xml",
@@ -0,0 +1,26 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <XML>
3
+ <REQUEST>
4
+ <ACTION>CANCEL_PAYMENT</ACTION>
5
+ <META>
6
+ <IPADDRESS/>
7
+ <MERCHANTID>1234</MERCHANTID>
8
+ <VERSION>1.0</VERSION>
9
+ <REQUESTIPADDRESS>192.168.1.1</REQUESTIPADDRESS>
10
+ </META>
11
+ <PARAMS>
12
+ <PAYMENT>
13
+ <ORDERID>34</ORDERID>
14
+ <ATTEMPTID>1</ATTEMPTID>
15
+ <EFFORTID>1</EFFORTID>
16
+ </PAYMENT>
17
+ </PARAMS>
18
+ <RESPONSE>
19
+ <RESULT>OK</RESULT>
20
+ <META>
21
+ <REQUESTID>194850</REQUESTID>
22
+ <RESPONSEDATETIME>20100430230746</RESPONSEDATETIME>
23
+ </META>
24
+ </RESPONSE>
25
+ </REQUEST>
26
+ </XML>
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <XML>
3
+ <REQUEST>
4
+ <ACTION>SET_PAYMENT</ACTION>
5
+ <META>
6
+ <IPADDRESS>127.0.0.1</IPADDRESS>
7
+ <MERCHANTID>1234</MERCHANTID>
8
+ <VERSION>1.0</VERSION>
9
+ <REQUESTIPADDRESS>192.168.1.1</REQUESTIPADDRESS>
10
+ </META>
11
+ <PARAMS>
12
+ <PAYMENT>
13
+ <ORDERID>2</ORDERID>
14
+ <PAYMENTPRODUCTID>1</PAYMENTPRODUCTID>
15
+ </PAYMENT>
16
+ </PARAMS>
17
+ <RESPONSE>
18
+ <RESULT>OK</RESULT>
19
+ <META>
20
+ <REQUESTID>3000734</REQUESTID>
21
+ <RESPONSEDATETIME>20100409015458</RESPONSEDATETIME>
22
+ </META>
23
+ </RESPONSE>
24
+ </REQUEST>
25
+ </XML>
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Timon Karnezos
@@ -155,6 +155,7 @@ files:
155
155
  - spec/responses/succcess_row_spec.rb
156
156
  - spec/spec_helper.rb
157
157
  - spec/support/challenged_iowp_v1_response.xml
158
+ - spec/support/successful_cancel_payment_v1_response.xml
158
159
  - spec/support/successful_convert_amount_v1_response.xml
159
160
  - spec/support/successful_do_refund_v1_response.xml
160
161
  - spec/support/successful_get_order_status_v1_response.xml
@@ -162,6 +163,7 @@ files:
162
163
  - spec/support/successful_hosted_iowp_v1_response.xml
163
164
  - spec/support/successful_iowp_v1_response.xml
164
165
  - spec/support/successful_process_challenged_response.xml
166
+ - spec/support/successful_set_payment_v1_response.xml
165
167
  - spec/support/support_helper.rb
166
168
  - spec/support/unsuccessful_do_refund_v1_response.xml
167
169
  - spec/support/unsuccessful_iowp_v1_response.xml