adyen-admin 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -0
- data/.travis.yml +3 -0
- data/CHANGES.md +16 -0
- data/Gemfile +4 -0
- data/LICENSE +26 -0
- data/README.md +57 -0
- data/Rakefile +24 -0
- data/VERSION +1 -0
- data/adyen-admin.gemspec +25 -0
- data/lib/adyen-admin/client.rb +26 -0
- data/lib/adyen-admin/skin.rb +180 -0
- data/lib/adyen-admin.rb +16 -0
- data/spec/adyen-admin/client_spec.rb +21 -0
- data/spec/adyen-admin/skin_spec.rb +177 -0
- data/spec/fixtures/cassettes/Adyen_Admin_Client/_login/passes_with_correct_username_password.yml +661 -0
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/_all/returns_the_skins.yml +269 -0
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/_download/gets_the_file.yml +275 -0
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/_test_url/returns_url_to_test.yml +941 -0
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/_upload/valid_set/increases_version.yml +7769 -0
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/_version/returns_live_value.yml +77 -0
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/_version/returns_test_value.yml +77 -0
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/_version/returns_uploaded_value.yml +666 -0
- data/spec/fixtures/cassettes/login.yml +668 -0
- data/spec/fixtures/skins/DV3tf95f/css/screen.css +262 -0
- data/spec/fixtures/skins/DV3tf95f/inc/order_data.txt +1 -0
- data/spec/fixtures/skins/JH0815/css/screen.css +262 -0
- data/spec/fixtures/skins/JH0815/skin.html.erb +13 -0
- data/spec/fixtures/skins/base/css/print.css +7 -0
- data/spec/fixtures/skins/base/css/screen_ie6.css +1 -0
- data/spec/fixtures/skins/base/img/Airliner.airjamaica.a340.arp.750pix.jpg +0 -0
- data/spec/fixtures/skins/base/img/Eurofighter.jpg +0 -0
- data/spec/fixtures/skins/base/img/bg_gr.jpg +0 -0
- data/spec/fixtures/skins/base/img/blog_gr.jpg +0 -0
- data/spec/fixtures/skins/base/img/category.gif +0 -0
- data/spec/fixtures/skins/base/img/mig.jpg +0 -0
- data/spec/fixtures/skins/base/img/top1.jpg +0 -0
- data/spec/fixtures/skins/base/img/top2.jpg +0 -0
- data/spec/fixtures/skins/base/img/top3.jpg +0 -0
- data/spec/fixtures/skins/base/inc/cfooter.txt +15 -0
- data/spec/fixtures/skins/base/inc/cheader.txt +11 -0
- data/spec/fixtures/skins/base/inc/pmfooter.txt +1 -0
- data/spec/fixtures/skins/base/inc/pmheader.txt +4 -0
- data/spec/fixtures/skins/base/res/resources.properties +0 -0
- data/spec/fixtures/skins/example-7hFAQnmt/css/print.css +17 -0
- data/spec/fixtures/skins/example-7hFAQnmt/css/screen.css +704 -0
- data/spec/fixtures/skins/example-7hFAQnmt/css/screen_ie6.css +7 -0
- data/spec/fixtures/skins/example-7hFAQnmt/img/banner_top.png +0 -0
- data/spec/fixtures/skins/example-7hFAQnmt/img/bg.gif +0 -0
- data/spec/fixtures/skins/example-7hFAQnmt/img/bg_buttons.png +0 -0
- data/spec/fixtures/skins/example-7hFAQnmt/img/button_template.xcf +0 -0
- data/spec/fixtures/skins/example-7hFAQnmt/img/gradient.png +0 -0
- data/spec/fixtures/skins/example-7hFAQnmt/img/logo.png +0 -0
- data/spec/fixtures/skins/example-7hFAQnmt/img/logo.xcf +0 -0
- data/spec/fixtures/skins/example-7hFAQnmt/inc/cfooter.txt +1 -0
- data/spec/fixtures/skins/example-7hFAQnmt/inc/cheader.txt +2 -0
- data/spec/fixtures/skins/example-7hFAQnmt/inc/pmfooter.txt +1 -0
- data/spec/fixtures/skins/example-7hFAQnmt/inc/pmheader.txt +2 -0
- data/spec/fixtures/skins/example-7hFAQnmt/metadata.yml +5 -0
- data/spec/spec_helper.rb +21 -0
- metadata +228 -0
@@ -0,0 +1,77 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://live.adyen.com/hpp/version.shtml?skinCode=Kx9axnRf
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*"
|
12
|
+
User-Agent:
|
13
|
+
- Mechanize/2.3 Ruby/1.9.2p290 (http://github.com/tenderlove/mechanize/)
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip,deflate,identity
|
16
|
+
Accept-Charset:
|
17
|
+
- ISO-8859-1,utf-8;q=0.7,*;q=0.7
|
18
|
+
Accept-Language:
|
19
|
+
- en-us,en;q=0.5
|
20
|
+
Host:
|
21
|
+
- live.adyen.com
|
22
|
+
Connection:
|
23
|
+
- keep-alive
|
24
|
+
Keep-Alive:
|
25
|
+
- 300
|
26
|
+
response:
|
27
|
+
status:
|
28
|
+
code: 200
|
29
|
+
message: OK
|
30
|
+
headers:
|
31
|
+
Date:
|
32
|
+
- Tue, 10 Apr 2012 17:04:20 GMT
|
33
|
+
Server:
|
34
|
+
- Apache
|
35
|
+
Set-Cookie:
|
36
|
+
- JSESSIONID=14ADA2D0153C18695283DD9EF94A3688.live6e; Path=/hpp/; Secure; HttpOnly
|
37
|
+
P3p:
|
38
|
+
- policyref="/w3c/policy.xml", CP="NOI DSP COR CURa ADMa DEVa OUR NOR BUS FIN STA"
|
39
|
+
Cache-Control:
|
40
|
+
- no-cache, no-store, must-revalidate, max-age=0, post-check=0, pre-check=0
|
41
|
+
Pragma:
|
42
|
+
- no-cache
|
43
|
+
Expires:
|
44
|
+
- "-1"
|
45
|
+
Keep-Alive:
|
46
|
+
- timeout=10, max=250
|
47
|
+
Connection:
|
48
|
+
- Keep-Alive
|
49
|
+
Transfer-Encoding:
|
50
|
+
- chunked
|
51
|
+
Content-Type:
|
52
|
+
- text/html;charset=UTF-8
|
53
|
+
body:
|
54
|
+
encoding: US-ASCII
|
55
|
+
string: |-
|
56
|
+
<html>
|
57
|
+
<head>
|
58
|
+
<title>Version</title>
|
59
|
+
<style type="text/css">
|
60
|
+
body {
|
61
|
+
font-family: sans-serif;
|
62
|
+
font-size: 0.85em;
|
63
|
+
font-weight: bold;
|
64
|
+
}
|
65
|
+
</style>
|
66
|
+
</head>
|
67
|
+
<body>
|
68
|
+
<p>
|
69
|
+
Version:0
|
70
|
+
<br />
|
71
|
+
Modification Date:unknown
|
72
|
+
</p>
|
73
|
+
</body>
|
74
|
+
</html>
|
75
|
+
http_version:
|
76
|
+
recorded_at: Tue, 10 Apr 2012 17:04:20 GMT
|
77
|
+
recorded_with: VCR 2.0.1
|
@@ -0,0 +1,77 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://test.adyen.com/hpp/version.shtml?skinCode=Kx9axnRf
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*"
|
12
|
+
User-Agent:
|
13
|
+
- Mechanize/2.3 Ruby/1.9.2p290 (http://github.com/tenderlove/mechanize/)
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip,deflate,identity
|
16
|
+
Accept-Charset:
|
17
|
+
- ISO-8859-1,utf-8;q=0.7,*;q=0.7
|
18
|
+
Accept-Language:
|
19
|
+
- en-us,en;q=0.5
|
20
|
+
Host:
|
21
|
+
- test.adyen.com
|
22
|
+
Connection:
|
23
|
+
- keep-alive
|
24
|
+
Keep-Alive:
|
25
|
+
- 300
|
26
|
+
response:
|
27
|
+
status:
|
28
|
+
code: 200
|
29
|
+
message: OK
|
30
|
+
headers:
|
31
|
+
Date:
|
32
|
+
- Tue, 10 Apr 2012 17:04:20 GMT
|
33
|
+
Server:
|
34
|
+
- Apache
|
35
|
+
Set-Cookie:
|
36
|
+
- JSESSIONID=DDDAA0BDFEDBA22D64E1251CC52E70E7.test4e; Path=/hpp/; Secure; HttpOnly
|
37
|
+
P3p:
|
38
|
+
- policyref="/w3c/policy.xml", CP="NOI DSP COR CURa ADMa DEVa OUR NOR BUS FIN STA"
|
39
|
+
Cache-Control:
|
40
|
+
- no-cache, no-store, must-revalidate, max-age=0, post-check=0, pre-check=0
|
41
|
+
Pragma:
|
42
|
+
- no-cache
|
43
|
+
Expires:
|
44
|
+
- "-1"
|
45
|
+
Keep-Alive:
|
46
|
+
- timeout=15, max=100
|
47
|
+
Connection:
|
48
|
+
- Keep-Alive
|
49
|
+
Transfer-Encoding:
|
50
|
+
- chunked
|
51
|
+
Content-Type:
|
52
|
+
- text/html;charset=UTF-8
|
53
|
+
body:
|
54
|
+
encoding: US-ASCII
|
55
|
+
string: |-
|
56
|
+
<html>
|
57
|
+
<head>
|
58
|
+
<title>Version</title>
|
59
|
+
<style type="text/css">
|
60
|
+
body {
|
61
|
+
font-family: sans-serif;
|
62
|
+
font-size: 0.85em;
|
63
|
+
font-weight: bold;
|
64
|
+
}
|
65
|
+
</style>
|
66
|
+
</head>
|
67
|
+
<body>
|
68
|
+
<p>
|
69
|
+
Version:2
|
70
|
+
<br />
|
71
|
+
Modification Date:2012-04-05T15:36:56.43Z
|
72
|
+
</p>
|
73
|
+
</body>
|
74
|
+
</html>
|
75
|
+
http_version:
|
76
|
+
recorded_at: Tue, 10 Apr 2012 17:04:20 GMT
|
77
|
+
recorded_with: VCR 2.0.1
|