adyen-admin 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGES.md +10 -4
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/adyen-admin.rb +3 -0
- data/lib/adyen-admin/client.rb +11 -0
- data/lib/adyen-admin/skin.rb +57 -32
- data/spec/adyen-admin/client_spec.rb +12 -0
- data/spec/adyen-admin/skin_spec.rb +137 -112
- data/spec/fixtures/cassettes/Adyen_Admin_Client/_get/raises_authenticated_error_when_not_logged_in.yml +271 -0
- 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 +292 -0
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/{_all → authenticated/_all}/returns_the_skins.yml +27 -4
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all_remote/returns_the_skins.yml +292 -0
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/{_download → authenticated/_download}/gets_the_file.yml +7 -7
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_find/returns_no_skin.yml +292 -0
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_find/returns_the_skin.yml +292 -0
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/{_test_url → authenticated/_test_url}/returns_url_to_test.yml +17 -17
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/{_upload → authenticated/_upload}/valid_set/increases_version.yml +119 -96
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/{_version → authenticated/_version}/returns_live_value.yml +4 -4
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/{_version → authenticated/_version}/returns_test_value.yml +5 -5
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/{_version → authenticated/_version}/returns_uploaded_value.yml +8 -8
- data/spec/fixtures/cassettes/login.yml +38 -45
- data/spec/spec_helper.rb +1 -0
- metadata +40 -30
@@ -29,11 +29,11 @@ http_interactions:
|
|
29
29
|
message: OK
|
30
30
|
headers:
|
31
31
|
Date:
|
32
|
-
-
|
32
|
+
- Wed, 11 Apr 2012 17:34:21 GMT
|
33
33
|
Server:
|
34
34
|
- Apache
|
35
35
|
Set-Cookie:
|
36
|
-
- JSESSIONID=
|
36
|
+
- JSESSIONID=AE08C4C8F265C65BA53E0BFCB667AB2C.live3e; Path=/hpp/; Secure; HttpOnly
|
37
37
|
P3p:
|
38
38
|
- policyref="/w3c/policy.xml", CP="NOI DSP COR CURa ADMa DEVa OUR NOR BUS FIN STA"
|
39
39
|
Cache-Control:
|
@@ -43,7 +43,7 @@ http_interactions:
|
|
43
43
|
Expires:
|
44
44
|
- "-1"
|
45
45
|
Keep-Alive:
|
46
|
-
- timeout=
|
46
|
+
- timeout=15, max=100
|
47
47
|
Connection:
|
48
48
|
- Keep-Alive
|
49
49
|
Transfer-Encoding:
|
@@ -73,5 +73,5 @@ http_interactions:
|
|
73
73
|
</body>
|
74
74
|
</html>
|
75
75
|
http_version:
|
76
|
-
recorded_at:
|
76
|
+
recorded_at: Wed, 11 Apr 2012 17:34:21 GMT
|
77
77
|
recorded_with: VCR 2.0.1
|
@@ -29,11 +29,11 @@ http_interactions:
|
|
29
29
|
message: OK
|
30
30
|
headers:
|
31
31
|
Date:
|
32
|
-
-
|
32
|
+
- Wed, 11 Apr 2012 17:34:21 GMT
|
33
33
|
Server:
|
34
34
|
- Apache
|
35
35
|
Set-Cookie:
|
36
|
-
- JSESSIONID=
|
36
|
+
- JSESSIONID=83CFD5D05734C5E24E1A2979EF15102A.test4e; Path=/hpp/; Secure; HttpOnly
|
37
37
|
P3p:
|
38
38
|
- policyref="/w3c/policy.xml", CP="NOI DSP COR CURa ADMa DEVa OUR NOR BUS FIN STA"
|
39
39
|
Cache-Control:
|
@@ -66,12 +66,12 @@ http_interactions:
|
|
66
66
|
</head>
|
67
67
|
<body>
|
68
68
|
<p>
|
69
|
-
Version:
|
69
|
+
Version:14
|
70
70
|
<br />
|
71
|
-
Modification Date:2012-04-
|
71
|
+
Modification Date:2012-04-10T22:51:05.99Z
|
72
72
|
</p>
|
73
73
|
</body>
|
74
74
|
</html>
|
75
75
|
http_version:
|
76
|
-
recorded_at:
|
76
|
+
recorded_at: Wed, 11 Apr 2012 17:34:21 GMT
|
77
77
|
recorded_with: VCR 2.0.1
|
@@ -18,7 +18,7 @@ http_interactions:
|
|
18
18
|
Accept-Language:
|
19
19
|
- en-us,en;q=0.5
|
20
20
|
Cookie:
|
21
|
-
- JSESSIONID=
|
21
|
+
- JSESSIONID=90A4E71B7C6A54FEF7409AB3B2BFB7D4.test5e
|
22
22
|
Host:
|
23
23
|
- ca-test.adyen.com
|
24
24
|
Connection:
|
@@ -31,7 +31,7 @@ http_interactions:
|
|
31
31
|
message: OK
|
32
32
|
headers:
|
33
33
|
Date:
|
34
|
-
-
|
34
|
+
- Wed, 11 Apr 2012 17:34:20 GMT
|
35
35
|
Server:
|
36
36
|
- Apache
|
37
37
|
Cache-Control:
|
@@ -189,11 +189,11 @@ http_interactions:
|
|
189
189
|
</tr>
|
190
190
|
<tr>
|
191
191
|
<th class="row">Description</th>
|
192
|
-
<td>
|
192
|
+
<td>soundcloud</td>
|
193
193
|
</tr>
|
194
194
|
<tr>
|
195
195
|
<th class="row">Latest Version</th>
|
196
|
-
<td>
|
196
|
+
<td>14</td>
|
197
197
|
</tr>
|
198
198
|
<tr>
|
199
199
|
<td colspan="2">
|
@@ -219,7 +219,7 @@ http_interactions:
|
|
219
219
|
If the version on Test is not the same as the Latest version, it will be published automatically. Note that there is a few minutes delay after modifying the skin before it is deployed on the Test Hosted Payment Pages. </div>
|
220
220
|
</th>
|
221
221
|
<td>
|
222
|
-
<iframe src="https://test.adyen.com/hpp/version.shtml?skinCode=Kx9axnRf&version=
|
222
|
+
<iframe src="https://test.adyen.com/hpp/version.shtml?skinCode=Kx9axnRf&version=14" height="50" width="450"></iframe>
|
223
223
|
</td>
|
224
224
|
</tr>
|
225
225
|
<tr>
|
@@ -237,7 +237,7 @@ http_interactions:
|
|
237
237
|
If the version on Live is not the same as the Latest version, you will have to Publish the Skin to Live via the Publish Tab. Note that there is a few minutes delay after publishing the skin before it is deployed on the Live Hosted Payment Pages. </div>
|
238
238
|
</th>
|
239
239
|
<td>
|
240
|
-
<iframe src="https://live.adyen.com/hpp/version.shtml?skinCode=Kx9axnRf&version=
|
240
|
+
<iframe src="https://live.adyen.com/hpp/version.shtml?skinCode=Kx9axnRf&version=14" height="50" width="450"></iframe>
|
241
241
|
</td>
|
242
242
|
</tr>
|
243
243
|
<tr>
|
@@ -597,7 +597,7 @@ http_interactions:
|
|
597
597
|
<tr>
|
598
598
|
<th class="row">Merchant Reference</th>
|
599
599
|
<td>
|
600
|
-
<input type="text" name="merchantReference" value="SKINTEST-
|
600
|
+
<input type="text" name="merchantReference" value="SKINTEST-1334165660711" size="20" />
|
601
601
|
</td>
|
602
602
|
</tr>
|
603
603
|
<tr>
|
@@ -662,5 +662,5 @@ http_interactions:
|
|
662
662
|
</html>
|
663
663
|
|
664
664
|
http_version:
|
665
|
-
recorded_at:
|
665
|
+
recorded_at: Wed, 11 Apr 2012 17:34:20 GMT
|
666
666
|
recorded_with: VCR 2.0.1
|
@@ -17,8 +17,6 @@ http_interactions:
|
|
17
17
|
- ISO-8859-1,utf-8;q=0.7,*;q=0.7
|
18
18
|
Accept-Language:
|
19
19
|
- en-us,en;q=0.5
|
20
|
-
Cookie:
|
21
|
-
- JSESSIONID=8B6F6027FB64519949B432989D3DBB65.test5e
|
22
20
|
Host:
|
23
21
|
- ca-test.adyen.com
|
24
22
|
Connection:
|
@@ -31,7 +29,7 @@ http_interactions:
|
|
31
29
|
message: OK
|
32
30
|
headers:
|
33
31
|
Date:
|
34
|
-
-
|
32
|
+
- Wed, 11 Apr 2012 17:34:15 GMT
|
35
33
|
Server:
|
36
34
|
- Apache
|
37
35
|
Cache-Control:
|
@@ -42,6 +40,8 @@ http_interactions:
|
|
42
40
|
- "-1"
|
43
41
|
X-Frame-Options:
|
44
42
|
- SAMEORIGIN
|
43
|
+
Set-Cookie:
|
44
|
+
- JSESSIONID=1D0B7A619081F69F796D939EBA17D64B.test5e; Path=/ca/; Secure; HttpOnly
|
45
45
|
Content-Language:
|
46
46
|
- en-GB
|
47
47
|
Keep-Alive:
|
@@ -66,30 +66,27 @@ http_interactions:
|
|
66
66
|
<meta http-equiv="imagetoolbar" content="no" />
|
67
67
|
<meta content="TRUE" name="MSSmartTagsPreventParsing" />
|
68
68
|
|
69
|
-
<link rel="shortcut icon" href="/ca/img/adyen/favicon.ico" type="image/ico"/>
|
69
|
+
<link rel="shortcut icon" href="/ca/img/adyen/favicon.ico;jsessionid=1D0B7A619081F69F796D939EBA17D64B.test5e" type="image/ico"/>
|
70
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>
|
71
|
+
<script type="text/javascript" src="/ca/js/functions.js;jsessionid=1D0B7A619081F69F796D939EBA17D64B.test5e"></script>
|
72
|
+
<script src="/ca/js/prototype.js;jsessionid=1D0B7A619081F69F796D939EBA17D64B.test5e" type="text/javascript"></script>
|
73
|
+
<script src="/ca/js/scriptaculous.js;jsessionid=1D0B7A619081F69F796D939EBA17D64B.test5e" type="text/javascript"></script>
|
74
74
|
|
75
|
-
<link rel="stylesheet" type="text/css" href="/ca/css/adyen/style.css" />
|
75
|
+
<link rel="stylesheet" type="text/css" href="/ca/css/adyen/style.css;jsessionid=1D0B7A619081F69F796D939EBA17D64B.test5e" />
|
76
76
|
<!--[if lt IE 7]>
|
77
|
-
<link rel="stylesheet" type="text/css" href="/ca/css/adyen/style_ie6.css" />
|
77
|
+
<link rel="stylesheet" type="text/css" href="/ca/css/adyen/style_ie6.css;jsessionid=1D0B7A619081F69F796D939EBA17D64B.test5e" />
|
78
78
|
<![endif]-->
|
79
79
|
|
80
|
-
|
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
|
-
<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
|
-
|
80
|
+
|
84
81
|
</head>
|
85
82
|
<body>
|
86
83
|
|
87
84
|
<div id="topbar"><div class="iefillerdiv"></div></div>
|
88
85
|
<div id="middlebarcontainer">
|
89
86
|
<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" />
|
87
|
+
<a href="/ca/ca/overview/default.shtml;jsessionid=1D0B7A619081F69F796D939EBA17D64B.test5e"><img id="mainlogo" src="/ca/img/adyen.png;jsessionid=1D0B7A619081F69F796D939EBA17D64B.test5e" alt="Logo"/>
|
88
|
+
<img id="testsystemwarning" src="/ca/img/adyen_test.png;jsessionid=1D0B7A619081F69F796D939EBA17D64B.test5e" alt="test"/></a>
|
89
|
+
<img id="maintagline" src="/ca/img/adyen_tagline.png;jsessionid=1D0B7A619081F69F796D939EBA17D64B.test5e" alt="Complex Finance, Online Insight" />
|
93
90
|
</div>
|
94
91
|
</div>
|
95
92
|
<div id="bottombar"><div id="bottombar2"></div></div>
|
@@ -101,16 +98,12 @@ http_interactions:
|
|
101
98
|
</ul>
|
102
99
|
<div id="infoboxcontent">
|
103
100
|
<div>
|
104
|
-
|
105
|
-
<a class="accountnav" href="/ca/ca/accounts/choose.shtml?setActiveAccountKey=Company.SoundCloud"
|
106
|
-
style="text-decoration: underline; color: #666;" >SoundCloud</a>
|
107
|
-
</div>
|
108
|
-
</div>
|
101
|
+
</div>
|
109
102
|
|
110
103
|
<div style="text-align: left; margin-top: 5px">
|
111
|
-
<!--a class="icon" href="/ca/ca/overview/default.shtml" title="Home"><img src="/ca/img/home.gif" alt="Home"/></a-->
|
112
|
-
<a class="icon" href="/ca/ca/overview/default.shtml"><img src="/ca/img/home.png" alt="Home"/> home</a><br/>
|
113
|
-
<a class="icon" href="/ca/logoff.shtml" title="Sign Off"><img src="/ca/img/exit.png" alt="Sign Off"/> sign off</a>
|
104
|
+
<!--a class="icon" href="/ca/ca/overview/default.shtml;jsessionid=1D0B7A619081F69F796D939EBA17D64B.test5e" title="Home"><img src="/ca/img/home.gif;jsessionid=1D0B7A619081F69F796D939EBA17D64B.test5e" alt="Home"/></a-->
|
105
|
+
<a class="icon" href="/ca/ca/overview/default.shtml;jsessionid=1D0B7A619081F69F796D939EBA17D64B.test5e"><img src="/ca/img/home.png;jsessionid=1D0B7A619081F69F796D939EBA17D64B.test5e" alt="Home"/> home</a><br/>
|
106
|
+
<a class="icon" href="/ca/logoff.shtml;jsessionid=1D0B7A619081F69F796D939EBA17D64B.test5e" title="Sign Off"><img src="/ca/img/exit.png;jsessionid=1D0B7A619081F69F796D939EBA17D64B.test5e" alt="Sign Off"/> sign off</a>
|
114
107
|
</div>
|
115
108
|
</div>
|
116
109
|
</div>
|
@@ -200,13 +193,13 @@ http_interactions:
|
|
200
193
|
|
201
194
|
<tr>
|
202
195
|
<td colspan="2"><br />
|
203
|
-
<input type="hidden" name="j_formHash" value="
|
196
|
+
<input type="hidden" name="j_formHash" value="479guXjYUVnxMGCdCgTGeMMLzWsdsU=" />
|
204
197
|
<input type="submit" class="button" value="Submit" /></td>
|
205
198
|
</tr>
|
206
199
|
</table>
|
207
200
|
</form>
|
208
201
|
<br/>
|
209
|
-
<a href="/ca/forgotPassword.shtml">Forgot your password?</a>
|
202
|
+
<a href="/ca/forgotPassword.shtml;jsessionid=1D0B7A619081F69F796D939EBA17D64B.test5e">Forgot your password?</a>
|
210
203
|
</div>
|
211
204
|
|
212
205
|
<div class="bbarl">
|
@@ -225,13 +218,13 @@ http_interactions:
|
|
225
218
|
</html>
|
226
219
|
|
227
220
|
http_version:
|
228
|
-
recorded_at:
|
221
|
+
recorded_at: Wed, 11 Apr 2012 17:34:15 GMT
|
229
222
|
- request:
|
230
223
|
method: post
|
231
224
|
uri: https://ca-test.adyen.com/ca/ca/config/j_security_check
|
232
225
|
body:
|
233
226
|
encoding: UTF-8
|
234
|
-
string: j_account=SoundCloud&j_username=skinadmin&j_password=12312311&j_formHash=
|
227
|
+
string: j_account=SoundCloud&j_username=skinadmin&j_password=12312311&j_formHash=479guXjYUVnxMGCdCgTGeMMLzWsdsU%3D
|
235
228
|
headers:
|
236
229
|
Accept:
|
237
230
|
- "*/*"
|
@@ -244,7 +237,7 @@ http_interactions:
|
|
244
237
|
Accept-Language:
|
245
238
|
- en-us,en;q=0.5
|
246
239
|
Cookie:
|
247
|
-
- JSESSIONID=
|
240
|
+
- JSESSIONID=1D0B7A619081F69F796D939EBA17D64B.test5e
|
248
241
|
Host:
|
249
242
|
- ca-test.adyen.com
|
250
243
|
Referer:
|
@@ -263,7 +256,7 @@ http_interactions:
|
|
263
256
|
Content-Type:
|
264
257
|
- application/x-www-form-urlencoded
|
265
258
|
Content-Length:
|
266
|
-
- "
|
259
|
+
- "106"
|
267
260
|
Connection:
|
268
261
|
- keep-alive
|
269
262
|
Keep-Alive:
|
@@ -274,11 +267,11 @@ http_interactions:
|
|
274
267
|
message: Moved Temporarily
|
275
268
|
headers:
|
276
269
|
Date:
|
277
|
-
-
|
270
|
+
- Wed, 11 Apr 2012 17:34:16 GMT
|
278
271
|
Server:
|
279
272
|
- Apache
|
280
273
|
Set-Cookie:
|
281
|
-
- JSESSIONID=
|
274
|
+
- JSESSIONID=90A4E71B7C6A54FEF7409AB3B2BFB7D4.test5e; Path=/ca/; Secure; HttpOnly
|
282
275
|
Location:
|
283
276
|
- https://ca-test.adyen.com/ca/
|
284
277
|
Content-Length:
|
@@ -293,7 +286,7 @@ http_interactions:
|
|
293
286
|
encoding: US-ASCII
|
294
287
|
string: ""
|
295
288
|
http_version:
|
296
|
-
recorded_at:
|
289
|
+
recorded_at: Wed, 11 Apr 2012 17:34:16 GMT
|
297
290
|
- request:
|
298
291
|
method: get
|
299
292
|
uri: https://ca-test.adyen.com/ca/
|
@@ -312,7 +305,7 @@ http_interactions:
|
|
312
305
|
Accept-Language:
|
313
306
|
- en-us,en;q=0.5
|
314
307
|
Cookie:
|
315
|
-
- JSESSIONID=
|
308
|
+
- JSESSIONID=90A4E71B7C6A54FEF7409AB3B2BFB7D4.test5e
|
316
309
|
Host:
|
317
310
|
- ca-test.adyen.com
|
318
311
|
Referer:
|
@@ -327,7 +320,7 @@ http_interactions:
|
|
327
320
|
message: Moved Temporarily
|
328
321
|
headers:
|
329
322
|
Date:
|
330
|
-
-
|
323
|
+
- Wed, 11 Apr 2012 17:34:16 GMT
|
331
324
|
Server:
|
332
325
|
- Apache
|
333
326
|
Location:
|
@@ -346,7 +339,7 @@ http_interactions:
|
|
346
339
|
encoding: US-ASCII
|
347
340
|
string: ""
|
348
341
|
http_version:
|
349
|
-
recorded_at:
|
342
|
+
recorded_at: Wed, 11 Apr 2012 17:34:16 GMT
|
350
343
|
- request:
|
351
344
|
method: get
|
352
345
|
uri: https://ca-test.adyen.com/ca/ca/overview/default.shtml
|
@@ -365,7 +358,7 @@ http_interactions:
|
|
365
358
|
Accept-Language:
|
366
359
|
- en-us,en;q=0.5
|
367
360
|
Cookie:
|
368
|
-
- JSESSIONID=
|
361
|
+
- JSESSIONID=90A4E71B7C6A54FEF7409AB3B2BFB7D4.test5e
|
369
362
|
Host:
|
370
363
|
- ca-test.adyen.com
|
371
364
|
Referer:
|
@@ -380,7 +373,7 @@ http_interactions:
|
|
380
373
|
message: OK
|
381
374
|
headers:
|
382
375
|
Date:
|
383
|
-
-
|
376
|
+
- Wed, 11 Apr 2012 17:34:16 GMT
|
384
377
|
Server:
|
385
378
|
- Apache
|
386
379
|
Cache-Control:
|
@@ -508,7 +501,7 @@ http_interactions:
|
|
508
501
|
|
509
502
|
|
510
503
|
|
511
|
-
<div style="float: right; text-align: right; font-size: 0.8em;"><h1 title="Page Generation Time">2012-04-
|
504
|
+
<div style="float: right; text-align: right; font-size: 0.8em;"><h1 title="Page Generation Time">2012-04-11 19:34:16 CEST</h1>
|
512
505
|
<span class="topright">
|
513
506
|
<a href="/ca/ca/overview/default.shtml?configure=true" title="Configure this page">
|
514
507
|
<img src="/ca/img/icons/layout_edit.png" alt="Edit Layout" /> Customise this page </a>
|
@@ -531,7 +524,7 @@ http_interactions:
|
|
531
524
|
<div class="content">
|
532
525
|
You are logged in under the SoundCloud
|
533
526
|
Company account.<br />
|
534
|
-
Your last login was on <b>2012-04-
|
527
|
+
Your last login was on <b>2012-04-11 19:34:15 CEST</b>.
|
535
528
|
</div>
|
536
529
|
</div>
|
537
530
|
<div id="system_messages" class="block">
|
@@ -571,7 +564,7 @@ http_interactions:
|
|
571
564
|
<script type="text/javascript">
|
572
565
|
var chart1 = new FusionCharts("/ca/Charts/AngularGauge.swf", "sampleChart", "180", "110", "0", "0","#FFFFFF","noScale","EN");
|
573
566
|
//debugMode, registerWithJS, c, scaleMode, lang, detectFlashVersion, autoInstallRedirect
|
574
|
-
chart1.setDataURL("/ca/ca/reports/chartdata/speedometer.shtml?random=
|
567
|
+
chart1.setDataURL("/ca/ca/reports/chartdata/speedometer.shtml?random=1334165656547");
|
575
568
|
chart1.render("chart2div");
|
576
569
|
</script> </div>
|
577
570
|
</div>
|
@@ -608,7 +601,7 @@ http_interactions:
|
|
608
601
|
<script type="text/javascript">
|
609
602
|
var chart1 = new FusionCharts("/ca/Charts/MSLine.swf", "sampleChart", "374", "180", "0", "1","#FFFFFF","noScale","EN","1","0");
|
610
603
|
//debugMode, registerWithJS, c, scaleMode, lang, detectFlashVersion, autoInstallRedirect
|
611
|
-
chart1.setDataURL("/ca/ca/reports/chartdata/chart_weekhistory.shtml?random=
|
604
|
+
chart1.setDataURL("/ca/ca/reports/chartdata/chart_weekhistory.shtml?random=1334165656548");
|
612
605
|
chart1.render("chart1div");
|
613
606
|
</script> </div>
|
614
607
|
</div>
|
@@ -624,7 +617,7 @@ http_interactions:
|
|
624
617
|
Current system time:
|
625
618
|
</th>
|
626
619
|
<td>
|
627
|
-
2012-04-
|
620
|
+
2012-04-11 19:34:16 CEST
|
628
621
|
</td>
|
629
622
|
</tr>
|
630
623
|
<tr>
|
@@ -632,7 +625,7 @@ http_interactions:
|
|
632
625
|
Backoffice up-to-date till:
|
633
626
|
</th>
|
634
627
|
<td>
|
635
|
-
<span title="All payments made till this time are listed in the payments list. Newer payments may not be visible yet.">2012-04-
|
628
|
+
<span title="All payments made till this time are listed in the payments list. Newer payments may not be visible yet.">2012-04-11 19:33:28 CEST</span>
|
636
629
|
</td>
|
637
630
|
</tr>
|
638
631
|
</table> </div>
|
@@ -664,5 +657,5 @@ http_interactions:
|
|
664
657
|
</html>
|
665
658
|
|
666
659
|
http_version:
|
667
|
-
recorded_at:
|
660
|
+
recorded_at: Wed, 11 Apr 2012 17:34:16 GMT
|
668
661
|
recorded_with: VCR 2.0.1
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adyen-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-04-
|
12
|
+
date: 2012-04-11 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mechanize
|
16
|
-
requirement: &
|
16
|
+
requirement: &70221118293660 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70221118293660
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rubyzip
|
27
|
-
requirement: &
|
27
|
+
requirement: &70221118293180 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70221118293180
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rake
|
38
|
-
requirement: &
|
38
|
+
requirement: &70221118292600 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70221118292600
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rspec
|
49
|
-
requirement: &
|
49
|
+
requirement: &70221118292140 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70221118292140
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: vcr
|
60
|
-
requirement: &
|
60
|
+
requirement: &70221118291680 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70221118291680
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: webmock
|
71
|
-
requirement: &
|
71
|
+
requirement: &70221118291220 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70221118291220
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: debugger
|
82
|
-
requirement: &
|
82
|
+
requirement: &70221118290760 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,7 +87,7 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *70221118290760
|
91
91
|
description: A little Gem to make your life easier when dealing with Adyen skins
|
92
92
|
email:
|
93
93
|
- tobi@soundcloud.com
|
@@ -109,14 +109,19 @@ files:
|
|
109
109
|
- lib/adyen-admin/skin.rb
|
110
110
|
- spec/adyen-admin/client_spec.rb
|
111
111
|
- spec/adyen-admin/skin_spec.rb
|
112
|
+
- spec/fixtures/cassettes/Adyen_Admin_Client/_get/raises_authenticated_error_when_not_logged_in.yml
|
112
113
|
- spec/fixtures/cassettes/Adyen_Admin_Client/_login/passes_with_correct_username_password.yml
|
113
|
-
- spec/fixtures/cassettes/Adyen_Admin_Skin/_all/
|
114
|
-
- spec/fixtures/cassettes/Adyen_Admin_Skin/
|
115
|
-
- spec/fixtures/cassettes/Adyen_Admin_Skin/
|
116
|
-
- spec/fixtures/cassettes/Adyen_Admin_Skin/
|
117
|
-
- spec/fixtures/cassettes/Adyen_Admin_Skin/
|
118
|
-
- spec/fixtures/cassettes/Adyen_Admin_Skin/
|
119
|
-
- spec/fixtures/cassettes/Adyen_Admin_Skin/
|
114
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all/freezes_local_skins.yml
|
115
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all/returns_the_skins.yml
|
116
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all_remote/returns_the_skins.yml
|
117
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_download/gets_the_file.yml
|
118
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_find/returns_no_skin.yml
|
119
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_find/returns_the_skin.yml
|
120
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_test_url/returns_url_to_test.yml
|
121
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_upload/valid_set/increases_version.yml
|
122
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_version/returns_live_value.yml
|
123
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_version/returns_test_value.yml
|
124
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_version/returns_uploaded_value.yml
|
120
125
|
- spec/fixtures/cassettes/login.yml
|
121
126
|
- spec/fixtures/skins/DV3tf95f/css/screen.css
|
122
127
|
- spec/fixtures/skins/DV3tf95f/inc/order_data.txt
|
@@ -181,14 +186,19 @@ summary: Adyen Admin Skin API and Command line tool
|
|
181
186
|
test_files:
|
182
187
|
- spec/adyen-admin/client_spec.rb
|
183
188
|
- spec/adyen-admin/skin_spec.rb
|
189
|
+
- spec/fixtures/cassettes/Adyen_Admin_Client/_get/raises_authenticated_error_when_not_logged_in.yml
|
184
190
|
- spec/fixtures/cassettes/Adyen_Admin_Client/_login/passes_with_correct_username_password.yml
|
185
|
-
- spec/fixtures/cassettes/Adyen_Admin_Skin/_all/
|
186
|
-
- spec/fixtures/cassettes/Adyen_Admin_Skin/
|
187
|
-
- spec/fixtures/cassettes/Adyen_Admin_Skin/
|
188
|
-
- spec/fixtures/cassettes/Adyen_Admin_Skin/
|
189
|
-
- spec/fixtures/cassettes/Adyen_Admin_Skin/
|
190
|
-
- spec/fixtures/cassettes/Adyen_Admin_Skin/
|
191
|
-
- spec/fixtures/cassettes/Adyen_Admin_Skin/
|
191
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all/freezes_local_skins.yml
|
192
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all/returns_the_skins.yml
|
193
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all_remote/returns_the_skins.yml
|
194
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_download/gets_the_file.yml
|
195
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_find/returns_no_skin.yml
|
196
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_find/returns_the_skin.yml
|
197
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_test_url/returns_url_to_test.yml
|
198
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_upload/valid_set/increases_version.yml
|
199
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_version/returns_live_value.yml
|
200
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_version/returns_test_value.yml
|
201
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_version/returns_uploaded_value.yml
|
192
202
|
- spec/fixtures/cassettes/login.yml
|
193
203
|
- spec/fixtures/skins/DV3tf95f/css/screen.css
|
194
204
|
- spec/fixtures/skins/DV3tf95f/inc/order_data.txt
|