amiando 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/amiando/payment_type.rb +4 -2
- data/lib/amiando/resource.rb +4 -0
- data/lib/amiando/version.rb +1 -1
- data/test/amiando/payment_type_test.rb +27 -1
- data/test/fixtures/PaymentType/6e26a45c11cab69dec3ec9a9937e80c0.yml +61 -0
- data/test/fixtures/PaymentType/8a8b4fc4194121ffc5b1a39a00f4cfca.yml +61 -0
- data/test/fixtures/PaymentType/b70da5323cdefa2ea4c87a36342a8175.yml +61 -0
- data/test/fixtures/PaymentType/ca6d3176528eebdf9d27ebcf54627434.yml +61 -0
- metadata +14 -8
data/lib/amiando/payment_type.rb
CHANGED
@@ -18,7 +18,9 @@ module Amiando
|
|
18
18
|
# It will also accept :cc, :invoice, etc and convert them appropriately
|
19
19
|
#
|
20
20
|
def self.create(event_id, type)
|
21
|
-
|
21
|
+
type = type[:type] if type.is_a?(Hash)
|
22
|
+
|
23
|
+
unless type =~ /^payment_type_\w+/i
|
22
24
|
type = "payment_type_#{type}"
|
23
25
|
end
|
24
26
|
|
@@ -77,7 +79,7 @@ module Amiando
|
|
77
79
|
# @return [Boolean] result of the operation
|
78
80
|
def self.update(payment_type_id, attributes)
|
79
81
|
object = Boolean.new('success')
|
80
|
-
post object, "api/paymentType/#{payment_type_id}"
|
82
|
+
post object, "api/paymentType/#{payment_type_id}", :params => attributes
|
81
83
|
|
82
84
|
object
|
83
85
|
end
|
data/lib/amiando/resource.rb
CHANGED
data/lib/amiando/version.rb
CHANGED
@@ -27,6 +27,21 @@ describe Amiando::PaymentType do
|
|
27
27
|
payment_type.result.must_equal false
|
28
28
|
payment_type.errors.must_include "com.amiando.api.rest.paymentType.PaymentTypeAlreadyExists"
|
29
29
|
end
|
30
|
+
|
31
|
+
it 'should accept a Hash as a param' do
|
32
|
+
payment_type = Amiando::PaymentType.create(event.id, :type => :cc)
|
33
|
+
payment_type.request.params.must_equal(:type => "PAYMENT_TYPE_CC")
|
34
|
+
end
|
35
|
+
|
36
|
+
it 'should accept a payment string as a param' do
|
37
|
+
payment_type = Amiando::PaymentType.create(event.id, :type => "PAYMENT_TYPE_CC")
|
38
|
+
payment_type.request.params.must_equal(:type => "PAYMENT_TYPE_CC")
|
39
|
+
end
|
40
|
+
|
41
|
+
it 'should accept a short string as a param' do
|
42
|
+
payment_type = Amiando::PaymentType.create(event.id, "CC")
|
43
|
+
payment_type.request.params.must_equal(:type => "PAYMENT_TYPE_CC")
|
44
|
+
end
|
30
45
|
end
|
31
46
|
|
32
47
|
describe 'find' do
|
@@ -54,12 +69,23 @@ describe Amiando::PaymentType do
|
|
54
69
|
|
55
70
|
describe 'update' do
|
56
71
|
it 'updates the given attributes' do
|
72
|
+
event = Amiando::Factory.create(:event, :name => "event-update-#{HydraCache.revision}")
|
57
73
|
payment_id = Amiando::PaymentType.sync_create(event.id, :invoice).result
|
58
|
-
|
59
74
|
update = Amiando::PaymentType.update(payment_id, :active => false)
|
60
75
|
Amiando.run
|
61
76
|
|
62
77
|
update.result.must_equal true
|
78
|
+
|
79
|
+
payment_type = Amiando::PaymentType.sync_find(payment_id)
|
80
|
+
payment_type.active.must_equal false
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
describe 'type' do
|
85
|
+
it 'returns the amiando type string' do
|
86
|
+
payment_type = Amiando::PaymentType.new(:type => 'PAYMENT_TYPE_PP')
|
87
|
+
payment_type.type.must_equal 'PAYMENT_TYPE_PP'
|
63
88
|
end
|
64
89
|
end
|
90
|
+
|
65
91
|
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
--- !ruby/object:Typhoeus::Response
|
2
|
+
app_connect_time: 3.3e-05
|
3
|
+
body: "{\"id\":880233,\"success\":true}"
|
4
|
+
code: 201
|
5
|
+
connect_time: 3.3e-05
|
6
|
+
curl_error_message: No error
|
7
|
+
curl_return_code: 0
|
8
|
+
effective_url: https://test.amiando.com/api/event/354296/paymentType/create?apikey=EHynu2WfcVkkO3VRce0ZWtWKplIpXjlhCuQuDn7s1MgKF9ztR0&format=json&version=1
|
9
|
+
first_header_line: HTTP/1.1 201 Created
|
10
|
+
headers: |
|
11
|
+
HTTP/1.1 201 Created
|
12
|
+
Date: Wed, 02 Nov 2011 17:50:00 GMT
|
13
|
+
Server: Apache/2.0.55 (Red Hat)
|
14
|
+
Set-Cookie: JSESSIONID=5DA8019C172CB4103FEA97957BF60B15.web01; Path=/; Secure
|
15
|
+
Set-Cookie: JSESSIONID=5DA8019C172CB4103FEA97957BF60B15.web01; Path=/
|
16
|
+
accept-charset: utf-8
|
17
|
+
P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
18
|
+
Access-Control-Allow-Origin: *
|
19
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
20
|
+
Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=NmVqMVU4cnZRSGZmQ0xiRjoxMzIxNDY1OTU4NjkyOmNiZTYxODQxZWM1NTE1NTY3YzNiNjM2YjQ4YmUyZWNk; Expires=Mon, 31-Oct-2016 17:52:38 GMT; Path=/
|
21
|
+
Accept-Ranges: bytes
|
22
|
+
Cache-Control: max-age=7200
|
23
|
+
Expires: Wed, 02 Nov 2011 19:50:00 GMT
|
24
|
+
Vary: User-Agent
|
25
|
+
Transfer-Encoding: chunked
|
26
|
+
Content-Type: application/json;charset=UTF-8
|
27
|
+
|
28
|
+
|
29
|
+
headers_hash: !map:Typhoeus::NormalizedHeaderHash
|
30
|
+
Vary: User-Agent
|
31
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
32
|
+
P3p: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
33
|
+
Transfer-Encoding: chunked
|
34
|
+
Access-Control-Allow-Origin: "*"
|
35
|
+
Content-Type: application/json;charset=UTF-8
|
36
|
+
Date: Wed, 02 Nov 2011 17:50:00 GMT
|
37
|
+
Accept-Ranges: bytes
|
38
|
+
Server: Apache/2.0.55 (Red Hat)
|
39
|
+
Set-Cookie:
|
40
|
+
- JSESSIONID=5DA8019C172CB4103FEA97957BF60B15.web01; Path=/; Secure
|
41
|
+
- JSESSIONID=5DA8019C172CB4103FEA97957BF60B15.web01; Path=/
|
42
|
+
- ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=NmVqMVU4cnZRSGZmQ0xiRjoxMzIxNDY1OTU4NjkyOmNiZTYxODQxZWM1NTE1NTY3YzNiNjM2YjQ4YmUyZWNk; Expires=Mon, 31-Oct-2016 17:52:38 GMT; Path=/
|
43
|
+
Expires: Wed, 02 Nov 2011 19:50:00 GMT
|
44
|
+
Cache-Control: max-age=7200
|
45
|
+
Accept-Charset: utf-8
|
46
|
+
http_version:
|
47
|
+
mock: false
|
48
|
+
name_lookup_time: 3.3e-05
|
49
|
+
pretransfer_time: 3.9e-05
|
50
|
+
primary_ip: 213.61.176.214
|
51
|
+
request: |-
|
52
|
+
:method => :post,
|
53
|
+
:url => https://test.amiando.com/api/event/354296/paymentType/create?apikey=EHynu2WfcVkkO3VRce0ZWtWKplIpXjlhCuQuDn7s1MgKF9ztR0&format=json&version=1,
|
54
|
+
:params => {:type=>"PAYMENT_TYPE_INVOICE"},
|
55
|
+
:headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}
|
56
|
+
requested_http_method:
|
57
|
+
requested_url:
|
58
|
+
start_time:
|
59
|
+
start_transfer_time: 0.183959
|
60
|
+
status_message: Created
|
61
|
+
time: 0.18401
|
@@ -0,0 +1,61 @@
|
|
1
|
+
--- !ruby/object:Typhoeus::Response
|
2
|
+
app_connect_time: 1.327785
|
3
|
+
body: "{\"id\":354296,\"success\":true}"
|
4
|
+
code: 201
|
5
|
+
connect_time: 0.502893
|
6
|
+
curl_error_message: No error
|
7
|
+
curl_return_code: 0
|
8
|
+
effective_url: https://test.amiando.com/api/event/create?apikey=EHynu2WfcVkkO3VRce0ZWtWKplIpXjlhCuQuDn7s1MgKF9ztR0&format=json&version=1
|
9
|
+
first_header_line: HTTP/1.1 201 Created
|
10
|
+
headers: |
|
11
|
+
HTTP/1.1 201 Created
|
12
|
+
Date: Wed, 02 Nov 2011 17:49:59 GMT
|
13
|
+
Server: Apache/2.0.55 (Red Hat)
|
14
|
+
Set-Cookie: JSESSIONID=2385EF8514239242964EE585952CC673.web01; Path=/; Secure
|
15
|
+
Set-Cookie: JSESSIONID=2385EF8514239242964EE585952CC673.web01; Path=/
|
16
|
+
accept-charset: utf-8
|
17
|
+
P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
18
|
+
Access-Control-Allow-Origin: *
|
19
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
20
|
+
Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=R3Z1aGdqdXRtOFM2cVhoSDoxMzIxNDY1OTU3NDEwOjYyYjA1OWI3YmZkNTFmMDc3MjkxOTExZDYzYmFkMjQ3; Expires=Mon, 31-Oct-2016 17:52:37 GMT; Path=/
|
21
|
+
Accept-Ranges: bytes
|
22
|
+
Cache-Control: max-age=7200
|
23
|
+
Expires: Wed, 02 Nov 2011 19:49:59 GMT
|
24
|
+
Vary: User-Agent
|
25
|
+
Transfer-Encoding: chunked
|
26
|
+
Content-Type: application/json;charset=UTF-8
|
27
|
+
|
28
|
+
|
29
|
+
headers_hash: !map:Typhoeus::NormalizedHeaderHash
|
30
|
+
Vary: User-Agent
|
31
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
32
|
+
P3p: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
33
|
+
Transfer-Encoding: chunked
|
34
|
+
Access-Control-Allow-Origin: "*"
|
35
|
+
Content-Type: application/json;charset=UTF-8
|
36
|
+
Date: Wed, 02 Nov 2011 17:49:59 GMT
|
37
|
+
Accept-Ranges: bytes
|
38
|
+
Server: Apache/2.0.55 (Red Hat)
|
39
|
+
Set-Cookie:
|
40
|
+
- JSESSIONID=2385EF8514239242964EE585952CC673.web01; Path=/; Secure
|
41
|
+
- JSESSIONID=2385EF8514239242964EE585952CC673.web01; Path=/
|
42
|
+
- ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=R3Z1aGdqdXRtOFM2cVhoSDoxMzIxNDY1OTU3NDEwOjYyYjA1OWI3YmZkNTFmMDc3MjkxOTExZDYzYmFkMjQ3; Expires=Mon, 31-Oct-2016 17:52:37 GMT; Path=/
|
43
|
+
Expires: Wed, 02 Nov 2011 19:49:59 GMT
|
44
|
+
Cache-Control: max-age=7200
|
45
|
+
Accept-Charset: utf-8
|
46
|
+
http_version:
|
47
|
+
mock: false
|
48
|
+
name_lookup_time: 0.414289
|
49
|
+
pretransfer_time: 1.32779
|
50
|
+
primary_ip: 213.61.176.214
|
51
|
+
request: |-
|
52
|
+
:method => :post,
|
53
|
+
:url => https://test.amiando.com/api/event/create?apikey=EHynu2WfcVkkO3VRce0ZWtWKplIpXjlhCuQuDn7s1MgKF9ztR0&format=json&version=1,
|
54
|
+
:params => {:country=>"es", :name=>"event-update-2", :hostId=>256142421, :title=>"Secret title", :selectedDate=>"1970-01-01T00:00:00Z"},
|
55
|
+
:headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}
|
56
|
+
requested_http_method:
|
57
|
+
requested_url:
|
58
|
+
start_time:
|
59
|
+
start_transfer_time: 2.609763
|
60
|
+
status_message: Created
|
61
|
+
time: 2.609796
|
@@ -0,0 +1,61 @@
|
|
1
|
+
--- !ruby/object:Typhoeus::Response
|
2
|
+
app_connect_time: 3.2e-05
|
3
|
+
body: "{\"success\":true}"
|
4
|
+
code: 200
|
5
|
+
connect_time: 3.2e-05
|
6
|
+
curl_error_message: No error
|
7
|
+
curl_return_code: 0
|
8
|
+
effective_url: https://test.amiando.com/api/paymentType/880233?apikey=EHynu2WfcVkkO3VRce0ZWtWKplIpXjlhCuQuDn7s1MgKF9ztR0&format=json&version=1
|
9
|
+
first_header_line: HTTP/1.1 200 OK
|
10
|
+
headers: |
|
11
|
+
HTTP/1.1 200 OK
|
12
|
+
Date: Wed, 02 Nov 2011 17:50:13 GMT
|
13
|
+
Server: Apache/2.0.55 (Red Hat)
|
14
|
+
Set-Cookie: JSESSIONID=6E89FFB61646B5679D256C56F45943D1.web01; Path=/; Secure
|
15
|
+
Set-Cookie: JSESSIONID=6E89FFB61646B5679D256C56F45943D1.web01; Path=/
|
16
|
+
accept-charset: utf-8
|
17
|
+
P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
18
|
+
Access-Control-Allow-Origin: *
|
19
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
20
|
+
Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=UzZnYXA3TjU2Qm5OVk5wZDoxMzIxNDY1OTcxNzI3OjI3M2Y1ZTYyN2I5Y2QzOWJhNzZiM2VkODAwMDk3ZjQ2; Expires=Mon, 31-Oct-2016 17:52:51 GMT; Path=/
|
21
|
+
Accept-Ranges: bytes
|
22
|
+
Cache-Control: max-age=7200
|
23
|
+
Expires: Wed, 02 Nov 2011 19:50:13 GMT
|
24
|
+
Vary: User-Agent
|
25
|
+
Transfer-Encoding: chunked
|
26
|
+
Content-Type: application/json;charset=UTF-8
|
27
|
+
|
28
|
+
|
29
|
+
headers_hash: !map:Typhoeus::NormalizedHeaderHash
|
30
|
+
Vary: User-Agent
|
31
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
32
|
+
P3p: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
33
|
+
Transfer-Encoding: chunked
|
34
|
+
Access-Control-Allow-Origin: "*"
|
35
|
+
Content-Type: application/json;charset=UTF-8
|
36
|
+
Date: Wed, 02 Nov 2011 17:50:13 GMT
|
37
|
+
Accept-Ranges: bytes
|
38
|
+
Server: Apache/2.0.55 (Red Hat)
|
39
|
+
Set-Cookie:
|
40
|
+
- JSESSIONID=6E89FFB61646B5679D256C56F45943D1.web01; Path=/; Secure
|
41
|
+
- JSESSIONID=6E89FFB61646B5679D256C56F45943D1.web01; Path=/
|
42
|
+
- ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=UzZnYXA3TjU2Qm5OVk5wZDoxMzIxNDY1OTcxNzI3OjI3M2Y1ZTYyN2I5Y2QzOWJhNzZiM2VkODAwMDk3ZjQ2; Expires=Mon, 31-Oct-2016 17:52:51 GMT; Path=/
|
43
|
+
Expires: Wed, 02 Nov 2011 19:50:13 GMT
|
44
|
+
Cache-Control: max-age=7200
|
45
|
+
Accept-Charset: utf-8
|
46
|
+
http_version:
|
47
|
+
mock: false
|
48
|
+
name_lookup_time: 3.2e-05
|
49
|
+
pretransfer_time: 3.8e-05
|
50
|
+
primary_ip: 213.61.176.214
|
51
|
+
request: |-
|
52
|
+
:method => :post,
|
53
|
+
:url => https://test.amiando.com/api/paymentType/880233?apikey=EHynu2WfcVkkO3VRce0ZWtWKplIpXjlhCuQuDn7s1MgKF9ztR0&format=json&version=1,
|
54
|
+
:params => {:active=>false},
|
55
|
+
:headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}
|
56
|
+
requested_http_method:
|
57
|
+
requested_url:
|
58
|
+
start_time:
|
59
|
+
start_transfer_time: 0.13749
|
60
|
+
status_message: OK
|
61
|
+
time: 0.137539
|
@@ -0,0 +1,61 @@
|
|
1
|
+
--- !ruby/object:Typhoeus::Response
|
2
|
+
app_connect_time: 3.1e-05
|
3
|
+
body: "{\"paymentType\":{\"id\":880233,\"active\":false,\"type\":\"PAYMENT_TYPE_INVOICE\"},\"success\":true}"
|
4
|
+
code: 200
|
5
|
+
connect_time: 3.1e-05
|
6
|
+
curl_error_message: No error
|
7
|
+
curl_return_code: 0
|
8
|
+
effective_url: https://test.amiando.com/api/paymentType/880233?apikey=EHynu2WfcVkkO3VRce0ZWtWKplIpXjlhCuQuDn7s1MgKF9ztR0&format=json&version=1
|
9
|
+
first_header_line: HTTP/1.1 200 OK
|
10
|
+
headers: |
|
11
|
+
HTTP/1.1 200 OK
|
12
|
+
Date: Wed, 02 Nov 2011 17:50:13 GMT
|
13
|
+
Server: Apache/2.0.55 (Red Hat)
|
14
|
+
Set-Cookie: JSESSIONID=458634774BF7E5ED01113ADBA07FEA6F.web01; Path=/; Secure
|
15
|
+
Set-Cookie: JSESSIONID=458634774BF7E5ED01113ADBA07FEA6F.web01; Path=/
|
16
|
+
accept-charset: utf-8
|
17
|
+
P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
18
|
+
Access-Control-Allow-Origin: *
|
19
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
20
|
+
Set-Cookie: ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=YUtPWVdhRFJqVEI3QjZ4SzoxMzIxNDY1OTcxOTMxOmQwMzJlNWY0YWYyZDYxZDU2NTFhNWIzM2ZlMzg3NDQ2; Expires=Mon, 31-Oct-2016 17:52:51 GMT; Path=/
|
21
|
+
Vary: Accept-Charset,Accept-Encoding,Accept-Language,Accept,User-Agent
|
22
|
+
Accept-Ranges: bytes
|
23
|
+
Cache-Control: max-age=7200
|
24
|
+
Expires: Wed, 02 Nov 2011 19:50:13 GMT
|
25
|
+
Transfer-Encoding: chunked
|
26
|
+
Content-Type: application/json;charset=UTF-8
|
27
|
+
|
28
|
+
|
29
|
+
headers_hash: !map:Typhoeus::NormalizedHeaderHash
|
30
|
+
Vary: Accept-Charset,Accept-Encoding,Accept-Language,Accept,User-Agent
|
31
|
+
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
|
32
|
+
P3p: policyref="/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD CON OUR IND UNI PUR COM CNT"
|
33
|
+
Transfer-Encoding: chunked
|
34
|
+
Access-Control-Allow-Origin: "*"
|
35
|
+
Content-Type: application/json;charset=UTF-8
|
36
|
+
Date: Wed, 02 Nov 2011 17:50:13 GMT
|
37
|
+
Accept-Ranges: bytes
|
38
|
+
Server: Apache/2.0.55 (Red Hat)
|
39
|
+
Set-Cookie:
|
40
|
+
- JSESSIONID=458634774BF7E5ED01113ADBA07FEA6F.web01; Path=/; Secure
|
41
|
+
- JSESSIONID=458634774BF7E5ED01113ADBA07FEA6F.web01; Path=/
|
42
|
+
- ANONYMOUS_HASHED_REMEMBER_ME_COOKIE_KEY=YUtPWVdhRFJqVEI3QjZ4SzoxMzIxNDY1OTcxOTMxOmQwMzJlNWY0YWYyZDYxZDU2NTFhNWIzM2ZlMzg3NDQ2; Expires=Mon, 31-Oct-2016 17:52:51 GMT; Path=/
|
43
|
+
Expires: Wed, 02 Nov 2011 19:50:13 GMT
|
44
|
+
Cache-Control: max-age=7200
|
45
|
+
Accept-Charset: utf-8
|
46
|
+
http_version:
|
47
|
+
mock: false
|
48
|
+
name_lookup_time: 3.1e-05
|
49
|
+
pretransfer_time: 3.7e-05
|
50
|
+
primary_ip: 213.61.176.214
|
51
|
+
request: |-
|
52
|
+
:method => :get,
|
53
|
+
:url => https://test.amiando.com/api/paymentType/880233?apikey=EHynu2WfcVkkO3VRce0ZWtWKplIpXjlhCuQuDn7s1MgKF9ztR0&format=json&version=1,
|
54
|
+
:params => {:apikey=>"EHynu2WfcVkkO3VRce0ZWtWKplIpXjlhCuQuDn7s1MgKF9ztR0", :format=>:json, :version=>1},
|
55
|
+
:headers => {"User-Agent"=>"Typhoeus - http://github.com/dbalatero/typhoeus/tree/master"}
|
56
|
+
requested_http_method:
|
57
|
+
requested_url:
|
58
|
+
start_time:
|
59
|
+
start_transfer_time: 0.169344
|
60
|
+
status_message: OK
|
61
|
+
time: 0.169377
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amiando
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 27
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 4
|
10
|
+
version: 0.3.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jorge Dias
|
@@ -16,8 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-11-
|
20
|
-
default_executable:
|
19
|
+
date: 2011-11-04 00:00:00 Z
|
21
20
|
dependencies:
|
22
21
|
- !ruby/object:Gem::Dependency
|
23
22
|
name: typhoeus
|
@@ -180,8 +179,12 @@ files:
|
|
180
179
|
- test/fixtures/Partner/f066cd0f963e3c873e7eae28d2f654a4.yml
|
181
180
|
- test/fixtures/PaymentType/0096aebaa9c29a7bcb381d20697704c3.yml
|
182
181
|
- test/fixtures/PaymentType/3f67b8ff5994e0239fa2ed6e7dbfcec1.yml
|
182
|
+
- test/fixtures/PaymentType/6e26a45c11cab69dec3ec9a9937e80c0.yml
|
183
183
|
- test/fixtures/PaymentType/7c37125c353d970dbbbaaef54eaf3d90.yml
|
184
|
+
- test/fixtures/PaymentType/8a8b4fc4194121ffc5b1a39a00f4cfca.yml
|
184
185
|
- test/fixtures/PaymentType/99cb9326dac40ba3263f9564d0c38fef.yml
|
186
|
+
- test/fixtures/PaymentType/b70da5323cdefa2ea4c87a36342a8175.yml
|
187
|
+
- test/fixtures/PaymentType/ca6d3176528eebdf9d27ebcf54627434.yml
|
185
188
|
- test/fixtures/PaymentType/fa5bcdd454d042a1169fb4fb6c5bc4a0.yml
|
186
189
|
- test/fixtures/PaymentType/fbfab75b95d5c3df19152e70fbd9689c.yml
|
187
190
|
- test/fixtures/TicketCategory/10f73790dceb968d141b099cd8890fc7.yml
|
@@ -217,7 +220,6 @@ files:
|
|
217
220
|
- test/support/factory.rb
|
218
221
|
- test/support/hydra_cache.rb
|
219
222
|
- test/test_helper.rb
|
220
|
-
has_rdoc: true
|
221
223
|
homepage: ""
|
222
224
|
licenses: []
|
223
225
|
|
@@ -247,7 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
247
249
|
requirements: []
|
248
250
|
|
249
251
|
rubyforge_project: amiando
|
250
|
-
rubygems_version: 1.
|
252
|
+
rubygems_version: 1.8.10
|
251
253
|
signing_key:
|
252
254
|
specification_version: 3
|
253
255
|
summary: A ruby client for the amiando REST API
|
@@ -310,8 +312,12 @@ test_files:
|
|
310
312
|
- test/fixtures/Partner/f066cd0f963e3c873e7eae28d2f654a4.yml
|
311
313
|
- test/fixtures/PaymentType/0096aebaa9c29a7bcb381d20697704c3.yml
|
312
314
|
- test/fixtures/PaymentType/3f67b8ff5994e0239fa2ed6e7dbfcec1.yml
|
315
|
+
- test/fixtures/PaymentType/6e26a45c11cab69dec3ec9a9937e80c0.yml
|
313
316
|
- test/fixtures/PaymentType/7c37125c353d970dbbbaaef54eaf3d90.yml
|
317
|
+
- test/fixtures/PaymentType/8a8b4fc4194121ffc5b1a39a00f4cfca.yml
|
314
318
|
- test/fixtures/PaymentType/99cb9326dac40ba3263f9564d0c38fef.yml
|
319
|
+
- test/fixtures/PaymentType/b70da5323cdefa2ea4c87a36342a8175.yml
|
320
|
+
- test/fixtures/PaymentType/ca6d3176528eebdf9d27ebcf54627434.yml
|
315
321
|
- test/fixtures/PaymentType/fa5bcdd454d042a1169fb4fb6c5bc4a0.yml
|
316
322
|
- test/fixtures/PaymentType/fbfab75b95d5c3df19152e70fbd9689c.yml
|
317
323
|
- test/fixtures/TicketCategory/10f73790dceb968d141b099cd8890fc7.yml
|