adyen-admin 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.md +3 -0
- data/VERSION +1 -1
- data/lib/adyen-admin/skin.rb +1 -1
- data/spec/adyen-admin/skin_spec.rb +6 -0
- data/spec/fixtures/cassettes/Adyen_Admin_Client/_get/raises_authenticated_error_when_not_logged_in.yml +9 -9
- data/spec/fixtures/cassettes/Adyen_Admin_Client/_login/passes_with_correct_username_password.yml +35 -35
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all/freezes_local_skins.yml +3 -3
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all/returns_the_skins.yml +3 -3
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all_remote/returns_the_skins.yml +3 -3
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all_remote/sets_local_path.yml +244 -244
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_download/gets_the_file.yml +5520 -229
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_download/is_a_zipfile.yml +5566 -0
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_find/returns_no_skin.yml +3 -3
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_find/returns_the_skin.yml +3 -3
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_test_url/returns_url_to_test.yml +17 -17
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_upload/valid_set/increases_version.yml +95 -95
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_version/returns_live_value.yml +3 -3
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_version/returns_test_value.yml +3 -3
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_version/returns_uploaded_value.yml +4 -4
- data/spec/fixtures/cassettes/login.yml +35 -35
- metadata +17 -15
@@ -1,292 +1,292 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: get
|
5
5
|
uri: https://ca-test.adyen.com/ca/ca/skin/skins.shtml
|
6
|
-
body:
|
6
|
+
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ""
|
9
|
-
headers:
|
10
|
-
Accept:
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
11
|
- "*/*"
|
12
|
-
User-Agent:
|
12
|
+
User-Agent:
|
13
13
|
- Mechanize/2.3 Ruby/1.9.2p290 (http://github.com/tenderlove/mechanize/)
|
14
|
-
Accept-Encoding:
|
14
|
+
Accept-Encoding:
|
15
15
|
- gzip,deflate,identity
|
16
|
-
Accept-Charset:
|
16
|
+
Accept-Charset:
|
17
17
|
- ISO-8859-1,utf-8;q=0.7,*;q=0.7
|
18
|
-
Accept-Language:
|
18
|
+
Accept-Language:
|
19
19
|
- en-us,en;q=0.5
|
20
|
-
Cookie:
|
21
|
-
- JSESSIONID=
|
22
|
-
Host:
|
20
|
+
Cookie:
|
21
|
+
- JSESSIONID=8C3D2F4728B757CCE97F3C32698E9008.test5e
|
22
|
+
Host:
|
23
23
|
- ca-test.adyen.com
|
24
|
-
Connection:
|
24
|
+
Connection:
|
25
25
|
- keep-alive
|
26
|
-
Keep-Alive:
|
26
|
+
Keep-Alive:
|
27
27
|
- 300
|
28
|
-
response:
|
29
|
-
status:
|
28
|
+
response:
|
29
|
+
status:
|
30
30
|
code: 200
|
31
31
|
message: OK
|
32
|
-
headers:
|
33
|
-
Date:
|
34
|
-
-
|
35
|
-
Server:
|
32
|
+
headers:
|
33
|
+
Date:
|
34
|
+
- Thu, 12 Apr 2012 15:12:35 GMT
|
35
|
+
Server:
|
36
36
|
- Apache
|
37
|
-
Cache-Control:
|
37
|
+
Cache-Control:
|
38
38
|
- no-cache, no-store, must-revalidate, max-age=0, post-check=0, pre-check=0
|
39
|
-
Pragma:
|
39
|
+
Pragma:
|
40
40
|
- no-cache
|
41
|
-
Expires:
|
41
|
+
Expires:
|
42
42
|
- "-1"
|
43
|
-
X-Frame-Options:
|
43
|
+
X-Frame-Options:
|
44
44
|
- SAMEORIGIN
|
45
|
-
Content-Language:
|
45
|
+
Content-Language:
|
46
46
|
- en-GB
|
47
|
-
Keep-Alive:
|
47
|
+
Keep-Alive:
|
48
48
|
- timeout=15, max=100
|
49
|
-
Connection:
|
49
|
+
Connection:
|
50
50
|
- Keep-Alive
|
51
|
-
Transfer-Encoding:
|
51
|
+
Transfer-Encoding:
|
52
52
|
- chunked
|
53
|
-
Content-Type:
|
53
|
+
Content-Type:
|
54
54
|
- text/html;charset=UTF-8
|
55
|
-
body:
|
55
|
+
body:
|
56
56
|
encoding: US-ASCII
|
57
57
|
string: |
|
58
58
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
59
|
-
|
59
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
60
60
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
61
61
|
<head>
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
62
|
+
|
63
|
+
<title>Adyen PSP System</title>
|
64
|
+
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
65
|
+
<meta http-equiv="content-style-type" content="text/css" />
|
66
|
+
<meta http-equiv="imagetoolbar" content="no" />
|
67
|
+
<meta content="TRUE" name="MSSmartTagsPreventParsing" />
|
68
|
+
|
69
|
+
<link rel="shortcut icon" href="/ca/img/adyen/favicon.ico" type="image/ico"/>
|
70
|
+
|
71
|
+
<script type="text/javascript" src="/ca/js/functions.js"></script>
|
72
|
+
<script src="/ca/js/prototype.js" type="text/javascript"></script>
|
73
|
+
<script src="/ca/js/scriptaculous.js" type="text/javascript"></script>
|
74
|
+
|
75
|
+
<link rel="stylesheet" type="text/css" href="/ca/css/adyen/style.css" />
|
76
|
+
<!--[if lt IE 7]>
|
77
|
+
<link rel="stylesheet" type="text/css" href="/ca/css/adyen/style_ie6.css" />
|
78
|
+
<![endif]-->
|
79
|
+
|
80
|
+
<link rel="alternate" title="Payments Per Hour RSS" href="https://ca-test.adyen.com/reports/token/rss/lasttx/Company/SoundCloud/?user=skinadmin%40Company.SoundCloud&amp%3Bkey=1334075779504&amp%3Btoken=KV7veoeR9GsL%2FH%2BZrgI1Yhiio5I%3D" type="application/rss+xml" />
|
81
|
+
<link rel="alternate" title="Authorised Volume RSS" href="https://ca-test.adyen.com/reports/token/rss/authorisedtxrss/Company/SoundCloud/?user=skinadmin%40Company.SoundCloud&amp%3Bkey=1334075779504&amp%3Btoken=KV7veoeR9GsL%2FH%2BZrgI1Yhiio5I%3D" type="application/rss+xml" />
|
82
82
|
<link rel="alternate" title="System Messages RSS" href="https://ca-test.adyen.com/reports/token/rss/systemmessagesrss/Company/SoundCloud/?user=skinadmin%40Company.SoundCloud&amp%3Bkey=1334075779504&amp%3Btoken=KV7veoeR9GsL%2FH%2BZrgI1Yhiio5I%3D" type="application/rss+xml" />
|
83
|
-
|
83
|
+
|
84
84
|
</head>
|
85
85
|
<body>
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
86
|
+
|
87
|
+
<div id="topbar"><div class="iefillerdiv"></div></div>
|
88
|
+
<div id="middlebarcontainer">
|
89
|
+
<div id="middlebar">
|
90
|
+
<a href="/ca/ca/overview/default.shtml"><img id="mainlogo" src="/ca/img/adyen.png" alt="Logo"/>
|
91
|
+
<img id="testsystemwarning" src="/ca/img/adyen_test.png" alt="test"/></a>
|
92
|
+
<img id="maintagline" src="/ca/img/adyen_tagline.png" alt="Complex Finance, Online Insight" />
|
93
|
+
</div>
|
94
|
+
</div>
|
95
|
+
<div id="bottombar"><div id="bottombar2"></div></div>
|
96
|
+
|
97
|
+
<div id="maincontent">
|
98
|
+
<div id="boxleft">
|
99
|
+
<div id="infobox">
|
100
|
+
<ul class="nav">
|
101
|
+
</ul>
|
102
|
+
<div id="infoboxcontent">
|
103
|
+
<div id="merchantlogo">
|
104
|
+
<a href="/ca/ca/accounts/manage.shtml"><img src="/ca/ca/image.shtml?cachingId=Company.SoundCloud&name=accountLogo&mimeType=image%2Fpng" alt="merchantlogo"/></a>
|
105
|
+
</div>
|
106
|
+
<div>
|
107
|
+
<div style="padding-left: 0px;">
|
108
|
+
<a class="accountnav" href="/ca/ca/accounts/choose.shtml?setActiveAccountKey=Company.SoundCloud"
|
109
|
+
style="text-decoration: underline; color: #666;" >SoundCloud</a>
|
110
|
+
</div>
|
111
|
+
</div>
|
112
|
+
|
113
|
+
<div style="text-align: left; margin-top: 5px">
|
114
|
+
<!--a class="icon" href="/ca/ca/overview/default.shtml" title="Home"><img src="/ca/img/home.gif" alt="Home"/></a-->
|
115
|
+
<a class="icon" href="/ca/logoff.shtml" title="Sign Off"><img src="/ca/img/exit.png" alt="Sign Off"/> sign off</a>
|
116
|
+
<br/><a class="icon" href="/ca/ca/accounts/choose.shtml?chooseUserAccount=true"><img src="/ca/img/bookmark.png" alt="bookmarks"/> bookmarks</a>
|
117
|
+
</div>
|
118
|
+
</div>
|
119
|
+
</div>
|
120
|
+
|
121
|
+
|
122
|
+
<div class="bbarlmenu">
|
123
|
+
<div class="bbarrmenu">
|
124
|
+
<div class="bbarmenu">
|
125
|
+
</div>
|
126
|
+
</div>
|
127
|
+
</div>
|
128
|
+
|
129
|
+
<div id="menu">
|
130
|
+
<ul class="nav">
|
131
|
+
<li class="navfirstli"> </li>
|
132
|
+
<li ><a href="/ca/ca/overview/default.shtml">Home</a></li>
|
133
|
+
<li ><a href="/ca/ca/payments/showList.shtml">Payments</a></li>
|
134
|
+
<li ><a href="/ca/ca/accounts/choose.shtml">Accounts</a></li>
|
135
|
+
<li ><a href="/ca/ca/reports/choose.shtml">Reports</a></li>
|
136
|
+
<li class="activelink" ><a href="/ca/ca/skin/skins.shtml">Skins</a></li>
|
137
|
+
<li ><a href="/ca/ca/config/choose.shtml">Settings</a></li>
|
138
|
+
<li ><a href="/ca/ca/support/start.shtml">Support</a></li>
|
139
|
+
</ul>
|
140
|
+
</div>
|
141
|
+
<div class="bbarlmenu">
|
142
|
+
<div class="bbarrmenu">
|
143
|
+
<div class="bbarmenu">
|
144
|
+
</div>
|
145
|
+
</div>
|
146
|
+
</div>
|
147
|
+
</div>
|
148
|
+
|
149
|
+
<div id="contentbg">
|
150
|
+
<div id="content">
|
151
|
+
<div id="contentwrapper">
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
156
|
<div id="toolbar">
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
</div>
|
157
|
+
<ul id="tbtabs">
|
158
|
+
<li id="tbbut1" class="activelink" ><a href="/ca/ca/skin/skins.shtml">List</a></li>
|
159
|
+
<li id="tbbut2" ><a href="/ca/ca/skin/editskin.shtml?newSkin=true">New</a></li>
|
160
|
+
<li id="tbbut3" class="disabledlink" >
|
161
|
+
<a href="#">
|
162
|
+
Edit</a>
|
163
|
+
</li>
|
164
|
+
<li id="tbbut4" class="disabledlink" >
|
165
|
+
<a href="#">
|
166
|
+
Upload</a>
|
167
|
+
</li>
|
168
|
+
<li id="tbbut5" class="disabledlink" >
|
169
|
+
<a href="#">
|
170
|
+
Publish</a>
|
171
|
+
</li>
|
172
|
+
<li id="tbbut6" ><a href="/ca/ca/skin/testhmac.shtml">Test HMAC</a></li>
|
173
|
+
<li id="tbbut7" class="disabledlink" >
|
174
|
+
<a href="#">
|
175
|
+
Test</a>
|
176
|
+
</li>
|
177
|
+
</ul>
|
178
|
+
</div>
|
179
179
|
<div id="subcontent">
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
/>
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
<h1 class="pagetitle">Skins for the Payment Pages</h1>
|
187
|
+
|
188
|
+
<table class="data">
|
189
|
+
<thead>
|
190
|
+
<tr>
|
191
|
+
<th>
|
192
|
+
Skin Code
|
193
|
+
<a href="/ca/ca/skin/modifyFilter.shtml?orderDirection=desc"><img style="vertical-align: middle" src="/ca/img/icons/bullet_arrow_down.png" alt="down"/></a>
|
194
|
+
</th>
|
195
|
+
<th>
|
196
|
+
<a href="/ca/ca/skin/modifyFilter.shtml?orderDirection=asc&orderBy=description">Description</a>
|
197
|
+
</th>
|
198
|
+
<th>Upload</th><th>Download</th><th>Remove</th> </tr>
|
199
|
+
</thead>
|
200
|
+
<tbody>
|
201
|
+
<tr class="std">
|
202
|
+
<td>
|
203
|
+
<a href="/ca/ca/skin/editskin.shtml?skinCode=7hFAQnmt"><img
|
204
|
+
style="vertical-align: middle" title="skins.edit" src="/ca/img/icons/layout_content.png" alt="skins.edit"
|
205
|
+
/> 7hFAQnmt</a>
|
206
|
+
</td>
|
207
|
+
<td>example</td>
|
208
|
+
<td align="center">
|
209
|
+
<a href="/ca/ca/skin/uploadskin.shtml?skinCode=7hFAQnmt"><img
|
210
|
+
style="vertical-align: middle" title="skins.upload" src="/ca/img/icons/disk.png" alt="skins.upload"
|
211
211
|
/></a>
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
212
|
+
</td>
|
213
|
+
<td align="center">
|
214
|
+
<a href="/ca/ca/skin/downloadskin.shtml?skinCode=7hFAQnmt"><img
|
215
|
+
style="vertical-align: middle" title="skins.download" src="/ca/img/icons/disk.png" alt="skins.download"
|
216
216
|
/></a>
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
217
|
+
</td>
|
218
|
+
<td align="center">
|
219
|
+
<a href="/ca/ca/skin/removeskin.shtml?skinCode=7hFAQnmt"><img
|
220
|
+
style="vertical-align: middle" title="skins.remove" src="/ca/img/icons/cross.png" alt="skins.remove"
|
221
221
|
/></a>
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
/>
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
222
|
+
</td>
|
223
|
+
</tr>
|
224
|
+
<tr class="alt">
|
225
|
+
<td>
|
226
|
+
<a href="/ca/ca/skin/editskin.shtml?skinCode=Kx9axnRf"><img
|
227
|
+
style="vertical-align: middle" title="skins.edit" src="/ca/img/icons/layout_content.png" alt="skins.edit"
|
228
|
+
/> Kx9axnRf</a>
|
229
|
+
</td>
|
230
|
+
<td>soundcloud</td>
|
231
|
+
<td align="center">
|
232
|
+
<a href="/ca/ca/skin/uploadskin.shtml?skinCode=Kx9axnRf"><img
|
233
|
+
style="vertical-align: middle" title="skins.upload" src="/ca/img/icons/disk.png" alt="skins.upload"
|
234
234
|
/></a>
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
235
|
+
</td>
|
236
|
+
<td align="center">
|
237
|
+
<a href="/ca/ca/skin/downloadskin.shtml?skinCode=Kx9axnRf"><img
|
238
|
+
style="vertical-align: middle" title="skins.download" src="/ca/img/icons/disk.png" alt="skins.download"
|
239
239
|
/></a>
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
240
|
+
</td>
|
241
|
+
<td align="center">
|
242
|
+
<a href="/ca/ca/skin/removeskin.shtml?skinCode=Kx9axnRf"><img
|
243
|
+
style="vertical-align: middle" title="skins.remove" src="/ca/img/icons/cross.png" alt="skins.remove"
|
244
244
|
/></a>
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
/>
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
245
|
+
</td>
|
246
|
+
</tr>
|
247
|
+
<tr class="std">
|
248
|
+
<td>
|
249
|
+
<a href="/ca/ca/skin/editskin.shtml?skinCode=vQW0fEo8"><img
|
250
|
+
style="vertical-align: middle" title="skins.edit" src="/ca/img/icons/layout_content.png" alt="skins.edit"
|
251
|
+
/> vQW0fEo8</a>
|
252
|
+
</td>
|
253
|
+
<td>test</td>
|
254
|
+
<td align="center">
|
255
|
+
<a href="/ca/ca/skin/uploadskin.shtml?skinCode=vQW0fEo8"><img
|
256
|
+
style="vertical-align: middle" title="skins.upload" src="/ca/img/icons/disk.png" alt="skins.upload"
|
257
257
|
/></a>
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
258
|
+
</td>
|
259
|
+
<td align="center">
|
260
|
+
<a href="/ca/ca/skin/downloadskin.shtml?skinCode=vQW0fEo8"><img
|
261
|
+
style="vertical-align: middle" title="skins.download" src="/ca/img/icons/disk.png" alt="skins.download"
|
262
262
|
/></a>
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
263
|
+
</td>
|
264
|
+
<td align="center">
|
265
|
+
<a href="/ca/ca/skin/removeskin.shtml?skinCode=vQW0fEo8"><img
|
266
|
+
style="vertical-align: middle" title="skins.remove" src="/ca/img/icons/cross.png" alt="skins.remove"
|
267
267
|
/></a>
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
268
|
+
</td>
|
269
|
+
</tr>
|
270
|
+
</tbody>
|
271
|
+
</table>
|
272
272
|
</div>
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
273
|
+
|
274
|
+
|
275
|
+
<div class="bbarl">
|
276
|
+
<div class="bbarr">
|
277
|
+
<div class="bbar">
|
278
|
+
</div>
|
279
|
+
</div>
|
280
|
+
</div>
|
281
|
+
</div>
|
282
|
+
|
283
|
+
|
284
|
+
</div>
|
285
|
+
</div>
|
286
|
+
</div>
|
287
287
|
</body>
|
288
288
|
</html>
|
289
289
|
|
290
|
-
http_version:
|
291
|
-
recorded_at:
|
290
|
+
http_version:
|
291
|
+
recorded_at: Thu, 12 Apr 2012 15:12:34 GMT
|
292
292
|
recorded_with: VCR 2.0.1
|